mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-13 21:33:20 +01:00
remove duplicate stylesheet folder
This commit is contained in:
parent
eac82db8f4
commit
cb740b64a9
40 changed files with 0 additions and 1234 deletions
|
@ -1,15 +0,0 @@
|
|||
.ios-web-app {
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
||||
.fs-10 {
|
||||
font-size: 10em;
|
||||
}
|
||||
|
||||
.pe-none {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.empty:not(:only-child) {
|
||||
display: none;
|
||||
}
|
|
@ -1,105 +0,0 @@
|
|||
// Font settings
|
||||
$lexend-font-path: "~@fontsource/lexend/files";
|
||||
$lexend-weights: 500, 600;
|
||||
$fa-font-path: "~font-awesome/fonts";
|
||||
|
||||
$font-family-sans-serif: "Lexend", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
$font-family-serif: Georgia, "DejaVu Serif", "Times New Roman", Times, serif;
|
||||
$font-family-monospace: "PragmataPro", Monaco, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace;
|
||||
$font-family-base: $font-family-sans-serif;
|
||||
|
||||
$font-size-base: 1rem;
|
||||
$font-size-large: ceil(($font-size-base * 1.25)); // ~18px
|
||||
$font-size-small: ceil(($font-size-base * 0.85)); // ~12px
|
||||
|
||||
$font-size-h1: floor(($font-size-base * 2.6)); // ~36px
|
||||
$font-size-h2: floor(($font-size-base * 2.15)); // ~30px
|
||||
$font-size-h3: ceil(($font-size-base * 1.7)); // ~24px
|
||||
$font-size-h4: ceil(($font-size-base * 1.25)); // ~18px
|
||||
$font-size-h5: $font-size-base;
|
||||
$font-size-h6: ceil(($font-size-base * 0.85)); // ~12px
|
||||
|
||||
// Usual navbar height
|
||||
$navbar-height: 56px;
|
||||
|
||||
// Color overrides for Bootstrap
|
||||
$primary: #5e35b1;
|
||||
|
||||
// Cards
|
||||
$card-border-width: 0;
|
||||
|
||||
// List Groups
|
||||
$list-group-border-width: 0;
|
||||
|
||||
// nProgress
|
||||
$nprogress-color: lighten($primary, 25%);
|
||||
|
||||
// Color names for theme generation
|
||||
$color-names: (
|
||||
"primary",
|
||||
"danger",
|
||||
"warning",
|
||||
"info",
|
||||
"success",
|
||||
"dark",
|
||||
"light"
|
||||
);
|
||||
|
||||
// Avatar variables
|
||||
$avatar-border-radius: 4px;
|
||||
|
||||
$avatar-sizes: (
|
||||
"xs": 20px,
|
||||
"sm": 30px,
|
||||
"md": 40px,
|
||||
"lg": 80px,
|
||||
"xl": 120px,
|
||||
"xxl": 160px,
|
||||
);
|
||||
|
||||
$spacers: (
|
||||
10: (1rem * 6)
|
||||
);
|
||||
|
||||
:root {
|
||||
--background: #f0edf4;
|
||||
--input-bg: var(--background);
|
||||
--raised-bg: #ffffff;
|
||||
--raised-accent: #f7f7f7;
|
||||
|
||||
/**
|
||||
NOTE for all *-text variables
|
||||
----------------------------------------------
|
||||
The text-variables are present as triplets
|
||||
because in some places it's required to adjust
|
||||
their transparency.
|
||||
|
||||
So, for general usage, use:
|
||||
color: RGB(var(--*-text));
|
||||
|
||||
And for transparent usage, use:
|
||||
color: rgba(var(--*-text), .7);
|
||||
|
||||
The uppercase RGB is required because internally
|
||||
SassC wants more than one argument for rgb(),
|
||||
hence writing RGB() bypasses that check, but
|
||||
browsers interpret it correctly.
|
||||
*/
|
||||
|
||||
--primary-text: 255, 255, 255;
|
||||
--danger-text: 255, 255, 255;
|
||||
--warning-text: 41, 41, 41;
|
||||
--info-text: 255, 255, 255;
|
||||
--success-text: 255, 255, 255;
|
||||
--dark-text: 255, 255, 255;
|
||||
--light-text: 0, 0, 0;
|
||||
|
||||
--body-text: 0, 0, 0;
|
||||
--muted-text: 108, 117, 125;
|
||||
--input-text: 0, 0, 0;
|
||||
--input-placeholder: 108, 117, 125;
|
||||
|
||||
--turbolinks-progress-color: #a58adc; // --primary lightened by 25%
|
||||
}
|
||||
|
||||
$gray: #e2e2e2;
|
|
@ -1,123 +0,0 @@
|
|||
/**
|
||||
SETTINGS
|
||||
----------------------------------------------
|
||||
Variable definitions, tools and mixins used
|
||||
across all styling definitions.
|
||||
*/
|
||||
@use "~@fontsource/lexend/scss/mixins" as Lexend;
|
||||
|
||||
@import
|
||||
"variables";
|
||||
|
||||
/**
|
||||
VENDOR
|
||||
----------------------------------------------
|
||||
Imported vendor assets used by Retrospring.
|
||||
*/
|
||||
|
||||
@import
|
||||
"~@melloware/coloris/dist/coloris",
|
||||
"~bootstrap/scss/bootstrap",
|
||||
"~croppr/dist/croppr",
|
||||
"~font-awesome/scss/font-awesome",
|
||||
"~sweetalert/dist/sweetalert",
|
||||
"~toastify-js/src/toastify";
|
||||
|
||||
|
||||
@each $weight in $lexend-weights {
|
||||
@include Lexend.fontFace(
|
||||
$weight: $weight,
|
||||
$display: fallback,
|
||||
$fontDir: "~@fontsource/lexend/files"
|
||||
);
|
||||
}
|
||||
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
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",
|
||||
"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/jumbotron",
|
||||
"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";
|
|
@ -1,16 +0,0 @@
|
|||
.announcement {
|
||||
width: 100%;
|
||||
border-radius: 0;
|
||||
text-align: center;
|
||||
|
||||
p {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
&__container {
|
||||
position: fixed;
|
||||
top: $navbar-height;
|
||||
width: 100%;
|
||||
z-index: 1024;
|
||||
}
|
||||
}
|
|
@ -1,86 +0,0 @@
|
|||
.answerbox {
|
||||
&__question-text,
|
||||
&__question-user,
|
||||
&__answer-user,
|
||||
&__answer-date {
|
||||
margin-bottom: 0;
|
||||
overflow: hidden;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
&__answer-date {
|
||||
font-size: .8rem;
|
||||
line-height: .8;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
&__answer-text {
|
||||
margin-bottom: map-get($spacers, 3);
|
||||
}
|
||||
|
||||
&__question-user-avatar,
|
||||
&__answer-user-avatar {
|
||||
margin-right: map-get($spacers, 2);
|
||||
border-radius: $avatar-border-radius;
|
||||
}
|
||||
|
||||
& .text-muted a,
|
||||
& .text-muted a:hover {
|
||||
color: var(--muted-text);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&__action {
|
||||
padding-left: 0;
|
||||
padding-right: map-get($spacers, 1);
|
||||
|
||||
& i {
|
||||
font-size: 1.4rem;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&[name="ab-smile"],
|
||||
&[name="ab-smile-comment"] {
|
||||
color: var(--primary);
|
||||
|
||||
&:hover {
|
||||
color: var(--success);
|
||||
}
|
||||
|
||||
&[data-action="unsmile"] {
|
||||
color: var(--success);
|
||||
|
||||
&:hover {
|
||||
color: var(--danger);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__actions {
|
||||
text-align: right;
|
||||
justify-content: space-between;
|
||||
padding-top: 10px;
|
||||
|
||||
@include media-breakpoint-up('sm') {
|
||||
justify-content: flex-end;
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.card-body {
|
||||
padding-bottom: .6rem;
|
||||
}
|
||||
}
|
||||
|
||||
body:not(.cap-web-share) {
|
||||
[name="ab-share"] {
|
||||
display: none;
|
||||
}
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
[class^="avatar-"] {
|
||||
border-radius: $avatar-border-radius;
|
||||
}
|
||||
|
||||
@each $name, $size in $avatar-sizes {
|
||||
.avatar-#{$name} {
|
||||
min-height: $size;
|
||||
min-width: $size;
|
||||
height: $size;
|
||||
width: $size;
|
||||
}
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
.btn-fab {
|
||||
border-radius: 100%;
|
||||
box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.12), 0px 1px 6px rgba(0, 0, 0, 0.12);
|
||||
margin: 0px;
|
||||
padding: 3px 5px 4px 8px;
|
||||
font-size: 26px;
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1) 0s;
|
||||
outline: medium none !important;
|
||||
text-transform: uppercase;
|
||||
text-decoration: none;
|
||||
position: fixed;
|
||||
bottom: unquote('calc(#{$navbar-height} + env(safe-area-inset-bottom))');
|
||||
right: 0px;
|
||||
margin-right: 7px;
|
||||
margin-bottom: 7px;
|
||||
z-index: 99;
|
||||
}
|
|
@ -1,39 +0,0 @@
|
|||
.comment {
|
||||
list-style-type: none;
|
||||
margin-bottom: map-get($spacers, 2);
|
||||
|
||||
&__container {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
&__user,
|
||||
&__content {
|
||||
margin-bottom: 0;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
&__user-avatar {
|
||||
margin-right: map-get($spacers, 2);
|
||||
border-radius: $avatar-border-radius;
|
||||
}
|
||||
|
||||
&__input-group {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
&__input {
|
||||
padding-right: 2.5rem;
|
||||
|
||||
&.is-invalid {
|
||||
background-image: none;
|
||||
}
|
||||
}
|
||||
|
||||
&__character-count {
|
||||
position: absolute;
|
||||
z-index: 5;
|
||||
right: .5rem;
|
||||
top: .5rem;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
.container--main {
|
||||
padding-top: map-get($spacers, 3);
|
||||
padding-bottom: map-get($spacers, 3);
|
||||
// Sass doesn't know about the safe-area-inset-* env vars and throws a syntax error
|
||||
// We can get around this by using unquote()
|
||||
// Sass also has its own built-in max() function which is not the same as the CSS one
|
||||
// In order to use the correct one we can write it as Max() instead
|
||||
padding-left: unquote('Max(15px, env(safe-area-inset-left))');
|
||||
padding-right: unquote('Max(15px, env(safe-area-inset-right))');
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
.entry {
|
||||
$this: &;
|
||||
margin: map-get($spacers, 4) 0;
|
||||
|
||||
&__value {
|
||||
display: block;
|
||||
font-size: 4rem;
|
||||
line-height: 1;
|
||||
margin-bottom: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&__description {
|
||||
color: var(--primary);
|
||||
display: block;
|
||||
font-size: .8rem;
|
||||
font-weight: bold;
|
||||
margin-top: 0px;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
.icon--showcase {
|
||||
text-align: center;
|
||||
font-size: 5rem;
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
.inbox-actions {
|
||||
.form-group {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.card-body {
|
||||
padding: $card-spacer-y $card-spacer-x;
|
||||
}
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
.inbox-entry {
|
||||
&--new {
|
||||
box-shadow: 0 0.125rem 0.25rem var(--primary);
|
||||
|
||||
.card-header {
|
||||
background-color: var(--primary);
|
||||
color: RGB(var(--primary-text));
|
||||
|
||||
a {
|
||||
color: RGB(var(--primary-text));
|
||||
|
||||
&.dropdown-item {
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
.text-muted {
|
||||
color: RGBA(var(--primary-text), 0.8) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,35 +0,0 @@
|
|||
.jumbotron {
|
||||
$this: &;
|
||||
display: flex;
|
||||
background-color: var(--primary);
|
||||
color: RGB(var(--primary-text));
|
||||
text-align: center;
|
||||
border-radius: 0;
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
color: RGB(var(--primary-text));
|
||||
}
|
||||
|
||||
a:not(.btn) {
|
||||
color: RGB(var(--primary-text));
|
||||
opacity: 0.6;
|
||||
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.btn {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
&__content {
|
||||
width: 100%;
|
||||
align-self: center;
|
||||
}
|
||||
}
|
|
@ -1,61 +0,0 @@
|
|||
#rs-mobile-nav {
|
||||
.container {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
padding: 4px 0 unquote('calc(env(safe-area-inset-bottom) + 4px)') 0;
|
||||
|
||||
.navbar-icon-row {
|
||||
flex-direction: row;
|
||||
justify-content: space-around;
|
||||
width: 100%;
|
||||
|
||||
.nav-link {
|
||||
padding: 0;
|
||||
|
||||
.fa {
|
||||
padding-top: 8px;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.badge {
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
transform: translateX(16px);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-down("md") {
|
||||
.notification-dropdown,
|
||||
.profile-dropdown {
|
||||
bottom: unquote("calc(env(safe-area-inset-bottom) + #{$navbar-height + 2px})");
|
||||
position: fixed;
|
||||
top: unset;
|
||||
}
|
||||
|
||||
.profile-dropdown {
|
||||
left: unset;
|
||||
right: unquote("calc(env(safe-area-inset-right) + 15px)");
|
||||
}
|
||||
|
||||
.dropdown-menu.notification-dropdown {
|
||||
left: unquote("calc(env(safe-area-inset-left) + 8px)");
|
||||
max-width: unquote("calc(100vw - (8px + env(safe-area-inset-right)) - (8px + env(safe-area-inset-left)))");
|
||||
min-width: unset;
|
||||
right: unquote("calc(env(safe-area-inset-right) + 8px)");
|
||||
width: unquote("calc(100vw - (8px + env(safe-area-inset-right)) - (8px + env(safe-area-inset-left)))");
|
||||
max-height: calc(100% - 40px - 2rem);
|
||||
overflow-y: scroll;
|
||||
|
||||
.dropdown-item {
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.notification {
|
||||
padding: 0;
|
||||
white-space: normal;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,59 +0,0 @@
|
|||
.notification {
|
||||
word-break: break-word;
|
||||
|
||||
&__user {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
&__user,
|
||||
&__text {
|
||||
margin-bottom: 0;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
&__icon {
|
||||
margin-right: map-get($spacers, 2);
|
||||
min-width: 40px;
|
||||
}
|
||||
|
||||
&__heading {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
&__list-heading {
|
||||
margin: 0px;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
color: RGB(var(--muted-text));
|
||||
}
|
||||
|
||||
&__bell-icon:before {
|
||||
font-size: 64px;
|
||||
text-align: center;
|
||||
display: block;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
&-dropdown {
|
||||
min-width: 400px;
|
||||
|
||||
& .dropdown-item:hover,
|
||||
& .dropdown-item:active {
|
||||
background: transparent;
|
||||
color: RGB(var(--body-text));
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-item > & {
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.list-group-item {
|
||||
margin-top: map-get($spacers, 2);
|
||||
background-color: var(--raised-accent);
|
||||
|
||||
p {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,97 +0,0 @@
|
|||
.profile {
|
||||
&__avatar {
|
||||
display: block;
|
||||
width: map-get($avatar-sizes, "xl");
|
||||
height: map-get($avatar-sizes, "xl");
|
||||
margin: -(map-get($avatar-sizes, "xl") / 2.5) map-get($spacers, 4) 0;
|
||||
border-radius: $avatar-border-radius;
|
||||
box-shadow: $box-shadow;
|
||||
|
||||
@include media-breakpoint-up(sm) {
|
||||
width: map-get($avatar-sizes, "xxl");
|
||||
height: map-get($avatar-sizes, "xxl");
|
||||
margin: -(map-get($avatar-sizes, "xxl") / 2) auto 0;
|
||||
}
|
||||
}
|
||||
|
||||
&__header-card {
|
||||
margin-top: map-get($spacers, 3);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
&__name-container {
|
||||
align-self: center;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
|
||||
@include media-breakpoint-up(sm) {
|
||||
padding: map-get($spacers, 4);
|
||||
padding-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&__header-container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
background: linear-gradient(
|
||||
to top,
|
||||
rgba(0, 0, 0, 0.10),
|
||||
rgba(0, 0, 0, 0.10)
|
||||
) var(--primary);
|
||||
max-height: 440px;
|
||||
}
|
||||
|
||||
&__header-image {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&__biography,
|
||||
&__website,
|
||||
&__location {
|
||||
margin-bottom: map-get($spacers, 3);
|
||||
}
|
||||
|
||||
&__actions,
|
||||
&__biography {
|
||||
margin-top: map-get($spacers, 3);
|
||||
}
|
||||
|
||||
&__display-name {
|
||||
font-weight: bold;
|
||||
font-size: 1.1em;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
|
||||
@include media-breakpoint-up(sm) {
|
||||
white-space: initial;
|
||||
}
|
||||
}
|
||||
|
||||
&__screen-name {
|
||||
&:only-child {
|
||||
@extend .profile__display-name;
|
||||
}
|
||||
|
||||
&:not(:only-child) {
|
||||
font-size: 0.9em;
|
||||
color: RGB(var(--muted-text));
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(sm) {
|
||||
&__name {
|
||||
margin-bottom: map-get($spacers, 3);
|
||||
}
|
||||
|
||||
& .card-body {
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.user--banned {
|
||||
text-decoration: line-through !important;
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
.push-notifications {
|
||||
&-unavailable {
|
||||
body.cap-service-worker.cap-notification & {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
.question {
|
||||
&--fixed {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
z-index: 999;
|
||||
|
||||
@include media-breakpoint-up('sm') {
|
||||
position: fixed;
|
||||
}
|
||||
}
|
||||
|
||||
&--hidden {
|
||||
visibility: hidden;
|
||||
position: relative;
|
||||
box-shadow: none;
|
||||
z-index: -1;
|
||||
}
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
.smiles {
|
||||
margin-bottom: map-get($spacers, 2);
|
||||
|
||||
&__user-list {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
&__user-list-entry {
|
||||
margin-bottom: map-get($spacers, 3);
|
||||
|
||||
* {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
img {
|
||||
height: map-get($avatar-sizes, "lg");
|
||||
width: map-get($avatar-sizes, "lg");
|
||||
border-radius: $avatar-border-radius;
|
||||
}
|
||||
|
||||
span {
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
.theme-success {
|
||||
--background: #f4fcf6;
|
||||
--primary: var(--success);
|
||||
}
|
||||
|
||||
.theme-warning {
|
||||
--background: #fcfaf4;
|
||||
--primary: var(--warning);
|
||||
--primary-text: 0, 0, 0;
|
||||
}
|
||||
|
||||
.theme-danger {
|
||||
--background: #fceff1;
|
||||
--primary: var(--danger);
|
||||
}
|
|
@ -1,76 +0,0 @@
|
|||
%totp-input {
|
||||
font-family: "Monaco", "Inconsolata", "Cascadia Code", "Consolas", monospace;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.totp-setup {
|
||||
&__card {
|
||||
background: var(--primary);
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
|
||||
min-width: 256px;
|
||||
max-width: 256px;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
&__card-container {
|
||||
min-width: 276px;
|
||||
max-width: 276px;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
&__qr {
|
||||
background: white;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
&__text {
|
||||
background: #000;
|
||||
color: #fff;
|
||||
margin: 10px 0 0 0;
|
||||
padding: 5px;
|
||||
border-radius: 5px;
|
||||
|
||||
code {
|
||||
display: block;
|
||||
color: var(--warning);
|
||||
}
|
||||
}
|
||||
|
||||
&__code-field {
|
||||
@extend %totp-input;
|
||||
}
|
||||
|
||||
&__recovery {
|
||||
&-container {
|
||||
max-width: 455px;
|
||||
}
|
||||
|
||||
&-icon {
|
||||
font-size: .75in;
|
||||
}
|
||||
|
||||
&-title {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
&-codes {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
list-style-type: none;
|
||||
font-size: 16px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#user_otp_attempt {
|
||||
@extend %totp-input;
|
||||
}
|
|
@ -1,37 +0,0 @@
|
|||
.userbox {
|
||||
&__header {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
max-height: 70px;
|
||||
|
||||
@include media-breakpoint-up(sm) {
|
||||
max-height: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
&__avatar {
|
||||
display: block;
|
||||
width: map-get($avatar-sizes, "lg");
|
||||
height: map-get($avatar-sizes, "lg");
|
||||
margin-top: -(map-get($avatar-sizes, "lg") / 2);
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
border-radius: $avatar-border-radius;
|
||||
box-shadow: $box-shadow;
|
||||
}
|
||||
|
||||
.profile__name {
|
||||
display: block;
|
||||
margin: map-get($spacers, 3) 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.card-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.profile__actions {
|
||||
margin-top: auto;
|
||||
}
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
body {
|
||||
overflow-y: scroll;
|
||||
word-wrap: break-word;
|
||||
color: RGB(var(--body-text));
|
||||
background-color: var(--background);
|
||||
@include media-breakpoint-up('lg') {
|
||||
padding-top: $navbar-height;
|
||||
}
|
||||
@include media-breakpoint-down('md') {
|
||||
padding-bottom: calc($navbar-height + unquote('env(safe-area-inset-bottom, 0)'));
|
||||
}
|
||||
|
||||
&.not-logged-in {
|
||||
padding-top: $navbar-height;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
@each $color in $color-names {
|
||||
.alert-#{$color} {
|
||||
color: RGB(var(--#{$color}-text));
|
||||
background-color: var(--#{$color});
|
||||
border-color: var(--#{$color});
|
||||
|
||||
.alert-link {
|
||||
color: RGB(var(--#{$color}-text));
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
@each $color in $color-names {
|
||||
.badge-#{$color} {
|
||||
color: var(--#{$color});
|
||||
background-color: RGB(var(--#{$color}-text));
|
||||
}
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
.remove-native-picker::-webkit-calendar-picker-indicator{
|
||||
display: none
|
||||
}
|
|
@ -1,64 +0,0 @@
|
|||
.btn {
|
||||
color: RGB(var(--body-text));
|
||||
}
|
||||
|
||||
.btn-link:hover {
|
||||
color: RGB(var(--body-text));
|
||||
}
|
||||
|
||||
@each $color in $color-names {
|
||||
.btn-#{$color} {
|
||||
|
||||
color: RGB(var(--#{$color}-text));
|
||||
background-color: var(--#{$color});
|
||||
border-color: var(--#{$color});
|
||||
border-width: 0;
|
||||
|
||||
&:hover {
|
||||
background: linear-gradient(
|
||||
to top,
|
||||
rgba(0, 0, 0, 0.10),
|
||||
rgba(0, 0, 0, 0.10)
|
||||
) var(--#{$color});
|
||||
}
|
||||
|
||||
&:not(:disabled):not(.disabled):active,
|
||||
&:not(:disabled):not(.disabled).active {
|
||||
border: none;
|
||||
background: linear-gradient(
|
||||
to top,
|
||||
rgba(0, 0, 0, 0.25),
|
||||
rgba(0, 0, 0, 0.25)
|
||||
) var(--#{$color});
|
||||
|
||||
&:focus {
|
||||
background: linear-gradient(
|
||||
to top,
|
||||
rgba(0, 0, 0, 0.30),
|
||||
rgba(0, 0, 0, 0.30)
|
||||
) var(--#{$color});
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
&:focus,
|
||||
&:focus:hover {
|
||||
background: linear-gradient(
|
||||
to top,
|
||||
rgba(0, 0, 0, 0.30),
|
||||
rgba(0, 0, 0, 0.30)
|
||||
) var(--#{$color});
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-outline-#{$color} {
|
||||
color: var(--#{$color});
|
||||
}
|
||||
}
|
||||
|
||||
.btn {
|
||||
.fa {
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
.card {
|
||||
margin-bottom: map-get($spacers, 3);
|
||||
box-shadow: $box-shadow-sm;
|
||||
background-color: var(--raised-bg);
|
||||
|
||||
p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
&--fullheight {
|
||||
height: calc(100% - map-get($spacers, 3));
|
||||
}
|
||||
}
|
||||
|
||||
.card-header,
|
||||
.card-footer {
|
||||
background-color: var(--raised-accent);
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
@each $color in $color-names {
|
||||
.bg-#{$color} {
|
||||
background-color: var(--#{$color}) !important;
|
||||
}
|
||||
|
||||
.text-#{$color} {
|
||||
color: var(--#{$color}) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.text-muted {
|
||||
color: RGB(var(--muted-text)) !important;
|
||||
}
|
|
@ -1,35 +0,0 @@
|
|||
.dropdown-menu {
|
||||
color: RGB(var(--body-text));
|
||||
background-color: var(--raised-bg);
|
||||
box-shadow: $box-shadow-lg;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.dropdown-item {
|
||||
color: RGB(var(--body-text));
|
||||
|
||||
&.active,
|
||||
&:active,
|
||||
&:active:hover {
|
||||
color: RGB(var(--primary-text));
|
||||
background-color: var(--primary);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: var(--raised-accent);
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-divider {
|
||||
border-top: 1px solid var(--raised-accent);
|
||||
}
|
||||
|
||||
.dropdown-toggle {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up('md') {
|
||||
.dropdown-menu--lists {
|
||||
max-width: 275px;
|
||||
}
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
.form-control {
|
||||
background-color: var(--input-bg);
|
||||
color: RGB(var(--input-text));
|
||||
border: 0;
|
||||
|
||||
&:focus {
|
||||
background-color: var(--input-bg);
|
||||
color: RGB(var(--input-text));
|
||||
border-color: var(--primary);
|
||||
box-shadow: .5px 0 0 0.1rem var(--primary);
|
||||
}
|
||||
|
||||
&::placeholder {
|
||||
color: RGB(var(--input-placeholder));
|
||||
}
|
||||
}
|
||||
|
||||
.input-group-text {
|
||||
color: RGB(var(--body-text));
|
||||
background-color: var(--raised-accent);
|
||||
border: 0;
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
a {
|
||||
color: var(--primary);
|
||||
|
||||
&:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
.list-group-item {
|
||||
background-color: transparent;
|
||||
|
||||
&.active,
|
||||
&.active:hover {
|
||||
background-color: var(--primary);
|
||||
border-color: var(--primary);
|
||||
|
||||
a {
|
||||
color: var(--primary-text);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.list-group-item-action {
|
||||
color: RGB(var(--body-text));
|
||||
|
||||
&:hover, &:focus {
|
||||
background-color: var(--raised-accent);
|
||||
}
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
#update_theme .minicolors-theme-bootstrap .minicolors-swatch {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
border: 0;
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
.modal-content {
|
||||
background-color: var(--raised-bg);
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.modal-header {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.modal-footer {
|
||||
background-color: var(--raised-accent);
|
||||
border-top: 0;
|
||||
}
|
|
@ -1,58 +0,0 @@
|
|||
.navbar-themed {
|
||||
.navbar-brand {
|
||||
color: RGB(var(--primary-text));
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: RGB(var(--primary-text));
|
||||
}
|
||||
|
||||
/* svg-logo! \o/ */
|
||||
svg {
|
||||
height: $navbar-brand-font-size;
|
||||
path {
|
||||
fill: RGB(var(--primary-text));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-nav {
|
||||
.nav-link {
|
||||
color: rgba(var(--primary-text), .5);
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: rgba(var(--primary-text), .75);
|
||||
}
|
||||
|
||||
&.disabled {
|
||||
color: rgba(var(--primary-text), .25);
|
||||
}
|
||||
}
|
||||
|
||||
.show > .nav-link,
|
||||
.active > .nav-link,
|
||||
.nav-link.show,
|
||||
.nav-link.active {
|
||||
color: RGB(var(--primary-text));
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-toggler {
|
||||
color: RGB(var(--primary-text));
|
||||
border-color: RGB(var(--primary-text));
|
||||
}
|
||||
|
||||
.navbar-toggler-icon {
|
||||
background-image: escape-svg($navbar-dark-toggler-icon-bg);
|
||||
}
|
||||
|
||||
.navbar-text {
|
||||
color: RGB(var(--primary-text));
|
||||
a,
|
||||
a:hover,
|
||||
a:focus {
|
||||
color: RGB(var(--primary-text));
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
.sweet-alert {
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
.sweet-overlay {
|
||||
z-index: 1031;
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
.toastify {
|
||||
@include media-breakpoint-up('md') {
|
||||
transform: translateY(56px) !important;
|
||||
}
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
.turbolinks-progress-bar {
|
||||
background: var(--turbolinks-progress-color);
|
||||
|
||||
@include media-breakpoint-down('md') {
|
||||
top: unset !important;
|
||||
bottom: calc(45px + env(safe-area-inset-bottom)) !important;
|
||||
position: fixed;
|
||||
left: 0 !important;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue