diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-07-02 15:30:30 -0400 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-07-02 15:30:30 -0400 |
| commit | 9cf94eec5ae98f750f9babc0c37373df87e3981c (patch) | |
| tree | 31ffe18ad835db2d786b406f76162766eabbbda9 /app/assets/stylesheets/admin | |
| parent | 7971d7ac77c83717afcceaa1f476d1eb9afd5918 (diff) | |
| download | thoughts-9cf94eec5ae98f750f9babc0c37373df87e3981c.tar.gz thoughts-9cf94eec5ae98f750f9babc0c37373df87e3981c.tar.bz2 thoughts-9cf94eec5ae98f750f9babc0c37373df87e3981c.zip | |
Styled flash and errors in admin panel
Diffstat (limited to 'app/assets/stylesheets/admin')
| -rw-r--r-- | app/assets/stylesheets/admin/layout.scss | 46 |
1 files changed, 45 insertions, 1 deletions
| diff --git a/app/assets/stylesheets/admin/layout.scss b/app/assets/stylesheets/admin/layout.scss index 811c2aa..bbe5383 100644 --- a/app/assets/stylesheets/admin/layout.scss +++ b/app/assets/stylesheets/admin/layout.scss | |||
| @@ -12,7 +12,7 @@ body { | |||
| 12 | background-color: #7bf; | 12 | background-color: #7bf; |
| 13 | 13 | ||
| 14 | a { | 14 | a { |
| 15 | display: block; | 15 | display: inline-block; |
| 16 | text-decoration: none; | 16 | text-decoration: none; |
| 17 | font-size: 2em; | 17 | font-size: 2em; |
| 18 | margin: .25em 1em; | 18 | margin: .25em 1em; |
| @@ -188,3 +188,47 @@ body { | |||
| 188 | border: 1px solid #ddd; | 188 | border: 1px solid #ddd; |
| 189 | } | 189 | } |
| 190 | } | 190 | } |
| 191 | |||
| 192 | #errors { | ||
| 193 | padding-left: 0; | ||
| 194 | border: 2px solid red; | ||
| 195 | |||
| 196 | h3 { | ||
| 197 | margin: 0 0 .25em 0; | ||
| 198 | text-align: center; | ||
| 199 | } | ||
| 200 | |||
| 201 | ul { | ||
| 202 | margin: 0; | ||
| 203 | padding-left: 1em; | ||
| 204 | font-size: 0.75em; | ||
| 205 | } | ||
| 206 | |||
| 207 | li { | ||
| 208 | display: block; | ||
| 209 | } | ||
| 210 | } | ||
| 211 | |||
| 212 | #flash { | ||
| 213 | display: inline-block; | ||
| 214 | color: black; | ||
| 215 | background-color: white; | ||
| 216 | padding: .5em .75em; | ||
| 217 | font-size: .8em; | ||
| 218 | -webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75); | ||
| 219 | -moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75); | ||
| 220 | box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75); | ||
| 221 | vertical-align: text-bottom; | ||
| 222 | } | ||
| 223 | |||
| 224 | .flash-tag { | ||
| 225 | font-weight: bold; | ||
| 226 | } | ||
| 227 | |||
| 228 | .flash-alert { | ||
| 229 | border-left: 5px solid red; | ||
| 230 | } | ||
| 231 | |||
| 232 | .flash-notice { | ||
| 233 | border-left: 5px solid green; | ||
| 234 | } | ||
