-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
@use 'sprucecss/scss/spruce' as *; | ||
|
||
.notification-dot { | ||
--size: 1em; | ||
background-color: color('success', 'alert'); | ||
block-size: calc(var(--size) / 2); | ||
border-radius: 50%; | ||
display: inline-flex; | ||
inline-size: calc(var(--size) / 2); | ||
margin-left: 10px; | ||
position: relative; | ||
|
||
&::before { | ||
block-size: var(--size); | ||
border: 3px solid color('success', 'alert'); | ||
border-radius: 50%; | ||
content: ''; | ||
inline-size: var(--size); | ||
inset: calc(var(--size) / 4 * -1) auto auto calc(var(--size) / 4 * -1); | ||
opacity: 0; | ||
position: absolute; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
@use 'sprucecss/scss/spruce' as *; | ||
|
||
.welcome-card { | ||
@include a11y-card-link('.welcome-card__link', true); | ||
$this: &; | ||
display: flex; | ||
gap: spacer('m'); | ||
padding: spacer-clamp('m', 2rem); | ||
|
||
&__icon { | ||
--size: 3rem; | ||
align-items: center; | ||
background-color: color('icon-background', 'widget'); | ||
block-size: var(--size); | ||
border-radius: config('border-radius-sm', $display); | ||
color: color('primary'); | ||
display: flex; | ||
flex-shrink: 0; | ||
inline-size: var(--size); | ||
justify-content: center; | ||
|
||
svg { | ||
--size: 1.4rem; | ||
block-size: var(--size); | ||
inline-size: var(--size); | ||
} | ||
} | ||
|
||
&__title { | ||
font-size: font-size('h4'); | ||
font-weight: 600; | ||
margin-block: 0; | ||
} | ||
|
||
&__link { | ||
color: color('heading'); | ||
text-decoration: none; | ||
|
||
&:hover, | ||
&:focus { | ||
color: color('heading'); | ||
} | ||
} | ||
|
||
&__body { | ||
@include layout-stack('xs'); | ||
} | ||
} |