diff --git a/services/web/public/stylesheets/app/editor/binary-file.less b/services/web/public/stylesheets/app/editor/binary-file.less index a767d039bd..8e04d2112d 100644 --- a/services/web/public/stylesheets/app/editor/binary-file.less +++ b/services/web/public/stylesheets/app/editor/binary-file.less @@ -9,7 +9,8 @@ margin: auto; margin-bottom: @line-height-computed / 2; border: 1px solid @gray; - .box-shadow(0 2px 3px @gray;) + .box-shadow(0 2px 3px @gray;); + background-color: white; } p.no-preview { font-size: 24px; diff --git a/services/web/public/stylesheets/app/editor/pdf.less b/services/web/public/stylesheets/app/editor/pdf.less index 269f67b6f6..778d600b40 100644 --- a/services/web/public/stylesheets/app/editor/pdf.less +++ b/services/web/public/stylesheets/app/editor/pdf.less @@ -73,18 +73,26 @@ } } -.log-btn { - position: relative; - .label { - position: absolute; - top: 0; - right: 0; - padding: .15em .6em .2em; - font-size: 60%; - } - &.active, &:active { +.toolbar { + .log-btn { + position: relative; .label { - display: none; + position: absolute; + top: 0; + right: 0; + padding: .15em .6em .2em; + font-size: 60%; + } + &.active, &:active { + .label { + display: none; + } + color: white; + background-color: @link-color; + .box-shadow(inset 0 3px 5px rgba(0, 0, 0, 0.225)); + &:hover { + color: white; + } } } } diff --git a/services/web/public/stylesheets/app/editor/toolbar.less b/services/web/public/stylesheets/app/editor/toolbar.less index 0bc4d0b1cf..d443e20f6d 100644 --- a/services/web/public/stylesheets/app/editor/toolbar.less +++ b/services/web/public/stylesheets/app/editor/toolbar.less @@ -13,11 +13,6 @@ color: @gray-dark; text-decoration: none; } - &.active, &:active { - color: white; - background-color: @link-color; - .box-shadow(inset 0 3px 5px rgba(0, 0, 0, 0.225)); - } } .btn-full-height {