mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Create new style for links inside alerts; apply it to the reconnection alert.
This commit is contained in:
parent
18ae27fd66
commit
cf30cfd923
2 changed files with 11 additions and 1 deletions
|
@ -28,7 +28,7 @@ block content
|
|||
.alert.alert-warning.small(ng-if="connection.reconnection_countdown")
|
||||
strong #{translate("lost_connection")}.
|
||||
| #{translate("reconnecting_in_x_secs", {seconds:"{{ connection.reconnection_countdown }}"})}.
|
||||
a#try-reconnect-now-button.pull-right(href, ng-click="tryReconnectNow()") #{translate("try_now")}
|
||||
a#try-reconnect-now-button.alert-link-as-btn.pull-right(href, ng-click="tryReconnectNow()") #{translate("try_now")}
|
||||
|
||||
.alert.alert-warning.small(ng-if="connection.reconnecting")
|
||||
strong #{translate("reconnecting")}...
|
||||
|
|
|
@ -434,6 +434,16 @@
|
|||
.alert-link {
|
||||
color: darken(@text-color, 10%);
|
||||
}
|
||||
|
||||
.alert-link-as-btn when (@is-overleaf = true) {
|
||||
display: inline-block;
|
||||
font-weight: bold;
|
||||
.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 {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Tables
|
||||
|
|
Loading…
Reference in a new issue