diff options
Diffstat (limited to 'client/src/sass')
-rw-r--r-- | client/src/sass/application.scss | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index f4e4d8977..1dbdd4064 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss | |||
@@ -145,16 +145,23 @@ label { | |||
145 | .sub-menu { | 145 | .sub-menu { |
146 | background-color: pvar(--submenuColor); | 146 | background-color: pvar(--submenuColor); |
147 | width: 100%; | 147 | width: 100%; |
148 | height: $sub-menu-height; | ||
149 | display: flex; | 148 | display: flex; |
150 | align-items: center; | 149 | align-items: center; |
151 | padding-left: $not-expanded-horizontal-margins; | 150 | padding-left: $not-expanded-horizontal-margins; |
152 | padding-right: $not-expanded-horizontal-margins; | 151 | padding-right: $not-expanded-horizontal-margins; |
153 | position: fixed; | ||
154 | z-index: #{z('header') - 1}; | ||
155 | 152 | ||
156 | & + .margin-content { | 153 | & + .margin-content { |
157 | padding-top: $sub-menu-height + $sub-menu-margin-bottom; | 154 | padding-top: $sub-menu-margin-bottom; |
155 | } | ||
156 | |||
157 | &.sub-menu-fixed { | ||
158 | height: $sub-menu-height; | ||
159 | position: fixed; | ||
160 | z-index: #{z('header') - 1}; | ||
161 | |||
162 | & + .margin-content { | ||
163 | padding-top: $sub-menu-height + $sub-menu-margin-bottom; | ||
164 | } | ||
158 | } | 165 | } |
159 | } | 166 | } |
160 | 167 | ||