|
@@ -2,19 +2,23 @@
|
|
|
@use '~/styles/bootstrap/init' as bs;
|
|
@use '~/styles/bootstrap/init' as bs;
|
|
|
@use '~/styles/mixins';
|
|
@use '~/styles/mixins';
|
|
|
|
|
|
|
|
-.grw-logo {
|
|
|
|
|
- svg {
|
|
|
|
|
- width: var.$grw-logo-width;
|
|
|
|
|
- height: var.$grw-navbar-height;
|
|
|
|
|
- padding: (var.$grw-logo-width - var.$grw-logomark-width) / 2;
|
|
|
|
|
|
|
+.grw-navbar :global {
|
|
|
|
|
+
|
|
|
|
|
+ .grw-logo {
|
|
|
|
|
+ svg {
|
|
|
|
|
+ width: var.$grw-logo-width;
|
|
|
|
|
+ height: var.$grw-navbar-height;
|
|
|
|
|
+ padding: (var.$grw-logo-width - var.$grw-logomark-width) / 2;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .confidential {
|
|
|
|
|
+ font-weight: bold;
|
|
|
}
|
|
}
|
|
|
-}
|
|
|
|
|
|
|
|
|
|
-.confidential {
|
|
|
|
|
- font-weight: bold;
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.grw-navbar {
|
|
|
|
|
|
|
+.grw-navbar :global {
|
|
|
top: #{-1 * var.$grw-navbar-height} !important;
|
|
top: #{-1 * var.$grw-navbar-height} !important;
|
|
|
|
|
|
|
|
z-index: var.$grw-navbar-z-index !important;
|
|
z-index: var.$grw-navbar-z-index !important;
|
|
@@ -89,36 +93,38 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// layout for GlobalSearch
|
|
// layout for GlobalSearch
|
|
|
-.grw-global-search-top {
|
|
|
|
|
- // centering on navbar
|
|
|
|
|
- top: var.$grw-navbar-height / 2;
|
|
|
|
|
- left: 50vw;
|
|
|
|
|
- z-index: bs.$zindex-fixed + 1;
|
|
|
|
|
- transform: translate(-50%, -50%);
|
|
|
|
|
-
|
|
|
|
|
- .rbt-input.form-control {
|
|
|
|
|
- width: 200px;
|
|
|
|
|
- transition: 0.3s ease-out;
|
|
|
|
|
-
|
|
|
|
|
- // focus
|
|
|
|
|
- &.focus {
|
|
|
|
|
- width: 300px;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+.grw-navbar :global {
|
|
|
|
|
+ .grw-global-search-container {
|
|
|
|
|
+ // centering on navbar
|
|
|
|
|
+ top: var.$grw-navbar-height / 2;
|
|
|
|
|
+ left: 50vw;
|
|
|
|
|
+ z-index: bs.$zindex-fixed + 1;
|
|
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
|
|
+
|
|
|
|
|
+ .rbt-input.form-control {
|
|
|
|
|
+ width: 200px;
|
|
|
|
|
+ transition: 0.3s ease-out;
|
|
|
|
|
|
|
|
- @include bs.media-breakpoint-up(md) {
|
|
|
|
|
- width: 300px;
|
|
|
|
|
- }
|
|
|
|
|
- @include bs.media-breakpoint-up(lg) {
|
|
|
|
|
// focus
|
|
// focus
|
|
|
&.focus {
|
|
&.focus {
|
|
|
- width: 400px;
|
|
|
|
|
|
|
+ width: 300px;
|
|
|
}
|
|
}
|
|
|
- }
|
|
|
|
|
- @include bs.media-breakpoint-up(xl) {
|
|
|
|
|
- width: 350px;
|
|
|
|
|
- // focus
|
|
|
|
|
- &.focus {
|
|
|
|
|
- width: 450px;
|
|
|
|
|
|
|
+
|
|
|
|
|
+ @include bs.media-breakpoint-up(md) {
|
|
|
|
|
+ width: 300px;
|
|
|
|
|
+ }
|
|
|
|
|
+ @include bs.media-breakpoint-up(lg) {
|
|
|
|
|
+ // focus
|
|
|
|
|
+ &.focus {
|
|
|
|
|
+ width: 400px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ @include bs.media-breakpoint-up(xl) {
|
|
|
|
|
+ width: 350px;
|
|
|
|
|
+ // focus
|
|
|
|
|
+ &.focus {
|
|
|
|
|
+ width: 450px;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|