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

102 lines
1.5 KiB
SCSS
Raw Normal View History

// Spacelab 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=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap" !default;
@if $web-font-path {
@import url($web-font-path);
}
2020-05-19 16:53:54 +00:00
// Mixins =
@mixin btn-shadow($color) {
@include gradient-y-three-colors(tint-color($color, 24%), $color, 50%, shade-color($color, 8%));
2020-05-19 16:53:54 +00:00
filter: none;
border: 1px solid shade-color($color, 20%);
2020-05-19 16:53:54 +00:00
}
// Navbar
2020-05-19 16:53:54 +00:00
.navbar {
.nav-link,
.navbar-brand {
text-shadow: -1px -1px 0 rgba(0, 0, 0, .1);
2020-05-19 16:53:54 +00:00
transition: color ease-in-out .2s;
}
@each $color, $value in $theme-colors {
&.bg-#{$color} {
@include btn-shadow($value);
}
2020-05-19 16:53:54 +00:00
}
&.bg-light {
.nav-link,
.navbar-brand {
text-shadow: 1px 1px 0 rgba(255, 255, 255, .1);
2020-05-19 16:53:54 +00:00
}
.navbar-brand {
color: $navbar-light-color;
&:hover {
color: $info;
}
}
}
}
// Buttons
2020-05-19 16:53:54 +00:00
.btn {
text-shadow: -1px -1px 0 rgba(0, 0, 0, .1);
2020-05-19 16:53:54 +00:00
&-link {
text-shadow: none;
}
}
@each $color, $value in $theme-colors {
.btn-#{$color} {
@include btn-shadow($value);
}
.btn-#{$color}:not(.disabled):hover {
@include btn-shadow(shade-color($value, 8%));
2020-05-19 16:53:54 +00:00
}
}
[class*="btn-outline-"] {
text-shadow: 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 {
color: $navbar-light-color;
text-decoration: none;
}
}
// Containers
2020-05-19 16:53:54 +00:00
.card,
.list-group-item {
h1,
h2,
h3,
h4,
h5,
h6 {
2020-05-19 16:53:54 +00:00
color: inherit;
}
}