mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
bootstrap 4.5 & Bootswatch Themes
This commit is contained in:
parent
e2b7b77da0
commit
0e5840498e
230 changed files with 19531 additions and 5077 deletions
215
dev/scss/wvc-theme/solar/_bootswatch.scss
Executable file
215
dev/scss/wvc-theme/solar/_bootswatch.scss
Executable file
|
@ -0,0 +1,215 @@
|
|||
// Solar 4.5.0
|
||||
// Bootswatch
|
||||
|
||||
|
||||
// Variables ===================================================================
|
||||
|
||||
$web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro&display=swap" !default;
|
||||
@import url($web-font-path);
|
||||
|
||||
// Navbar ======================================================================
|
||||
|
||||
// Buttons =====================================================================
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Typography ==================================================================
|
||||
|
||||
// Tables ======================================================================
|
||||
|
||||
.table {
|
||||
|
||||
&-primary,
|
||||
&-secondary,
|
||||
&-dark,
|
||||
&-success,
|
||||
&-info,
|
||||
&-warning,
|
||||
&-danger {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
&-primary {
|
||||
&, > th, > td {
|
||||
background-color: $primary;
|
||||
}
|
||||
}
|
||||
|
||||
&-secondary {
|
||||
&, > th, > td {
|
||||
background-color: $secondary;
|
||||
}
|
||||
}
|
||||
|
||||
&-light {
|
||||
&, > th, > td {
|
||||
background-color: $light;
|
||||
}
|
||||
}
|
||||
|
||||
&-dark {
|
||||
&, > th, > td {
|
||||
background-color: $dark;
|
||||
}
|
||||
}
|
||||
|
||||
&-success {
|
||||
&, > th, > td {
|
||||
background-color: $success;
|
||||
}
|
||||
}
|
||||
|
||||
&-info {
|
||||
&, > th, > td {
|
||||
background-color: $info;
|
||||
}
|
||||
}
|
||||
|
||||
&-danger {
|
||||
&, > th, > td {
|
||||
background-color: $danger;
|
||||
}
|
||||
}
|
||||
|
||||
&-warning {
|
||||
&, > th, > td {
|
||||
background-color: $warning;
|
||||
}
|
||||
}
|
||||
|
||||
&-active {
|
||||
&, > th, > td {
|
||||
background-color: $table-active-bg;
|
||||
}
|
||||
}
|
||||
|
||||
&-hover {
|
||||
|
||||
.table-primary:hover {
|
||||
&, > th, > td {
|
||||
background-color: darken($primary, 5%);
|
||||
}
|
||||
}
|
||||
|
||||
.table-secondary:hover {
|
||||
&, > th, > td {
|
||||
background-color: darken($secondary, 5%);
|
||||
}
|
||||
}
|
||||
|
||||
.table-light:hover {
|
||||
&, > th, > td {
|
||||
background-color: darken($light, 5%);
|
||||
}
|
||||
}
|
||||
|
||||
.table-dark:hover {
|
||||
&, > th, > td {
|
||||
background-color: darken($dark, 5%);
|
||||
}
|
||||
}
|
||||
|
||||
.table-success:hover {
|
||||
&, > th, > td {
|
||||
background-color: darken($success, 5%);
|
||||
}
|
||||
}
|
||||
|
||||
.table-info:hover {
|
||||
&, > th, > td {
|
||||
background-color: darken($info, 5%);
|
||||
}
|
||||
}
|
||||
|
||||
.table-danger:hover {
|
||||
&, > th, > td {
|
||||
background-color: darken($danger, 5%);
|
||||
}
|
||||
}
|
||||
|
||||
.table-warning:hover {
|
||||
&, > th, > td {
|
||||
background-color: darken($warning, 5%);
|
||||
}
|
||||
}
|
||||
|
||||
.table-active:hover {
|
||||
&, > th, > td {
|
||||
background-color: $table-active-bg;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// Forms =======================================================================
|
||||
|
||||
.custom-control-input:checked ~ .custom-control-label::before {
|
||||
background: $primary;
|
||||
}
|
||||
|
||||
.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
|
||||
border-color: $primary;
|
||||
}
|
||||
|
||||
.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
|
||||
background: $primary;
|
||||
border-color: $primary;
|
||||
}
|
||||
|
||||
.custom-switch {
|
||||
.custom-control-label::after {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
}
|
||||
|
||||
.custom-control-input:checked ~ .custom-control-label::after {
|
||||
background-color: rgba(255, 255, 255, 0.75);
|
||||
}
|
||||
}
|
||||
|
||||
// Navs ========================================================================
|
||||
|
||||
// Indicators ==================================================================
|
||||
|
||||
.alert {
|
||||
border: none;
|
||||
color: $white;
|
||||
|
||||
a,
|
||||
.alert-link {
|
||||
color: #fff;
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-light {
|
||||
&,
|
||||
& a:not(.btn),
|
||||
& .alert-link {
|
||||
color: $body-bg;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Progress bars ===============================================================
|
||||
|
||||
// Containers ==================================================================
|
186
dev/scss/wvc-theme/solar/_variables.scss
Executable file
186
dev/scss/wvc-theme/solar/_variables.scss
Executable file
|
@ -0,0 +1,186 @@
|
|||
// Solar 4.5.0
|
||||
// Bootswatch
|
||||
|
||||
//
|
||||
// Color system
|
||||
//
|
||||
|
||||
// stylelint-disable
|
||||
$white: #fff !default;
|
||||
$gray-100: #FDF6E3 !default;
|
||||
$gray-200: #EEE8D5 !default;
|
||||
$gray-300: #dee2e6 !default;
|
||||
$gray-400: #ced4da !default;
|
||||
$gray-500: #adb5bd !default;
|
||||
$gray-600: #839496 !default;
|
||||
$gray-700: #495057 !default;
|
||||
$gray-800: #073642 !default;
|
||||
$gray-900: #002B36 !default;
|
||||
$black: #000 !default;
|
||||
|
||||
$blue: #B58900 !default;
|
||||
$indigo: #6610f2 !default;
|
||||
$purple: #6f42c1 !default;
|
||||
$pink: #e83e8c !default;
|
||||
$red: #D33682 !default;
|
||||
$orange: #fd7e14 !default;
|
||||
$yellow: #CB4B16 !default;
|
||||
$green: #2AA198 !default;
|
||||
$teal: #20c997 !default;
|
||||
$cyan: #268BD2 !default;
|
||||
|
||||
$primary: $blue !default;
|
||||
$secondary: $gray-600 !default;
|
||||
$success: $green !default;
|
||||
$info: $cyan !default;
|
||||
$warning: $yellow !default;
|
||||
$danger: $red !default;
|
||||
$light: $gray-100 !default;
|
||||
$dark: $gray-800 !default;
|
||||
|
||||
$enable-gradients: true;
|
||||
|
||||
// Body
|
||||
|
||||
$body-bg: $gray-900 !default;
|
||||
$body-color: $gray-600 !default;
|
||||
|
||||
// Links
|
||||
|
||||
$link-color: $success !default;
|
||||
$link-hover-color: $link-color !default;
|
||||
|
||||
// Components
|
||||
|
||||
$component-active-color: rgba(255,255,255,.75) !default;
|
||||
$component-active-bg: $gray-800 !default;
|
||||
|
||||
// Fonts
|
||||
|
||||
$font-family-sans-serif: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default !default;
|
||||
|
||||
// Tables
|
||||
|
||||
$table-accent-bg: rgba($white,.05) !default;
|
||||
$table-hover-bg: rgba($white,.075) !default;
|
||||
|
||||
$table-border-color: $component-active-bg !default;
|
||||
|
||||
$table-dark-bg: $gray-500 !default;
|
||||
$table-dark-border-color: darken($gray-500, 3%) !default;
|
||||
$table-dark-color: $body-bg !default;
|
||||
|
||||
// Forms
|
||||
|
||||
$input-bg: #A9BDBD !default;
|
||||
$input-disabled-bg: #657B83 !default;
|
||||
|
||||
$input-border-color: rgba($black,.15) !default;
|
||||
|
||||
$input-placeholder-color: #657B83 !default;
|
||||
|
||||
$input-group-addon-color: $gray-600 !default;
|
||||
$input-group-addon-bg: $gray-800 !default;
|
||||
|
||||
// Dropdowns
|
||||
|
||||
$dropdown-bg: $gray-800 !default;
|
||||
$dropdown-divider-bg: $body-bg !default;
|
||||
|
||||
$dropdown-link-color: $body-color !default;
|
||||
$dropdown-link-hover-color: rgba(255,255,255,.75) !default;
|
||||
$dropdown-link-hover-bg: $body-bg !default;
|
||||
|
||||
// Navs
|
||||
|
||||
$nav-tabs-border-color: $gray-800 !default;
|
||||
$nav-tabs-link-hover-border-color: $nav-tabs-border-color !default;
|
||||
$nav-tabs-link-active-color: $component-active-color !default;
|
||||
$nav-tabs-link-active-bg: $body-bg !default;
|
||||
$nav-tabs-link-active-border-color: $nav-tabs-border-color !default;
|
||||
|
||||
// Navbars
|
||||
|
||||
$navbar-light-color: rgba($black,.4) !default !default;
|
||||
$navbar-light-active-color: rgba($black,.7) !default !default;
|
||||
|
||||
// Pagination
|
||||
|
||||
$pagination-bg: transparent !default;
|
||||
$pagination-border-color: $gray-800 !default;
|
||||
|
||||
$pagination-hover-bg: $gray-800 !default;
|
||||
$pagination-hover-border-color: $gray-800 !default;
|
||||
|
||||
$pagination-active-color: rgba(255,255,255,.75) !default;
|
||||
$pagination-active-bg: $gray-800 !default;
|
||||
$pagination-active-border-color: $gray-800 !default;
|
||||
|
||||
$pagination-disabled-color: $gray-800 !default;
|
||||
$pagination-disabled-bg: transparent !default;
|
||||
$pagination-disabled-border-color: $gray-800 !default;
|
||||
|
||||
// Jumbotron
|
||||
|
||||
$jumbotron-bg: $gray-800 !default;
|
||||
|
||||
// Cards
|
||||
|
||||
$card-border-color: rgba($gray-900, .95) !default;
|
||||
$card-cap-bg: rgba($gray-800, .25) !default;
|
||||
$card-bg: rgba($gray-200, .125) !default;
|
||||
|
||||
// Popovers
|
||||
|
||||
$popover-bg: $gray-800 !default;
|
||||
$popover-border-color: $body-bg !default;
|
||||
|
||||
$popover-header-bg: $gray-800 !default;
|
||||
|
||||
// Toasts
|
||||
|
||||
$toast-background-color: lighten($body-bg, 5%) !default;
|
||||
$toast-border-color: rgba(0,0,0,.2) !default;
|
||||
|
||||
$toast-header-color: $body-color !default;
|
||||
$toast-header-background-color: $toast-background-color !default;
|
||||
$toast-header-border-color: $toast-border-color !default;
|
||||
|
||||
// Modals
|
||||
|
||||
$modal-content-bg: $gray-800 !default;
|
||||
$modal-content-border-color: $body-bg !default;
|
||||
|
||||
$modal-header-border-color: $body-bg !default;
|
||||
|
||||
// Progress bars
|
||||
|
||||
$progress-bg: $gray-800 !default;
|
||||
$progress-bar-color: $primary !default;
|
||||
|
||||
// List group
|
||||
|
||||
$list-group-bg: transparent !default;
|
||||
$list-group-border-color: $gray-800 !default;
|
||||
|
||||
$list-group-hover-bg: $gray-800 !default;
|
||||
$list-group-active-color: rgba(255,255,255,.75) !default;
|
||||
|
||||
$list-group-disabled-color: $component-active-bg !default;
|
||||
$list-group-disabled-bg: transparent !default;
|
||||
|
||||
$list-group-action-color: $body-color !default;
|
||||
$list-group-action-hover-color: $component-active-color !default;
|
||||
|
||||
// Breadcrumbs
|
||||
|
||||
$breadcrumb-bg: $component-active-bg !default;
|
||||
|
||||
// Close
|
||||
|
||||
$close-color: $body-color !default;
|
||||
$close-text-shadow: none !default;
|
||||
|
||||
// Code
|
||||
|
||||
$pre-color: inherit !default;
|
Loading…
Add table
Add a link
Reference in a new issue