X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ab8ffbde2df33d9c699e029ba613d2b014ba44b8..884be9d702f99a38cd9b04c4fdedca887286f35d:/apps/wolnelektury_core/static/scss/main/book_box.scss diff --git a/apps/wolnelektury_core/static/scss/main/book_box.scss b/apps/wolnelektury_core/static/scss/main/book_box.scss index 4655a3cd5..cca6e4a53 100755 --- a/apps/wolnelektury_core/static/scss/main/book_box.scss +++ b/apps/wolnelektury_core/static/scss/main/book_box.scss @@ -364,18 +364,29 @@ position: relative; z-index: 101; - &.downarrow { - color: black; - - @include min-screen($S_BOOK_SHORT_FULL) { - color: #0D7E85; + @mixin downarrow { + color: #0D7E85; + + &:before { + content: url("/static/img/download.png"); + @include size(font-size, 25px); + @include size(margin-right, 3.71px); + vertical-align: middle; + font-weight: normal; + display: inline; + } + } + &.downarrow { + @include downarrow; + &.hoverclick { + color: black; &:before { - content: url("/static/img/download.png"); - @include size(font-size, 25px); - @include size(margin-right, 3.71px); - vertical-align: middle; - font-weight: normal; + display: none; + } + + @include min-screen($S_BOOK_SHORT_FULL) { + @include downarrow; } } }