1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-27 00:25:22 +00:00
webvirtcloud/dev/scss/bootswatch/cyborg/_bootswatch.scss

149 lines
2 KiB
SCSS
Raw Normal View History

// Cyborg 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=Roboto:wght@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;
}
// Navbar
2020-05-19 16:53:54 +00:00
.navbar {
&.bg-primary {
border: 1px solid $gray-700;
}
&.bg-dark {
background-color: $body-bg !important;
border: 1px solid $gray-700;
}
&.bg-light {
background-color: $gray-500 !important;
}
&.fixed-top {
border-width: 0 0 1px;
2020-05-19 16:53:54 +00:00
}
&.fixed-bottom {
border-width: 1px 0 0;
2020-05-19 16:53:54 +00:00
}
}
// 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;
}
}
}
}
// Forms
2020-05-19 16:53:54 +00:00
legend {
color: $white;
2020-05-19 16:53:54 +00:00
}
.form-control {
color-scheme: light;
2020-05-19 16:53:54 +00:00
background-clip: border-box;
&:disabled,
&[readonly] {
border-color: transparent;
}
}
// Navs
2020-05-19 16:53:54 +00:00
.nav-tabs,
.nav-pills {
.nav-link {
color: $white;
2020-05-19 16:53:54 +00:00
&:hover {
background-color: $gray-700;
}
&.disabled,
&.disabled:hover {
color: $nav-link-disabled-color;
background-color: transparent;
2020-05-19 16:53:54 +00:00
}
&.active {
background-color: $primary;
}
}
}
.breadcrumb {
a {
color: $white;
2020-05-19 16:53:54 +00:00
}
}
.pagination {
a:hover {
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 {
&.bg-dark {
color: $gray-900;
2020-05-19 16:53:54 +00:00
}
}
// Containers
2020-05-19 16:53:54 +00:00
.list-group-item-action {
2020-05-19 16:53:54 +00:00
&:hover {
border-color: $primary;
2020-05-19 16:53:54 +00:00
}
}
.popover {
&-title {
border-bottom: none;
}
}