1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-30 18:15:21 +00:00
webvirtcloud/dev/scss/bootswatch/superhero/_bootswatch.scss

151 lines
2 KiB
SCSS
Raw Normal View History

// Superhero 5.2.2
2020-05-19 16:53:54 +00:00
// Bootswatch
// Variables
2020-05-19 16:53:54 +00:00
$web-font-path: "https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap" !default;
@if $web-font-path {
@import url($web-font-path);
2020-05-19 16:53:54 +00:00
}
:root {
color-scheme: dark;
}
// Buttons
2020-05-19 16:53:54 +00:00
.btn {
@each $color, $value in $theme-colors {
&-#{$color} {
@if $enable-gradients {
background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
} @else {
background-color: $value;
}
}
}
}
// Typography
2020-05-19 16:53:54 +00:00
.dropdown-menu {
font-size: $font-size-sm;
}
.dropdown-header {
font-size: $font-size-sm;
}
.blockquote-footer {
color: $body-color;
}
// Tables
2020-05-19 16:53:54 +00:00
.table {
font-size: $font-size-sm;
.thead-dark th {
color: $white;
}
a:not(.btn) {
color: $white;
2020-05-19 16:53:54 +00:00
text-decoration: underline;
}
.dropdown-menu a {
text-decoration: none;
}
.text-muted {
color: $text-muted;
}
}
// Forms
2020-05-19 16:53:54 +00:00
label,
.radio label,
.checkbox label,
.help-block {
font-size: $font-size-sm;
}
.form-control{
color-scheme: light;
}
.form-floating {
label {
color: $input-placeholder-color;
}
}
// Navs
2020-05-19 16:53:54 +00:00
.nav-tabs,
.nav-pills {
.nav-link,
.nav-link:hover {
color: $body-color;
}
.nav-link.disabled {
color: $nav-link-disabled-color;
}
}
.page-link:hover,
.page-link:focus {
color: $white;
2020-05-19 16:53:54 +00:00
text-decoration: none;
}
// Indicators
2020-05-19 16:53:54 +00:00
.alert {
color: $white;
border: none;
2020-05-19 16:53:54 +00:00
a,
.alert-link {
color: $white;
2020-05-19 16:53:54 +00:00
text-decoration: underline;
}
@each $color, $value in $theme-colors {
&-#{$color} {
@if $enable-gradients {
background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
} @else {
background-color: $value;
}
}
}
}
.badge {
&-warning,
&-info {
color: $white;
}
}
// Popovers
2020-05-19 16:53:54 +00:00
.popover-header {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
// Containers
2020-05-19 16:53:54 +00:00
.modal {
&-header,
&-footer {
background-color: $table-hover-bg;
}
}