9912c92695
-Updated JQuery to v3.5.1 -Updated Bootstrap to v4.5.3 -Updated DataTables to v1.10.22 -Updated FontAwesome to v5.15.1 -Updated Chart.js to v2.9.4 -Updated flag-icon-css to v3.5.0 -All scripts now load minified -Removed unused/unnecessary scripts (moment.js and some jqPlot plugins) -Scripts that are not used on every page are now only loaded on pages where they are needed (jqPlot, Chart.js and flag-icon-css) -Default website language to English -Enable unicode support -Removed unused images -public directory cleanup (images directory renamed to img, javascript directory renamed to js, stylesheets directory renamed to css, themes directory moved from /public/themes to /public/css/themes, removed vendor directory and moved the important contents to the new img, css and js directories) -Reward.pug rewritten to support Chart.js v2.9.4 -Updated README Features section
98 lines
1.9 KiB
SCSS
98 lines
1.9 KiB
SCSS
// Spacelab 4.5.3
|
|
// Bootswatch
|
|
|
|
|
|
// 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%);
|
|
}
|
|
|
|
// Navbar ======================================================================
|
|
|
|
.navbar {
|
|
.nav-link,
|
|
.navbar-brand {
|
|
text-shadow: -1px -1px 0 rgba(0, 0, 0, .1);
|
|
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"));
|
|
}
|
|
|
|
&.bg-light {
|
|
@include btn-shadow(map-get($theme-colors, "light"));
|
|
|
|
.nav-link,
|
|
.navbar-brand {
|
|
text-shadow: 1px 1px 0 rgba(255, 255, 255, .1);
|
|
}
|
|
|
|
.navbar-brand {
|
|
color: $navbar-light-color;
|
|
|
|
&:hover {
|
|
color: $info;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Buttons =====================================================================
|
|
|
|
.btn {
|
|
text-shadow: -1px -1px 0 rgba(0, 0, 0, .1);
|
|
|
|
&-link {
|
|
text-shadow: none;
|
|
}
|
|
}
|
|
|
|
@each $color, $value in $theme-colors {
|
|
.btn-#{$color} {
|
|
@include btn-shadow($value);
|
|
}
|
|
|
|
.btn-#{$color}:not(.disabled):hover {
|
|
@include btn-shadow(darken($value, 4%));
|
|
}
|
|
}
|
|
|
|
[class*="btn-outline-"] {
|
|
text-shadow: none;
|
|
}
|
|
|
|
// Indicators ==================================================================
|
|
|
|
.badge {
|
|
&-secondary {
|
|
color: $white;
|
|
}
|
|
}
|
|
|
|
// Containers ==================================================================
|
|
|
|
.card,
|
|
.list-group-item {
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
color: inherit;
|
|
}
|
|
}
|