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/sandstone/_bootswatch.scss

243 lines
3.4 KiB
SCSS
Raw Normal View History

// Sandstone 4.5.3
2020-05-19 16:53:54 +00:00
// Bootswatch
// Variables ===================================================================
$web-font-path: "https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" !default;
2020-05-19 16:53:54 +00:00
@import url($web-font-path);
// Navbar ======================================================================
.bg-primary {
background-color: $dark !important;
}
.bg-dark {
background-color: $secondary !important;
}
.bg-light {
background-color: $gray-200 !important;
}
.sandstone {
font-size: 11px;
line-height: 22px;
font-weight: 500;
text-transform: uppercase;
}
.navbar {
.nav-link {
@extend .sandstone;
}
&-form input,
&-form .form-control {
border: none;
}
}
// Buttons =====================================================================
.btn {
@extend .sandstone;
&:hover {
border-color: transparent;
}
&-success,
&-warning {
color: $white;
}
}
// Tables ======================================================================
.table {
.thead-dark th {
background-color: $dark;
}
}
// Forms =======================================================================
input,
.form-control {
@include box-shadow(none);
&:focus {
@include box-shadow(none);
}
}
// Navs ========================================================================
.nav-tabs {
.nav-link {
@extend .sandstone;
background-color: $gray-200;
border-color: $gray-300;
}
.nav-link,
.nav-link:hover,
.nav-link:focus {
color: $gray-600;
}
.nav-link.disabled,
.nav-link.disabled:hover,
.nav-link.disabled:focus {
background-color: $gray-200;
border-color: $gray-300;
color: $nav-link-disabled-color;
}
}
.nav-pills {
.nav-link {
@extend .sandstone;
border: 1px solid transparent;
color: $gray-600;
}
.nav-link.active,
.nav-link:hover,
.nav-link:focus {
background-color: $gray-200;
border-color: $gray-300;
}
.nav-link.disabled,
.nav-link.disabled:hover {
background-color: transparent;
border-color: transparent;
color: $gray-300;
}
}
.breadcrumb {
@extend .sandstone;
border: 1px solid $gray-300;
}
.pagination {
@extend .sandstone;
a:hover {
text-decoration: none;
}
}
.dropdown-menu {
.dropdown-item {
@extend .sandstone;
}
}
// Indicators ==================================================================
.alert {
color: $white;
2020-05-19 16:53:54 +00:00
a,
.alert-link {
color: $white;
2020-05-19 16:53:54 +00:00
text-decoration: underline;
}
&-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;
}
}
&-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;
}
}
&-dark {
&,
> th,
> td {
2020-05-19 16:53:54 +00:00
background-color: $dark;
}
}
&-light {
&,
> th,
> td {
2020-05-19 16:53:54 +00:00
background-color: $light;
}
&,
a:not(.btn),
.alert-link {
2020-05-19 16:53:54 +00:00
color: $body-color;
}
}
}
.badge {
&-success,
&-warning {
color: $white;
}
}
.tooltip {
@extend .sandstone;
}
.close {
color: $gray-300;
opacity: 1;
&:hover {
color: darken($gray-300, 20%);
}
}