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

92 lines
1.6 KiB
SCSS
Raw Normal View History

// Flatly 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: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
:root {
color-scheme: light;
}
// 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
}
}
.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($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,
.offcanvas {
.btn-close {
background-image: escape-svg(url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$black}'><path d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/></svg>"));
2020-05-19 16:53:54 +00:00
}
}