Unified · Split
| @@ -16,6 +16,7 @@ class app.views.Notice extends app.View · 15 unmodified lines | ||
| 16 | 16 | return |
| 17 | 17 | |
| 18 | 18 | show: -> |
| 19 | + @addClass '_top' if @type is 'disabledDoc' | |
| 19 | 20 | @html @tmpl("#{@type}Notice", @args...) |
| 20 | 21 | @prependTo $('._app') |
| 21 | 22 | return |
| @@ -23,8 +23,8 @@ · 22 unmodified lines | ||
| 23 | 23 | 'components/content', |
| 24 | 24 | 'components/page', |
| 25 | 25 | 'components/fail', |
| 26 | − 'components/notice', | |
| 27 | 26 | 'components/path', |
| 27 | + 'components/notice', | |
| 28 | 28 | 'components/prism', |
| 29 | 29 | 'components/mobile'; |
| 30 | 30 | |
| @@ -23,8 +23,8 @@ · 22 unmodified lines | ||
| 23 | 23 | 'components/content', |
| 24 | 24 | 'components/page', |
| 25 | 25 | 'components/fail', |
| 26 | − 'components/notice', | |
| 27 | 26 | 'components/path', |
| 27 | + 'components/notice', | |
| 28 | 28 | 'components/prism', |
| 29 | 29 | 'components/mobile'; |
| 30 | 30 | |
| @@ -12,6 +12,15 @@ · 11 unmodified lines | ||
| 12 | 12 | @media #{$mediumScreen} { left: $sidebarMediumWidth; } |
| 13 | 13 | |
| 14 | 14 | ~ ._container { padding-bottom: 2.5rem; } |
| 15 | + | |
| 16 | + &._top { | |
| 17 | + bottom: auto; | |
| 18 | + top: $headerHeight; | |
| 19 | + margin-top: 1px; | |
| 20 | + box-shadow: inset 0 -1px $noticeBorder; | |
| 21 | + | |
| 22 | + ~ ._container { padding-bottom: 0; padding-top: 2.5rem; } | |
| 23 | + } | |
| 15 | 24 | } |
| 16 | 25 | |
| 17 | 26 | ._notice-text { |