diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/_toolbar.scss b/koha-tmpl/intranet-tmpl/prog/css/src/_toolbar.scss index f8259a1242..a82d8d2a0e 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/_toolbar.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/_toolbar.scss @@ -22,51 +22,53 @@ z-index: 100; } - a.addtocart { - display: block; - } - - a.cartRemove { - padding: 6px 12px; - font-size: 12px; - display: none; - } - - a.addtocart.incart { - display: none; - } - - a.cartRemove.incart { - display: block; - } - - .btn.btn-default { - font-weight: normal; - text-align: center; - white-space: nowrap; - vertical-align: middle; - touch-action: manipulation; - cursor: pointer; - background-image: none; - padding: 6px 12px; - box-shadow: none; - border-radius: 4px; - user-select: none; - font-size: 100%; - background-color: transparent; - border: 0; - display: inline-block; - color: #696969; - - &:hover, &:focus { - text-decoration: none; - background-color: #DADADA; - color: #696969; + .btn { + &.btn-default { + font-weight: normal; + text-align: center; + white-space: nowrap; + vertical-align: middle; + touch-action: manipulation; + cursor: pointer; + background-image: none; padding: 6px 12px; - } - - &:active { + box-shadow: none; + border-radius: 4px; + user-select: none; + font-size: 100%; + background-color: transparent; border: 0; + display: inline-block; + color: #696969; + + &:hover, &:focus { + text-decoration: none; + background-color: #DADADA; + color: #696969; + padding: 6px 12px; + } + + &:active { + border: 0; + } + + &.addtocart { + display: block; + + &.incart { + display: none; + } + } + + &.cartRemove { + padding: 6px 12px; + font-size: 12px; + display: none; + + &.incart { + display: block; + } + } } } }