2020-05-01 10:50:51 -07:00
|
|
|
/**
|
|
|
|
SETTINGS
|
|
|
|
----------------------------------------------
|
|
|
|
Variable definitions, tools and mixins used
|
|
|
|
across all styling definitions.
|
|
|
|
*/
|
2022-10-24 14:43:53 -07:00
|
|
|
@use "~@fontsource/lexend/scss/mixins" as Lexend;
|
2020-05-01 10:50:51 -07:00
|
|
|
|
|
|
|
@import
|
|
|
|
"variables";
|
|
|
|
|
|
|
|
/**
|
|
|
|
VENDOR
|
|
|
|
----------------------------------------------
|
|
|
|
Imported vendor assets used by Retrospring.
|
|
|
|
*/
|
|
|
|
|
|
|
|
@import
|
2022-01-11 11:34:05 -08:00
|
|
|
"~@melloware/coloris/dist/coloris",
|
2022-01-11 11:27:08 -08:00
|
|
|
"~bootstrap/scss/bootstrap",
|
2022-01-11 11:33:48 -08:00
|
|
|
"~croppr/dist/croppr",
|
2022-01-11 11:27:08 -08:00
|
|
|
"~font-awesome/scss/font-awesome",
|
|
|
|
"~sweetalert/dist/sweetalert",
|
|
|
|
"~toastify-js/src/toastify";
|
2020-05-01 10:50:51 -07:00
|
|
|
|
2022-10-24 14:43:53 -07:00
|
|
|
|
|
|
|
@each $weight in $lexend-weights {
|
|
|
|
@include Lexend.fontFace(
|
|
|
|
$weight: $weight,
|
|
|
|
$display: fallback,
|
|
|
|
$fontDir: "~@fontsource/lexend/files"
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
2022-10-26 01:57:55 -07: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;
|
|
|
|
src: url("#{Lexend.$fontDir}/lexend-#{$subset}-300-normal.woff2") format("woff2"),
|
|
|
|
url("#{Lexend.$fontDir}/lexend-all-300-normal.woff") format("woff");
|
|
|
|
unicode-range: $unicodeRangeValues;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-01 10:50:51 -07:00
|
|
|
/**
|
|
|
|
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",
|
2021-08-12 04:29:50 -07:00
|
|
|
"overrides/badges",
|
2020-05-01 10:50:51 -07:00
|
|
|
"overrides/bootstrap-datetimepicker",
|
|
|
|
"overrides/buttons",
|
|
|
|
"overrides/colors",
|
|
|
|
"overrides/card",
|
|
|
|
"overrides/dropdown",
|
|
|
|
"overrides/inputs",
|
|
|
|
"overrides/links",
|
|
|
|
"overrides/list-group",
|
|
|
|
"overrides/minicolors",
|
2020-05-03 12:44:12 -07:00
|
|
|
"overrides/modal",
|
2020-05-02 08:38:23 -07:00
|
|
|
"overrides/navbar",
|
2021-04-04 07:23:11 -07:00
|
|
|
"overrides/turbolinks",
|
2022-01-09 10:42:35 -08:00
|
|
|
"overrides/toasts",
|
2020-05-02 08:38:23 -07:00
|
|
|
"overrides/sweet-alert";
|
|
|
|
|
|
|
|
/**
|
|
|
|
ELEMENTS
|
|
|
|
----------------------------------------------
|
|
|
|
Styles directly applied to HTML elements
|
|
|
|
*/
|
|
|
|
|
|
|
|
@import
|
|
|
|
"elements/body";
|
2020-05-01 10:50:51 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
COMPONENTS
|
|
|
|
----------------------------------------------
|
|
|
|
Custom components defined for Retrospring.
|
|
|
|
*/
|
|
|
|
|
|
|
|
@import
|
2020-05-07 10:29:12 -07:00
|
|
|
"components/announcements",
|
2020-05-02 11:35:28 -07:00
|
|
|
"components/answerbox",
|
2020-05-01 10:50:51 -07:00
|
|
|
"components/avatars",
|
|
|
|
"components/buttons",
|
2020-05-02 12:23:04 -07:00
|
|
|
"components/comments",
|
2020-05-02 08:38:23 -07:00
|
|
|
"components/container",
|
2020-05-01 10:50:51 -07:00
|
|
|
"components/entry",
|
2022-01-11 11:48:45 -08:00
|
|
|
"components/flags",
|
2020-05-07 06:09:55 -07:00
|
|
|
"components/icons",
|
2022-10-16 07:16:12 -07:00
|
|
|
"components/inbox-actions",
|
2020-05-07 06:01:35 -07:00
|
|
|
"components/inbox-entry",
|
2020-05-01 10:50:51 -07:00
|
|
|
"components/jumbotron",
|
2020-05-02 09:29:04 -07:00
|
|
|
"components/locales",
|
2021-08-05 15:36:02 -07:00
|
|
|
"components/mobile-nav",
|
2020-05-01 12:57:14 -07:00
|
|
|
"components/notifications",
|
2020-05-01 10:50:51 -07:00
|
|
|
"components/profile",
|
2022-10-20 10:02:12 -07:00
|
|
|
"components/push-settings",
|
2020-05-01 10:50:51 -07:00
|
|
|
"components/question",
|
2020-05-02 08:38:23 -07:00
|
|
|
"components/smiles",
|
2022-04-09 17:37:34 -07:00
|
|
|
"components/themes",
|
2020-10-18 10:48:12 -07:00
|
|
|
"components/totp-setup",
|
2020-05-01 10:50:51 -07:00
|
|
|
"components/userbox";
|
|
|
|
|
2020-05-02 08:38:23 -07:00
|
|
|
/**
|
|
|
|
UTILITIES
|
|
|
|
----------------------------------------------
|
|
|
|
Classes used for very specific cases
|
|
|
|
*/
|
|
|
|
|
|
|
|
@import
|
|
|
|
"utilities";
|