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

93 lines
1.6 KiB
SCSS
Raw Normal View History

// Flatly 5.0.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:ital,wght@0,400;0,700;1,400&display=swap" !default;
@if $web-font-path {
@import url($web-font-path);
}
2020-05-19 16:53:54 +00:00
// Navbar
2020-05-19 16:53:54 +00:00
.bg-primary {
.navbar-nav .show > .nav-link,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
2020-05-19 16:53:54 +00:00
color: $success !important;
}
}
// Navs
2020-05-19 16:53:54 +00:00
.nav-tabs {
.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: $primary;
}
}
.pagination {
a:hover {
text-decoration: none;
}
}
// Indicators
2020-05-19 16:53:54 +00:00
.badge {
&.bg-light {
color: $dark;
2020-05-19 16:53:54 +00:00
}
}
.breadcrumb {
a {
text-decoration: none;
2020-05-19 16:53:54 +00:00
}
}
.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($body-bg, $value, 15%), $value) repeat-x;
} @else {
background-color: $value;
}
}
}
&-light {
&,
a,
.alert-link {
2020-05-19 16:53:54 +00:00
color: $body-color;
}
}
}
// Containers
2020-05-19 16:53:54 +00:00
.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>");
2020-05-19 16:53:54 +00:00
}
}