|
@@ -438,6 +438,7 @@
|
|
|
.alert-link-as-btn when (@is-overleaf = true) {
|
|
.alert-link-as-btn when (@is-overleaf = true) {
|
|
|
display: inline-block;
|
|
display: inline-block;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
|
|
+ text-decoration: none;
|
|
|
.button-variant(#FFF, shade(@background, 20%), transparent);
|
|
.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);
|
|
.button-size(@padding-xs-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @btn-border-radius-small);
|
|
|
&:hover {
|
|
&:hover {
|
|
@@ -511,6 +512,10 @@
|
|
|
background-color: @background;
|
|
background-color: @background;
|
|
|
border-color: @border;
|
|
border-color: @border;
|
|
|
|
|
|
|
|
|
|
+ .alert & when (@is-overleaf = true) {
|
|
|
|
|
+ background-color: darken(@background, 16%);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
&:hover,
|
|
&:hover,
|
|
|
&:focus,
|
|
&:focus,
|
|
|
&:active,
|
|
&:active,
|
|
@@ -520,6 +525,9 @@
|
|
|
color: @color;
|
|
color: @color;
|
|
|
background-color: darken(@background, 8%);
|
|
background-color: darken(@background, 8%);
|
|
|
border-color: darken(@border, 12%);
|
|
border-color: darken(@border, 12%);
|
|
|
|
|
+ .alert & when (@is-overleaf = true) {
|
|
|
|
|
+ background-color: darken(@background, 24%);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
&:active,
|
|
&:active,
|
|
|
&.active,
|
|
&.active,
|