-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: components menu redesign (#255)
* feat: components menu redesign * fix: removed gap between sticky headers * fix: requested changes
- Loading branch information
Showing
13 changed files
with
358 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,33 @@ | ||
@use '~@gravity-ui/page-constructor/styles/variables.scss' as pcVariables; | ||
@use '../../../mixins.scss' as baseMixins; | ||
@use '../../../variables.scss'; | ||
|
||
$block: '.#{variables.$ns}navigation-layout-navigation'; | ||
|
||
#{$block} { | ||
&__search-input { | ||
position: sticky; | ||
top: 0; | ||
z-index: 1; | ||
height: 64px; | ||
padding-top: 20px; | ||
background: var(--g-color-base-modal); | ||
box-sizing: border-box; | ||
} | ||
|
||
&__empty { | ||
margin-top: 16px; | ||
font-size: 18px; | ||
line-height: 24px; | ||
font-weight: 600; | ||
text-align: center; | ||
} | ||
|
||
@include baseMixins.window-breakpoint('lg') { | ||
&__search-input { | ||
position: static; | ||
height: auto; | ||
padding: 0; | ||
background: none; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.