2023-01-03 03:35:05 -08:00
|
|
|
/**
|
|
|
|
SETTINGS
|
|
|
|
----------------------------------------------
|
|
|
|
Variable definitions, tools and mixins used
|
|
|
|
across all styling definitions.
|
|
|
|
*/
|
|
|
|
@use "@fontsource/lexend/scss/mixins" as Lexend;
|
|
|
|
|
2023-01-03 12:34:09 -08:00
|
|
|
@import "bootstrap/scss/functions";
|
|
|
|
@import "bootstrap/scss/variables";
|
|
|
|
|
2023-01-03 03:35:05 -08:00
|
|
|
@import "variables";
|
|
|
|
|
2023-01-03 12:34:09 -08:00
|
|
|
@import "bootstrap/scss/mixins";
|
|
|
|
@import "bootstrap/scss/maps";
|
|
|
|
|
2023-01-03 03:35:05 -08:00
|
|
|
/**
|
|
|
|
VENDOR
|
|
|
|
----------------------------------------------
|
|
|
|
Imported vendor assets used by Retrospring.
|
|
|
|
*/
|
|
|
|
|
|
|
|
@import "@melloware/coloris/dist/coloris",
|
|
|
|
"bootstrap/scss/bootstrap",
|
|
|
|
"croppr/dist/croppr",
|
2023-01-03 07:15:39 -08:00
|
|
|
"@fortawesome/fontawesome-free/scss/fontawesome",
|
|
|
|
"@fortawesome/fontawesome-free/scss/solid",
|
|
|
|
"@fortawesome/fontawesome-free/scss/regular",
|
|
|
|
"@fortawesome/fontawesome-free/scss/brands",
|
|
|
|
"@fortawesome/fontawesome-free/scss/v4-shims",
|
2023-01-03 03:35:05 -08:00
|
|
|
"sweetalert/dist/sweetalert",
|
|
|
|
"toastify-js/src/toastify";
|
|
|
|
|
|
|
|
|
|
|
|
@each $weight in $lexend-weights {
|
|
|
|
@include Lexend.fontFace($weight: $weight,
|
|
|
|
$display: fallback,
|
2023-01-03 05:06:56 -08:00
|
|
|
$fontDir: "."
|
2023-01-03 03:35:05 -08:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Using Lexend Light (300) as Regular (400) as Regular is quite thick.
|
|
|
|
@each $subset,
|
|
|
|
$unicodeRangeValues in Lexend.$unicodeMap {
|
|
|
|
@font-face {
|
|
|
|
font-family: Lexend;
|
|
|
|
font-style: normal;
|
|
|
|
font-display: swap;
|
|
|
|
font-weight: 400;
|
2023-01-03 05:06:56 -08:00
|
|
|
src: url("lexend-#{$subset}-300-normal.woff2") format("woff2"),
|
|
|
|
url("lexend-all-300-normal.woff") format("woff");
|
2023-01-03 03:35:05 -08:00
|
|
|
unicode-range: $unicodeRangeValues;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
OVERRIDES
|
|
|
|
----------------------------------------------
|
|
|
|
The imports from "overrides/" define almost barely
|
|
|
|
any style adjustments but rather override default
|
|
|
|
Bootstrap behaviour.
|
|
|
|
|
|
|
|
The largest change to regular bootstrap is the switch
|
|
|
|
to using the available CSS variables for most elements
|
|
|
|
used on the site, so theming can be done with changing
|
|
|
|
only those.
|
|
|
|
*/
|
|
|
|
|
|
|
|
@import "overrides/alerts",
|
|
|
|
"overrides/badges",
|
|
|
|
"overrides/bootstrap-datetimepicker",
|
|
|
|
"overrides/buttons",
|
2023-01-04 12:30:57 -08:00
|
|
|
"overrides/code",
|
2023-01-03 03:35:05 -08:00
|
|
|
"overrides/colors",
|
|
|
|
"overrides/card",
|
|
|
|
"overrides/dropdown",
|
|
|
|
"overrides/inputs",
|
|
|
|
"overrides/links",
|
|
|
|
"overrides/list-group",
|
|
|
|
"overrides/minicolors",
|
|
|
|
"overrides/modal",
|
|
|
|
"overrides/navbar",
|
|
|
|
"overrides/turbolinks",
|
|
|
|
"overrides/toasts",
|
|
|
|
"overrides/sweet-alert";
|
|
|
|
|
|
|
|
/**
|
|
|
|
ELEMENTS
|
|
|
|
----------------------------------------------
|
|
|
|
Styles directly applied to HTML elements
|
|
|
|
*/
|
|
|
|
|
|
|
|
@import "elements/body";
|
|
|
|
|
|
|
|
/**
|
|
|
|
COMPONENTS
|
|
|
|
----------------------------------------------
|
|
|
|
Custom components defined for Retrospring.
|
|
|
|
*/
|
|
|
|
|
|
|
|
@import "components/announcements",
|
|
|
|
"components/answerbox",
|
|
|
|
"components/avatars",
|
|
|
|
"components/buttons",
|
|
|
|
"components/comments",
|
|
|
|
"components/container",
|
|
|
|
"components/entry",
|
|
|
|
"components/icons",
|
|
|
|
"components/inbox-actions",
|
|
|
|
"components/inbox-entry",
|
|
|
|
"components/mobile-nav",
|
|
|
|
"components/notifications",
|
|
|
|
"components/profile",
|
|
|
|
"components/push-settings",
|
|
|
|
"components/question",
|
|
|
|
"components/smiles",
|
|
|
|
"components/themes",
|
|
|
|
"components/totp-setup",
|
|
|
|
"components/userbox";
|
|
|
|
|
|
|
|
/**
|
|
|
|
UTILITIES
|
|
|
|
----------------------------------------------
|
|
|
|
Classes used for very specific cases
|
|
|
|
*/
|
|
|
|
|
|
|
|
@import "utilities";
|