Skip to content

Commit

Permalink
Merge pull request #3568 from easyops-cn/sailorshe/master/updateStyle6
Browse files Browse the repository at this point in the history
chore(): add css variables
  • Loading branch information
weareoutman authored Oct 20, 2023
2 parents 800d1f3 + ad2b099 commit 5f06c8b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions packages/brick-container/src/styles/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@
--launchpad-backdrop-transition: filter 100ms ease-out;

--page-padding: 24px;
--page-padding-top: 24px;
--page-padding-right: 24px;
--page-padding-bottom: 24px;
--page-padding-left: 24px;

--page-title-with-breadcrumb-margin-top: 12px;
--page-title-padding: 24px 24px 0 24px;
--page-title-font-weight: 500;
Expand Down
7 changes: 4 additions & 3 deletions packages/brick-container/src/styles/version/ui-v8-2.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* common */
body.ui-v8-2 {
--body-background: var(--color-fill-global-bg-1);
--page-title-padding: 16px 24px 0 24px;
--page-title-margin-top: 0px;
--page-title-margin-bottom: 16px;
--page-title-with-breadcrumb-margin-top: 10px;
Expand All @@ -10,9 +9,11 @@ body.ui-v8-2 {
--page-title-line-height: 28px;
--page-title-toolbar-height: 28px;

--page-content-padding: 0 24px 24px 24px;

--page-padding: 16px 24px 24px 24px;
--page-padding-top: 16px;
--page-padding-right: 24px;
--page-padding-bottom: 24px;
--page-padding-left: 24px;

--wide-color: "#F4F6F9";

Expand Down

0 comments on commit 5f06c8b

Please sign in to comment.