Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 46 additions & 5 deletions frontend/assets/sass/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
$raleway: "Raleway", system-ui, -apple-system, "Segoe UI", Raleway, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
$oswald: "Oswald", system-ui, -apple-system, "Segoe UI", Oswald, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

// Theme variables (safe defaults)
$theme: "light" !default;
$primary: #112e51 !default;
// Accent color for light theme
$accent: $primary !default;
// Background color for light theme buttons
$light: #ffffff !default;

// Bootstrap Overrides
$enable-negative-margins: true;
$font-family-sans-serif: $raleway;
Expand Down Expand Up @@ -87,13 +95,46 @@ $border-radius: 6px;
font-weight: 600;
padding: 10px 25px;
margin-top: 15px !important;
font-weight: 600;

@if ($theme == "light") {
background: $accent !important;
} else {
background: $light !important;
border-left: 7px solid $accent !important;
}
} @else {
background: $light !important;
border-left: 7px solid $accent !important;
}
}
}

.visually-hidden {
position: absolute !important;
width: 1px !important;
height: 1px !important;
padding: 0 !important;
margin: -1px !important;
overflow: hidden !important;
clip: rect(0, 0, 0, 0) !important;
white-space: nowrap !important;
border: 0 !important;
}

.visually-hidden-focusable:active,
.visually-hidden-focusable:focus {
position: static !important;
width: auto !important;
height: auto !important;
margin: 0 !important;
overflow: visible !important;
clip: auto !important;
white-space: normal !important;
}
.customize-link-toggle {
transition: box-shadow 0.15s ease, outline 0.15s ease, background-color 0.15s ease;
}

.customize-link-toggle:focus-visible,
.customize-link-toggle:focus {
outline: 3px solid $primary;
outline-offset: 2px;
box-shadow: 0 0 0 0.15rem rgba($primary, 0.5);
background-color: rgba($primary, 0.08);
}
Loading