diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-06-20 08:58:30 -0500 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-06-20 08:58:30 -0500 |
commit | f85ee787fd5aeb849065179fe41b3ca39527dfa0 (patch) | |
tree | 29dea2de351941b7e589c6393162882c6401f679 /app/assets/stylesheets/pages/note_form.scss | |
parent | 6ac777a7592533d9c7b3682b2b9ca8caccca3f4d (diff) | |
download | gitlab-ce-f85ee787fd5aeb849065179fe41b3ca39527dfa0.tar.gz |
Revert sticky confidential header
Diffstat (limited to 'app/assets/stylesheets/pages/note_form.scss')
-rw-r--r-- | app/assets/stylesheets/pages/note_form.scss | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/note_form.scss b/app/assets/stylesheets/pages/note_form.scss index aa307414737..69fed4e6bf7 100644 --- a/app/assets/stylesheets/pages/note_form.scss +++ b/app/assets/stylesheets/pages/note_form.scss @@ -103,6 +103,42 @@ } } +.confidential-issue-warning { + background-color: $gray-normal; + border-radius: 3px; + padding: 3px 12px; + margin: auto; + margin-top: 0; + text-align: center; + font-size: 12px; + align-items: center; + + @media (max-width: $screen-md-max) { + // On smaller devices the warning becomes the fourth item in the list, + // rather than centering, and grows to span the full width of the + // comment area. + order: 4; + margin: 6px auto; + width: 100%; + } + + .fa { + margin-right: 8px; + } +} + +.right-sidebar-expanded { + .confidential-issue-warning { + // When the sidebar is open the warning becomes the fourth item in the list, + // rather than centering, and grows to span the full width of the + // comment area. + order: 4; + margin: 6px auto; + width: 100%; + } +} + + .discussion-form { padding: $gl-padding-top $gl-padding $gl-padding; background-color: $white-light; |