diff options
Diffstat (limited to 'client/src/sass')
-rw-r--r-- | client/src/sass/application.scss | 31 | ||||
-rw-r--r-- | client/src/sass/bootstrap.scss | 39 | ||||
-rw-r--r-- | client/src/sass/include/_mixins.scss | 20 | ||||
-rw-r--r-- | client/src/sass/include/_variables.scss | 1 |
4 files changed, 59 insertions, 32 deletions
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index 5ca3b447a..c76e5db7b 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss | |||
@@ -139,12 +139,13 @@ label { | |||
139 | .sub-menu { | 139 | .sub-menu { |
140 | background-color: pvar(--submenuColor); | 140 | background-color: pvar(--submenuColor); |
141 | width: 100%; | 141 | width: 100%; |
142 | height: 81px; | 142 | height: $sub-menu-height; |
143 | margin-bottom: $sub-menu-margin-bottom; | ||
144 | display: flex; | 143 | display: flex; |
145 | align-items: center; | 144 | align-items: center; |
146 | padding-left: $not-expanded-horizontal-margins; | 145 | padding-left: $not-expanded-horizontal-margins; |
147 | padding-right: $not-expanded-horizontal-margins; | 146 | padding-right: $not-expanded-horizontal-margins; |
147 | position: fixed; | ||
148 | z-index: 1; | ||
148 | } | 149 | } |
149 | 150 | ||
150 | // Override some properties if the main content is expanded (no menu on the left) | 151 | // Override some properties if the main content is expanded (no menu on the left) |
@@ -175,6 +176,7 @@ label { | |||
175 | } | 176 | } |
176 | 177 | ||
177 | .title-page { | 178 | .title-page { |
179 | opacity: 0.6; | ||
178 | color: pvar(--mainForegroundColor); | 180 | color: pvar(--mainForegroundColor); |
179 | font-size: 16px; | 181 | font-size: 16px; |
180 | display: inline-block; | 182 | display: inline-block; |
@@ -182,14 +184,15 @@ label { | |||
182 | font-weight: $font-semibold; | 184 | font-weight: $font-semibold; |
183 | @include disable-default-a-behaviour; | 185 | @include disable-default-a-behaviour; |
184 | 186 | ||
185 | &.active, &.title-page-single { | 187 | border-bottom: 2px solid transparent; |
188 | |||
189 | &.title-page-single { | ||
186 | margin-top: 30px; | 190 | margin-top: 30px; |
187 | margin-bottom: 25px; | 191 | margin-bottom: 25px; |
188 | } | 192 | } |
189 | 193 | ||
190 | &.active { | 194 | &.active { |
191 | font-weight: $font-bold; | 195 | border-bottom-color: pvar(--mainColor); |
192 | border-bottom: 2px solid pvar(--mainColor); | ||
193 | } | 196 | } |
194 | 197 | ||
195 | &.title-page-single { | 198 | &.title-page-single { |
@@ -200,6 +203,11 @@ label { | |||
200 | color: pvar(--mainForegroundColor); | 203 | color: pvar(--mainForegroundColor); |
201 | } | 204 | } |
202 | 205 | ||
206 | &.active, &:hover, &:active, &:focus, &.title-page-single { | ||
207 | opacity: 1; | ||
208 | outline: 0px hidden !important; | ||
209 | } | ||
210 | |||
203 | @media screen and (max-width: $mobile-view) { | 211 | @media screen and (max-width: $mobile-view) { |
204 | margin-right: 15px; | 212 | margin-right: 15px; |
205 | } | 213 | } |
@@ -209,11 +217,6 @@ label { | |||
209 | .title-page-settings { | 217 | .title-page-settings { |
210 | white-space: nowrap; | 218 | white-space: nowrap; |
211 | font-size: 115%; | 219 | font-size: 115%; |
212 | font-weight: $font-regular; | ||
213 | |||
214 | &.active { | ||
215 | font-weight: $font-semibold; | ||
216 | } | ||
217 | } | 220 | } |
218 | 221 | ||
219 | .admin-sub-header { | 222 | .admin-sub-header { |
@@ -232,11 +235,15 @@ label { | |||
232 | color: pvar(--mainForegroundColor); | 235 | color: pvar(--mainForegroundColor); |
233 | padding: 5px 15px; | 236 | padding: 5px 15px; |
234 | border-radius: 0.25rem; | 237 | border-radius: 0.25rem; |
238 | font-weight: $font-semibold; | ||
239 | opacity: 0.6; | ||
235 | 240 | ||
236 | &.active { | 241 | &.active { |
237 | font-weight: $font-semibold; | ||
238 | background-color: #f0f0f0; | 242 | background-color: #f0f0f0; |
239 | color: #000; | 243 | } |
244 | |||
245 | &.active, &:hover, &:active, &:focus { | ||
246 | opacity: 1; | ||
240 | } | 247 | } |
241 | } | 248 | } |
242 | } | 249 | } |
diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss index dd5824b7a..897182e53 100644 --- a/client/src/sass/bootstrap.scss +++ b/client/src/sass/bootstrap.scss | |||
@@ -161,9 +161,14 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
161 | 161 | ||
162 | .nav.nav-pills { | 162 | .nav.nav-pills { |
163 | font-size: 16px !important; | 163 | font-size: 16px !important; |
164 | font-weight: $font-semibold !important; | ||
164 | 165 | ||
165 | .nav-link.active { | 166 | .nav-link { |
166 | font-weight: $font-semibold !important; | 167 | opacity: 0.6 !important; |
168 | |||
169 | &.active, &:hover, &:active, &:focus { | ||
170 | opacity: 1 !important; | ||
171 | } | ||
167 | } | 172 | } |
168 | 173 | ||
169 | a { | 174 | a { |
@@ -173,29 +178,23 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
173 | } | 178 | } |
174 | } | 179 | } |
175 | 180 | ||
176 | .nav-tabs { | 181 | .nav-tabs .nav-link { |
177 | 182 | @include disable-default-a-behaviour; | |
178 | .nav-link { | ||
179 | @include disable-default-a-behaviour; | ||
180 | 183 | ||
181 | color: pvar(--mainForegroundColor) !important; | 184 | color: pvar(--mainForegroundColor); |
182 | } | 185 | font-weight: $font-semibold; |
183 | } | 186 | border: none; |
187 | border-bottom: 2px solid transparent; | ||
188 | opacity: 0.6; | ||
184 | 189 | ||
185 | .nav-tabs .nav-link { | ||
186 | &:not(.active) { | ||
187 | border-bottom: 3px solid transparent; | ||
188 | } | ||
189 | &.active { | 190 | &.active { |
190 | font-weight: $font-semibold; | 191 | color: pvar(--mainForegroundColor); |
191 | background-color: pvar(--mainBackgroundColor) !important; | 192 | background-color: pvar(--mainBackgroundColor) !important; |
192 | border: none; | 193 | border-bottom-color: pvar(--mainColor); |
193 | border-bottom: 2px solid pvar(--mainColor); | ||
194 | } | 194 | } |
195 | &:hover { | 195 | |
196 | border-top-color: transparent; | 196 | &.active, &:hover, &:active, &:focus { |
197 | border-left-color: transparent; | 197 | opacity: 1; |
198 | border-right-color: transparent; | ||
199 | } | 198 | } |
200 | } | 199 | } |
201 | 200 | ||
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index 2cefaf73d..eec7b4a56 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss | |||
@@ -929,3 +929,23 @@ | |||
929 | @content; | 929 | @content; |
930 | } | 930 | } |
931 | } | 931 | } |
932 | |||
933 | @mixin sub-menu-h1 { | ||
934 | ::ng-deep h1 { | ||
935 | font-size: 1.3rem; | ||
936 | border-bottom: 2px solid $grey-background-color; | ||
937 | padding-bottom: 15px; | ||
938 | margin-bottom: $sub-menu-margin-bottom; | ||
939 | |||
940 | my-global-icon { | ||
941 | margin-right: 10px; | ||
942 | vertical-align: bottom; | ||
943 | width: 24px; | ||
944 | height: 24px; | ||
945 | } | ||
946 | |||
947 | .badge { | ||
948 | margin-left: 7px; | ||
949 | } | ||
950 | } | ||
951 | } | ||
diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss index fc13f6509..7b95bb8cc 100644 --- a/client/src/sass/include/_variables.scss +++ b/client/src/sass/include/_variables.scss | |||
@@ -49,6 +49,7 @@ $menu-width: 240px; | |||
49 | $menu-lateral-padding: 26px; | 49 | $menu-lateral-padding: 26px; |
50 | 50 | ||
51 | $sub-menu-color: #F7F7F7; | 51 | $sub-menu-color: #F7F7F7; |
52 | $sub-menu-height: 81px; | ||
52 | 53 | ||
53 | $footer-height: 30px; | 54 | $footer-height: 30px; |
54 | $footer-margin: 30px; | 55 | $footer-margin: 30px; |