From f60f48e396da4f4cd2917a7d84bc81bc7d70ae59 Mon Sep 17 00:00:00 2001 From: Jessica Lawshe Date: Mon, 17 Sep 2018 18:07:57 -0500 Subject: [PATCH] Add .alert-alt styling --- services/web/public/stylesheets/components/alerts.less | 3 +++ services/web/public/stylesheets/core/_common-variables.less | 4 ++++ services/web/public/stylesheets/core/ol-variables.less | 4 ++++ 3 files changed, 11 insertions(+) diff --git a/services/web/public/stylesheets/components/alerts.less b/services/web/public/stylesheets/components/alerts.less index 049aa6652b..8641fc6372 100755 --- a/services/web/public/stylesheets/components/alerts.less +++ b/services/web/public/stylesheets/components/alerts.less @@ -65,6 +65,9 @@ .alert-danger { .alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text); } +.alert-alt { + .alert-variant(@alert-alt-bg; @alert-alt-border; @alert-alt-text); +} .alert when (@is-overleaf = true) { a { diff --git a/services/web/public/stylesheets/core/_common-variables.less b/services/web/public/stylesheets/core/_common-variables.less index 9d7eab3493..3ca999a2d9 100644 --- a/services/web/public/stylesheets/core/_common-variables.less +++ b/services/web/public/stylesheets/core/_common-variables.less @@ -586,6 +586,10 @@ @alert-danger-text: @state-danger-text; @alert-danger-border: @state-danger-border; +@alert-alt-bg: @state-info-bg; +@alert-alt-text: @state-info-text; +@alert-alt-border: @state-info-border; + //== Progress bars // diff --git a/services/web/public/stylesheets/core/ol-variables.less b/services/web/public/stylesheets/core/ol-variables.less index fb242e831a..22647fd20f 100644 --- a/services/web/public/stylesheets/core/ol-variables.less +++ b/services/web/public/stylesheets/core/ol-variables.less @@ -108,6 +108,10 @@ @alert-danger-text : #FFF; @alert-danger-border : transparent; +@alert-alt-bg : @ol-blue-gray-1; +@alert-alt-text : @ol-type-color; +@alert-alt-border: transparent; + // Tags @tag-border-radius : 9999px;