Skip to content

Commit

Permalink
refactor: prettify and add variables, ExtensionInviteCodeModal
Browse files Browse the repository at this point in the history
  • Loading branch information
PetromirDev committed Aug 7, 2024
1 parent 86a0b43 commit 4ab8f62
Showing 1 changed file with 18 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ $min-modal-height: 34.375rem;
max-width: 37.75rem;
width: 100%;
border-radius: 1.125rem;
border: 1px #3e436b;
background: #24263d;
border: 1px $c-fiord;
background: $c-ebony-clay;
}

// Reset
Expand All @@ -27,7 +27,7 @@ $min-modal-height: 34.375rem;
display: flex;
justify-content: center;
padding: 2rem;
background: linear-gradient(82deg, #6000ff, #353d6e);
background: linear-gradient(82deg, $c-electric-violet, #353d6e);
border-radius: 0.75rem 0.75rem 0 0;

.headerPrimaryGradient {
Expand Down Expand Up @@ -66,7 +66,7 @@ $min-modal-height: 34.375rem;
}

&:not(.closeIconEnabled) {
opacity: .4;
opacity: 0.4;
cursor: not-allowed;
}
}
Expand Down Expand Up @@ -112,13 +112,13 @@ $min-modal-height: 34.375rem;
width: 18ch;
background: repeating-linear-gradient(
90deg,
#6770b3 0,
#6770b3 1ch,
$c-scampi 0,
$c-scampi 1ch,
transparent 0,
transparent 1.5ch
)
0 100%/98% 1px no-repeat;
color: #27e8a7; // font: 36px monospace;
color: $c-turquoise; // font: 36px monospace;
font-size: 2.5rem;
font-family: monospace;
letter-spacing: 0.5ch;
Expand Down Expand Up @@ -168,7 +168,7 @@ $min-modal-height: 34.375rem;
padding: 1rem 3rem;
margin: 0 auto;
border-radius: 4rem;
border: 1px solid #6770b3;
border: 1px solid $c-scampi;
background: rgba(0, 0, 0, 0.3);
cursor: pointer;

Expand All @@ -190,7 +190,8 @@ $min-modal-height: 34.375rem;
.content {
gap: 1.5rem;
}
.storeWrapper .storeText, .textWrapper .text {
.storeWrapper .storeText,
.textWrapper .text {
font-size: 0.875rem;
}
.storeWrapper .storeText {
Expand All @@ -199,7 +200,7 @@ $min-modal-height: 34.375rem;
.codeWrapper {
.codeTitle {
font-size: 0.875rem;
margin-bottom: .5rem;
margin-bottom: 0.5rem;
}
.code {
margin-bottom: 1.5rem;
Expand All @@ -213,7 +214,8 @@ $min-modal-height: 34.375rem;

@include sm-breakpoint {
@include SmallScreen;
.header, .content {
.header,
.content {
padding: 1.5rem;
}

Expand All @@ -225,7 +227,8 @@ $min-modal-height: 34.375rem;
}

@include xs-breakpoint {
.header, .content {
.header,
.content {
padding: 1rem;
}

Expand All @@ -236,8 +239,8 @@ $min-modal-height: 34.375rem;
height: auto;
}
.closeIcon {
top: .5rem;
right: .5rem;
top: 0.5rem;
right: 0.5rem;
}
}
}
Expand All @@ -246,4 +249,4 @@ $min-modal-height: 34.375rem;
.codeWrapper .code {
font-size: 1.5rem;
}
}
}

0 comments on commit 4ab8f62

Please sign in to comment.