From a3bf9d24c8d6e8a0a58ed6688d9e8eb8124ef1be Mon Sep 17 00:00:00 2001 From: Jessica Lawshe Date: Thu, 17 Nov 2022 09:31:16 -0600 Subject: [PATCH] Merge pull request #10526 from overleaf/jel-btn-recompile [web] `btn-recompile` and `log-btn` for new CSS GitOrigin-RevId: b92724267a87f5dce8ed0e60e926c1939f64c4f9 --- services/web/frontend/stylesheets/app/editor/pdf.less | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/services/web/frontend/stylesheets/app/editor/pdf.less b/services/web/frontend/stylesheets/app/editor/pdf.less index f2e31afc82..f9303e9b23 100644 --- a/services/web/frontend/stylesheets/app/editor/pdf.less +++ b/services/web/frontend/stylesheets/app/editor/pdf.less @@ -102,12 +102,14 @@ } &.log-btn { + border: none; margin-right: 3px; &.active { color: white; background-color: @link-color; box-shadow: @toolbar-icon-btn-hover-boxshadow; + opacity: 0.65; &:hover { color: white; @@ -174,6 +176,9 @@ border-top-left-radius: 0; border-bottom-left-radius: 0; } +} + +.btn-recompile when (@is-new-css = false) { &[disabled], &[disabled].active, &[disabled]:hover, @@ -182,6 +187,9 @@ .opacity(1); } } +.btn-recompile when (@is-new-css = true) { + border: none; +} .btn-recompile-label { margin-left: @line-height-computed / 4;