1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-11-01 20:14:15 +00:00
webvirtcloud/dev/scss/wvc-theme/darkly/_bootswatch.scss

247 lines
3.6 KiB
SCSS
Raw Normal View History

// Darkly 4.5.3
2020-05-19 16:53:54 +00:00
// Bootswatch
// Variables ===================================================================
$web-font-path: "https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400&display=swap" !default;
2020-05-19 16:53:54 +00:00
@import url($web-font-path);
// Typography ==================================================================
.blockquote {
&-footer {
color: $gray-600;
}
}
// Tables ======================================================================
.table {
&-primary {
&,
> th,
> td {
2020-05-19 16:53:54 +00:00
background-color: $primary;
}
}
&-secondary {
&,
> th,
> td {
2020-05-19 16:53:54 +00:00
background-color: $secondary;
}
}
&-light {
&,
> th,
> td {
2020-05-19 16:53:54 +00:00
background-color: $light;
}
}
&-dark {
&,
> th,
> td {
2020-05-19 16:53:54 +00:00
background-color: $dark;
}
}
&-success {
&,
> th,
> td {
2020-05-19 16:53:54 +00:00
background-color: $success;
}
}
&-info {
&,
> th,
> td {
2020-05-19 16:53:54 +00:00
background-color: $info;
}
}
&-danger {
&,
> th,
> td {
2020-05-19 16:53:54 +00:00
background-color: $danger;
}
}
&-warning {
&,
> th,
> td {
2020-05-19 16:53:54 +00:00
background-color: $warning;
}
}
&-active {
&,
> th,
> td {
2020-05-19 16:53:54 +00:00
background-color: $table-active-bg;
}
}
&-hover {
.table-primary:hover {
&,
> th,
> td {
2020-05-19 16:53:54 +00:00
background-color: darken($primary, 5%);
}
}
.table-secondary:hover {
&,
> th,
> td {
2020-05-19 16:53:54 +00:00
background-color: darken($secondary, 5%);
}
}
.table-light:hover {
&,
> th,
> td {
2020-05-19 16:53:54 +00:00
background-color: darken($light, 5%);
}
}
.table-dark:hover {
&,
> th,
> td {
2020-05-19 16:53:54 +00:00
background-color: darken($dark, 5%);
}
}
.table-success:hover {
&,
> th,
> td {
2020-05-19 16:53:54 +00:00
background-color: darken($success, 5%);
}
}
.table-info:hover {
&,
> th,
> td {
2020-05-19 16:53:54 +00:00
background-color: darken($info, 5%);
}
}
.table-danger:hover {
&,
> th,
> td {
2020-05-19 16:53:54 +00:00
background-color: darken($danger, 5%);
}
}
.table-warning:hover {
&,
> th,
> td {
2020-05-19 16:53:54 +00:00
background-color: darken($warning, 5%);
}
}
.table-active:hover {
&,
> th,
> td {
2020-05-19 16:53:54 +00:00
background-color: $table-active-bg;
}
}
}
}
// Forms =======================================================================
.input-group-addon {
color: $white;
2020-05-19 16:53:54 +00:00
}
// Navs ========================================================================
.nav-tabs,
.nav-pills {
.nav-link,
.nav-link.active,
.nav-link.active:focus,
.nav-link.active:hover,
.nav-item.open .nav-link,
.nav-item.open .nav-link:focus,
.nav-item.open .nav-link:hover {
color: $white;
2020-05-19 16:53:54 +00:00
}
}
.breadcrumb a {
color: $white;
2020-05-19 16:53:54 +00:00
}
.pagination {
a:hover {
text-decoration: none;
}
}
// Indicators ==================================================================
.close {
opacity: .4;
2020-05-19 16:53:54 +00:00
&:hover,
&:focus {
opacity: 1;
}
}
.alert {
border: none;
color: $white;
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;
}
}
}
}
// Containers ==================================================================
.list-group-item-action {
color: $white;
2020-05-19 16:53:54 +00:00
&:hover,
&:focus {
background-color: $gray-700;
color: $white;
2020-05-19 16:53:54 +00:00
}
.list-group-item-heading {
color: $white;
2020-05-19 16:53:54 +00:00
}
}