1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

Bootstrap5 (#17)

* Bootstrap5 migration
This commit is contained in:
catborise 2021-07-07 14:12:38 +03:00 committed by GitHub
parent 1663a49cee
commit 073b7b6717
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
244 changed files with 9494 additions and 8597 deletions

View file

@ -1,4 +1,3 @@
// Bootstrap original
@ -20,4 +19,4 @@
// Progress bars ===============================================================
// Containers ==================================================================
// Containers ==================================================================

View file

@ -1,2 +1 @@
// Bootstrap original

View file

@ -1,29 +1,25 @@
// Cerulean 4.6.0
// Cerulean 5.0.2
// Bootswatch
// Variables ===================================================================
// Variables
$text-shadow: 0 1px 0 rgba(0, 0, 0, .05) !default;
// Mixins ======================================================================
// Mixins
@mixin btn-shadow($color){
@include gradient-y-three-colors(lighten($color, 8%), $color, 60%, darken($color, 4%));
@include gradient-y-three-colors(tint-color($color, 16%), $color, 60%, shade-color($color, 6%));
}
// Navbar ======================================================================
// Navbar
.bg-primary {
@include btn-shadow($primary);
}
.bg-dark {
@include btn-shadow($blue);
}
.bg-light {
@include gradient-y-three-colors(lighten($gray-200, 8%), $gray-200, 60%, darken($gray-200, 2%));
.navbar {
@each $color, $value in $theme-colors {
&.bg-#{$color} {
@include btn-shadow($value);
}
}
}
.navbar-brand,
@ -31,47 +27,23 @@ $text-shadow: 0 1px 0 rgba(0, 0, 0, .05) !default;
text-shadow: $text-shadow;
}
// Buttons =====================================================================
// Buttons
.btn {
text-shadow: $text-shadow;
}
.btn-primary {
@include btn-shadow($primary);
}
.btn-secondary {
@include btn-shadow($secondary);
color: $gray-700;
}
.btn-success {
@include btn-shadow($success);
@each $color, $value in $theme-colors {
.btn-#{$color} {
@include btn-shadow($value);
}
}
.btn-info {
@include btn-shadow($info);
}
.btn-warning {
@include btn-shadow($warning);
}
.btn-danger {
@include btn-shadow($danger);
}
.btn-light {
@include btn-shadow($light);
}
.btn-dark {
@include btn-shadow($dark);
}
// Typography ==================================================================
// Typography
.text-secondary {
color: $gray-500 !important;
@ -93,10 +65,25 @@ $text-shadow: 0 1px 0 rgba(0, 0, 0, .05) !default;
}
}
// Navs ========================================================================
// Navs
.dropdown-menu {
.dropdown-header {
color: $gray-600;
}
}
// Indicators
.badge {
&.bg-secondary,
&.bg-light {
color: $dark;
}
}
.breadcrumb {
a {
text-decoration: none;
}
}

View file

@ -1,6 +1,8 @@
// Cerulean 4.6.0
// Cerulean 5.0.2
// Bootswatch
$theme: "cerulean" !default;
//
// Color system
//
@ -37,6 +39,8 @@ $danger: $red !default;
$light: $gray-100 !default;
$dark: $gray-800 !default;
$min-contrast-ratio: 2.75 !default;
// Body
$body-color: $gray-700 !default;
@ -55,3 +59,8 @@ $dropdown-link-hover-bg: $primary !default;
$navbar-dark-color: rgba($white, .8) !default;
$navbar-dark-hover-color: $white !default;
// Breadcrumbs
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;

View file

@ -1,19 +1,29 @@
// Cosmo 4.6.0
// Cosmo 5.0.2
// Bootswatch
// Variables ===================================================================
// Variables
$web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;700&display=swap" !default;
@import url($web-font-path);
@if $web-font-path {
@import url($web-font-path);
}
// Typography ==================================================================
// Typography
body {
-webkit-font-smoothing: antialiased;
}
// Progress bars ===============================================================
// Indicators
.badge {
&.bg-light {
color: $dark;
}
}
// Progress bars
.progress {
@include box-shadow(none);
@ -23,3 +33,9 @@ body {
line-height: 8px;
}
}
.breadcrumb {
a {
text-decoration: none;
}
}

View file

@ -1,6 +1,8 @@
// Cosmo 4.6.0
// Cosmo 5.0.2
// Bootswatch
$theme: "cosmo" !default;
//
// Color system
//
@ -37,6 +39,8 @@ $danger: $red !default;
$light: $gray-100 !default;
$dark: $gray-800 !default;
$min-contrast-ratio: 2.6 !default;
// Options
$enable-rounded: false !default;
@ -49,9 +53,7 @@ $body-color: $gray-800 !default;
// stylelint-disable-next-line value-keyword-case
$font-family-sans-serif: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$font-size-base: .9375rem !default;
$font-size-sm: $font-size-base * .88 !default;
$headings-font-weight: 300 !default;
$headings-font-weight: 400 !default;
// Navbar
@ -65,3 +67,10 @@ $alert-border-width: 0 !default;
// Progress bars
$progress-height: .5rem !default;
// Breadcrumbs
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$link-decoration: none !default;

View file

@ -1,13 +1,15 @@
// Cyborg 4.6.0
// Cyborg 5.0.2
// Bootswatch
// Variables ===================================================================
// Variables
$web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" !default;
@import url($web-font-path);
@if $web-font-path {
@import url($web-font-path);
}
// Navbar ======================================================================
// Navbar
.navbar {
&.bg-primary {
@ -32,7 +34,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&di
}
}
// Buttons =====================================================================
// Buttons
.btn {
@each $color, $value in $theme-colors {
@ -46,162 +48,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&di
}
}
// Tables ======================================================================
table {
color: $white;
}
.table {
&-primary {
&,
> th,
> td {
background-color: $primary;
}
}
&-secondary {
&,
> th,
> td {
background-color: $secondary;
}
}
&-light {
&,
> th,
> td {
background-color: $light;
}
}
&-dark {
&,
> th,
> td {
background-color: $dark;
}
}
&-success {
&,
> th,
> td {
background-color: $success;
}
}
&-info {
&,
> th,
> td {
background-color: $info;
}
}
&-danger {
&,
> th,
> td {
background-color: $danger;
}
}
&-warning {
&,
> th,
> td {
background-color: $warning;
}
}
&-active {
&,
> th,
> td {
background-color: $table-active-bg;
}
}
&-hover {
.table-primary:hover {
&,
> th,
> td {
background-color: darken($primary, 5%);
}
}
.table-secondary:hover {
&,
> th,
> td {
background-color: darken($secondary, 5%);
}
}
.table-light:hover {
&,
> th,
> td {
background-color: darken($light, 5%);
}
}
.table-dark:hover {
&,
> th,
> td {
background-color: darken($dark, 5%);
}
}
.table-success:hover {
&,
> th,
> td {
background-color: darken($success, 5%);
}
}
.table-info:hover {
&,
> th,
> td {
background-color: darken($info, 5%);
}
}
.table-danger:hover {
&,
> th,
> td {
background-color: darken($danger, 5%);
}
}
.table-warning:hover {
&,
> th,
> td {
background-color: darken($warning, 5%);
}
}
.table-active:hover {
&,
> th,
> td {
background-color: $table-active-bg;
}
}
}
}
// Forms =======================================================================
// Forms
legend {
color: $white;
@ -216,7 +63,7 @@ legend {
}
}
// Navs ========================================================================
// Navs
.nav-tabs,
.nav-pills {
@ -242,6 +89,7 @@ legend {
.breadcrumb {
a {
color: $white;
text-decoration: none;
}
}
@ -251,7 +99,7 @@ legend {
}
}
// Indicators ==================================================================
// Indicators
.alert {
border: none;
@ -275,49 +123,17 @@ legend {
}
.badge {
&-warning {
color: $white;
&.bg-dark {
color: $gray-900;
}
}
.close {
opacity: .6;
&:hover {
opacity: 1;
}
}
// Containers ==================================================================
// Containers
.list-group-item {
&:hover {
background-color: $gray-700;
color: $white;
}
&-action {
color: $gray-500;
.list-group-item-heading {
color: $gray-500;
}
}
&:hover .list-group-item-heading {
color: $white;
}
}
.card,
.list-group-item {
h1,
h2,
h3,
h4,
h5,
h6 {
color: inherit;
border-color: $primary;
}
}

View file

@ -1,6 +1,8 @@
// Cyborg 4.6.0
// Cyborg 5.0.2
// Bootswatch
$theme: "cyborg" !default;
//
// Color system
//
@ -17,7 +19,7 @@ $gray-800: #222 !default;
$gray-900: #212529 !default;
$black: #000 !default;
$blue: #2a9fd6 !default;
$blue: #105677 !default;
$indigo: #6610f2 !default;
$purple: #6f42c1 !default;
$pink: #e83e8c !default;
@ -37,7 +39,7 @@ $danger: $red !default;
$light: $gray-800 !default;
$dark: $gray-400 !default;
$yiq-contrasted-threshold: 175 !default;
$min-contrast-ratio: 2.25 !default;
// Body
@ -49,7 +51,6 @@ $body-color: $gray-400 !default;
// stylelint-disable-next-line value-keyword-case
$font-family-sans-serif: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif !default;
$font-size-base: .875rem !default;
$h1-font-size: 4rem !default;
$h2-font-size: 3rem !default;
$h3-font-size: 2.5rem !default;
@ -66,6 +67,8 @@ $table-border-color: $gray-700 !default;
$table-dark-bg: $gray-500 !default;
$table-dark-border-color: darken($gray-500, 7.5%) !default;
$table-bg-scale: 0 !default;
// Buttons
$input-btn-padding-x: 1rem !default;
@ -73,12 +76,19 @@ $input-btn-padding-x: 1rem !default;
// Forms
$input-disabled-bg: $gray-400 !default;
$input-color: $gray-900 !default;
$input-border-color: $white !default;
$input-border-width: 0 !default;
$input-group-addon-color: $white !default;
$input-group-addon-bg: $gray-700 !default;
$input-group-addon-border-color: transparent !default;
$custom-file-color: $white !default;
$custom-file-border-color: $gray-700 !default;
$form-check-input-bg: $white !default;
$form-check-input-border: none !default;
$form-file-button-color: $white !default;
// Dropdowns
@ -111,11 +121,6 @@ $pagination-hover-border-color: $pagination-border-color !default;
$pagination-disabled-bg: $pagination-bg !default;
$pagination-disabled-border-color: $pagination-border-color !default;
// Jumbotron
$jumbotron-bg: $gray-700 !default;
// Cards
$card-bg: $gray-700 !default;
@ -149,21 +154,29 @@ $progress-bg: $gray-700 !default;
// List group
$list-group-color: $white !default;
$list-group-bg: $gray-800 !default;
$list-group-border-color: $gray-700 !default;
$list-group-hover-bg: $primary !default;
$list-group-disabled-bg: $gray-700 !default;
$list-group-action-color: $white !default;
$list-group-action-active-bg: $primary !default;
// Breadcrumbs
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$breadcrumb-bg: $gray-700 !default;
$breadcrumb-border-radius: .25rem !default;
// Close
$close-color: $white !default;
$close-text-shadow: none !default;
$btn-close-color: $white !default;
$btn-close-opacity: .6 !default;
$btn-close-hover-opacity: 1 !default;
// Code
$pre-color: inherit !default;
$link-decoration: none !default;

View file

@ -1,13 +1,15 @@
// Darkly 4.6.0
// Darkly 5.0.2
// Bootswatch
// Variables ===================================================================
// Variables
$web-font-path: "https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400&display=swap" !default;
@import url($web-font-path);
@if $web-font-path {
@import url($web-font-path);
}
// Typography ==================================================================
// Typography
.blockquote {
&-footer {
@ -15,164 +17,17 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0
}
}
// Tables ======================================================================
.table {
&-primary {
&,
> th,
> td {
background-color: $primary;
}
}
&-secondary {
&,
> th,
> td {
background-color: $secondary;
}
}
&-light {
&,
> th,
> td {
background-color: $light;
}
}
&-dark {
&,
> th,
> td {
background-color: $dark;
}
}
&-success {
&,
> th,
> td {
background-color: $success;
}
}
&-info {
&,
> th,
> td {
background-color: $info;
}
}
&-danger {
&,
> th,
> td {
background-color: $danger;
}
}
&-warning {
&,
> th,
> td {
background-color: $warning;
}
}
&-active {
&,
> th,
> td {
background-color: $table-active-bg;
}
}
&-hover {
.table-primary:hover {
&,
> th,
> td {
background-color: darken($primary, 5%);
}
}
.table-secondary:hover {
&,
> th,
> td {
background-color: darken($secondary, 5%);
}
}
.table-light:hover {
&,
> th,
> td {
background-color: darken($light, 5%);
}
}
.table-dark:hover {
&,
> th,
> td {
background-color: darken($dark, 5%);
}
}
.table-success:hover {
&,
> th,
> td {
background-color: darken($success, 5%);
}
}
.table-info:hover {
&,
> th,
> td {
background-color: darken($info, 5%);
}
}
.table-danger:hover {
&,
> th,
> td {
background-color: darken($danger, 5%);
}
}
.table-warning:hover {
&,
> th,
> td {
background-color: darken($warning, 5%);
}
}
.table-active:hover {
&,
> th,
> td {
background-color: $table-active-bg;
}
}
}
}
// Forms =======================================================================
// Forms
.input-group-addon {
color: $white;
}
// Navs ========================================================================
.form-floating > label {
color: $gray-700;
}
// Navs
.nav-tabs,
.nav-pills {
@ -189,6 +44,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0
.breadcrumb a {
color: $white;
text-decoration: none;
}
.pagination {
@ -197,16 +53,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0
}
}
// Indicators ==================================================================
.close {
opacity: .4;
&:hover,
&:focus {
opacity: 1;
}
}
// Indicators
.alert {
border: none;
@ -228,19 +75,3 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0
}
}
}
// Containers ==================================================================
.list-group-item-action {
color: $white;
&:hover,
&:focus {
background-color: $gray-700;
color: $white;
}
.list-group-item-heading {
color: $white;
}
}

View file

@ -1,6 +1,8 @@
// Darkly 4.6.0
// Darkly 5.0.2
// Bootswatch
$theme: "darkly" !default;
//
// Color system
//
@ -37,7 +39,7 @@ $danger: $red !default;
$light: $gray-500 !default;
$dark: $gray-800 !default;
$yiq-contrasted-threshold: 175 !default;
$min-contrast-ratio: 2.15 !default;
// Body
@ -52,8 +54,6 @@ $link-color: $success !default;
// stylelint-disable-next-line value-keyword-case
$font-family-sans-serif: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$font-size-base: .9375rem !default;
$font-size-sm: $font-size-base * .88 !default;
$h1-font-size: 3rem !default;
$h2-font-size: 2.5rem !default;
$h3-font-size: 2rem !default;
@ -61,16 +61,22 @@ $text-muted: $gray-600 !default;
// Tables
$table-accent-bg: $gray-800 !default;
$table-accent-bg: transparent;
$table-border-color: $gray-700 !default;
$table-bg-scale: 0 !default;
// Forms
$input-color: $gray-800 !default;
$input-border-color: $body-bg !default;
$input-group-addon-color: $gray-500 !default;
$input-group-addon-bg: $gray-700 !default;
$custom-file-color: $gray-500 !default;
$custom-file-border-color: $body-bg !default;
$form-check-input-bg: $white !default;
$form-check-input-border: none !default;
$form-file-button-color: $white !default;
// Dropdowns
@ -83,7 +89,7 @@ $dropdown-link-hover-bg: $primary !default;
// Navs
$nav-link-padding-x: 1.25rem !default;
$nav-link-padding-x: 2rem !default;
$nav-link-disabled-color: $gray-500 !default;
$nav-tabs-border-color: $gray-700 !default;
$nav-tabs-link-hover-border-color: $nav-tabs-border-color $nav-tabs-border-color transparent !default;
@ -92,9 +98,9 @@ $nav-tabs-link-active-border-color: $nav-tabs-border-color $nav-tabs-border-colo
// Navbar
$navbar-padding-y: .7rem !default;
$navbar-dark-color: rgba($white, .6) !default;
$navbar-dark-hover-color: $white !default;
$navbar-padding-y: .75rem !default;
$navbar-dark-color: rgba($white, .6) !default;
$navbar-dark-hover-color: $white !default;
$navbar-light-color: rgba($gray-900, .7) !default;
$navbar-light-hover-color: $gray-900 !default;
$navbar-light-active-color: $gray-900 !default;
@ -115,10 +121,6 @@ $pagination-disabled-color: $white !default;
$pagination-disabled-bg: darken($success, 15%) !default;
$pagination-disabled-border-color: transparent !default;
// Jumbotron
$jumbotron-bg: $gray-800 !default;
// Cards
$card-cap-bg: $gray-700 !default;
@ -146,19 +148,28 @@ $progress-bg: $gray-700 !default;
// List group
$list-group-color: $body-color !default;
$list-group-bg: $gray-800 !default;
$list-group-border-color: $gray-700 !default;
$list-group-hover-bg: $gray-700 !default;
$list-group-action-hover-color: $list-group-color !default;
$list-group-action-active-bg: $gray-900 !default;
// Breadcrumbs
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$breadcrumb-bg: $gray-700 !default;
$breadcrumb-border-radius: .25rem !default;
// Close
$close-color: $white !default;
$close-text-shadow: none !default;
$btn-close-color: $white !default;
$btn-close-opacity: .4 !default;
$btn-close-hover-opacity: 1 !default;
// Code
$pre-color: inherit !default;
$link-decoration: none !default;

View file

@ -1,202 +1,26 @@
// Flatly 4.6.0
// Flatly 5.0.2
// Bootswatch
// Variables ===================================================================
// Variables
$web-font-path: "https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400&display=swap" !default;
@import url($web-font-path);
@if $web-font-path {
@import url($web-font-path);
}
// Navbar =======================================================================
// Navbar
.bg-primary {
.navbar-nav .active > .nav-link {
.navbar-nav .show > .nav-link,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
color: $success !important;
}
}
.bg-dark {
&.navbar-dark .navbar-nav {
.nav-link:focus,
.nav-link:hover,
.active > .nav-link {
color: $primary !important;
}
}
}
// Buttons =====================================================================
.btn {
&-secondary,
&-secondary:hover,
&-warning,
&-warning:hover {
color: $white;
}
}
// Tables ======================================================================
.table {
&-primary,
&-secondary,
&-success,
&-info,
&-warning,
&-danger {
color: $white;
}
&-primary {
&,
> th,
> td {
background-color: $primary;
}
}
&-secondary {
&,
> th,
> td {
background-color: $secondary;
}
}
&-light {
&,
> th,
> td {
background-color: $light;
}
}
&-dark {
&,
> th,
> td {
background-color: $dark;
}
}
&-success {
&,
> th,
> td {
background-color: $success;
}
}
&-info {
&,
> th,
> td {
background-color: $info;
}
}
&-danger {
&,
> th,
> td {
background-color: $danger;
}
}
&-warning {
&,
> th,
> td {
background-color: $warning;
}
}
&-active {
&,
> th,
> td {
background-color: $table-active-bg;
}
}
&-hover {
.table-primary:hover {
&,
> th,
> td {
background-color: darken($primary, 5%);
}
}
.table-secondary:hover {
&,
> th,
> td {
background-color: darken($secondary, 5%);
}
}
.table-light:hover {
&,
> th,
> td {
background-color: darken($light, 5%);
}
}
.table-dark:hover {
&,
> th,
> td {
background-color: darken($dark, 5%);
}
}
.table-success:hover {
&,
> th,
> td {
background-color: darken($success, 5%);
}
}
.table-info:hover {
&,
> th,
> td {
background-color: darken($info, 5%);
}
}
.table-danger:hover {
&,
> th,
> td {
background-color: darken($danger, 5%);
}
}
.table-warning:hover {
&,
> th,
> td {
background-color: darken($warning, 5%);
}
}
.table-active:hover {
&,
> th,
> td {
background-color: $table-active-bg;
}
}
}
}
// Navs ========================================================================
// Navs
.nav-tabs {
.nav-link.active,
@ -215,22 +39,17 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0
}
}
// Indicators ==================================================================
// Indicators
.close {
text-decoration: none;
opacity: .4;
&:hover,
&:focus {
opacity: 1;
.badge {
&.bg-light {
color: $dark;
}
}
.badge {
&-secondary,
&-warning {
color: $white;
.breadcrumb {
a {
text-decoration: none;
}
}
@ -263,16 +82,11 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0
}
}
// Containers ==================================================================
// Containers
.modal,
.toast {
.close {
color: $black;
&:not(:disabled):not(.disabled):hover,
&:not(:disabled):not(.disabled):focus {
color: $black;
}
.btn-close {
background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>");
}
}

View file

@ -1,6 +1,8 @@
// Flatly 4.6.0
// Flatly 5.0.2
// Bootswatch
$theme: "flatly" !default;
//
// Color system
//
@ -37,7 +39,7 @@ $danger: $red !default;
$light: $gray-200 !default;
$dark: $gray-700 !default;
$yiq-contrasted-threshold: 175 !default;
$min-contrast-ratio: 2.05 !default;
// Links
@ -47,15 +49,13 @@ $link-color: $success !default;
// stylelint-disable-next-line value-keyword-case
$font-family-sans-serif: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$font-size-base: .9375rem !default;
$font-size-sm: $font-size-base * .88 !default;
$h1-font-size: 3rem !default;
$h2-font-size: 2.5rem !default;
$h3-font-size: 2rem !default;
// Tables
$table-accent-bg: $gray-200 !default;
$table-bg-scale: 0 !default;
// Dropdowns
@ -66,7 +66,7 @@ $dropdown-link-hover-bg: $primary !default;
// Navs
$nav-link-padding-y: .5rem !default !default;
$nav-link-padding-x: 1.25rem !default;
$nav-link-padding-x: 1.5rem !default;
$nav-link-disabled-color: $gray-600 !default !default;
$nav-tabs-border-color: $gray-200 !default;
@ -74,7 +74,11 @@ $nav-tabs-border-color: $gray-200 !default;
$navbar-padding-y: .7rem !default;
$navbar-dark-color: $white !default;
$navbar-dark-hover-color: $success !default;
$navbar-dark-hover-color: $primary !default;
$navbar-dark-active-color: $primary !default;
$navbar-dark-brand-color: $white !default;
$navbar-dark-brand-hover-color: $navbar-dark-brand-color !default;
// Pagination
@ -96,7 +100,16 @@ $pagination-disabled-border-color: transparent !default;
$list-group-hover-bg: $gray-200 !default;
$list-group-disabled-bg: $gray-200 !default;
// Breadcrumbs
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$breadcrumb-border-radius: .25rem !default;
// Close
$close-color: $white !default;
$close-text-shadow: none !default;
$btn-close-color: $white !default;
$btn-close-opacity: .4 !default;
$btn-close-hover-opacity: 1 !default;
$link-decoration: none !default;

View file

@ -1,13 +1,15 @@
// Journal 4.6.0
// Journal 5.0.2
// Bootswatch
// Variables ===================================================================
// Variables
$web-font-path: "https://fonts.googleapis.com/css2?family=News+Cycle:wght@400;700&display=swap" !default;
@import url($web-font-path);
@if $web-font-path {
@import url($web-font-path);
}
// Navbar ======================================================================
// Navbar
.bg-dark {
background-color: $black !important;
@ -40,7 +42,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=News+Cycle:wght@400;70
text-transform: uppercase;
}
// Buttons =====================================================================
// Buttons
.btn {
font-family: $headings-font-family;
@ -52,7 +54,13 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=News+Cycle:wght@400;70
}
}
// Navs ========================================================================
.breadcrumb {
a {
text-decoration: none;
}
}
// Navs
.pagination {
a:hover {

View file

@ -1,6 +1,8 @@
// Journal 4.6.0
// Journal 5.0.2
// Bootswatch
$theme: "journal" !default;
//
// Color system
//
@ -37,6 +39,8 @@ $danger: $red !default;
$light: $gray-100 !default;
$dark: $gray-900 !default;
$min-contrast-ratio: 1.28 !default;
// Fonts
$headings-font-family: "News Cycle", "Arial Narrow Bold", sans-serif !default;
@ -58,3 +62,10 @@ $navbar-light-active-color: $black !default;
$pagination-hover-color: $white !default;
$pagination-hover-bg: $primary !default;
$pagination-hover-border-color: $primary !default;
// Breadcrumbs
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$link-decoration: none !default;

View file

@ -1,7 +1,7 @@
// Litera 4.6.0
// Litera 5.0.2
// Bootswatch
// Navbar ======================================================================
// Navbar
.navbar {
font-size: $font-size-sm;
@ -24,7 +24,7 @@
}
}
// Typography ==================================================================
// Typography
p {
font-family: $font-family-serif;
@ -43,172 +43,14 @@ footer {
font-family: $font-family-sans-serif;
}
// Tables ======================================================================
// Tables
table,
.table {
font-size: $font-size-sm;
&-primary,
&-secondary,
&-success,
&-info,
&-warning,
&-danger {
color: $white;
}
}
.table {
&-primary {
&,
> th,
> td {
background-color: $primary;
}
}
&-secondary {
&,
> th,
> td {
background-color: $secondary;
}
}
&-light {
&,
> th,
> td {
background-color: $light;
}
}
&-dark {
&,
> th,
> td {
background-color: $dark;
}
}
&-success {
&,
> th,
> td {
background-color: $success;
}
}
&-info {
&,
> th,
> td {
background-color: $info;
}
}
&-danger {
&,
> th,
> td {
background-color: $danger;
}
}
&-warning {
&,
> th,
> td {
background-color: $warning;
}
}
&-active {
&,
> th,
> td {
background-color: $table-active-bg;
}
}
&-hover {
.table-primary:hover {
&,
> th,
> td {
background-color: darken($primary, 5%);
}
}
.table-secondary:hover {
&,
> th,
> td {
background-color: darken($secondary, 5%);
}
}
.table-light:hover {
&,
> th,
> td {
background-color: darken($light, 5%);
}
}
.table-dark:hover {
&,
> th,
> td {
background-color: darken($dark, 5%);
}
}
.table-success:hover {
&,
> th,
> td {
background-color: darken($success, 5%);
}
}
.table-info:hover {
&,
> th,
> td {
background-color: darken($info, 5%);
}
}
.table-danger:hover {
&,
> th,
> td {
background-color: darken($danger, 5%);
}
}
.table-warning:hover {
&,
> th,
> td {
background-color: darken($warning, 5%);
}
}
.table-active:hover {
&,
> th,
> td {
background-color: $table-active-bg;
}
}
}
}
// Navs ========================================================================
// Navs
.nav,
.breadcrumb,
@ -220,7 +62,7 @@ table,
font-size: $font-size-sm;
}
// Indicators ==================================================================
// Indicators
.alert {
color: $white;
@ -258,11 +100,19 @@ table,
}
.badge {
vertical-align: bottom;
&.bg-light {
color: $dark;
}
}
// Containers ==================================================================
// Containers
.list-group {
font-size: $font-size-sm;
}
.breadcrumb {
a {
text-decoration: none;
}
}

View file

@ -1,6 +1,8 @@
// Litera 4.6.0
// Litera 5.0.2
// Bootswatch
$theme: "litera" !default;
//
// Color system
//
@ -37,7 +39,7 @@ $danger: $red !default;
$light: $gray-100 !default;
$dark: $gray-800 !default;
$yiq-contrasted-threshold: 190 !default;
$min-contrast-ratio: 1.85 !default;
// Body
@ -50,13 +52,15 @@ $font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Rob
$font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif !default;
// stylelint-enable
$font-size-base: 1.063rem !default;
$font-size-base: 1.1rem !default;
$headings-font-weight: 700 !default;
// Tables
$table-border-color: rgba(0, 0, 0, .1) !default;
$table-bg-scale: 0 !default;
// Buttons
$input-btn-padding-y: .5rem !default;
@ -94,3 +98,10 @@ $badge-padding-x: 1.2em !default;
// Alerts
$alert-border-width: 0 !default;
// Breadcrumbs
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$link-decoration: none !default;

View file

@ -1,39 +1,34 @@
// Lumen 4.6.0
// Lumen 5.0.2
// Bootswatch
// Variables ===================================================================
// Variables
$web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" !default;
@import url($web-font-path);
@if $web-font-path {
@import url($web-font-path);
}
// Mixins ======================================================================
// Mixins
@mixin shadow($width: 4px){
border-style: solid;
border-width: 0 1px $width 1px;
}
// Navbar ======================================================================
// Navbar
.navbar {
@include shadow();
@each $color, $value in $theme-colors {
&.bg-#{$color} {
border-color: shade-color($value, 10%);
}
}
}
.bg-primary {
border-color: darken($primary, 5%);
}
.bg-dark {
border-color: darken($dark, 5%);
}
.bg-light {
background-color: $white !important;
border-color: darken($white, 5%);
}
// Buttons =====================================================================
// Buttons
.btn {
@include shadow();
@ -50,36 +45,21 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,w
@include box-shadow(none);
}
&-primary {
border-color: darken($primary, 5%);
}
@each $color, $value in $theme-colors {
&-#{$color} {
&:hover,
&:active,
&:focus {
background-color: $value;
}
&-secondary {
border-color: darken($secondary, 5%);
}
&-success {
border-color: darken($success, 5%);
}
&-info {
border-color: darken($info, 5%);
}
&-danger {
border-color: darken($danger, 5%);
}
&-warning {
border-color: darken($warning, 5%);
}
&-light {
border-color: darken($light, 5%);
}
&-dark {
border-color: darken($dark, 5%);
&,
&:not(.disabled):hover,
&:not(.disabled):active,
&:focus {
border-color: shade-color($value, 10%);
}
}
}
}
@ -101,7 +81,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,w
}
}
// Typography ==================================================================
// Typography
.text-secondary {
color: $gray-700 !important;
@ -111,177 +91,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,w
color: $gray-600;
}
// Tables ======================================================================
.table {
&-primary,
&-success,
&-info,
&-warning,
&-danger {
color: $white;
}
&-hover tbody {
.table-primary:hover,
.table-success:hover,
.table-info:hover,
.table-warning:hover,
.table-danger:hover,
.table-dark:hover {
color: $white;
}
}
&-primary {
&,
> th,
> td {
background-color: $primary;
}
}
&-secondary {
&,
> th,
> td {
background-color: $secondary;
}
}
&-light {
&,
> th,
> td {
background-color: $light;
}
}
&-dark {
&,
> th,
> td {
background-color: $dark;
}
}
&-success {
&,
> th,
> td {
background-color: $success;
}
}
&-info {
&,
> th,
> td {
background-color: $info;
}
}
&-danger {
&,
> th,
> td {
background-color: $danger;
}
}
&-warning {
&,
> th,
> td {
background-color: $warning;
}
}
&-active {
&,
> th,
> td {
background-color: $table-active-bg;
}
}
&-hover {
.table-primary:hover {
&,
> th,
> td {
background-color: darken($primary, 5%);
}
}
.table-secondary:hover {
&,
> th,
> td {
background-color: darken($secondary, 5%);
}
}
.table-light:hover {
&,
> th,
> td {
background-color: darken($light, 5%);
}
}
.table-dark:hover {
&,
> th,
> td {
background-color: darken($dark, 5%);
}
}
.table-success:hover {
&,
> th,
> td {
background-color: darken($success, 5%);
}
}
.table-info:hover {
&,
> th,
> td {
background-color: darken($info, 5%);
}
}
.table-danger:hover {
&,
> th,
> td {
background-color: darken($danger, 5%);
}
}
.table-warning:hover {
&,
> th,
> td {
background-color: darken($warning, 5%);
}
}
.table-active:hover {
&,
> th,
> td {
background-color: $table-active-bg;
}
}
}
}
// Forms =======================================================================
// Forms
.form-control {
box-shadow: inset 0 2px 0 rgba(0, 0, 0, .075);
@ -296,7 +106,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,w
}
}
// Navs ========================================================================
// Navs
.nav {
.open > a,
@ -341,7 +151,10 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,w
}
.breadcrumb {
border-color: darken($breadcrumb-bg, 5%);
border-color: shade-color($breadcrumb-bg, 10%);
a {
text-decoration: none;
}
@include shadow();
}
@ -352,7 +165,6 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,w
top: 0;
@include shadow();
color: $pagination-color;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
@ -397,9 +209,9 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,w
}
}
// Indicators ==================================================================
// Indicators
.close {
.btn-close {
text-decoration: none;
opacity: .4;
@ -415,42 +227,42 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,w
&-primary {
background-color: $primary;
border-color: darken($primary, 5%);
border-color: shade-color($primary, 10%);
}
&-secondary {
background-color: $secondary;
border-color: darken($secondary, 5%);
border-color: shade-color($secondary, 10%);
}
&-success {
background-color: $success;
border-color: darken($success, 5%);
border-color: shade-color($success, 10%);
}
&-info {
background-color: $info;
border-color: darken($info, 5%);
border-color: shade-color($info, 10%);
}
&-danger {
background-color: $danger;
border-color: darken($danger, 5%);
border-color: shade-color($danger, 10%);
}
&-warning {
background-color: $warning;
border-color: darken($warning, 5%);
border-color: shade-color($warning, 10%);
}
&-dark {
background-color: $dark;
border-color: darken($dark, 5%);
border-color: shade-color($dark, 10%);
}
&-light {
background-color: $light;
border-color: darken($light, 5%);
border-color: shade-color($light, 10%);
}
.alert-link {
@ -470,13 +282,13 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,w
}
.badge {
&-warning,
&-info {
color: $white;
&.bg-secondary,
&.bg-light {
color: $dark;
}
}
// Containers ==================================================================
// Containers
a.list-group-item {
&-success {
@ -486,7 +298,7 @@ a.list-group-item {
&.active:hover,
&.active:focus {
background-color: darken($success, 5%);
background-color: shade-color($success, 10%);
}
}
@ -497,7 +309,7 @@ a.list-group-item {
&.active:hover,
&.active:focus {
background-color: darken($warning, 5%);
background-color: shade-color($warning, 10%);
}
}
@ -508,24 +320,14 @@ a.list-group-item {
&.active:hover,
&.active:focus {
background-color: darken($danger, 5%);
background-color: shade-color($danger, 10%);
}
}
}
.jumbotron {
border: 1px solid $gray-200;
box-shadow: inset 0 2px 0 rgba(0, 0, 0, .05);
}
.modal,
.toast {
.close {
color: $black;
&:not(:disabled):not(.disabled):hover,
&:not(:disabled):not(.disabled):focus {
color: $black;
}
.btn-close {
background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>");
}
}

View file

@ -1,6 +1,8 @@
// Lumen 4.6.0
// Lumen 5.0.2
// Bootswatch
$theme: "lumen" !default;
//
// Color system
//
@ -37,18 +39,19 @@ $danger: $red !default;
$light: $gray-100 !default;
$dark: $gray-700 !default;
$yiq-contrasted-threshold: 200 !default;
$min-contrast-ratio: 1.75 !default;
// Fonts
// stylelint-disable-next-line value-keyword-case
$font-family-sans-serif: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$font-size-base: .875rem !default;
// Tables
$table-bg-scale: 0 !default;
// Buttons
$btn-font-size: .75rem !default;
$btn-font-size-sm: .625rem !default;
$btn-font-weight: 700 !default;
// Dropdowns
@ -72,9 +75,12 @@ $pagination-active-border-color: darken($primary, 5%) !default;
$pagination-disabled-color: $gray-600 !default;
$pagination-disabled-bg: $pagination-bg !default;
// Jumbotron
// Breadcrumbs
$jumbotron-bg: #fafafa !default;
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$breadcrumb-bg: $pagination-bg !default;
$breadcrumb-border-radius: .25rem !default;
// Modals
@ -82,4 +88,8 @@ $modal-content-border-color: rgba($black, .1) !default;
// Close
$close-color: $white !default;
$btn-close-color: $white !default;
$btn-close-opacity: .4 !default;
$btn-close-hover-opacity: 1 !default;
$link-decoration: none !default;

View file

@ -1,13 +1,15 @@
// Lux 4.6.0
// Lux 5.0.2
// Bootswatch
// Variables ===================================================================
// Variables
$web-font-path: "https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600&display=swap" !default;
@import url($web-font-path);
@if $web-font-path {
@import url($web-font-path);
}
// Navbar ======================================================================
// Navbar
.navbar {
font-size: $font-size-sm;
@ -43,10 +45,10 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;6
}
.nav-item {
margin-right: .5rem;
margin-right: 2rem;
}
// Buttons =====================================================================
// Buttons
.btn {
font-size: $font-size-sm;
@ -91,7 +93,13 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;6
border: 1px solid $gray-400 !important;
}
// Typography ==================================================================
.breadcrumb {
a {
text-decoration: none;
}
}
// Typography
body {
font-weight: 200;
@ -112,7 +120,7 @@ h6 {
color: $body-color !important;
}
// Tables ======================================================================
// Tables
th {
font-size: $font-size-sm;
@ -133,27 +141,14 @@ th {
}
}
// Forms =======================================================================
.custom-switch {
.custom-control-label {
&::after {
top: add(.15625rem, 2px);
left: add(-2.25rem, 2px);
width: subtract(1rem, 4px);
height: subtract(1rem, 4px);
}
}
}
// Navs ========================================================================
// Navs
.dropdown-menu {
font-size: $font-size-sm;
text-transform: none;
}
// Indicators ==================================================================
// Indicators
.badge {
padding-top: .28rem;
@ -161,9 +156,14 @@ th {
&-pill {
border-radius: 10rem;
}
&.bg-secondary,
&.bg-light {
color: $dark;
}
}
// Containers ==================================================================
// Containers
.list-group-item {
h1,

View file

@ -1,6 +1,8 @@
// Lux 4.6.0
// Lux 5.0.2
// Bootswatch
$theme: "lux" !default;
//
// Color system
//
@ -37,7 +39,7 @@ $danger: $red !default;
$light: $white !default;
$dark: $gray-800 !default;
$yiq-contrasted-threshold: 185 !default;
$min-contrast-ratio: 2.3 !default;
// Options
@ -51,7 +53,6 @@ $body-color: $gray-700 !default;
// stylelint-disable-next-line value-keyword-case
$font-family-sans-serif: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$font-size-base: .875rem !default;
$h1-font-size: 2rem !default;
$h2-font-size: 1.75rem !default;
$h3-font-size: 1.5rem !default;
@ -71,7 +72,7 @@ $input-btn-border-width: 0 !default;
// Buttons
$btn-line-height: 1.5rem !default;
$btn-line-height: 1rem !default;
$input-btn-padding-y: .5rem !default;
$input-btn-padding-x: 1rem !default;
$input-btn-padding-y-sm: .25rem !default;
@ -82,20 +83,20 @@ $btn-font-weight: 600 !default;
// Forms
$input-line-height: 1.5 !default;
$input-line-height: 1 !default;
$input-bg: $gray-200 !default;
$input-disabled-bg: $gray-300 !default;
$input-group-addon-bg: $gray-300 !default;
// Navbar
$navbar-padding-y: .7rem !default;
$nav-link-padding-x: .75rem !default;
$navbar-padding-y: .75rem !default;
$navbar-dark-hover-color: $white !default;
$navbar-light-color: rgba($black, .3) !default;
$navbar-light-hover-color: $gray-900 !default;
$navbar-light-active-color: $gray-900 !default;
// Pagination
$pagination-border-color: transparent !default;
@ -104,4 +105,7 @@ $pagination-disabled-border-color: $pagination-border-color !default;
// Breadcrumbs
$breadcrumb-bg: transparent !default;
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$link-decoration: none !default;

View file

@ -1,15 +1,17 @@
// Materia 4.6.0
// Materia 5.0.2
// Bootswatch
// Variables ===================================================================
// Variables
$web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" !default;
@import url($web-font-path);
@if $web-font-path {
@import url($web-font-path);
}
// Mixins ======================================================================
// Mixins
@mixin ripple($color){
@mixin ripple($color) {
position: relative;
&::before {
@ -44,7 +46,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;50
}
}
@mixin btn($class,$bg,$color){
@mixin btn($class,$bg,$color) {
.btn-#{$class} {
&:focus {
background-color: $bg;
@ -53,7 +55,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;50
&:hover,
&:active:hover {
background-color: darken($bg, 6%);
background-color: shade-color($bg, 12%);
}
&:active {
@ -70,12 +72,12 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;50
.dropdown-toggle::after,
.dropup .dropdown-toggle::after,
.dropright .dropdown-toggle::after,
.dropleft .dropdown-toggle::after {
.dropstart .dropdown-toggle::after,
.dropend .dropdown-toggle::after {
border-width: 4px;
}
// Navbar ======================================================================
// Navbar
.navbar {
border: none;
@ -92,6 +94,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;50
&.bg-dark,
&.bg-primary {
input[type="search"],
input[type="text"],
input[type="password"],
input[type="email"],
@ -111,7 +114,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;50
}
}
// Buttons =====================================================================
// Buttons
@include btn(primary, $primary, $white);
@include btn(secondary, $secondary, $gray-500);
@ -202,12 +205,11 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;50
border: 1px solid #dfdfdf !important;
}
// Typography ==================================================================
// Typography
body,
input,
button {
-webkit-font-smoothing: antialiased;
letter-spacing: .1px;
}
@ -219,7 +221,7 @@ p {
color: $gray-500 !important;
}
// Tables ======================================================================
// Tables
.table-hover {
> tbody > tr,
@ -234,7 +236,7 @@ p {
color: $white;
}
// Forms =======================================================================
// Forms
.col-form-label {
font-size: 16px;
@ -317,107 +319,106 @@ select.form-control {
}
}
.custom-control {
min-height: 1.5rem;
}
.form-check-input {
width: 1.25em;
height: 1.25em;
margin-top: 1px;
border: 2px solid $gray-400;
.custom-control-label {
&::before {
top: 0;
border: 2px solid $gray-400;
}
&::after {
top: 0;
}
.custom-control-input:checked ~ &::before {
border-color: $primary;
&:checked[type="radio"] {
background-size: 1.8em;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%232196f3' stroke='%23fff' stroke-width='1' /%3e%3c/svg%3e"), var(--bs-gradient);
}
}
.custom-checkbox .custom-control-input:checked {
~ .custom-control-label::before {
background-image: none;
}
~ .custom-control-label::after {
transform: scale(1.5);
}
}
.custom-radio .custom-control-input {
~ .custom-control-label::after {
transform: scale(.75);
}
&:checked {
~ .custom-control-label::before {
background-color: $white;
background-image: none;
transition: border-color .24s;
}
~ .custom-control-label::after {
transform: scale(1.125);
transition: background-image .24s, transform .24s;
}
}
}
.custom-switch {
.custom-control-label::before {
top: .125rem;
height: .875rem;
background-color: $gray-500;
.form-check.form-switch {
.form-check-input {
position: relative;
height: .8em;
border: none;
}
background-image: none;
background-color: $gray-400;
.custom-control-input:disabled ~ .custom-control-label {
opacity: .7;
}
&:focus {
box-shadow: none;
}
.custom-control-input:disabled ~ .custom-control-label::before {
background-color: $gray-500;
}
&::before {
content: "";
position: absolute;
top: -.2em;
left: -.2em;
width: 1.2em;
height: 1.2em;
background-color: $white;
border-radius: 50%;
box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
transition: left .15s ease-in-out;
}
.custom-control-label::after {
background-color: $white;
box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}
&::after {
content: "";
position: absolute;
top: -.2em;
left: -.2em;
width: 1.2em;
height: 1.2em;
border-radius: 50%;
box-shadow: 0 0 0 9px rgba(0, 0, 0, .05);
transform: scale(0);
transition: left .15s ease-in-out, transform .15s ease-in-out, box-shadow .15s ease-in-out;
z-index: -1;
}
.custom-control-input:checked ~ .custom-control-label::before {
opacity: .38;
}
&:hover:not(.disabled),
&:focus:not(.disabled) {
.custom-control-input:checked ~ .custom-control-label::after {
background-color: $primary;
}
&::after {
transform: scale(.9);
}
}
.custom-control-input:hover:not(:disabled) ~ .custom-control-label::after {
box-shadow: 0 1px 4px rgba(0, 0, 0, .3), 0 0 0 9px rgba(0, 0, 0, .05);
}
&:focus:not(.disabled) {
&::after {
box-shadow: 0 0 0 9px rgba(0, 0, 0, .1);
}
}
.custom-control-input:focus:not(:disabled) ~ .custom-control-label::after {
box-shadow: 0 1px 4px rgba(0, 0, 0, .3), 0 0 0 9px rgba(0, 0, 0, .09);
}
&:checked {
background-color: rgba(33, 150, 243, .3);
.custom-control-input:active:not(:disabled) ~ .custom-control-label::after {
box-shadow: 0 1px 4px rgba(0, 0, 0, .3), 0 0 0 9px rgba(0, 0, 0, .16);
}
&::before {
background-color: rgba(33, 150, 243, 1);
left: calc(100% - .8em);
}
.custom-control-input:hover:checked:not(:disabled) ~ .custom-control-label::after {
box-shadow: 0 1px 4px rgba(0, 0, 0, .3), 0 0 0 9px rgba(33, 150, 243, .05);
}
&::after {
left: calc(100% - .8em);
box-shadow: 0 0 0 9px rgba(33, 150, 243, .1);
}
.custom-control-input:focus:checked:not(:disabled) ~ .custom-control-label::after {
box-shadow: 0 1px 4px rgba(0, 0, 0, .3), 0 0 0 9px rgba(33, 150, 243, .09);
}
&:hover:not(.disabled),
&:focus:not(.disabled) {
&::after {
transform: scale(.9);
}
}
.custom-control-input:active:checked:not(:disabled) ~ .custom-control-label::after {
box-shadow: 0 1px 4px rgba(0, 0, 0, .3), 0 0 0 9px rgba(33, 150, 243, .16);
&:focus:not(.disabled) {
&::after {
box-shadow: 0 0 0 9px rgba(33, 150, 243, .2);
}
}
}
}
}
.custom-control-input:active:not(:checked) ~ .custom-control-label::before {
background-color: $gray-500;
.form-check:not(.form-switch) {
.form-check-input {
&:checked[type="checkbox"] {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-width='2' d='M6 10l3 3l6-6'/%3e%3c/svg%3e"), var(--bs-gradient);
background-size: 1.6em;
}
}
}
@ -537,14 +538,14 @@ select.form-control {
}
.form-group-lg {
.-lg {
select,
select.form-control {
line-height: 1.5;
}
}
// Navs ========================================================================
// Navs
.nav-tabs {
.nav-item + .nav-item {
@ -605,7 +606,7 @@ select.form-control {
box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}
// Indicators ==================================================================
// Indicators
.alert {
padding-right: 2.5rem;
@ -637,10 +638,6 @@ select.form-control {
font-weight: 700;
}
.close {
color: $white;
}
&-secondary,
&-light {
&,
@ -652,17 +649,9 @@ select.form-control {
}
.badge {
&-secondary {
background-color: $gray-500;
color: $white;
}
&-light {
background-color: $gray-200;
}
&-warning {
color: $white;
&.bg-secondary,
&.bg-light {
color: $dark;
}
}
@ -670,17 +659,7 @@ select.form-control {
padding: 4px 6px;
}
// Containers ==================================================================
.close {
line-height: .5;
opacity: .6;
transition: opacity .2s;
&:hover {
opacity: 1;
}
}
// Containers
.card {
box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
@ -697,12 +676,6 @@ select.form-control {
}
}
.alert-dismissible {
.close {
padding: .5rem .75rem;
}
}
.list-group {
&-item-action.active {
h1,
@ -721,6 +694,13 @@ select.form-control {
box-shadow: 0 6px 36px rgba(0, 0, 0, .3);
}
.modal,
.toast {
.btn-close {
background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>");
}
}
.popover {
border: none;
box-shadow: 0 1px 4px rgba(0, 0, 0, .3);

View file

@ -1,6 +1,8 @@
// Materia 4.6.0
// Materia 5.0.2
// Bootswatch
$theme: "materia" !default;
//
// Color system
//
@ -34,10 +36,10 @@ $success: $green !default;
$info: $cyan !default;
$warning: $yellow !default;
$danger: $red !default;
$light: $white !default;
$light: $gray-100 !default;
$dark: $gray-800 !default;
$yiq-contrasted-threshold: 170 !default;
$min-contrast-ratio: 2.15 !default;
$enable-gradients: true !default;
@ -49,7 +51,7 @@ $body-color: $gray-700 !default;
// stylelint-disable-next-line value-keyword-case
$font-family-sans-serif: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif !default;
$font-size-base: .8125rem !default;
$font-size-base: 1rem !default;
$font-weight-base: 400 !default;
// Buttons
@ -75,15 +77,6 @@ $input-border-radius-lg: 0 !default;
$input-border-radius-sm: 0 !default;
$input-placeholder-color: rgba(0, 0, 0, .4) !default;
$input-group-addon-bg: transparent !default;
$custom-control-gutter: 1.75rem !default;
$custom-control-indicator-focus-box-shadow: 0 !default;
$custom-control-indicator-size: 1.25rem !default;
$custom-control-indicator-bg: $white !default;
$custom-checkbox-indicator-border-radius: 2px !default;
$custom-control-indicator-disabled-bg: $gray-100 !default;
$custom-radio-indicator-icon-checked: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='4' fill='#2196f3'/></svg>") !default;
$custom-select-border-radius: 0 !default;
$custom-select-box-shadow: none !default;
// Navs
@ -92,7 +85,7 @@ $nav-tabs-border-color: transparent !default;
// Navbar
$navbar-padding-y: .7rem !default;
$navbar-padding-y: .5rem !default;
$navbar-dark-color: rgba($white, .75) !default;
$navbar-dark-hover-color: $white !default;
@ -116,5 +109,13 @@ $progress-border-radius: 0 !default;
// Close
$close-font-size: 2.125rem !default;
$close-font-weight: 300 !default;
$btn-close-color: $white !default;
$btn-close-opacity: .6 !default;
$btn-close-hover-opacity: 1 !default;
// Breadcrumbs
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$link-decoration: none !default;

View file

@ -1,13 +1,15 @@
// Minty 4.6.0
// Minty 5.0.2
// Bootswatch
// Variables ===================================================================
// Variables
$web-font-path: "https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap" !default;
@import url($web-font-path);
@if $web-font-path {
@import url($web-font-path);
}
// Navbar ======================================================================
// Navbar
.navbar {
font-family: $headings-font-family;
@ -21,7 +23,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Montserrat:wght@400;50
border-color: $secondary !important;
}
// Buttons =====================================================================
// Buttons
.btn {
font-family: $headings-font-family;
@ -33,7 +35,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Montserrat:wght@400;50
&-light,
&-light:hover {
color: $gray-900;
color: $gray-700;
}
&-link,
@ -78,178 +80,13 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Montserrat:wght@400;50
}
}
// Tables ======================================================================
.table {
&-primary,
&-secondary,
&-success,
&-info,
&-warning,
&-danger {
color: $white;
}
&-primary {
&,
> th,
> td {
background-color: $primary;
}
}
&-secondary {
&,
> th,
> td {
background-color: $secondary;
}
}
&-light {
&,
> th,
> td {
background-color: $light;
}
}
&-dark {
&,
> th,
> td {
background-color: $dark;
}
}
&-success {
&,
> th,
> td {
background-color: $success;
}
}
&-info {
&,
> th,
> td {
background-color: $info;
}
}
&-danger {
&,
> th,
> td {
background-color: $danger;
}
}
&-warning {
&,
> th,
> td {
background-color: $warning;
}
}
&-active {
&,
> th,
> td {
background-color: $table-active-bg;
}
}
&-hover {
.table-primary:hover {
&,
> th,
> td {
background-color: darken($primary, 5%);
}
}
.table-secondary:hover {
&,
> th,
> td {
background-color: darken($secondary, 5%);
}
}
.table-light:hover {
&,
> th,
> td {
background-color: darken($light, 5%);
}
}
.table-dark:hover {
&,
> th,
> td {
background-color: darken($dark, 5%);
}
}
.table-success:hover {
&,
> th,
> td {
background-color: darken($success, 5%);
}
}
.table-info:hover {
&,
> th,
> td {
background-color: darken($info, 5%);
}
}
.table-danger:hover {
&,
> th,
> td {
background-color: darken($danger, 5%);
}
}
.table-warning:hover {
&,
> th,
> td {
background-color: darken($warning, 5%);
}
}
.table-active:hover {
&,
> th,
> td {
background-color: $table-active-bg;
}
}
}
.thead-dark th {
background-color: $primary;
border-color: $table-border-color;
font-family: $headings-font-family;
}
}
// Forms =======================================================================
// Forms
legend {
font-family: $headings-font-family;
}
// Navs ========================================================================
// Navs
.dropdown-menu {
font-family: $font-family-sans-serif;
@ -258,6 +95,7 @@ legend {
.breadcrumb {
a {
color: $navbar-dark-color;
text-decoration: none;
}
a:hover {
@ -266,87 +104,15 @@ legend {
}
}
// Indicators ==================================================================
// Indicators
.alert {
color: $white;
h1,
h2,
h3,
h4,
h5,
h6 {
color: inherit;
}
a,
.alert-link {
color: $white;
}
&-primary {
&,
> th,
> td {
background-color: $primary;
}
}
&-secondary {
&,
> th,
> td {
background-color: $secondary;
}
}
&-success {
&,
> th,
> td {
background-color: $success;
}
}
&-info {
&,
> th,
> td {
background-color: $info;
}
}
&-danger {
&,
> th,
> td {
background-color: $danger;
}
}
&-warning {
&,
> th,
> td {
background-color: $warning;
}
}
&-dark {
&,
> th,
> td {
background-color: $dark;
}
}
&-light {
&,
> th,
> td {
background-color: $light;
}
&,
a:not(.btn),
@ -359,12 +125,12 @@ legend {
.badge {
color: $white;
&-light {
&.bg-light {
color: $gray-700;
}
}
// Containers ==================================================================
// Containers
.card,
.list-group-item {

View file

@ -1,6 +1,8 @@
// Minty 4.6.0
// Minty 5.0.2
// Bootswatch
$theme: "minty" !default;
//
// Color system
//
@ -37,7 +39,7 @@ $danger: $red !default;
$light: $primary !default;
$dark: $gray-800 !default;
$yiq-contrasted-threshold: 250 !default;
$min-contrast-ratio: 1.45 !default;
// Body
@ -59,6 +61,8 @@ $headings-color: $gray-700 !default;
$table-border-color: rgba(0, 0, 0, .05) !default;
$table-bg-scale: 0 !default;
// Dropdowns
$dropdown-link-hover-color: $white !default;
@ -87,8 +91,18 @@ $pagination-disabled-color: $white !default;
$pagination-disabled-bg: #cce8e0 !default;
$pagination-disabled-border-color: $pagination-disabled-bg !default;
// Alerts
$alert-color-scale: 0% !default;
$alert-bg-scale: 0 !default;
// Breadcrumbs
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$breadcrumb-bg: $primary !default;
$breadcrumb-divider-color: $white !default;
$breadcrumb-active-color: $breadcrumb-divider-color !default;
$breadcrumb-border-radius: .25rem !default;
$link-decoration: none !default;

View file

@ -0,0 +1,461 @@
// Morph 5.0.2
// Bootswatch
// Variables
$web-font-path: "https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap" !default;
@if $web-font-path {
@import url($web-font-path);
}
$btn-box-shadow-inset: inset 2px 3px 6px rgba($black, .2), inset -3px -2px 6px rgba($white, .2) !default;
@mixin shadow($shadow: $box-shadow) {
background-color: $gray-200;
border: none;
box-shadow: $shadow;
transition: background-color .15s ease-in-out, border .15s ease-in-out, box-shadow .15s ease-in-out, color .15s ease-in-out;
}
@mixin shadow-outline($shadow: $box-shadow) {
content: "";
position: absolute;
left: -.5rem;
right: -.5rem;
top: -.5rem;
bottom: -.5rem;
background-color: $body-bg;
border: 1px solid rgba($white, .1);
box-shadow: $shadow;
transition: background-color .15s ease-in-out, border .15s ease-in-out, box-shadow .15s ease-in-out, color .15s ease-in-out;
z-index: -1;
}
// Buttons
.btn {
position: relative;
color: $gray-700;
border-radius: $btn-border-radius;
@include shadow();
&:focus {
color: $gray-700;
}
&:hover,
&:focus,
&:active,
&:active:focus {
@include shadow();
color: $gray-700;
}
&:active,
&:active:focus {
border-color: transparent;
box-shadow: $btn-box-shadow-inset;
}
@each $color, $value in $theme-colors {
&-#{$color} {
&:active,
&:active:focus {
@if ($color == secondary or $color == light) {
background-color: $gray-200;
color: $gray-700;
} @else {
background-color: $value;
color: $white;
}
}
}
}
&-link {
font-weight: $btn-font-weight;
&:hover,
&:active,
&:active:focus {
color: $dark;
}
}
&.disabled {
background-color: $gray-200;
box-shadow: 2px 2px 5px rgba($black, .1), -2px -2px 5px rgba($white, .5);
color: $gray-700;
}
}
.btn-outline {
@each $color, $value in $theme-colors {
&-#{$color} {
background-color: $value;
box-shadow: 5px 5px 10px rgba($black, .2), -5px -5px 10px rgba($white, .1);
border: none;
@if ($color == secondary or $color == light) {
color: $gray-700;
} @else {
color: $white;
}
&:hover,
&:focus {
background-color: $value;
border: none;
box-shadow: 5px 5px 10px rgba($black, .2), -5px -5px 10px rgba($white, .1);
@if ($color == secondary or $color == light) {
color: $gray-700;
} @else {
color: $white;
}
}
&:active,
&:active:focus {
background-color: $value;
border: none;
box-shadow: inset 2px 3px 6px rgba($black, .1), inset -3px -2px 6px rgba($white, .1);
@if ($color == secondary or $color == light) {
color: $gray-700;
} @else {
color: $white;
}
}
}
}
}
.btn-group,
.btn-group-vertical {
@include shadow();
border-radius: $btn-border-radius;
border: none;
.btn,
.btn-group {
margin: 0;
box-shadow: none;
border: none;
&:hover,
&:active,
&:focus,
&:active:focus {
border: none;
}
}
}
.btn-group {
> .btn:nth-child(n + 3),
> :not(.btn-check) + .btn,
> .btn-group:not(:first-child) > .btn {
border-left: 1px solid $border-color;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
&:hover,
&:active,
&:active:focus {
border-left: 1px solid $border-color;
}
}
> .btn:not(:last-child):not(.dropdown-toggle),
> .btn-group:not(:last-child) > .btn {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
}
.btn-group-vertical {
border-radius: 1rem;
.btn {
border-radius: 1rem;
&:hover,
&:active,
&:focus,
&:active:focus {
border-radius: 1rem;
}
}
> .btn:nth-child(n + 3),
> :not(.btn-check) + .btn,
> .btn-group:not(:first-child) > .btn {
border-top-left-radius: 0;
border-top-right-radius: 0;
border-top: 1px solid rgba($black, .05);
&:hover,
&:active,
&:active:focus {
border-top-left-radius: 0;
border-top-right-radius: 0;
border-top: 1px solid rgba($black, .05);
}
}
> .btn:not(:last-child):not(.dropdown-toggle),
> .btn-group:not(:last-child) > .btn {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
&:hover,
&:active,
&:active:focus {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
}
}
.btn-check:checked + .btn,
.btn-check:active + .btn {
box-shadow: inset 2px 3px 6px rgba($black, .2);
@each $color, $value in $theme-colors {
&-#{$color} {
background-color: $value;
.btn-check:checked + &,
.btn-check:active + & {
@if $color == secondary {
color: $gray-700;
} @else {
color: $value;
}
}
}
}
}
.btn-check:not(:checked) + .btn,
.btn-check:not(:checked) + .btn:active {
background-color: $gray-200;
color: $gray-700;
}
.btn-check:checked ~ .btn-check:active + .btn,
.btn-check:checked ~ .btn-check:checked + .btn {
box-shadow: inset 0 3px 6px rgba($black, .2);
}
// Navs
.dropdown-menu {
backdrop-filter: blur(3px);
}
.nav-tabs {
@include shadow();
border-radius: $border-radius;
.nav-item {
box-shadow: 1px 0 $border-color;
&:first-child .nav-link {
border-top-left-radius: $border-radius;
border-bottom-left-radius: $border-radius;
}
&:last-child .nav-link {
border-top-right-radius: $border-radius;
border-bottom-right-radius: $border-radius;
}
}
.nav-link.active,
.nav-item.show .nav-link {
box-shadow: inset 0 3px 6px rgba($black, .2);
}
}
.nav-pills {
@include shadow();
padding: 1rem;
border-radius: $border-radius;
.nav-link.active {
box-shadow: inset 0 3px 6px rgba($black, .2);
}
}
.breadcrumb {
@include shadow();
border-radius: $border-radius;
a {
text-decoration: none;
}
}
.pagination {
@include shadow();
justify-content: center;
border-radius: $border-radius;
}
// Forms
.input-group {
background-color: $gray-100;
border-radius: $border-radius;
box-shadow: $box-shadow-inset;
> .form-control {
background: none;
padding-left: 0;
padding-right: 0;
box-shadow: none;
}
.input-group-text {
background: none;
}
}
.form-range {
&::-webkit-slider-runnable-track {
box-shadow: inset 1px 1px 4px rgba($black, .15);
}
&::-webkit-slider-thumb,
&:focus::-webkit-slider-thumb {
box-shadow: 1px 1px 3px rgba($black, .2), inset 2px 2px 8px rgba(shade-color($form-range-thumb-bg, 50%), .1);
}
}
.form-check-input {
background-color: $gray-400;
border: none;
box-shadow: inset 1px 1px 7px rgba($black, .2);
&:focus {
border: none;
box-shadow: none;
}
&:active {
filter: none;
}
&:checked {
background-color: $primary;
box-shadow: inset 1px 1px 7px rgba($black, .2);
}
}
.form-control {
&::-webkit-file-upload-button {
box-shadow: 2px 2px 5px rgba($black, .2), inset 3px 3px 10px rgba(shade-color($form-range-thumb-bg, 50%), .1);
}
}
.form-select:not([multiple]) {
position: relative;
box-shadow: $box-shadow;
}
// Indicators
.alert {
box-shadow: $dropdown-box-shadow;
backdrop-filter: blur(3px);
@each $color, $value in $theme-colors {
&-#{$color} {
background-color: rgba($value, .75);
box-shadow: $box-shadow-lg, inset 1px 1px 3px rgba(tint-color($value, 80%), .4), inset -5px -5px 20px rgba(shade-color($value, 80%), .05);
}
}
}
.badge {
&.bg-secondary,
&.bg-light {
color: $gray-700;
}
}
.tooltip {
&.show {
opacity: 1;
}
&-inner,
.arrow {
box-shadow: $dropdown-box-shadow;
backdrop-filter: blur(3px);
}
}
.popover,
.toast,
.modal-content {
box-shadow: $dropdown-box-shadow;
backdrop-filter: blur(3px);
}
.progress {
box-shadow: inset 2px 4px 6px rgba(shade-color($body-bg, 50%), .2), inset -3px -2px 5px rgba($white, .8);
}
.progress-bar {
box-shadow: 2px 2px 5px rgba($black, .2);
&:first-child {
border-top-left-radius: $border-radius-pill;
border-bottom-left-radius: $border-radius-pill;
}
&:last-child {
border-top-right-radius: $border-radius-pill;
border-bottom-right-radius: $border-radius-pill;
}
}
// Containers
.card {
box-shadow: inset 2px 2px 6px rgba(shade-color($body-bg, 50%), .2), inset -3px -2px 4px rgba($white, .2);
@each $color, $value in $theme-colors {
&-#{$color} {
box-shadow: inset 2px 2px 6px rgba(shade-color($value, 80%), .05), inset -3px -2px 4px rgba(tint-color($value, 80%), .2);
}
}
&-header {
border-bottom: 1px solid $border-color;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: inherit;
}
}
.list-group {
background-color: $card-bg;
box-shadow: inset 2px 2px 6px rgba(shade-color($body-bg, 50%), .2), inset -3px -2px 4px rgba($white, .2);
}
.list-group-item {
background-color: transparent;
}

View file

@ -0,0 +1,230 @@
// Morph 5.0.2
// Bootswatch
$theme: "morph" !default;
//
// Color system
//
$white: #fff !default;
$gray-100: #f0f5fa !default;
$gray-200: #d9e3f1 !default;
$gray-300: #dee2e6 !default;
$gray-400: #bed1e6 !default;
$gray-500: #adb5bd !default;
$gray-600: #7f8a99 !default;
$gray-700: #7b8ab8 !default;
$gray-800: #444b40 !default;
$gray-900: #212529 !default;
$black: #000 !default;
$blue: #378dfc !default;
$indigo: #6610f2 !default;
$purple: #5b62f4 !default;
$pink: #d63384 !default;
$red: #e52527 !default;
$orange: #fd7e14 !default;
$yellow: #ffc107 !default;
$green: #43cc29 !default;
$teal: #20c997 !default;
$cyan: #0dcaf0 !default;
$primary: $blue !default;
$secondary: $gray-200 !default;
$success: $green !default;
$info: $purple !default;
$warning: $yellow !default;
$danger: $red !default;
$light: $gray-100 !default;
$dark: $gray-900 !default;
$min-contrast-ratio: 1.5 !default;
$enable-shadows: true !default;
// Body
$body-bg: $gray-200 !default;
$body-color: $gray-700 !default;
// Links
$link-color: darken($body-color, 20%) !default;
// Components
$border-width: 0 !default;
$border-color: rgba(darken($body-bg, 50%), .1) !default;
$border-radius-pill: 50rem !default;
$box-shadow: 5px 5px 10px rgba(darken($body-bg, 50%), .2), -5px -5px 10px rgba($white, .4) !default;
$box-shadow-sm: 0 .125rem .25rem rgba(darken($body-bg, 50%), .2) !default;
$box-shadow-lg: 8px 8px 40px rgba(darken($body-bg, 90%), .15) !default;
$box-shadow-inset: inset 2px 2px 8px rgba(darken($body-bg, 50%), .3), inset -3px -2px 5px rgba($white, .8) !default;
// Fonts
// stylelint-disable-next-line value-keyword-case
$font-family-sans-serif: Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$headings-color: $link-color !default;
$text-muted: lighten($body-color, 15%) !default;
// Buttons + Forms
$input-btn-padding-y: .5rem !default;
$input-btn-padding-x: 1rem !default;
// Buttons
$btn-font-weight: 600 !default;
$btn-padding-y-lg: 1.5rem !default;
$btn-padding-x-lg: 2.25rem !default;
$btn-box-shadow: $box-shadow !default;
$btn-border-radius: $border-radius-pill !default;
$btn-border-radius-sm: $border-radius-pill !default;
$btn-border-radius-lg: $border-radius-pill !default;
// Forms
$form-label-font-weight: $btn-font-weight !default;
$input-bg: $gray-100 !default;
$input-placeholder-color: $text-muted !default;
$form-switch-color: $white !default;
$form-switch-focus-color: $form-switch-color !default;
$form-select-indicator-color: $body-color !default;
$form-select-box-shadow: $box-shadow-inset !default;
$form-range-track-bg: rgba(darken($body-bg, 50%), .15) !default;
$form-range-thumb-bg: $gray-100 !default;
$form-range-thumb-active-bg: $form-range-thumb-bg !default;
$form-range-thumb-disabled-bg: $gray-200 !default;
$form-file-button-bg: $gray-100 !default;
// Navs
$nav-link-color: $body-color !default;
$nav-link-hover-color: $nav-link-color !default;
$nav-link-disabled-color: $text-muted !default;
$nav-tabs-border-radius: 0 !default;
$nav-tabs-link-active-color: $white !default;
$nav-tabs-link-active-bg: $primary !default;
// Navbar
$navbar-dark-color: rgba($white, .75) !default;
$navbar-dark-hover-color: $white !default;
$navbar-dark-active-color: $navbar-dark-hover-color !default;
$navbar-dark-disabled-color: rgba($white, .25) !default;
$navbar-light-color: $body-color !default;
$navbar-light-hover-color: $link-color !default;
$navbar-light-active-color: $navbar-light-hover-color !default;
$navbar-light-disabled-color: $text-muted !default;
// Dropdowns
$dropdown-bg: rgba($gray-100, .8) !default;
$dropdown-border-color: transparent !default;
$dropdown-box-shadow: $box-shadow-lg, inset 1px 1px 3px rgba($white, .5), inset -5px -5px 20px rgba($black, .05) !default;
$dropdown-link-color: $gray-700 !default;
$dropdown-link-hover-color: $gray-800 !default;
$dropdown-link-hover-bg: transparent !default;
// Pagination
$pagination-padding-y: 1rem !default;
$pagination-padding-x: .75rem !default;
$pagination-padding-y-sm: .5rem !default;
$pagination-padding-y-lg: 1.5rem !default;
$pagination-color: $gray-700 !default;
$pagination-bg: $body-bg !default;
$pagination-active-color: darken($pagination-color, 20%) !default;
$pagination-active-bg: transparent !default;
$pagination-disabled-color: $text-muted !default;
$pagination-disabled-bg: $pagination-bg !default;
// Cards
$card-spacer-y: 1.5rem !default;
$card-spacer-x: 1.5rem !default;
$card-cap-bg: transparent !default;
$card-bg: lighten($body-bg, 3%) !default;
// Tooltips
$tooltip-color: $body-color !default;
$tooltip-bg: $dropdown-bg !default;
// Popovers
$popover-bg: $dropdown-bg !default;
$popover-header-bg: transparent !default;
// Toasts
$toast-background-color: $dropdown-bg !default;
$toast-border-width: 0 !default;
$toast-header-color: $body-color !default;
$toast-header-background-color: transparent !default;
// Badges
$badge-padding-y: .75em !default;
$badge-padding-x: 1.25em !default;
// Modals
$modal-content-bg: $dropdown-bg !default;
// Progress bars
$progress-height: 1.5rem !default;
$progress-border-radius: $border-radius-pill !default;
// List groups
$list-group-bg: $card-bg !default;
$list-group-hover-bg: transparent !default;
$list-group-active-color: $link-color !default;
$list-group-active-bg: transparent !default;
$list-group-disabled-color: $text-muted !default;
$list-group-disabled-bg: transparent !default;
$list-group-action-active-color: $link-color !default;
$list-group-action-active-bg: transparent !default;
// Breadcrumbs
$breadcrumb-padding-y: $pagination-padding-y !default;
$breadcrumb-padding-x: $pagination-padding-x !default;
$breadcrumb-divider-color: $text-muted !default;
$breadcrumb-active-color: $link-color !default;
// Close
$btn-close-color: $body-color !default;
$link-decoration: none !default;

View file

@ -1,7 +1,7 @@
// Pulse 4.6.0
// Pulse 5.0.2
// Bootswatch
// Buttons =====================================================================
// Buttons
.btn {
&:focus,
@ -24,8 +24,8 @@
&.disabled {
background-color: $white;
border-color: lighten(#ccc, 5%);
color: lighten($gray-900, 5%);
border-color: tint-color(#ccc, 5%);
color: tint-color($gray-900, 5%);
}
}
@ -34,7 +34,7 @@
}
&-primary:focus {
box-shadow: 0 0 5px lighten($primary, 10%);
box-shadow: 0 0 5px tint-color($primary, 10%);
}
&-secondary:focus {
@ -42,19 +42,19 @@
}
&-success:focus {
box-shadow: 0 0 5px lighten($success, 10%);
box-shadow: 0 0 5px tint-color($success, 10%);
}
&-info:focus {
box-shadow: 0 0 5px lighten($info, 10%);
box-shadow: 0 0 5px tint-color($info, 10%);
}
&-warning:focus {
box-shadow: 0 0 5px lighten($warning, 10%);
box-shadow: 0 0 5px tint-color($warning, 10%);
}
&-danger:focus {
box-shadow: 0 0 5px lighten($danger, 10%);
box-shadow: 0 0 5px tint-color($danger, 10%);
}
&.disabled:focus {
@ -62,20 +62,20 @@
}
}
// Tables ======================================================================
// Tables
.table .thead-dark th {
background-color: $secondary;
border-color: $table-border-color;
}
// Forms =======================================================================
// Forms
.form-control:focus {
box-shadow: 0 0 5px rgba(100, 65, 164, .4);
}
// Navs ========================================================================
// Navs
.nav-tabs {
.nav-link,
@ -98,27 +98,27 @@
.breadcrumb {
&-item.active {
color: $gray-700;
a {
text-decoration: none;
}
}
}
// Indicators ==================================================================
// Indicators
.badge {
padding-bottom: .4em;
&-secondary,
&-warning {
color: $white;
&.bg-light {
color: $dark;
}
}
// Progress bars ===============================================================
// Progress bars
.progress {
height: 8px;
}
// Containers ==================================================================
// Containers
.list-group {
&-item {

View file

@ -1,6 +1,8 @@
// Pulse 4.6.0
// Pulse 5.0.2
// Bootswatch
$theme: "pulse" !default;
//
// Color system
//
@ -37,6 +39,8 @@ $danger: $red !default;
$light: $gray-200 !default;
$dark: $gray-900 !default;
$min-contrast-ratio: 2.1 !default;
// Options
$enable-rounded: false !default;
@ -49,10 +53,6 @@ $body-color: $gray-700 !default;
$link-hover-color: $primary !default;
// Fonts
$font-size-base: .875rem !default;
// Tables
$table-border-color: rgba(0, 0, 0, .05) !default;
@ -74,7 +74,7 @@ $nav-tabs-link-hover-border-color: $primary !default;
// Navbar
$navbar-padding-y: .7rem !default;
$navbar-padding-y: 1rem !default;
$navbar-dark-hover-color: rgba($white, .9) !default;
$navbar-dark-active-color: rgba($white, .9) !default;
$navbar-light-color: rgba($black, .4) !default;
@ -94,3 +94,12 @@ $list-group-hover-bg: lighten($list-group-bg, 10%) !default;
$list-group-active-color: $white !default;
$list-group-active-bg: $list-group-bg !default;
$list-group-disabled-color: lighten($list-group-bg, 30%) !default;
// Breadcrumbs
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$breadcrumb-active-color: $gray-500 !default;
$breadcrumb-border-radius: .25rem !default;
$link-decoration: none !default;

View file

@ -0,0 +1,253 @@
// Quartz 5.0.2
// Bootswatch
// Variables
$body-bg-image: linear-gradient(90deg, shade-color($cyan, 10%), shade-color($purple, 10%), shade-color($pink, 5%)) !default;
$frosted-opacity: .3 !default;
@mixin glass($opacity: $frosted-opacity, $bg: $white) {
border: none;
box-shadow: inset 1px 1px $border-color, inset -1px -1px rgba($white, .1), $box-shadow;
@include frost($opacity, $bg);
a {
color: $card-color;
}
.text-muted {
color: rgba($card-color, .7) !important;
}
}
@mixin frost($opacity: $frosted-opacity, $bg: $white) {
background-color: transparent;
background-image: linear-gradient(125deg, rgba($bg, ($opacity)), rgba($bg, ($opacity - .1)) 70%);
backdrop-filter: blur(5px);
}
// Body
body {
background-image: $body-bg-image;
}
// Tables
.table-secondary {
--bs-table-hover-color: $white;
}
// Buttons
.btn {
&-secondary {
border: none;
color: $white;
&:hover,
&:focus {
color: $white;
}
&.disabled {
color: $white;
}
}
}
.btn-group > .btn:not(:first-child),
.btn-group > .btn-group:not(:first-child) {
margin-left: 0;
}
.btn-group-vertical > .btn:not(:first-child),
.btn-group-vertical > .btn-group:not(:first-child) {
margin-top: 0;
}
.bg-light .btn {
background-color: rgba($black, .2);
}
// Forms
.input-group-text,
.form-control::-webkit-file-upload-button {
background-color: transparent;
background-image: linear-gradient(125deg, rgba($white, .3), rgba($white, .2) 70%);
border: none;
backdrop-filter: blur(5px);
}
.input-group-text {
box-shadow: inset 1px 1px $border-color, inset -1px -1px rgba($white, .1);
}
.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
margin-left: 0;
border-left: none;
}
.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu),
.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n + 3) {
border-right: none;
}
.form-select {
transition: border-color .15s ease-in-out;
option {
background-color: $primary;
}
}
.bg-light .form-control {
border-color: rgba($black, .2);
color: $gray-800;
&::placeholder {
color: rgba($black, .2);
}
}
// Navs
.dropdown-menu {
@include glass(.3);
}
.nav-tabs {
.nav-link {
transition: none;
&:hover {
color: $white;
}
&,
&.disabled {
background-color: $progress-bg;
}
}
.nav-item:first-child > .nav-link {
border-radius: $border-radius 0 0 $border-radius;
}
.nav-item:last-child > .nav-link {
border-radius: 0 $border-radius $border-radius 0;
}
.nav-item .nav-link.active,
.nav-item.show .nav-link {
@include glass(1, $white);
border-radius: $border-radius;
transform: scale(1.1);
&:hover {
color: $gray-800;
}
}
.dropdown-menu {
border-radius: $border-radius;
}
}
// Indicators
.alert {
@include glass();
position: relative;
overflow: hidden;
color: $white;
@each $color, $value in $theme-colors {
$opacity: .7;
&-#{$color}::after {
content: "";
position: absolute;
left: 0;
top: 0;
width: .5rem;
height: 100%;
background-color: $value;
}
}
.alert-link {
color: $card-color;
}
}
.badge {
&.bg-light {
color: $gray-800;
}
}
// Containers
.list-group {
@include glass();
}
.card {
@include glass();
@each $color, $value in $theme-colors {
&.bg-#{$color} {
background-image: none;
}
}
&.bg-light {
.card-header,
.card-body {
color: $gray-800;
}
}
&.border {
@each $color, $value in $theme-colors {
&-#{$color} {
@include glass();
.card-header {
background-color: $value !important;
border-bottom: none;
@if ($color == light) {
color: $gray-800;
}
}
}
}
}
&-header {
font-weight: $headings-font-weight;
}
}
.toast {
@include glass();
}
.popover {
@include glass();
&-header {
border-bottom-color: $border-color;
}
}
.tooltip {
backdrop-filter: blur(5px);
}
.modal-content {
@include glass();
}

View file

@ -0,0 +1,228 @@
// Quartz 5.0.2
// Bootswatch
$theme: "quartz" !default;
//
// Color system
//
$white: #fff !default;
$gray-100: #f8f9fa !default;
$gray-200: #e9ecef !default;
$gray-300: #dee2e6 !default;
$gray-400: #ced4da !default;
$gray-500: #adb5bd !default;
$gray-600: #6c757d !default;
$gray-700: #495057 !default;
$gray-800: #343a40 !default;
$gray-900: #212529 !default;
$black: #000 !default;
$blue: #3a8fd9 !default;
$indigo: #6610f2 !default;
$purple: #686dc3 !default;
$pink: #e83283 !default;
$red: #fc346f !default;
$orange: #fd7e14 !default;
$yellow: #ffc107 !default;
$green: #41d7a7 !default;
$teal: #528fb3 !default;
$cyan: #39cbfb !default;
$primary: $pink !default;
$secondary: rgba($white, .4) !default;
$success: $green !default;
$info: $cyan !default;
$warning: $yellow !default;
$danger: $orange !default;
$light: $gray-100 !default;
$dark: $gray-900 !default;
$min-contrast-ratio: 1.5 !default;
// Spacing
$spacer: 1rem !default;
// Body
$body-bg: $purple !default;
$body-color: $white !default;
// Links
$link-color: $white !default;
// Components
$border-color: rgba($white, .2) !default;
$border-radius: .5rem !default;
$border-radius-sm: .6rem !default;
$border-radius-lg: .7rem !default;
$border-radius-pill: 50rem !default;
$box-shadow: 1px 3px 24px -1px rgba($black, .15) !default;
$box-shadow-sm: 0 1px 1px rgba($black, .1) !default;
// Fonts
$headings-font-weight: 700 !default;
$text-muted: rgba($white, .7) !default;
$blockquote-footer-color: $text-muted !default;
// Tables
$table-dark-bg: $dark !default;
$table-dark-border-color: darken($dark, 5%) !default;
$table-bg-scale: 0 !default;
// Buttons + Forms
$input-btn-padding-y: .5rem !default;
$input-btn-padding-x: 1rem !default;
// Buttons
$btn-box-shadow: $box-shadow !default;
// Forms
$input-bg: transparent !default;
$input-disabled-bg: rgba($white, .1) !default;
$input-border-color: rgba($white, .4) !default;
$input-border-width: 1px !default;
$input-focus-border-color: $input-border-color !default;
$input-focus-box-shadow: none !default;
$input-placeholder-color: $text-muted !default;
$form-switch-color: $white !default;
$form-switch-focus-color: $form-switch-color !default;
$input-group-addon-bg: transparent !default;
$form-check-input-bg: rgba($white, .3) !default;
$form-check-input-border: 1px solid $border-color !default;
$form-select-indicator-color: $white !default;
$form-select-focus-box-shadow: none !default;
$form-range-track-bg: rgba($black, .2) !default;
$form-range-thumb-disabled-bg: $gray-500 !default;
// Navs
$nav-link-disabled-color: $text-muted !default;
$nav-tabs-border-width: 0 !default;
$nav-tabs-border-radius: 0 !default;
$nav-tabs-link-active-color: $gray-800 !default;
$nav-tabs-link-active-bg: $white !default;
$nav-tabs-link-active-border-color: $gray-300 $gray-300 $nav-tabs-link-active-bg !default;
$nav-pills-border-radius: $border-radius-pill !default;
$nav-pills-link-active-color: $white !default;
$nav-pills-link-active-bg: $primary !default;
// Navbars
$navbar-dark-color: rgba($white, .8) !default;
$navbar-dark-hover-color: $white !default;
$navbar-light-color: rgba($gray-800, .8) !default;
$navbar-light-hover-color: $gray-800 !default;
$navbar-light-active-color: $gray-800 !default;
$navbar-light-disabled-color: rgba($gray-800, .3) !default;
// Dropdowns
$dropdown-border-color: $border-color !default;
$dropdown-link-hover-color: $white !default;
$dropdown-link-hover-bg: rgba($white, .4) !default;
// Pagination
$pagination-bg: rgba($white, .3) !default;
$pagination-border-width: 0 !default;
$pagination-focus-color: $white !default;
$pagination-focus-bg: $dropdown-link-hover-bg !default;
$pagination-focus-box-shadow: none !default;
$pagination-hover-color: $white !default;
$pagination-hover-bg: $dropdown-link-hover-bg !default;
$pagination-disabled-color: $text-muted !default;
$pagination-disabled-bg: $pagination-bg !default;
// Cards
$card-spacer-y: 1.75rem !default;
$card-spacer-x: 2rem !default;
$card-border-color: $border-color !default;
$card-cap-bg: transparent !default;
$card-cap-color: $white !default;
$card-color: $white !default;
$card-bg: transparent !default;
// Tooltips
$tooltip-opacity: .7 !default;
// Popovers
$popover-header-bg: $card-cap-bg !default;
$popover-body-color: $card-color !default;
$popover-body-padding-y: $spacer / 2 !default;
$popover-arrow-color: $border-color !default;
$popover-arrow-outer-color: transparent !default;
// Toasts
$toast-header-color: $card-color !default;
$toast-header-background-color: $card-cap-bg !default;
$toast-header-border-color: $border-color !default;
// Progress bars
$progress-bg: rgba($black, .2) !default;
// List group
$list-group-bg: transparent !default;
$list-group-border-color: $border-color !default;
$list-group-border-width: 0 !default;
$list-group-hover-bg: $dropdown-link-hover-bg !default;
$list-group-disabled-color: $text-muted !default;
$list-group-action-color: $white !default;
$list-group-action-hover-color: $white !default;
// Breadcrumbs
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$breadcrumb-bg: transparent !default;
$breadcrumb-divider-color: $white !default;
$breadcrumb-active-color: $white !default;
// Close
$btn-close-color: $white !default;
$link-decoration: none !default;

View file

@ -1,13 +1,15 @@
// Sandstone 4.6.0
// Sandstone 5.0.2
// Bootswatch
// Variables ===================================================================
// Variables
$web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" !default;
@import url($web-font-path);
@if $web-font-path {
@import url($web-font-path);
}
// Navbar ======================================================================
// Navbar
.bg-primary {
background-color: $dark !important;
@ -22,7 +24,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;70
}
.sandstone {
font-size: 12px;
font-size: 13px;
line-height: 22px;
font-weight: 500;
text-transform: uppercase;
@ -39,7 +41,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;70
}
}
// Buttons =====================================================================
// Buttons
.btn {
@extend .sandstone;
@ -54,7 +56,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;70
}
}
// Tables ======================================================================
// Tables
.table {
.thead-dark th {
@ -62,7 +64,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;70
}
}
// Forms =======================================================================
// Forms
input,
.form-control {
@ -73,7 +75,7 @@ input,
}
}
// Navs ========================================================================
// Navs
.nav-tabs {
.nav-link {
@ -122,6 +124,7 @@ input,
.breadcrumb {
@extend .sandstone;
text-decoration: none;
border: 1px solid $gray-300;
}
@ -139,7 +142,7 @@ input,
}
}
// Indicators ==================================================================
// Indicators
.alert {
color: $white;
@ -222,9 +225,8 @@ input,
}
.badge {
&-success,
&-warning {
color: $white;
&.bg-light {
color: $dark;
}
}
@ -232,11 +234,11 @@ input,
@extend .sandstone;
}
.close {
color: $gray-300;
opacity: 1;
// Containers
&:hover {
color: darken($gray-300, 20%);
.modal,
.toast {
.btn-close {
background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dfd7ca'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>");
}
}

View file

@ -1,6 +1,8 @@
// Sandstone 4.6.0
// Sandstone 5.0.2
// Bootswatch
$theme: "sandstone" !default;
//
// Color system
//
@ -37,7 +39,7 @@ $danger: $red !default;
$light: $gray-200 !default;
$dark: $gray-800 !default;
$yiq-contrasted-threshold: 170 !default;
$min-contrast-ratio: 2 !default;
// Body
@ -51,7 +53,6 @@ $link-color: $success !default;
// stylelint-disable-next-line value-keyword-case
$font-family-sans-serif: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$font-size-base: .975rem !default;
$headings-font-weight: 400 !default;
// Dropdowns
@ -64,7 +65,7 @@ $dropdown-link-active-bg: $dropdown-link-hover-bg !default;
// Navs
$nav-link-padding-x: 1.25rem !default;
$nav-link-padding-x: .9rem !default;
$nav-link-disabled-color: $gray-300 !default;
$nav-tabs-border-color: $gray-300 !default;
$nav-tabs-link-hover-border-color: $gray-300 !default;
@ -124,6 +125,17 @@ $list-group-action-color: $list-group-active-color !default;
$list-group-action-active-color: $list-group-active-color !default;
$list-group-action-active-bg: $gray-300 !default;
// Breadcrumbs
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$breadcrumb-bg: $pagination-bg !default;
$breadcrumb-border-radius: .25rem !default;
// Close
$close-text-shadow: none !default;
$btn-close-color: $white !default;
$btn-close-opacity: .8 !default;
$btn-close-hover-opacity: 1 !default;
$link-decoration: none !default;

View file

@ -1,21 +1,23 @@
// Simplex 4.6.0
// Simplex 5.0.2
// Bootswatch
// Variables ===================================================================
// Variables
$web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap" !default;
@import url($web-font-path);
// Mixins ======================================================================
@mixin btn-shadow($color){
@include gradient-y-three-colors(lighten($color, 3%), $color, 6%, darken($color, 3%));
filter: none;
border: 1px solid darken($color, 6.5%);
@if $web-font-path {
@import url($web-font-path);
}
// Navbar ======================================================================
// Mixins
@mixin btn-shadow($color){
@include gradient-y-three-colors(tint-color($color, 6%), $color, 6%, shade-color($color, 6%));
filter: none;
border: 1px solid shade-color($color, 13%);
}
// Navbar
.navbar {
border-width: 1px;
@ -29,22 +31,22 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700
border-top-width: 1px 0 0 0;
border-style: solid;
}
&.bg-primary {
background-color: $primary !important;
border-color: shade-color($primary, 13%) !important;
}
&.bg-dark {
border-color: shade-color($dark, 13%) !important;
}
&.bg-light {
border-color: shade-color($white, 13%);
}
}
.bg-primary {
background-color: $primary !important;
border-color: darken($primary, 6.5%) !important;
}
.bg-dark {
border-color: darken($dark, 6.5%) !important;
}
.bg-light {
border-color: darken($white, 6.5%);
}
// Buttons =====================================================================
// Buttons
.btn-primary,
.btn-primary:hover {
@ -102,23 +104,26 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700
}
}
// Typography ==================================================================
// Typography
.text-secondary {
color: $gray-600 !important;
}
// Forms =======================================================================
// Forms
legend,
label {
color: $headings-color;
}
// Navs =======================================================================
// Navs
.breadcrumb {
border: 1px solid darken($white, 6.5%);
border: 1px solid shade-color($white, 13%);
a {
text-decoration: none;
}
}
.pagination {
@ -126,3 +131,12 @@ label {
text-decoration: none;
}
}
// Indicators
.badge {
&.bg-secondary,
&.bg-light {
color: $dark;
}
}

View file

@ -1,6 +1,8 @@
// Simplex 4.6.0
// Simplex 5.0.2
// Bootswatch
$theme: "simplex" !default;
//
// Color system
//
@ -37,6 +39,8 @@ $danger: $purple !default;
$light: $white !default;
$dark: $gray-800 !default;
$min-contrast-ratio: 2.8 !default;
// Body
$body-bg: #fcfcfc !default;
@ -45,7 +49,6 @@ $body-bg: #fcfcfc !default;
// stylelint-disable-next-line value-keyword-case
$font-family-sans-serif: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$font-size-base: .8125rem !default;
// Dropdowns
@ -72,10 +75,6 @@ $pagination-hover-border-color: $primary !default;
$pagination-disabled-color: $gray-400 !default;
$pagination-disabled-border-color: $pagination-border-color !default;
// Jumbotron
$jumbotron-bg: $nav-tabs-border-color !default;
// Cards
$card-border-color: $nav-tabs-border-color !default;
@ -100,4 +99,8 @@ $list-group-disabled-bg: $nav-tabs-border-color !default;
// Breadcrumbs
$breadcrumb-bg: $white !default;
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$breadcrumb-border-radius: .25rem !default;
$link-decoration: none !default;

View file

@ -1,19 +1,21 @@
// Sketchy 4.6.0
// Sketchy 5.0.2
// Bootswatch
// Variables ===================================================================
// Variables
$web-font-path: "https://fonts.googleapis.com/css?family=Neucha|Cabin+Sketch&display=swap" !default;
@import url($web-font-path);
@if $web-font-path {
@import url($web-font-path);
}
// stylelint-disable scss/dollar-variable-default
$border-radius-sketchy: 255px 25px 225px 25px / 25px 225px 25px 255px;
$border-radius-lg-sketchy: 555px 25px 15px 25px / 25px 5px 35px 555px;
$border-radius-lg-sketchy: 55px 225px 15px 25px / 25px 25px 35px 355px;
$border-radius-sm-sketchy: 255px 25px 225px 25px / 25px 225px 25px 255px;
// style-enable scss/dollar-variable-default
// Navbar ======================================================================
// Navbar
.navbar {
border-width: 2px;
@ -41,7 +43,7 @@ $border-radius-sm-sketchy: 255px 25px 225px 25px / 25px 225px 25px 255px;
}
}
// Buttons =====================================================================
// Buttons
.btn {
border-radius: $border-radius-sketchy;
@ -56,7 +58,11 @@ $border-radius-sm-sketchy: 255px 25px 225px 25px / 25px 225px 25px 255px;
}
}
// Typography ==================================================================
.btn-check {
display: none;
}
// Typography
button,
input,
@ -70,7 +76,7 @@ blockquote {
border-radius: 15px 27px 25px 25px/25px 25px 305px 635px;
}
// Tables ======================================================================
// Tables
table {
th,
@ -138,12 +144,11 @@ table {
}
// Forms =======================================================================
// Forms
input,
.form-control,
.input-group-text,
.custom-file-label {
.input-group-text {
border-radius: $border-radius-sketchy;
}
@ -165,8 +170,8 @@ select.form-control {
&::before {
content: "";
position: absolute;
left: -1.2em;
top: -.9em;
left: 0;
top: -.1em;
display: inline-block;
width: 15px;
height: 16px;
@ -177,8 +182,8 @@ select.form-control {
&:checked::after {
content: "x";
position: absolute;
left: -.64em;
top: -.48em;
left: .1em;
top: 0;
font-size: 1.5rem;
line-height: .5;
color: $gray-800;
@ -202,8 +207,8 @@ select.form-control {
&::before {
content: "";
position: absolute;
left: -1.2em;
top: -.9em;
left: 0;
top: -.1em;
display: inline-block;
width: 16px;
height: 16px;
@ -222,37 +227,51 @@ select.form-control {
}
}
.form-check-label {
padding-left: 2.5rem;
.form-check-input {
&:focus {
box-shadow: none;
}
}
.form-check-inline {
[type="checkbox"] {
.form-switch {
padding-left: 0;
.form-check-input {
position: relative;
margin-left: 0;
&::before {
left: 0;
top: 0;
width: 32px;
border-radius: 30% 35% 30% 30% / 30% 50% 30% 45%;
}
&::after {
left: .14em;
top: .12em;
}
}
[type="radio"] {
&::before {
left: 0;
content: "";
display: inline-block;
width: 12px;
height: 12px;
position: absolute;
top: 0;
left: 0;
background-color: $white;
border: 2px solid #333;
border-radius: 50% 45% 40% 50% / 40% 50% 50% 45%;
transition: left .15s ease-in-out;
}
&:checked::after {
top: 0;
left: 18px;
background-color: $gray-800;
}
}
.form-check-label {
padding-left: 1rem;
padding-right: 1rem;
margin-left: .5em;
}
}
// Navs ========================================================================
// Navs
.dropdown-menu {
border-radius: 555px 25px 25px 25px/25px 25px 25px 555px;
@ -285,7 +304,7 @@ select.form-control {
}
}
.nav-pills .nav-link, {
.nav-pills .nav-link {
border-radius: $border-radius-sketchy;
}
@ -305,6 +324,9 @@ select.form-control {
.breadcrumb {
border: 2px solid $gray-800;
border-radius: $border-radius-sketchy;
a {
text-decoration: none;
}
}
.pagination {
@ -313,7 +335,7 @@ select.form-control {
}
}
// Indicators ==================================================================
// Indicators
.badge {
border-radius: $border-radius-sm-sketchy;
@ -322,74 +344,29 @@ select.form-control {
border-radius: 7rem 8rem 8rem 8rem / 4rem 5rem 6rem 6rem;
}
&-warning {
color: $white;
&.bg-light {
color: $dark;
}
}
.alert {
border-radius: $border-radius-sketchy;
&-dismissible {
.close {
color: transparent;
&::before {
right: 1rem;
top: .8rem;
}
}
&.alert-success {
border-color: $success;
&,
.alert-link,
.close::before {
color: $success;
}
}
&.alert-info {
border-color: $info;
&,
.alert-link,
.close::before {
color: $info;
}
}
&.alert-warning {
border-color: $warning;
&,
.alert-link,
.close::before {
color: $warning;
}
}
&.alert-danger {
border-color: $danger;
&,
.alert-link,
.close::before {
color: $danger;
}
.btn-close {
&::before {
color: inherit;
}
}
}
// Progress bars ===============================================================
// Progress bars
.progress {
border: 2px solid $gray-800;
border-radius: $border-radius-sm-sketchy;
}
// Containers ==================================================================
// Containers
.card {
border-radius: 5px 5px 5px 5px/25px 25px 25px 5px;
@ -418,11 +395,6 @@ select.form-control {
}
}
.jumbotron {
border: 2px solid $gray-800;
border-radius: $border-radius-lg-sketchy;
}
.toast {
border-radius: 10px 10px 15px 5px/5px 15px 5px 15px;
@ -445,22 +417,22 @@ select.form-control {
border-bottom: 2px solid $gray-800;
}
&.popover-left::before,
&.bs-popover-start::before,
&.bs-tether-element-attached-right::before {
right: -13px;
}
&.popover-top::before,
&.bs-popover-top::before,
&.bs-tether-element-attached-bottom::before {
bottom: -13px;
}
&.popover-bottom::before,
&.bs-popover-bottom::before,
&.bs-tether-element-attached-top::before {
top: -13px;
}
&.popover-right::before,
&.bs-popover-end::before,
&.bs-tether-element-attached-left::before {
left: -13px;
}
@ -477,16 +449,14 @@ pre {
border-radius: 15px 5px 5px 25px/5px 25px 25px 5px;
}
.close,
.close:hover,
.close:focus,
.close:active {
opacity: 1;
.btn-close {
background-image: none;
&::before {
position: absolute;
content: "X";
color: $gray-800;
position: absolute;
right: 1rem;
top: .8rem;
}
}

View file

@ -1,6 +1,8 @@
// Sketchy 4.6.0
// Sketchy 5.0.2
// Bootswatch
$theme: "sketchy" !default;
//
// Color system
//
@ -37,7 +39,7 @@ $danger: $red !default;
$light: $white !default;
$dark: $gray-700 !default;
$yiq-contrasted-threshold: 200 !default;
$min-contrast-ratio: 1.6 !default;
// Links
@ -61,8 +63,8 @@ $blockquote-small-color: $gray-800 !default;
// Tables
$table-accent-bg: $gray-400 !default;
$table-hover-bg: $white !default;
$table-accent-bg: transparent;
$table-hover-bg: $gray-100 !default;
$table-border-width: 2px !default;
$table-border-color: $gray-800 !default;
@ -104,10 +106,6 @@ $pagination-hover-border-color: $gray-800 !default;
$pagination-disabled-color: $gray-400 !default;
$pagination-disabled-border-color: $gray-800 !default;
// Jumbotron
$jumbotron-bg: transparent !default;
// Cards
$card-border-width: 2px !default;
@ -149,11 +147,17 @@ $list-group-action-color: $gray-800 !default;
// Breadcrumbs
$breadcrumb-bg: $white !default;
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$breadcrumb-divider-color: $gray-800 !default;
$breadcrumb-active-color: $gray-800 !default;
$breadcrumb-border-radius: .25rem !default;
// Close
$close-color: $white !default;
$close-text-shadow: none !default;
$btn-close-color: inherit !default;
$btn-close-opacity: 1 !default;
$btn-close-hover-opacity: 1 !default;
$btn-close-focus-shadow: none !default;
$link-decoration: none !default;

View file

@ -1,20 +1,20 @@
// Slate 4.6.0
// Slate 5.0.2
// Bootswatch
// Mixins ======================================================================
// Mixins
@mixin btn-shadow($color){
@include gradient-y-three-colors(lighten($color, 6%), $color, 60%, darken($color, 4%));
@include gradient-y-three-colors(tint-color($color, 12%), $color, 60%, shade-color($color, 8%));
filter: none;
}
@mixin btn-shadow-inverse($color){
@include gradient-y-three-colors(darken($color, 18%), darken($color, 15%), 40%, darken($color, 13%));
@include gradient-y-three-colors(shade-color($color, 36%), shade-color($color, 30%), 40%, shade-color($color, 26%));
filter: none;
}
// Navbar ======================================================================
// Navbar
.navbar {
border: 1px solid rgba(0, 0, 0, .6);
@ -103,7 +103,7 @@
}
}
// Buttons =====================================================================
// Buttons
.btn {
border-color: rgba(0, 0, 0, .6);
@ -211,7 +211,7 @@
}
}
// Typography ==================================================================
// Typography
h1,
h2,
@ -222,167 +222,7 @@ h6 {
text-shadow: -1px -1px 0 rgba(0, 0, 0, .3);
}
// Tables ======================================================================
.table {
&-primary,
&-secondary,
&-success,
&-info,
&-warning,
&-danger {
color: $white;
}
&-primary {
&,
> th,
> td {
background-color: $primary;
}
}
&-secondary {
&,
> th,
> td {
background-color: $secondary;
}
}
&-light {
&,
> th,
> td {
background-color: $light;
}
}
&-dark {
&,
> th,
> td {
background-color: $dark;
}
}
&-success {
&,
> th,
> td {
background-color: $success;
}
}
&-info {
&,
> th,
> td {
background-color: $info;
}
}
&-danger {
&,
> th,
> td {
background-color: $danger;
}
}
&-warning {
&,
> th,
> td {
background-color: $warning;
}
}
&-active {
&,
> th,
> td {
background-color: $table-active-bg;
}
}
&-hover {
.table-primary:hover {
&,
> th,
> td {
background-color: darken($primary, 5%);
}
}
.table-secondary:hover {
&,
> th,
> td {
background-color: darken($secondary, 5%);
}
}
.table-light:hover {
&,
> th,
> td {
background-color: darken($light, 5%);
}
}
.table-dark:hover {
&,
> th,
> td {
background-color: darken($dark, 5%);
}
}
.table-success:hover {
&,
> th,
> td {
background-color: darken($success, 5%);
}
}
.table-info:hover {
&,
> th,
> td {
background-color: darken($info, 5%);
}
}
.table-danger:hover {
&,
> th,
> td {
background-color: darken($danger, 5%);
}
}
.table-warning:hover {
&,
> th,
> td {
background-color: darken($warning, 5%);
}
}
.table-active:hover {
&,
> th,
> td {
background-color: $table-active-bg;
}
}
}
}
// Forms =======================================================================
// Forms
legend {
color: $white;
@ -394,7 +234,7 @@ legend {
color: $white;
}
// Navs ========================================================================
// Navs
.nav-tabs {
.nav-link {
@ -472,13 +312,15 @@ legend {
background-color: transparent;
@include btn-shadow($gray-800);
a,
a {
text-decoration: none;
}
a:hover {
color: $white;
}
}
// Indicators ==================================================================
// Indicators
.alert {
border: none;
@ -503,29 +345,18 @@ legend {
color: $body-bg;
}
}
.close {
color: $close-color;
text-decoration: none;
}
}
.badge {
&-success,
&-warning,
&-info {
color: $white;
&.bg-light {
color: $dark;
}
}
// Containers ==================================================================
.jumbotron {
border: 1px solid rgba(0, 0, 0, .6);
}
// Containers
.list-group {
&-item-action:hover {
background-color: darken($gray-900, 5%);
background-color: shade-color($gray-900, 10%);
}
}

View file

@ -1,6 +1,8 @@
// Slate 4.6.0
// Slate 5.0.2
// Bootswatch
$theme: "slate" !default;
//
// Color system
//
@ -28,7 +30,7 @@ $green: #62c462 !default;
$teal: #20c997 !default;
$cyan: #5bc0de !default;
$primary: $gray-800 !default;
$primary: $gray-700 !default;
$secondary: $gray-600 !default;
$success: $green !default;
$info: $cyan !default;
@ -37,7 +39,7 @@ $danger: $red !default;
$light: $gray-200 !default;
$dark: $gray-900 !default;
$yiq-contrasted-threshold: 170 !default;
$min-contrast-ratio: 2 !default;
// Body
@ -50,9 +52,6 @@ $link-color: $white !default;
// Fonts
$font-size-base: .9375rem !default;
$font-size-sm: $font-size-base * .88 !default;
// Tables
$table-color: $white !default;
@ -62,14 +61,20 @@ $table-border-color: rgba($black, .6) !default;
$table-dark-border-color: $table-border-color !default;
$table-dark-color: $white !default;
$table-bg-scale: 0 !default;
// Buttons
$input-btn-padding-y: .25rem !default;
$input-btn-padding-y: .5rem !default;
$input-btn-padding-x: 1rem !default;
// Forms
$input-disabled-bg: #ccc !default;
$input-disabled-bg: #ccc !default;
$input-color: $gray-900 !default;
$form-check-input-bg: $white !default;
// Dropdowns
@ -110,11 +115,6 @@ $pagination-active-border-color: rgba($black, .6) !default;
$pagination-disabled-bg: transparent !default;
$pagination-disabled-border-color: rgba($black, .6) !default;
// Jumbotron
$jumbotron-bg: darken($gray-900, 5%) !default;
// Cards
$card-border-color: rgba($black, .6) !default;
@ -145,6 +145,7 @@ $progress-bar-color: $gray-600 !default;
// List group
$list-group-color: $white !default;
$list-group-bg: lighten($body-bg, 5%) !default;
$list-group-border-color: rgba($black, .6) !default;
$list-group-hover-bg: lighten($body-bg, 10%) !default;
@ -156,8 +157,13 @@ $list-group-action-color: $white !default;
// Breadcrumbs
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$breadcrumb-active-color: $gray-500 !default;
$breadcrumb-border-radius: .25rem !default;
// Code
$pre-color: inherit !default;
$link-decoration: none !default;

View file

@ -1,13 +1,15 @@
// Solar 4.6.0
// Solar 5.0.2
// Bootswatch
// Variables ===================================================================
// Variables
$web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" !default;
@import url($web-font-path);
@if $web-font-path {
@import url($web-font-path);
}
// Buttons =====================================================================
// Buttons
.btn {
@each $color, $value in $theme-colors {
@ -21,195 +23,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@4
}
}
// Tables ======================================================================
.table {
&-primary,
&-secondary,
&-dark,
&-success,
&-info,
&-warning,
&-danger {
color: $white;
}
&-primary {
&,
> th,
> td {
background-color: $primary;
}
}
&-secondary {
&,
> th,
> td {
background-color: $secondary;
}
}
&-light {
&,
> th,
> td {
background-color: $light;
}
}
&-dark {
&,
> th,
> td {
background-color: $dark;
}
}
&-success {
&,
> th,
> td {
background-color: $success;
}
}
&-info {
&,
> th,
> td {
background-color: $info;
}
}
&-danger {
&,
> th,
> td {
background-color: $danger;
}
}
&-warning {
&,
> th,
> td {
background-color: $warning;
}
}
&-active {
&,
> th,
> td {
background-color: $table-active-bg;
}
}
&-hover {
.table-primary:hover {
&,
> th,
> td {
background-color: darken($primary, 5%);
}
}
.table-secondary:hover {
&,
> th,
> td {
background-color: darken($secondary, 5%);
}
}
.table-light:hover {
&,
> th,
> td {
background-color: darken($light, 5%);
}
}
.table-dark:hover {
&,
> th,
> td {
background-color: darken($dark, 5%);
}
}
.table-success:hover {
&,
> th,
> td {
background-color: darken($success, 5%);
}
}
.table-info:hover {
&,
> th,
> td {
background-color: darken($info, 5%);
}
}
.table-danger:hover {
&,
> th,
> td {
background-color: darken($danger, 5%);
}
}
.table-warning:hover {
&,
> th,
> td {
background-color: darken($warning, 5%);
}
}
.table-active:hover {
&,
> th,
> td {
background-color: $table-active-bg;
}
}
}
}
// Forms =======================================================================
.custom-control-input:checked ~ .custom-control-label::before {
background-color: $primary;
background-image: none;
}
.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
border-color: $primary;
}
.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
background-color: $primary;
background-image: none;
border-color: $primary;
}
.custom-switch {
.custom-control-label::after {
background-color: rgba(255, 255, 255, 1);
}
.custom-control-input:checked ~ .custom-control-label::after {
background-color: rgba(255, 255, 255, .75);
}
}
// Indicators ==================================================================
// Indicators
.alert {
border: none;
@ -239,3 +53,16 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@4
}
}
}
.badge {
&.bg-light {
color: $dark;
}
}
.breadcrumb {
a {
text-decoration: none;
}
}

View file

@ -1,6 +1,8 @@
// Solar 4.6.0
// Solar 5.0.2
// Bootswatch
$theme: "solar" !default;
//
// Color system
//
@ -38,7 +40,7 @@ $danger: $red !default;
$light: $gray-100 !default;
$dark: $gray-800 !default;
$enable-gradients: true;
$min-contrast-ratio: 2.5 !default;
// Body
@ -68,15 +70,31 @@ $table-dark-bg: $gray-500 !default;
$table-dark-border-color: darken($gray-500, 3%) !default;
$table-dark-color: $body-bg !default;
$table-bg-scale: 0 !default;
// Forms
$input-bg: #a9bdbd !default;
$input-disabled-bg: #657b83 !default;
$input-color: $gray-800 !default;
$input-border-color: rgba($black, .15) !default;
$input-placeholder-color: #657b83 !default;
$input-group-addon-color: $gray-600 !default;
$input-group-addon-bg: $gray-800 !default;
$form-check-input-bg: rgba(255, 255, 255, .75) !default;
$form-check-input-border: 1px solid $white !default;
$form-check-input-checked-bg-color: $primary !default;
$form-switch-color: rgba(255, 255, 255, .75) !default;
$form-switch-focus-color: $form-switch-color !default;
$form-range-track-bg: $gray-800 !default;
$form-range-thumb-bg: $primary !default;
$form-file-button-color: $gray-600 !default;
// Dropdowns
$dropdown-bg: $gray-800 !default;
@ -111,10 +129,6 @@ $pagination-disabled-color: $gray-800 !default;
$pagination-disabled-bg: transparent !default;
$pagination-disabled-border-color: $gray-800 !default;
// Jumbotron
$jumbotron-bg: $gray-800 !default;
// Cards
$card-border-color: rgba($gray-900, .95) !default;
@ -148,24 +162,30 @@ $progress-bar-color: $primary !default;
// List group
$list-group-color: $white !default;
$list-group-bg: transparent !default;
$list-group-border-color: $gray-800 !default;
$list-group-hover-bg: $gray-800 !default;
$list-group-active-color: rgba(255, 255, 255, .75) !default;
$list-group-disabled-color: $component-active-bg !default;
$list-group-active-color: $white !default;
$list-group-disabled-color: $gray-600 !default;
$list-group-disabled-bg: transparent !default;
$list-group-action-color: $body-color !default;
$list-group-action-hover-color: $component-active-color !default;
$list-group-action-hover-color: $white !default;
// Breadcrumbs
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$breadcrumb-bg: $component-active-bg !default;
$breadcrumb-active-color: $gray-500 !default;
$breadcrumb-border-radius: .25rem !default;
// Close
$close-color: $body-color !default;
$close-text-shadow: none !default;
$btn-close-color: $body-color !default;
// Code
$pre-color: inherit !default;
$link-decoration: none !default;

View file

@ -1,21 +1,23 @@
// Spacelab 4.6.0
// Spacelab 5.0.2
// Bootswatch
// Variables ===================================================================
// Variables
$web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap" !default;
@import url($web-font-path);
// Mixins ======================================================================
@mixin btn-shadow($color){
@include gradient-y-three-colors(lighten($color, 15%), $color, 50%, darken($color, 4%));
filter: none;
border: 1px solid darken($color, 10%);
@if $web-font-path {
@import url($web-font-path);
}
// Navbar ======================================================================
// Mixins =
@mixin btn-shadow($color) {
@include gradient-y-three-colors(tint-color($color, 24%), $color, 50%, shade-color($color, 8%));
filter: none;
border: 1px solid shade-color($color, 20%);
}
// Navbar
.navbar {
.nav-link,
@ -24,17 +26,13 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
transition: color ease-in-out .2s;
}
&.bg-primary {
@include btn-shadow(map-get($theme-colors, "primary"));
}
&.bg-dark {
@include btn-shadow(map-get($theme-colors, "secondary"));
@each $color, $value in $theme-colors {
&.bg-#{$color} {
@include btn-shadow($value);
}
}
&.bg-light {
@include btn-shadow(map-get($theme-colors, "light"));
.nav-link,
.navbar-brand {
text-shadow: 1px 1px 0 rgba(255, 255, 255, .1);
@ -50,7 +48,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
}
}
// Buttons =====================================================================
// Buttons
.btn {
text-shadow: -1px -1px 0 rgba(0, 0, 0, .1);
@ -66,7 +64,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
}
.btn-#{$color}:not(.disabled):hover {
@include btn-shadow(darken($value, 4%));
@include btn-shadow(shade-color($value, 8%));
}
}
@ -74,15 +72,21 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
text-shadow: none;
}
// Indicators ==================================================================
// Indicators
.badge {
&-secondary {
color: $white;
&.bg-light {
color: $dark;
}
}
// Containers ==================================================================
.breadcrumb {
a {
color: $navbar-light-color;
text-decoration: none;
}
}
// Containers
.card,
.list-group-item {

View file

@ -1,6 +1,8 @@
// Spacelab 4.6.0
// Spacelab 5.0.2
// Bootswatch
$theme: "spacelab" !default;
//
// Color system
//
@ -37,7 +39,7 @@ $danger: $red !default;
$light: $gray-200 !default;
$dark: $gray-800 !default;
$yiq-contrasted-threshold: 200 !default;
$min-contrast-ratio: 2.65 !default;
// Body
@ -51,16 +53,19 @@ $link-color: $info !default;
// stylelint-disable-next-line value-keyword-case
$font-family-sans-serif: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$font-size-base: .9375rem !default;
$font-size-sm: $font-size-base * .88 !default;
$headings-font-weight: 300 !default;
$headings-color: $gray-900 !default;
// Navbar
$navbar-padding-y: .7rem !default;
$navbar-dark-color: rgba($white, .75) !default;
$navbar-dark-hover-color: $white !default;
$navbar-light-color: rgba($black, .4) !default;
$navbar-light-hover-color: $info !default;
$navbar-light-active-color: $info !default;
// Breadcrumbs
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$link-decoration: none !default;

View file

@ -1,19 +1,15 @@
// Superhero 4.6.0
// Superhero 5.0.2
// Bootswatch
// Variables ===================================================================
// Variables
$web-font-path: "https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap" !default;
@import url($web-font-path);
// Navbar ======================================================================
.navbar {
font-size: $font-size-sm;
@if $web-font-path {
@import url($web-font-path);
}
// Buttons =====================================================================
// Buttons
.btn {
@each $color, $value in $theme-colors {
@ -27,7 +23,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&
}
}
// Typography ==================================================================
// Typography
.dropdown-menu {
font-size: $font-size-sm;
@ -41,7 +37,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&
color: $body-color;
}
// Tables ======================================================================
// Tables
.table {
font-size: $font-size-sm;
@ -62,158 +58,9 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&
.text-muted {
color: $text-muted;
}
&-primary {
&,
> th,
> td {
background-color: $primary;
}
}
&-secondary {
&,
> th,
> td {
background-color: $secondary;
}
}
&-light {
&,
> th,
> td {
background-color: $light;
}
}
&-dark {
color: $white;
&,
> th,
> td {
background-color: $dark;
}
}
&-success {
&,
> th,
> td {
background-color: $success;
}
}
&-info {
&,
> th,
> td {
background-color: $info;
}
}
&-danger {
&,
> th,
> td {
background-color: $danger;
}
}
&-warning {
&,
> th,
> td {
background-color: $warning;
}
}
&-active {
&,
> th,
> td {
background-color: $table-active-bg;
}
}
&-hover {
.table-primary:hover {
&,
> th,
> td {
background-color: darken($primary, 5%);
}
}
.table-secondary:hover {
&,
> th,
> td {
background-color: darken($secondary, 5%);
}
}
.table-light:hover {
&,
> th,
> td {
background-color: darken($light, 5%);
}
}
.table-dark:hover {
&,
> th,
> td {
background-color: darken($dark, 5%);
}
}
.table-success:hover {
&,
> th,
> td {
background-color: darken($success, 5%);
}
}
.table-info:hover {
&,
> th,
> td {
background-color: darken($info, 5%);
}
}
.table-danger:hover {
&,
> th,
> td {
background-color: darken($danger, 5%);
}
}
.table-warning:hover {
&,
> th,
> td {
background-color: darken($warning, 5%);
}
}
.table-active:hover {
&,
> th,
> td {
background-color: $table-active-bg;
}
}
}
}
// Forms =======================================================================
// Forms
label,
.radio label,
@ -222,7 +69,13 @@ label,
font-size: $font-size-sm;
}
// Navs ========================================================================
.form-floating {
label {
color: $input-placeholder-color;
}
}
// Navs
.nav-tabs,
.nav-pills {
@ -242,7 +95,7 @@ label,
text-decoration: none;
}
// Indicators ==================================================================
// Indicators
.alert {
border: none;
@ -272,25 +125,14 @@ label,
}
}
.close {
color: $white;
text-shadow: none;
opacity: .5;
&:hover,
&:focus {
opacity: 1;
}
}
// Popovers ===============================================================
// Popovers
.popover-header {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
// Containers ==================================================================
// Containers
.modal {
&-header,
@ -298,3 +140,9 @@ label,
background-color: $table-hover-bg;
}
}
.breadcrumb {
a {
text-decoration: none;
}
}

View file

@ -1,6 +1,8 @@
// Superhero 4.6.0
// Superhero 5.0.2
// Bootswatch
$theme: "superhero" !default;
//
// Color system
//
@ -17,13 +19,13 @@ $gray-800: #343a40 !default;
$gray-900: #212529 !default;
$black: #000 !default;
$blue: #df691a !default;
$blue: #4c9be8 !default;
$indigo: #6610f2 !default;
$purple: #6f42c1 !default;
$pink: #e83e8c !default;
$red: #d9534f !default;
$orange: #f0ad4e !default;
$yellow: #f0ad4e !default;
$yellow: #ffc107 !default;
$green: #5cb85c !default;
$teal: #20c997 !default;
$cyan: #5bc0de !default;
@ -35,13 +37,13 @@ $info: $cyan !default;
$warning: $yellow !default;
$danger: $red !default;
$light: lighten($gray-200, 35%) !default;
$dark: $gray-200 !default;
$dark: #20374c !default;
$yiq-contrasted-threshold: 185 !default;
$min-contrast-ratio: 1.6 !default;
// Body
$body-bg: #2b3e50 !default;
$body-bg: #0f2537 !default;
$body-color: $gray-100 !default;
// Components
@ -67,13 +69,26 @@ $table-dark-bg: $light !default;
$table-dark-border-color: $gray-200 !default;
$table-dark-color: $body-bg !default;
$table-bg-scale: 0 !default;
// Forms
$input-disabled-bg: $gray-100 !default;
$input-color: $gray-900 !default;
$input-border-color: transparent !default;
$input-border-width: 0 !default;
$input-placeholder-color: $gray-600 !default;
$input-group-addon-color: $body-color !default;
$custom-file-button-color: $white !default;
$custom-file-border-color: $gray-200 !default;
$form-check-input-bg: $white !default;
$form-check-input-border: none !default;
$form-file-button-color: $body-color !default;
$form-floating-label-opacity: 1 !default;
// Dropdowns
@ -92,7 +107,6 @@ $nav-tabs-link-active-border-color: $gray-200 !default;
// Navbar
$navbar-padding-y: .7rem !default;
$navbar-dark-color: rgba($white, .75) !default;
$navbar-dark-hover-color: $white !default;
@ -134,6 +148,7 @@ $modal-header-border-color: rgba(0, 0, 0, .2) !default;
// List group
$list-group-color: $white !default;
$list-group-bg: $gray-200 !default;
$list-group-border-color: transparent !default;
$list-group-hover-bg: $nav-link-disabled-color !default;
@ -143,9 +158,20 @@ $list-group-action-hover-color: $white !default;
// Breadcrumbs
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$breadcrumb-bg: $gray-200 !default;
$breadcrumb-divider-color: $body-color !default;
$breadcrumb-active-color: $body-color !default;
// Close
$btn-close-color: $white !default;
$btn-close-opacity: .5 !default;
$btn-close-hover-opacity: 1 !default;
// Code
$pre-color: inherit !default;
$link-decoration: none !default;

View file

@ -1,8 +1,24 @@
// United 4.6.0
// United 5.0.2
// Bootswatch
// Variables ===================================================================
// Variables
$web-font-path: "https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;700&display=swap" !default;
@import url($web-font-path);
@if $web-font-path {
@import url($web-font-path);
}
// Indicators
.badge {
&.bg-light {
color: $body-color;
}
}
.breadcrumb {
a {
text-decoration: none;
}
}

View file

@ -1,6 +1,8 @@
// United 4.6.0
// United 5.0.2
// Bootswatch
$theme: "united" !default;
//
// Color system
//
@ -37,7 +39,7 @@ $danger: $red !default;
$light: $gray-100 !default;
$dark: $purple !default;
$yiq-contrasted-threshold: 200 !default;
$min-contrast-ratio: 1.8 !default;
// Body
@ -53,13 +55,9 @@ $font-family-sans-serif: Ubuntu, -apple-system, BlinkMacSystemFont, "Segoe
$table-dark-bg: $dark !default;
$table-dark-border-color: darken($dark, 5%) !default;
// Breadcrumbs
// Navbar
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$navbar-padding-y: .7rem !default;
// Breadcrumb
$breadcrumb-padding-y: .75rem !default;
$breadcrumb-padding-x: .25rem !default;
$breadcrumb-item-padding: .25rem !default;
$link-decoration: none !default;

View file

@ -0,0 +1,322 @@
// Vapor 5.0.2
// Bootswatch
// Variables
$web-font-path: "https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap" !default;
@if $web-font-path {
@import url($web-font-path);
}
$outrun: false !default;
@mixin text-shadow($color) {
text-shadow: 0 0 1px rgba($color, .6), 0 0 3px rgba($color, .5), 0 0 .5rem rgba($color, .3), 0 0 2rem rgba($color, .2);
}
@mixin text-shadow-sm($color) {
text-shadow: 0 0 1px rgba($color, .3), 0 0 2px rgba($color, .3), 0 0 5px rgba($color, .2);
}
@mixin box-shadow($color) {
box-shadow: 0 0 2px rgba($color, .9), 0 0 4px rgba($color, .4), 0 0 1rem rgba($color, .3), 0 0 4rem rgba($color, .1);
}
@mixin box-shadow-lg($color) {
box-shadow: 0 0 2rem rgba(tint-color($color, 10%), .4), 0 0 8rem rgba(tint-color($color, 10%), .3);
}
@mixin header-shadow($color) {
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
@include text-shadow($color);
}
}
// Body
body {
background-image: linear-gradient(shade-color($body-bg, 10%) 0%, $body-bg 7%, $body-bg 80%, shade-color(#173e98, 50%) 100%);
@include text-shadow-sm($body-color);
@if ($outrun) {
overflow-x: hidden;
position: relative;
&::after {
content: "";
position: absolute;
bottom: 0;
left: -50vw;
width: 200vw;
height: 100vh;
display: block;
background-image: repeating-linear-gradient(rgba($blue, .6) 0 1px, transparent 1px 100%), repeating-linear-gradient(90deg, rgba($blue, .6) 0 1px, transparent 1px 100%);
background-size: 200px 200px;
transform: perspective(50vh) rotateX(50deg) translateY(-11.3vh) translateZ(10px);
transform-origin: center center;
z-index: -1;
}
}
}
// Typography
@include header-shadow($cyan);
.text {
@each $color, $value in $theme-colors {
&-#{$color} {
@include text-shadow-sm($value);
}
}
&-white {
@include text-shadow-sm($white);
@include header-shadow($white);
}
&-muted {
@include text-shadow-sm(shade-color($text-muted, 20%));
}
}
a {
@include text-shadow-sm($link-color);
}
.blockquote {
&-footer {
@include text-shadow-sm(shade-color($blockquote-footer-color, 20%));
}
}
// Tables
table,
.table {
@include text-shadow-sm($white);
}
// Buttons
.btn {
@each $color, $value in $theme-colors {
@if (($color != dark) or ($color != link)) {
&-#{$color},
&-outline-#{$color} {
@include box-shadow($value);
}
}
&-#{$color} {
@include text-shadow-sm($white);
}
&-outline-#{$color} {
border-width: 2px;
color: $white;
}
}
&-dark {
@include box-shadow($primary);
}
&-link {
box-shadow: none;
@include text-shadow($body-color);
}
&-outline-dark {
color: $white;
}
}
// Navbars
.navbar {
@each $color, $value in $theme-colors {
&.bg-#{$color} {
@include box-shadow($value);
}
}
}
.navbar-dark {
&,
a {
@include text-shadow-sm($navbar-dark-color);
}
.navbar-brand {
@include text-shadow($navbar-dark-color);
}
}
.navbar-light {
&,
a {
@include text-shadow-sm($navbar-light-color);
}
.navbar-brand {
@include text-shadow($navbar-light-color);
}
}
// Navs
.nav-link {
&.disabled {
@include text-shadow-sm($nav-link-disabled-color);
}
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
@include text-shadow-sm($component-active-bg);
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
@include box-shadow($component-active-bg);
}
.breadcrumb {
a {
text-decoration: none;
}
&-item.active {
@include text-shadow-sm($breadcrumb-active-color);
}
&-item + .breadcrumb-item::before {
@include text-shadow-sm($breadcrumb-divider-color);
}
}
.page-link {
border-radius: $border-radius;
}
.page-item.active {
.page-link {
@include box-shadow($component-active-bg);
}
}
// Forms
legend {
@include text-shadow($body-color);
}
.valid-feedback {
@include text-shadow-sm($success);
}
.invalid-feedback {
@include text-shadow-sm($danger);
}
// Indicators
.alert {
@each $color, $value in $theme-colors {
&-#{$color} {
background-color: $value;
color: $white;
@include text-shadow-sm($white);
@include box-shadow-lg($value);
}
}
.alert-link,
a {
color: $white;
}
@include header-shadow($white);
}
.progress {
overflow: visible;
&-bar {
@include box-shadow($primary);
@each $color, $value in $theme-colors {
&.bg-#{$color} {
@include box-shadow($value);
}
}
}
}
.tooltip {
&-inner,
.arrow {
@include box-shadow-lg($primary);
}
}
.modal,
.popover,
.toast {
@include text-shadow-sm($white);
@include header-shadow($white);
}
.popover,
.toast {
@include box-shadow-lg($primary);
}
.modal {
&-content {
@include box-shadow-lg($primary);
}
}
// Containers
.list-group {
&-item.active {
@include header-shadow($white);
}
}
.card {
background-color: transparent;
@include text-shadow-sm($white);
@each $color, $value in $theme-colors {
@if ($color != dark) {
&.border-#{$color} {
@include box-shadow($value);
}
}
}
&.border-dark {
@include box-shadow($primary);
}
@include header-shadow($white);
}

View file

@ -0,0 +1,161 @@
// Vapor 5.0.2
// Bootswatch
$theme: "vapor" !default;
//
// Color system
//
$white: #fff !default;
$gray-100: #f8f9fa !default;
$gray-200: #e9ecef !default;
$gray-300: #dee2e6 !default;
$gray-400: #ced4da !default;
$gray-500: #adb5bd !default;
$gray-600: #6c757d !default;
$gray-700: #495057 !default;
$gray-800: #343a40 !default;
$gray-900: #170229 !default;
$black: #000 !default;
$blue: #1ba2f6 !default;
$indigo: #6610f2 !default;
$purple: #6f42c1 !default;
$pink: #ea39b8 !default;
$red: #e44c55 !default;
$orange: #f1b633 !default;
$yellow: #ffc107 !default;
$green: #3cf281 !default;
$teal: #3f81a2 !default;
$cyan: #32fbe2 !default;
$primary: $purple !default;
$secondary: $pink !default;
$success: $green !default;
$info: $blue !default;
$warning: $yellow !default;
$danger: $red !default;
$light: #44d9e8 !default;
$dark: $gray-900 !default;
$min-contrast-ratio: 1.2 !default;
// Options
// $enable-rounded: false !default;
// Body
$body-bg: #1a0933 !default;
$body-color: $cyan !default;
// Links
$link-color: $body-color !default;
// Components
$border-width: 0 !default;
$border-radius: .15rem !default;
$border-radius-sm: .05rem !default;
$component-active-bg: $pink !default;
// Fonts
// stylelint-disable-next-line value-keyword-case
$font-family-sans-serif: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$text-muted: rgba($body-color, .3) !default;
$blockquote-footer-color: $text-muted !default;
// Tables
$table-color: $white !default;
$table-bg-scale: 0 !default;
// Forms
$input-bg: lighten($body-bg, 10%) !default;
$input-disabled-bg: lighten($body-bg, 5%) !default;
$input-color: $white !default;
$input-placeholder-color: rgba($white, .4) !default;
$input-group-addon-bg: $input-disabled-bg !default;
$form-range-track-bg: $input-bg !default;
$form-range-thumb-disabled-bg: $purple !default;
// Navs
$nav-link-disabled-color: $text-muted !default;
$nav-tabs-link-active-color: $component-active-bg !default;
// Pagination
$pagination-bg: transparent !default;
$pagination-focus-bg: transparent !default;
$pagination-hover-bg: transparent !default;
$pagination-disabled-color: $text-muted !default;
$pagination-disabled-bg: transparent !default;
// Cards
$card-border-width: 2px !default;
$card-cap-color: $white !default;
$card-color: $white !default;
// Tooltips
$tooltip-bg: $dark !default;
$tooltip-opacity: 1 !default;
// Popovers
$popover-bg: $primary !default;
$popover-header-color: $white !default;
$popover-body-color: $white !default;
// Toasts
$toast-color: $white !default;
$toast-background-color: $primary !default;
$toast-header-color: $toast-color !default;
$toast-header-background-color: $toast-background-color !default;
// Modals
$modal-content-color: $white !default;
$modal-content-bg: $primary !default;
// Progress bars
$progress-bg: $input-disabled-bg !default;
// List group
$list-group-color: $white !default;
$list-group-bg: $input-disabled-bg !default;
$list-group-hover-bg: $pink !default;
$list-group-disabled-color: $text-muted !default;
$list-group-action-color: $body-color !default;
$list-group-action-hover-color: $white !default;
$list-group-action-active-bg: $list-group-hover-bg !default;
// Breadcrumbs
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$breadcrumb-divider-color: $text-muted !default;
$breadcrumb-active-color: $component-active-bg !default;
$link-decoration: none !default;

View file

@ -1,16 +1,17 @@
// Yeti 4.6.0
// Yeti 5.0.2
// Bootswatch
// Variables ===================================================================
// Variables
$web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap" !default;
@import url($web-font-path);
@if $web-font-path {
@import url($web-font-path);
}
// Navbar ======================================================================
// Navbar
.navbar {
font-size: $font-size-sm;
font-weight: $headings-font-weight;
}
@ -26,7 +27,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
.dropdown-item.active,
.dropdown-item:hover,
.dropdown-item:focus {
background-color: darken($primary, 5%);
background-color: shade-color($primary, 10%);
color: $white;
}
}
@ -46,7 +47,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
.dropdown-item.active,
.dropdown-item:hover,
.dropdown-item:focus {
background-color: darken($gray-800, 5%);
background-color: shade-color($gray-800, 10%);
color: $white;
}
}
@ -64,47 +65,47 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
.dropdown-item.active,
.dropdown-item:hover,
.dropdown-item:focus {
background-color: lighten($gray-200, 5%);
background-color: tint-color($gray-200, 10%);
color: $navbar-light-hover-color;
}
}
}
// Buttons =====================================================================
// Buttons
.btn {
&-primary {
border-color: darken($primary, 5%);
border-color: shade-color($primary, 10%);
}
&-secondary {
border-color: darken($secondary, 5%);
border-color: shade-color($secondary, 10%);
}
&-success {
border-color: darken($success, 5%);
border-color: shade-color($success, 10%);
}
&-info {
border-color: darken($info, 5%);
border-color: shade-color($info, 10%);
color: $white;
}
&-danger {
border-color: darken($danger, 5%);
border-color: shade-color($danger, 10%);
}
&-warning {
border-color: darken($warning, 5%);
border-color: shade-color($warning, 10%);
color: $white;
}
&-light {
border-color: darken($light, 5%);
border-color: shade-color($light, 10%);
}
&-dark {
border-color: darken($dark, 5%);
border-color: shade-color($dark, 10%);
}
}
@ -116,7 +117,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
.dropdown-toggle {
&.btn-primary ~ .dropdown-menu {
background-color: $primary;
border-color: darken($primary, 5%);
border-color: shade-color($primary, 10%);
.dropdown-item {
color: $white;
@ -124,13 +125,13 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
.dropdown-item:hover,
.dropdown-item:focus {
background-color: darken($primary, 8%);
background-color: shade-color($primary, 16%);
}
}
&.btn-secondary ~ .dropdown-menu {
background-color: $secondary;
border-color: darken($secondary, 5%);
border-color: shade-color($secondary, 10%);
.dropdown-item {
color: $body-color;
@ -138,13 +139,13 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
.dropdown-item:hover,
.dropdown-item:focus {
background-color: darken($secondary, 8%);
background-color: shade-color($secondary, 16%);
}
}
&.btn-success ~ .dropdown-menu {
background-color: $success;
border-color: darken($success, 5%);
border-color: shade-color($success, 10%);
.dropdown-item {
color: $white;
@ -152,13 +153,13 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
.dropdown-item:hover,
.dropdown-item:focus {
background-color: darken($success, 8%);
background-color: shade-color($success, 16%);
}
}
&.btn-info ~ .dropdown-menu {
background-color: $info;
border-color: darken($info, 5%);
border-color: shade-color($info, 10%);
.dropdown-item {
color: $white;
@ -166,13 +167,13 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
.dropdown-item:hover,
.dropdown-item:focus {
background-color: darken($info, 8%);
background-color: shade-color($info, 16%);
}
}
&.btn-warning ~ .dropdown-menu {
background-color: $warning;
border-color: darken($warning, 5%);
border-color: shade-color($warning, 10%);
.dropdown-item {
color: $white;
@ -180,13 +181,13 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
.dropdown-item:hover,
.dropdown-item:focus {
background-color: darken($warning, 8%);
background-color: shade-color($warning, 16%);
}
}
&.btn-danger ~ .dropdown-menu {
background-color: $danger;
border-color: darken($danger, 5%);
border-color: shade-color($danger, 10%);
.dropdown-item {
color: $white;
@ -194,13 +195,13 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
.dropdown-item:hover,
.dropdown-item:focus {
background-color: darken($danger, 8%);
background-color: shade-color($danger, 16%);
}
}
}
}
// Typography ==================================================================
// Typography
.text-secondary {
color: $gray-700 !important;
@ -210,170 +211,13 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
color: $gray-600;
}
// Tables ======================================================================
// Tables
table {
font-size: $font-size-sm;
}
.table {
&-primary,
&-success,
&-info,
&-warning,
&-danger {
color: $white;
}
&-primary {
&,
> th,
> td {
background-color: $primary;
}
}
&-secondary {
&,
> th,
> td {
background-color: $secondary;
}
}
&-light {
&,
> th,
> td {
background-color: $light;
}
}
&-dark {
&,
> th,
> td {
background-color: $dark;
}
}
&-success {
&,
> th,
> td {
background-color: $success;
}
}
&-info {
&,
> th,
> td {
background-color: $info;
}
}
&-danger {
&,
> th,
> td {
background-color: $danger;
}
}
&-warning {
&,
> th,
> td {
background-color: $warning;
}
}
&-active {
&,
> th,
> td {
background-color: $table-active-bg;
}
}
&-hover {
.table-primary:hover {
&,
> th,
> td {
background-color: darken($primary, 5%);
}
}
.table-secondary:hover {
&,
> th,
> td {
background-color: darken($secondary, 5%);
}
}
.table-light:hover {
&,
> th,
> td {
background-color: darken($light, 5%);
}
}
.table-dark:hover {
&,
> th,
> td {
background-color: darken($dark, 5%);
}
}
.table-success:hover {
&,
> th,
> td {
background-color: darken($success, 5%);
}
}
.table-info:hover {
&,
> th,
> td {
background-color: darken($info, 5%);
}
}
.table-danger:hover {
&,
> th,
> td {
background-color: darken($danger, 5%);
}
}
.table-warning:hover {
&,
> th,
> td {
background-color: darken($warning, 5%);
}
}
.table-active:hover {
&,
> th,
> td {
background-color: $table-active-bg;
}
}
}
}
// Forms =======================================================================
// Forms
label,
.control-label,
@ -384,7 +228,7 @@ label,
font-size: $font-size-sm;
}
// Navs ========================================================================
// Navs
.dropdown-item {
padding-top: .75rem;
@ -404,22 +248,24 @@ label,
.nav-link:hover,
.nav-link:focus {
background-color: lighten($gray-200, 5%);
background-color: tint-color($gray-200, 10%);
}
}
.nav-pills {
.active {
border: 1px solid darken($primary, 5%);
border: 1px solid shade-color($primary, 10%);
}
}
.breadcrumb {
border: 1px solid $dropdown-border-color;
border-radius: 3px;
font-size: $font-size-sm;
font-weight: 300;
text-transform: uppercase;
a {
text-decoration: none;
}
}
.pagination {
@ -460,93 +306,22 @@ label,
font-weight: 300;
}
// Indicators ==================================================================
.close {
opacity: .6;
text-shadow: none;
&:hover,
&:focus {
opacity: 1;
}
}
// Indicators
.alert {
font-size: $font-size-sm;
font-weight: 300;
color: $white;
&-primary {
&,
> th,
> td {
background-color: $primary;
}
}
&-secondary {
&,
> th,
> td {
background-color: $secondary;
}
}
&-success {
&,
> th,
> td {
background-color: $success;
}
}
&-info {
&,
> th,
> td {
background-color: $info;
}
}
&-danger {
&,
> th,
> td {
background-color: $danger;
}
}
&-warning {
&,
> th,
> td {
background-color: $warning;
}
}
&-dark {
&,
> th,
> td {
background-color: $dark;
}
}
&-light {
&,
> th,
> td {
background-color: $light;
}
}
.alert-link {
font-weight: 400;
color: $white;
text-decoration: underline;
}
&:not(.alert-secondary):not(.alert-light) .btn-close {
background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>");
}
&-secondary,
&-light {
&,
@ -558,15 +333,13 @@ label,
}
.badge {
padding-bottom: .3em;
&-warning,
&-info {
color: $white;
&.bg-secondary,
&.bg-light {
color: $dark;
}
}
// Progress bars ===============================================================
// Progress bars
.progress[value] {
height: 22px;
@ -576,8 +349,7 @@ label,
@include box-shadow(none);
}
// Popovers ===============================================================
// Popovers
.popover-header {
border-top-left-radius: 0;

View file

@ -1,6 +1,8 @@
// Yeti 4.6.0
// Yeti 5.0.2
// Bootswatch
$theme: "yeti" !default;
//
// Color system
//
@ -37,7 +39,7 @@ $danger: $red !default;
$light: $gray-200 !default;
$dark: $gray-900 !default;
$yiq-contrasted-threshold: 200 !default;
$min-contrast-ratio: 1.9 !default;
// Components
@ -49,10 +51,12 @@ $border-radius-sm: 0 !default;
// stylelint-disable-next-line value-keyword-case
$font-family-sans-serif: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$font-size-base: .9375rem !default;
$font-size-sm: $font-size-base * .88 !default;
$headings-font-weight: 300 !default;
// Tables
$table-bg-scale: 0 !default;
// Buttons
$input-btn-padding-x: .5rem !default;
@ -82,10 +86,6 @@ $pagination-border-color: $nav-tabs-border-color !default;
$pagination-active-border-color: darken($primary, 5%) !default;
$pagination-disabled-color: $gray-200 !default;
// Jumbotron
$jumbotron-padding: 4rem !default;
// Cards
$card-inner-border-radius: 0 !default;
@ -95,6 +95,12 @@ $card-inner-border-radius: 0 !default;
$badge-font-weight: 300 !default;
$badge-padding-x: 1rem !default;
// Alerts
$alert-link-font-weight: 400 !default;
$alert-bg-scale: 0 !default;
// Progress bars
$progress-bg: $gray-400 !default;
@ -104,7 +110,16 @@ $progress-bar-color: $white !default;
$list-group-disabled-bg: $gray-200 !default;
// Breadcrumbs
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$breadcrumb-border-radius: 3px !default;
// Close
$close-color: $gray-600 !default;
$close-text-shadow: none !default;
$btn-close-color: $gray-600 !default;
$btn-close-opacity: .6 !default;
$btn-close-hover-opacity: 1 !default;
$link-decoration: none !default;

View file

@ -0,0 +1,197 @@
// Zephyr 5.0.2
// Bootswatch
// Variables
$web-font-path: "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap" !default;
@if $web-font-path {
@import url($web-font-path);
}
// Navbar
.navbar {
font-size: $font-size-sm;
font-weight: 500;
.nav-item {
margin-left: .5rem;
margin-right: .5rem;
}
.navbar-nav {
.nav-link {
border-radius: $border-radius;
}
}
}
.navbar-dark {
.navbar-nav {
.nav-link {
&:hover {
background-color: rgba(255, 255, 255, .1);
}
&.active {
background-color: rgba(0, 0, 0, .5);
}
}
}
}
.navbar-light {
.navbar-nav {
.nav-link {
&:hover {
background-color: rgba(0, 0, 0, .03);
}
&.active {
background-color: rgba(0, 0, 0, .05);
}
}
}
}
// Buttons
.btn-secondary,
.btn-light,
.btn-outline-secondary,
.btn-outline-light {
color: $gray-900;
&:disabled,
&.disabled {
border: 1px solid shade-color($secondary, 10%);
}
}
.btn-secondary,
.btn-outline-secondary {
border-color: shade-color($secondary, 10%);
&:hover,
&:active {
background-color: shade-color($secondary, 10%);
border-color: shade-color($secondary, 10%);
}
}
.btn-light,
.btn-outline-light {
border-color: shade-color($light, 10%);
&:hover,
&:active {
background-color: shade-color($light, 10%);
border-color: shade-color($light, 10%);
}
}
// Tables
.table {
box-shadow: $box-shadow-lg;
font-size: $font-size-sm;
}
thead th {
text-transform: uppercase;
font-size: $font-size-sm;
}
// Forms
.input-group-text {
box-shadow: $box-shadow;
}
// Navs
.nav-tabs {
font-weight: 500;
.nav-link {
padding-top: 1rem;
padding-bottom: 1rem;
border-width: 0 0 1px;
}
.nav-link.active,
.nav-item.show .nav-link {
box-shadow: inset 0 -2px 0 $primary;
}
}
.nav-pills {
font-weight: 500;
}
.pagination {
font-size: $font-size-sm;
font-weight: 500;
.page-link {
box-shadow: $box-shadow;
}
}
.breadcrumb {
border: 1px solid $gray-300;
border-radius: $border-radius;
box-shadow: $box-shadow;
font-size: $font-size-sm;
font-weight: 500;
a {
text-decoration: none;
}
&-item {
padding: .75rem .5rem .75rem 1rem;
}
}
.breadcrumb-item + .breadcrumb-item::before {
padding-right: .75rem;
}
// Indicators
.alert {
.btn-close {
color: inherit;
}
}
.badge {
&.bg-secondary,
&.bg-light {
color: $gray-900;
}
}
// Containers
.list-group {
box-shadow: $box-shadow-lg;
}
.card {
box-shadow: $box-shadow-lg;
&-title {
color: inherit;
}
}
.modal-footer {
background-color: $gray-100;
}
.modal-content {
box-shadow: $box-shadow-lg;
}

View file

@ -0,0 +1,163 @@
// Zephyr 5.0.2
// Bootswatch
$theme: "zephyr" !default;
//
// Color system
//
$white: #fff !default;
$gray-100: #f8f9fa !default;
$gray-200: #e9ecef !default;
$gray-300: #dee2e6 !default;
$gray-400: #ced4da !default;
$gray-500: #adb5bd !default;
$gray-600: #6c757d !default;
$gray-700: #495057 !default;
$gray-800: #343a40 !default;
$gray-900: #212529 !default;
$black: #000 !default;
$blue: #3459e6 !default;
$indigo: #6610f2 !default;
$purple: #6f42c1 !default;
$pink: #d63384 !default;
$red: #da292e !default;
$orange: #f8765f !default;
$yellow: #f4bd61 !default;
$green: #2fb380 !default;
$teal: #20c997 !default;
$cyan: #287bb5 !default;
$primary: $blue !default;
$secondary: $gray-200 !default;
$success: $green !default;
$info: $cyan !default;
$warning: $yellow !default;
$danger: $red !default;
$light: $gray-100 !default;
$dark: $gray-900 !default;
$min-contrast-ratio: 1.65 !default;
$enable-shadows: true !default;
// Body
$body-color: $gray-700 !default;
$headings-color: $gray-900 !default;
// Fonts
// stylelint-disable-next-line value-keyword-case
$font-family-sans-serif: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
$font-size-sm: $font-size-base * .875 !default;
// Components
$box-shadow: 0 1px 2px rgba($black, .05) !default;
$box-shadow-lg: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06) !default;
// Tables
$table-cell-padding-y: .5rem !default;
$table-cell-padding-x: .5rem !default;
$table-cell-padding-y-sm: .25rem !default;
$table-cell-padding-x-sm: .25rem !default;
$table-th-font-weight: 500 !default;
// Buttons + Forms
$input-btn-padding-y: .5rem !default;
$input-btn-padding-x: 1rem !default;
$input-btn-font-size: $font-size-sm !default;
// Buttons
$btn-font-weight: 500 !default;
$btn-box-shadow: $box-shadow !default;
$btn-focus-box-shadow: $box-shadow !default;
$btn-active-box-shadow: $box-shadow !default;
// Forms
$form-label-font-weight: 500 !default;
$input-box-shadow: $box-shadow !default;
$input-group-addon-bg: $gray-100 !default;
// Navs
$nav-link-color: $body-color !default;
$nav-link-hover-color: $body-color !default;
$nav-tabs-border-radius: 0 !default;
$nav-tabs-link-active-color: $primary !default;
// Navbar
$navbar-padding-y: .75rem !default;
$navbar-nav-link-padding-x: .75rem !default;
$navbar-dark-color: $white !default;
$navbar-dark-hover-color: $white !default;
$navbar-dark-active-color: $white !default;
$navbar-light-color: $black !default;
$navbar-light-hover-color: $black !default;
$navbar-light-active-color: $black !default;
// Dropdowns
$dropdown-font-size: $font-size-sm !default;
$dropdown-border-color: $gray-300 !default;
$dropdown-divider-bg: $gray-200 !default;
$dropdown-link-hover-color: $white !default;
$dropdown-link-hover-bg: $primary !default;
$dropdown-item-padding-y: .5rem !default;
$dropdown-item-padding-x: 1rem !default;
// Pagination
$pagination-padding-y: .5rem !default;
$pagination-padding-x: 1rem !default;
$pagination-color: $gray-700 !default;
$pagination-focus-color: $pagination-color !default;
$pagination-hover-color: $pagination-color !default;
$pagination-hover-bg: $gray-100 !default;
// Cards
$card-spacer-x: 1rem !default;
$card-cap-padding-y: .75rem !default;
$card-cap-padding-x: 1rem !default;
// Toasts
$toast-header-color: $headings-color !default;
// Modals
$modal-content-border-color: $gray-300 !default;
$modal-header-border-width: 0 !default;
// List group
$list-group-item-padding-y: .75rem !default;
$list-group-item-padding-x: 1rem !default;
// Breadcrumbs
$breadcrumb-divider: quote("|") !default;
$link-decoration: none !default;