-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use CSS variables and polish layout (#104)
* Replace deprecated `isSmall` prop * Settings Page: Use new 32px/40px default size * Use CSS variables and polish layout * Use compact size
- Loading branch information
Showing
24 changed files
with
110 additions
and
121 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
.chbe-admin-header { | ||
padding: 16px 0 8px; | ||
background-color: #fff; | ||
padding: $grid-unit-20 0 $grid-unit-10; | ||
background-color: $white; | ||
|
||
.chbe-admin-header__title { | ||
display: flex; | ||
gap: 16px; | ||
gap: $grid-unit-20; | ||
align-items: center; | ||
justify-content: center; | ||
margin: 0 0 8px; | ||
margin: 0 0 $grid-unit-10; | ||
line-height: 1; | ||
|
||
@media screen and (max-width: 782px) { | ||
font-size: 20px; | ||
} | ||
|
||
svg { | ||
width: 30px; | ||
width: $grid-unit-40; | ||
} | ||
} | ||
|
||
.chbe-admin-header__info { | ||
position: absolute; | ||
top: 0; | ||
right: 16px; | ||
right: $grid-unit-20; | ||
margin: 0; | ||
|
||
@media screen and (max-width: 782px) { | ||
position: static; | ||
margin-top: 16px; | ||
margin-top: $grid-unit-20; | ||
} | ||
} | ||
} |
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,7 +1,7 @@ | ||
.chbe-admin-shortcut-modal { | ||
|
||
p { | ||
margin: 0 0 16px 0; | ||
margin: 0 0 $grid-unit-20 0; | ||
} | ||
|
||
ul { | ||
|
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,28 +1,26 @@ | ||
.chbe-admin-editor-config-filter { | ||
display: flex; | ||
gap: 16px; | ||
gap: $grid-unit-20; | ||
|
||
.chbe-admin-editor-config-filter__mode { | ||
display: flex; | ||
width: 260px; | ||
flex: 1; | ||
|
||
.components-button { | ||
flex: 1; | ||
justify-content: center; | ||
|
||
&.is-secondary { | ||
background: #fff; | ||
background: $white; | ||
} | ||
} | ||
} | ||
|
||
.chbe-admin-editor-config-filter__search { | ||
flex: 1; | ||
|
||
input[type="search"].components-search-control__input { | ||
height: 36px; | ||
background: #fff; | ||
border: 1px solid #d6e2ed; | ||
.components-input-control__container { | ||
background: $white; | ||
} | ||
} | ||
} |
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
Oops, something went wrong.