diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-08-10 15:57:58 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2018-08-10 16:22:49 +0200 |
commit | 4e66e0ac045a45a14670bb9492e2babe0c9bafb7 (patch) | |
tree | 5ceaf6f2288b458d77b2e5ffe6195e37c675a997 /app/javascript/flavours/glitch/styles/widgets.scss | |
parent | 16a4a333a2b4942364abe79e80bcc928bc079bf2 (diff) |
Merge upstream SCSS changes for /about, /about/more and /terms
Port various commits to glitch-soc, mainly commits 0dcc1950d14cc4a7725ea1572d253c538a1f74e8 and 5b8603879f06573d51c5c33edda6f410d1af7a02.
Diffstat (limited to 'app/javascript/flavours/glitch/styles/widgets.scss')
-rw-r--r-- | app/javascript/flavours/glitch/styles/widgets.scss | 51 |
1 files changed, 50 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/styles/widgets.scss b/app/javascript/flavours/glitch/styles/widgets.scss index b05bbbda7..f843f0b42 100644 --- a/app/javascript/flavours/glitch/styles/widgets.scss +++ b/app/javascript/flavours/glitch/styles/widgets.scss @@ -103,6 +103,52 @@ } } +.box-widget { + padding: 20px; + border-radius: 4px; + background: $ui-base-color; + box-shadow: 0 0 15px rgba($base-shadow-color, 0.2); +} + +.contact-widget, +.landing-page__information.contact-widget { + box-sizing: border-box; + padding: 20px; + min-height: 100%; + border-radius: 4px; + background: $ui-base-color; + box-shadow: 0 0 15px rgba($base-shadow-color, 0.2); +} + +.contact-widget { + font-size: 15px; + color: $darker-text-color; + line-height: 20px; + word-wrap: break-word; + font-weight: 400; + + strong { + font-weight: 500; + } + + p { + margin-bottom: 10px; + + &:last-child { + margin-bottom: 0; + } + } + + &__mail { + margin-top: 10px; + + a { + color: $primary-text-color; + text-decoration: none; + } + } +} + .moved-account-widget { padding: 15px; padding-bottom: 20px; @@ -184,7 +230,10 @@ } .moved-account-widget, -.memoriam-widget { +.memoriam-widget, +.box-widget, +.contact-widget, +.landing-page__information.contact-widget { @media screen and (max-width: $no-gap-breakpoint) { margin-bottom: 0; box-shadow: none; |