From e53d653676a1ed9a19b70c9f0cedce35cd1435ff Mon Sep 17 00:00:00 2001 From: Alexander Zaslonov Date: Mon, 18 May 2020 17:36:42 -0700 Subject: [PATCH] Added missing alert styles. --- src/themes/website/styles/alerts.scss | 13 +++++++++++++ src/themes/website/styles/styles.scss | 6 +++--- src/themes/website/styles/utils.scss | 8 ++++++++ 3 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 src/themes/website/styles/alerts.scss diff --git a/src/themes/website/styles/alerts.scss b/src/themes/website/styles/alerts.scss new file mode 100644 index 000000000..6b8e57d82 --- /dev/null +++ b/src/themes/website/styles/alerts.scss @@ -0,0 +1,13 @@ +.alert { + position: relative; + padding: .75rem 1.25rem; + margin-bottom: 1rem; + border: 1px solid transparent; + border-radius: .25rem; +} + +.alert-danger { + color: #721c24; + background-color: #f8d7da; + border-color: #f5c6cb; +} \ No newline at end of file diff --git a/src/themes/website/styles/styles.scss b/src/themes/website/styles/styles.scss index 9e9f79adc..5b71317a9 100644 --- a/src/themes/website/styles/styles.scss +++ b/src/themes/website/styles/styles.scss @@ -17,8 +17,8 @@ @import "tags.scss"; @import "forms.scss"; @import "navs.scss"; -@import "utils.scss"; @import "widgets/widgets.scss"; -@import "utils.scss"; @import "balloons.scss"; -@import "lists.scss"; \ No newline at end of file +@import "lists.scss"; +@import "alerts.scss"; +@import "utils.scss"; \ No newline at end of file diff --git a/src/themes/website/styles/utils.scss b/src/themes/website/styles/utils.scss index 4cbe01f13..37f36c301 100644 --- a/src/themes/website/styles/utils.scss +++ b/src/themes/website/styles/utils.scss @@ -49,4 +49,12 @@ .text-center { text-align: center; +} + +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; } \ No newline at end of file