diff options
author | Asaad Mahmood <asaad@spinpunch.com> | 2016-03-14 22:35:57 +0500 |
---|---|---|
committer | Asaad Mahmood <asaad@spinpunch.com> | 2016-03-14 22:39:44 +0500 |
commit | e214aae719c10953c4c3a7949c9bd02d6983b045 (patch) | |
tree | de67fab11c5866493374d602930b4b5fbc98d05a /web/sass-files/sass/components/_error-bar.scss | |
parent | bf7ae0711743926cfbb031675cc3320d7a942465 (diff) | |
download | chat-e214aae719c10953c4c3a7949c9bd02d6983b045.tar.gz chat-e214aae719c10953c4c3a7949c9bd02d6983b045.tar.bz2 chat-e214aae719c10953c4c3a7949c9bd02d6983b045.zip |
PLT-963 - Improving scss structure
Diffstat (limited to 'web/sass-files/sass/components/_error-bar.scss')
-rw-r--r-- | web/sass-files/sass/components/_error-bar.scss | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/web/sass-files/sass/components/_error-bar.scss b/web/sass-files/sass/components/_error-bar.scss new file mode 100644 index 000000000..2b74a33ae --- /dev/null +++ b/web/sass-files/sass/components/_error-bar.scss @@ -0,0 +1,30 @@ +@charset 'UTF-8'; + +.error-bar { + background-color: #09f; + text-align: center; + position: relative; + color: #fff; + position: absolute; + top: 0; + width: 100%; + z-index: 9999; + padding: 5px 30px; + + &__close { + position: absolute; + right: 0; + top: 0; + color: #fff; + font-size: 20px; + font-weight: 600; + text-decoration: none; + padding: 0 10px; + font-family: 'Open Sans', sans-serif; + + &:hover { + color: #fff; + text-decoration: none; + } + } +} |