xemu-website/theme.scss

476 lines
10 KiB
SCSS
Raw Normal View History

2020-04-05 02:26:14 +00:00
// Your variable overrides
/*$body-bg: #303030;*/
////////////////////////////////////////////////////////////////////////////////
// Darkly 4.3.1
// Bootswatch
//
// Color system
//
$white: #fff !default;
$gray-100: #f8f9fa !default;
$gray-200: #ebebeb !default;
$gray-300: #dee2e6 !default;
$gray-400: #ced4da !default;
2021-06-14 08:52:08 +00:00
$gray-500: #BBB !default;
2020-04-05 02:26:14 +00:00
$gray-600: #888 !default;
$gray-700: #444 !default;
$gray-800: #303030 !default;
$gray-900: #222 !default;
$gray-1000: #111 !default;
2020-04-05 02:26:14 +00:00
$black: #000 !default;
$xemu-logo-green: #62ca13ff !default;
2021-06-14 08:27:09 +00:00
2020-04-05 02:26:14 +00:00
$blue: #375a7f !default;
$indigo: #6610f2 !default;
$purple: #6f42c1 !default;
$pink: #e83e8c !default;
$red: #E74C3C !default;
$orange: #fd7e14 !default;
$yellow: #F39C12 !default;
$green: #00bc8c !default;
$teal: #20c997 !default;
$cyan: #3498DB !default;
$primary: darken($xemu-logo-green, 5%) !default;
2021-06-14 08:52:08 +00:00
$secondary: $gray-500 !default;
2020-04-05 02:26:14 +00:00
$success: $green !default;
$info: $cyan !default;
$warning: $yellow !default;
$danger: $red !default;
$light: $gray-500 !default;
$dark: $gray-1000 !default;
2020-04-05 02:26:14 +00:00
$yiq-contrasted-threshold: 175 !default;
// Body
2023-01-19 09:16:43 +00:00
$body-bg: #181818 !default;
$body-color: $gray-400;
2020-04-05 02:26:14 +00:00
2023-01-19 09:16:43 +00:00
.body-alt-section {
background-color: $gray-900;
}
2020-04-05 02:26:14 +00:00
// Links
$link-color: $white !default;
2023-01-18 06:43:59 +00:00
$link-hover-color: #8dc103 !default;
2020-04-05 02:26:14 +00:00
// Fonts
2021-06-14 06:36:26 +00:00
$font-family-sans-serif: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
2020-04-05 02:26:14 +00:00
2023-01-18 23:37:02 +00:00
$font-size-base: 1.025rem !default;
2020-04-05 02:26:14 +00:00
$text-muted: $gray-500 !default;
2020-04-05 02:26:14 +00:00
// Tables
$table-accent-bg: $gray-800 !default;
$table-border-color: $gray-700 !default;
// Forms
$input-bg: $gray-900 !default;
$input-color: $body-color;
$input-placeholder-color: darken($input-color, 25%);
$input-focus-border-color: #42e335;
$input-border-color: $input-color !default;
$input-focus-color: $input-color;
$input-group-addon-color: $gray-500 !default;
$input-group-addon-bg: $gray-700 !default;
$custom-file-color: $gray-500 !default;
$custom-file-border-color: $body-bg !default;
// Dropdowns
$dropdown-bg: $gray-900 !default;
$dropdown-border-color: $gray-700 !default;
$dropdown-divider-bg: $gray-700 !default;
2021-06-14 08:52:08 +00:00
$dropdown-link-color: $gray-400 !default;
2020-04-05 02:26:14 +00:00
$dropdown-link-hover-color: $white !default;
2021-06-14 08:52:08 +00:00
$dropdown-link-hover-bg: $gray-800 !default;
2020-04-05 02:26:14 +00:00
// Navs
$nav-link-padding-x: 2rem !default;
$nav-link-disabled-color: $gray-500 !default;
$nav-tabs-border-color: $gray-700 !default;
$nav-tabs-link-hover-border-color: $nav-tabs-border-color $nav-tabs-border-color transparent !default;
$nav-tabs-link-active-color: $white !default;
$nav-tabs-link-active-border-color: $nav-tabs-border-color $nav-tabs-border-color transparent !default;
// Navbar
/*$navbar-padding-y: 1rem !default;*/
2021-06-14 08:52:08 +00:00
$navbar-dark-color: $link-color !default;
2023-01-18 06:43:59 +00:00
$navbar-dark-hover-color: $link-hover-color !default;
2020-04-05 02:26:14 +00:00
$navbar-light-color: rgba($gray-900, .7) !default;
$navbar-light-hover-color: $gray-900 !default;
$navbar-light-active-color: $gray-900 !default;
$navbar-light-toggler-border-color: rgba($gray-900, .1) !default;
// Pagination
$pagination-color: $white !default;
$pagination-bg: $success !default;
$pagination-border-width: 0 !default;
$pagination-border-color: transparent !default;
$pagination-hover-color: $white !default;
$pagination-hover-bg: lighten($success, 10%) !default;
$pagination-hover-border-color: transparent !default;
$pagination-active-bg: $pagination-hover-bg !default;
$pagination-active-border-color: transparent !default;
$pagination-disabled-color: $white !default;
$pagination-disabled-bg: darken($success, 15%) !default;
$pagination-disabled-border-color: transparent !default;
// Jumbotron
$jumbotron-bg: $gray-1000 !default;
2020-04-05 02:26:14 +00:00
// Cards
$card-cap-bg: $gray-700 !default;
$card-bg: $gray-800 !default;
// Popovers
$popover-bg: $gray-800 !default;
$popover-header-bg: $gray-700 !default;
// Toasts
$toast-background-color: $gray-700 !default;
$toast-header-background-color: $gray-800 !default;
// Modals
$modal-content-bg: $gray-800 !default;
$modal-content-border-color: $gray-700 !default;
$modal-header-border-color: $gray-700 !default;
// Progress bars
$progress-bg: $gray-700 !default;
// List group
2023-01-19 00:05:50 +00:00
$list-group-bg: #181818 !default;
$list-group-border-color: #0e0e0e !default;
2020-04-05 02:26:14 +00:00
$list-group-hover-bg: $gray-700 !default;
// Breadcrumbs
$breadcrumb-bg: $gray-700 !default;
// Close
$close-color: $white !default;
$close-text-shadow: none !default;
// Code
$pre-color: inherit !default;
////////////////////////////////////////////////////////////////////////////////
@import "bootstrap-4.4.1/scss/bootstrap.scss";
2021-06-14 10:14:24 +00:00
@import "fontawesome-free-5.15.3-web/scss/fontawesome.scss";
@import "fontawesome-free-5.15.3-web/scss/solid.scss";
@import "fontawesome-free-5.15.3-web/scss/brands.scss";
2020-04-05 02:26:14 +00:00
////////////////////////////////////////////////////////////////////////////////
// Darkly 4.3.1
// Bootswatch
// Variables ===================================================================
// Navbar ======================================================================
// Buttons =====================================================================
// Typography ==================================================================
.blockquote {
&-footer {
color: $gray-600;
}
}
// Tables ======================================================================
.table {
&-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 =======================================================================
.input-group-addon {
color: #fff;
}
// Navs ========================================================================
.nav-tabs,
.nav-pills {
.nav-link,
.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: #fff;
}
}
.breadcrumb a {
color: #fff;
}
.pagination {
a:hover {
text-decoration: none;
}
}
// Indicators ==================================================================
.close {
opacity: 0.4;
&:hover,
&:focus {
opacity: 1;
}
}
.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;
}
}
}
}
// Progress bars ===============================================================
// Containers ==================================================================
.list-group-item-action {
color: #fff;
&:hover,
&:focus {
background-color: $gray-700;
color: #fff;
}
.list-group-item-heading {
color: #fff;
}
}
.btn-icon {
padding-right: 0.5em;
2021-06-09 23:02:07 +00:00
}
.img-thumbnail {
2023-01-19 00:05:50 +00:00
background-color: #181818;
border-color: #0e0e0e;
2022-06-08 07:54:57 +00:00
border-radius: 0.75rem;
}
2022-06-20 23:59:26 +00:00
.btn-secondary:hover {
color: $gray-900;
}
.btn-secondary.focus {
color: $gray-900;
}
2023-01-18 06:43:59 +00:00
.btn-green {
background: linear-gradient(128deg, rgba(2,0,36,0) 0%, rgba(134, 186, 64, 0.4) 150%);
color: #86ba41;
border: 1px #86ba41 solid;
}
2023-01-18 16:40:46 +00:00
.btn-green:hover, .btn-green:active, .btn-green:focus {
2023-01-18 06:43:59 +00:00
background-color: #5f7200;
color: #091100;
2023-01-18 07:05:53 +00:00
box-shadow: 0 0 11px 3px #a6c102 inset;
2023-01-18 06:43:59 +00:00
border: 1px #93ac00 solid;
}
2022-06-22 18:37:24 +00:00
.nav-social {
font-size: 1.25em;
padding: 0.5em;
}
2022-06-28 22:18:15 +00:00
.navbar-background
{
background-color: rgba(0, 0, 0, 0.6) !important;
transition: background-color 200ms linear;
}
2023-01-18 06:43:59 +00:00
2023-01-19 00:05:50 +00:00
h1, h2, h3, h4 {
2023-01-18 06:43:59 +00:00
font-family: "Chakra Petch", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
2023-01-19 09:16:43 +00:00
color: #fff;
}
.container {
padding: 2em 1em;
}
.jumbotron {
margin: 0;
2023-01-18 06:43:59 +00:00
}