diff --git a/services/web/public/stylesheets/components/alerts.less b/services/web/public/stylesheets/components/alerts.less index ecdcba07a8..049aa6652b 100755 --- a/services/web/public/stylesheets/components/alerts.less +++ b/services/web/public/stylesheets/components/alerts.less @@ -71,4 +71,7 @@ color: white; text-decoration: underline; } + .btn { + text-decoration: none; + } } \ No newline at end of file diff --git a/services/web/public/stylesheets/core/mixins.less b/services/web/public/stylesheets/core/mixins.less index 866f081292..fa2bf76e40 100755 --- a/services/web/public/stylesheets/core/mixins.less +++ b/services/web/public/stylesheets/core/mixins.less @@ -438,6 +438,7 @@ .alert-link-as-btn when (@is-overleaf = true) { display: inline-block; font-weight: bold; + text-decoration: none; .button-variant(#FFF, shade(@background, 20%), transparent); .button-size(@padding-xs-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @btn-border-radius-small); &:hover { @@ -511,6 +512,10 @@ background-color: @background; border-color: @border; + .alert & when (@is-overleaf = true) { + background-color: darken(@background, 16%); + } + &:hover, &:focus, &:active, @@ -520,6 +525,9 @@ color: @color; background-color: darken(@background, 8%); border-color: darken(@border, 12%); + .alert & when (@is-overleaf = true) { + background-color: darken(@background, 24%); + } } &:active, &.active,