Skip to content

Commit

Permalink
Merge pull request #202 from appwrite/small-style-update-wizard-secon…
Browse files Browse the repository at this point in the history
…dary

Wizard Secondary
  • Loading branch information
ArmanNik authored May 16, 2024
2 parents 44ba0d9 + 3ac6105 commit bdd2eaf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .changeset/angry-coins-visit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@appwrite.io/pink": minor
"@appwrite.io/pink-icons": minor
---

Wizard Secondary color and z-index
12 changes: 9 additions & 3 deletions packages/ui/src/8-grids/_wizard-secondary.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
@use '../abstract/index' as *;

.wizard-secondary {
--wizard-aecondary-bg-color: var(--color-neutral-0);
display:block; min-block-size:100dvh; padding-inline:pxToRem(32);
background-color:hsl(var(--wizard-aecondary-bg-color));
&-container { max-inline-size:pxToRem(1200); margin-inline:auto; }
&-header {
position:sticky; inset-block-start:0;
position:sticky; z-index:1; inset-block-start:0;
display:flex; flex-direction:column; gap:pxToRem(16);
padding-block-start:pxToRem(32); padding-block-end:pxToRem(16);
background-color:hsl(var(--p-body-bg-color));
background-color:hsl(var(--wizard-aecondary-bg-color));
}
&-content {
display:flex; gap:pxToRem(32); padding-block-start:pxToRem(16);
Expand All @@ -16,11 +18,15 @@
&-options {
position:sticky; inset-block-end:0; display:flex; gap:pxToRem(16); justify-content:space-between;
padding-block:pxToRem(32); border-block-start:solid pxToRem(1) hsl(var(--color-border)); margin-block-start:pxToRem(32);
background-color:hsl(var(--p-body-bg-color));
background-color:hsl(var(--wizard-aecondary-bg-color));
&-start { display:flex; gap:pxToRem(16); }
&-end { display:flex; gap:pxToRem(16); }
}

#{$theme-dark} & {
--wizard-aecondary-bg-color: var(--color-neutral-90);
}

@media #{$break1} {
&-options {
flex-direction:column-reverse;
Expand Down

0 comments on commit bdd2eaf

Please sign in to comment.