mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
parent
1663a49cee
commit
073b7b6717
244 changed files with 9494 additions and 8597 deletions
|
|
@ -1,21 +1,23 @@
|
|||
// Spacelab 4.6.0
|
||||
// Spacelab 5.0.2
|
||||
// Bootswatch
|
||||
|
||||
|
||||
// Variables ===================================================================
|
||||
// Variables
|
||||
|
||||
$web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap" !default;
|
||||
@import url($web-font-path);
|
||||
|
||||
// Mixins ======================================================================
|
||||
|
||||
@mixin btn-shadow($color){
|
||||
@include gradient-y-three-colors(lighten($color, 15%), $color, 50%, darken($color, 4%));
|
||||
filter: none;
|
||||
border: 1px solid darken($color, 10%);
|
||||
@if $web-font-path {
|
||||
@import url($web-font-path);
|
||||
}
|
||||
|
||||
// Navbar ======================================================================
|
||||
// Mixins =
|
||||
|
||||
@mixin btn-shadow($color) {
|
||||
@include gradient-y-three-colors(tint-color($color, 24%), $color, 50%, shade-color($color, 8%));
|
||||
filter: none;
|
||||
border: 1px solid shade-color($color, 20%);
|
||||
}
|
||||
|
||||
// Navbar
|
||||
|
||||
.navbar {
|
||||
.nav-link,
|
||||
|
|
@ -24,17 +26,13 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
|
|||
transition: color ease-in-out .2s;
|
||||
}
|
||||
|
||||
&.bg-primary {
|
||||
@include btn-shadow(map-get($theme-colors, "primary"));
|
||||
}
|
||||
|
||||
&.bg-dark {
|
||||
@include btn-shadow(map-get($theme-colors, "secondary"));
|
||||
@each $color, $value in $theme-colors {
|
||||
&.bg-#{$color} {
|
||||
@include btn-shadow($value);
|
||||
}
|
||||
}
|
||||
|
||||
&.bg-light {
|
||||
@include btn-shadow(map-get($theme-colors, "light"));
|
||||
|
||||
.nav-link,
|
||||
.navbar-brand {
|
||||
text-shadow: 1px 1px 0 rgba(255, 255, 255, .1);
|
||||
|
|
@ -50,7 +48,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
|
|||
}
|
||||
}
|
||||
|
||||
// Buttons =====================================================================
|
||||
// Buttons
|
||||
|
||||
.btn {
|
||||
text-shadow: -1px -1px 0 rgba(0, 0, 0, .1);
|
||||
|
|
@ -66,7 +64,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
|
|||
}
|
||||
|
||||
.btn-#{$color}:not(.disabled):hover {
|
||||
@include btn-shadow(darken($value, 4%));
|
||||
@include btn-shadow(shade-color($value, 8%));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -74,15 +72,21 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,
|
|||
text-shadow: none;
|
||||
}
|
||||
|
||||
// Indicators ==================================================================
|
||||
// Indicators
|
||||
|
||||
.badge {
|
||||
&-secondary {
|
||||
color: $white;
|
||||
&.bg-light {
|
||||
color: $dark;
|
||||
}
|
||||
}
|
||||
|
||||
// Containers ==================================================================
|
||||
.breadcrumb {
|
||||
a {
|
||||
color: $navbar-light-color;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
// Containers
|
||||
|
||||
.card,
|
||||
.list-group-item {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
// Spacelab 4.6.0
|
||||
// Spacelab 5.0.2
|
||||
// Bootswatch
|
||||
|
||||
$theme: "spacelab" !default;
|
||||
|
||||
//
|
||||
// Color system
|
||||
//
|
||||
|
|
@ -37,7 +39,7 @@ $danger: $red !default;
|
|||
$light: $gray-200 !default;
|
||||
$dark: $gray-800 !default;
|
||||
|
||||
$yiq-contrasted-threshold: 200 !default;
|
||||
$min-contrast-ratio: 2.65 !default;
|
||||
|
||||
// Body
|
||||
|
||||
|
|
@ -51,16 +53,19 @@ $link-color: $info !default;
|
|||
|
||||
// stylelint-disable-next-line value-keyword-case
|
||||
$font-family-sans-serif: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
|
||||
$font-size-base: .9375rem !default;
|
||||
$font-size-sm: $font-size-base * .88 !default;
|
||||
$headings-font-weight: 300 !default;
|
||||
$headings-color: $gray-900 !default;
|
||||
|
||||
// Navbar
|
||||
|
||||
$navbar-padding-y: .7rem !default;
|
||||
$navbar-dark-color: rgba($white, .75) !default;
|
||||
$navbar-dark-hover-color: $white !default;
|
||||
$navbar-light-color: rgba($black, .4) !default;
|
||||
$navbar-light-hover-color: $info !default;
|
||||
$navbar-light-active-color: $info !default;
|
||||
|
||||
// Breadcrumbs
|
||||
|
||||
$breadcrumb-padding-y: .375rem !default;
|
||||
$breadcrumb-padding-x: .75rem !default;
|
||||
|
||||
$link-decoration: none !default;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue