diff options
author | winniehell <git@winniehell.de> | 2016-06-21 23:10:24 +0200 |
---|---|---|
committer | winniehell <git@winniehell.de> | 2016-06-30 23:53:22 +0200 |
commit | 2886ebfb135e00ce9cc77914155d5974e14fed18 (patch) | |
tree | 5255e66845c88ed053e8dd05087a8c450bec0c55 /app/assets/stylesheets/framework/flash.scss | |
parent | 3041c43380ba6e5d8bbc029a9dcfecfdcf7bcf47 (diff) | |
download | gitlab-ce-2886ebfb135e00ce9cc77914155d5974e14fed18.tar.gz |
Remove `pinTo` from `Flash` and make inline flash messages look nicer (!4854)
Diffstat (limited to 'app/assets/stylesheets/framework/flash.scss')
-rw-r--r-- | app/assets/stylesheets/framework/flash.scss | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/app/assets/stylesheets/framework/flash.scss b/app/assets/stylesheets/framework/flash.scss index a951a2b97fe..0c21d0240b3 100644 --- a/app/assets/stylesheets/framework/flash.scss +++ b/app/assets/stylesheets/framework/flash.scss @@ -1,8 +1,8 @@ .flash-container { cursor: pointer; margin: 0; + margin-bottom: $gl-padding; font-size: 14px; - width: 100%; z-index: 100; .flash-notice { @@ -18,9 +18,27 @@ } .flash-notice, .flash-alert { - .container-fluid.flash-text { + border-radius: $border-radius-default; + + .container-fluid.container-limited.flash-text { background: transparent; } } + + &.flash-container-page { + margin-bottom: 0; + + .flash-notice, .flash-alert { + border-radius: 0; + } + } +} + +@media (max-width: $screen-md-min) { + ul.notes { + .flash-container.timeline-content { + margin-left: 0; + } + } } |