diff options
Diffstat (limited to 'app.scss')
-rw-r--r-- | app.scss | 24 |
1 files changed, 20 insertions, 4 deletions
@@ -68,12 +68,27 @@ $theme-dark: ( | |||
68 | } | 68 | } |
69 | } | 69 | } |
70 | 70 | ||
71 | .message { | ||
72 | background-color: map-get($theme, "card-background"); | ||
73 | .message-body { | ||
74 | color: map-get($theme, "text"); | ||
75 | } | ||
76 | } | ||
77 | |||
71 | .footer { | 78 | .footer { |
72 | background-color: map-get($theme, "card-background"); | 79 | background-color: map-get($theme, "card-background"); |
73 | box-shadow: 0 2px 15px 0 map-get($theme, "card-shadow"); | 80 | box-shadow: 0 2px 15px 0 map-get($theme, "card-shadow"); |
74 | } | 81 | } |
75 | } | 82 | } |
76 | 83 | ||
84 | |||
85 | @mixin ellipsis() { | ||
86 | white-space: nowrap; | ||
87 | overflow: hidden; | ||
88 | text-overflow: ellipsis; | ||
89 | } | ||
90 | |||
91 | |||
77 | html { | 92 | html { |
78 | height: 100%; | 93 | height: 100%; |
79 | } | 94 | } |
@@ -198,17 +213,17 @@ body { | |||
198 | h2 { | 213 | h2 { |
199 | border-bottom: 1px dashed #ccc; | 214 | border-bottom: 1px dashed #ccc; |
200 | padding-bottom: 10px; | 215 | padding-bottom: 10px; |
216 | @include ellipsis(); | ||
201 | } | 217 | } |
202 | 218 | ||
203 | .title { | 219 | .title { |
204 | font-size: 1.1em; | 220 | font-size: 1.1em; |
221 | @include ellipsis(); | ||
205 | } | 222 | } |
206 | 223 | ||
207 | .subtitle { | 224 | .subtitle { |
208 | font-size: .9em; | 225 | font-size: .9em; |
209 | white-space: nowrap; | 226 | @include ellipsis(); |
210 | overflow: hidden; | ||
211 | text-overflow: ellipsis; | ||
212 | } | 227 | } |
213 | 228 | ||
214 | .container { | 229 | .container { |
@@ -230,7 +245,8 @@ body { | |||
230 | } | 245 | } |
231 | 246 | ||
232 | .media-content { | 247 | .media-content { |
233 | overflow: inherit; | 248 | overflow: hidden; |
249 | text-overflow: inherit; | ||
234 | } | 250 | } |
235 | 251 | ||
236 | .tag { | 252 | .tag { |