Add prettier

This commit is contained in:
Michael Weimann 2022-12-22 18:28:51 +01:00 committed by Igor Scheller
parent b024650eaf
commit 0ae10471d1
34 changed files with 1142 additions and 1049 deletions

View File

@ -13,7 +13,7 @@ insert_final_newline = true
trim_trailing_whitespace = true trim_trailing_whitespace = true
max_line_length = 120 max_line_length = 120
[{.babelrc,package.json,.eslintrc.json}] [{.babelrc,package.json,.eslintrc.json,.prettierrc.json}]
indent_size = 2 indent_size = 2
[docker/**.conf] [docker/**.conf]

View File

@ -145,7 +145,7 @@ yarn check:
script: script:
- yarn check - yarn check
eslint: yarn lint:
<<: *use_yarn <<: *use_yarn
image: node:alpine image: node:alpine
stage: validate stage: validate
@ -180,7 +180,7 @@ build-image:
- phpstan - phpstan
- composer validate - composer validate
- yarn check - yarn check
- eslint - yarn lint
- generate-version - generate-version
dependencies: dependencies:
- generate-version - generate-version

5
.prettierrc.json Normal file
View File

@ -0,0 +1,5 @@
{
"printWidth": 120,
"tabWidth": 2,
"singleQuote": true
}

View File

@ -13,7 +13,7 @@
This is done by PostCSS + Autoprefixer according to the [`.browserslistrc`](.browserslistrc). This is done by PostCSS + Autoprefixer according to the [`.browserslistrc`](.browserslistrc).
* Translations must be abbreviated, for example `form.save`. * Translations must be abbreviated, for example `form.save`.
The `default.po` files contain translations that can be auto-detected using Poedit, `additional.po` contains generated messages like validations. The `default.po` files contain translations that can be auto-detected using Poedit, `additional.po` contains generated messages like validations.
* JavaScript code must pass the ESLint check `yarn lint`. * JavaScript code must pass the checks `yarn lint`.
Auto-fixing is supported via `yarn lint:fix`. Auto-fixing is supported via `yarn lint:fix`.
* Don't put function calls in a template-literal (template-strings). * Don't put function calls in a template-literal (template-strings).

View File

@ -9,8 +9,12 @@
"build": "NODE_ENV=production yarn build:webpack", "build": "NODE_ENV=production yarn build:webpack",
"build:webpack": "webpack", "build:webpack": "webpack",
"build:watch": "webpack --watch", "build:watch": "webpack --watch",
"lint": "eslint .", "lint": "yarn lint:eslint && yarn lint:prettier",
"lint:fix": "eslint --fix ." "lint:eslint": "eslint .",
"lint:prettier": "prettier --check resources/assets",
"lint:fix": "yarn lint:fix:eslint && yarn lint:fix:prettier",
"lint:fix:eslint": "eslint --fix .",
"lint:fix:prettier": "prettier --write resources/assets"
}, },
"dependencies": { "dependencies": {
"@popperjs/core": "^2.11.6", "@popperjs/core": "^2.11.6",
@ -34,6 +38,7 @@
"mini-css-extract-plugin": "^2.7.0", "mini-css-extract-plugin": "^2.7.0",
"postcss": "^8.4.19", "postcss": "^8.4.19",
"postcss-loader": "^6.2.1", "postcss-loader": "^6.2.1",
"prettier": "^2.8.1",
"resolve-url-loader": "^5.0.0", "resolve-url-loader": "^5.0.0",
"sass": "^1.56.1", "sass": "^1.56.1",
"sass-loader": "^12.6.0", "sass-loader": "^12.6.0",

View File

@ -22,15 +22,13 @@ ready(() => {
// Handle fullscreen button // Handle fullscreen button
// - Remove some elements from UI // - Remove some elements from UI
// - Add "Public Dashboard" to title // - Add "Public Dashboard" to title
document.getElementById('dashboard-fullscreen') document.getElementById('dashboard-fullscreen')?.addEventListener('click', (event) => {
?.addEventListener('click', (event) => { event.preventDefault();
event.preventDefault(); const removeElementsSelector = '#navbar-collapse-1,.navbar-nav,.navbar-toggler,#footer,#fullscreen-button';
const removeElementsSelector = '#navbar-collapse-1,.navbar-nav,.navbar-toggler,#footer,#fullscreen-button'; document.querySelectorAll(removeElementsSelector).forEach((element) => {
document.querySelectorAll(removeElementsSelector).forEach((element) => { element.parentNode.removeChild(element);
element.parentNode.removeChild(element);
});
document.querySelector('.navbar-brand')
?.appendChild(document.createTextNode('Dashboard'));
}); });
document.querySelector('.navbar-brand')?.appendChild(document.createTextNode('Dashboard'));
});
}); });

View File

@ -6,12 +6,11 @@
*/ */
export const formatTime = (date) => { export const formatTime = (date) => {
if (!date instanceof Date) return; if (!date instanceof Date) return;
const hours = String(date.getHours()).padStart(2, '0'); const hours = String(date.getHours()).padStart(2, '0');
const minutes = String(date.getMinutes()).padStart(2, '0'); const minutes = String(date.getMinutes()).padStart(2, '0');
return `${hours}:${minutes}`; return `${hours}:${minutes}`;
} };
/** /**
* Formats a Date to YYYY-MM-DD, e.g. 2023-05-18 * Formats a Date to YYYY-MM-DD, e.g. 2023-05-18
@ -27,4 +26,4 @@ export const formatDay = (date) => {
const day = String(date.getDate()).padStart(2, '0'); const day = String(date.getDate()).padStart(2, '0');
return `${year}-${month}-${day}`; return `${year}-${month}-${day}`;
} };

View File

@ -8,7 +8,7 @@ import { ready } from './ready';
const triggerChange = (element) => { const triggerChange = (element) => {
const changeEvent = new Event('change'); const changeEvent = new Event('change');
element.dispatchEvent(changeEvent); element.dispatchEvent(changeEvent);
} };
/** /**
* Sets all checkboxes to the wanted state * Sets all checkboxes to the wanted state
@ -164,7 +164,7 @@ ready(() => {
theme: 'bootstrap-5', theme: 'bootstrap-5',
width: '100%', width: '100%',
}); });
}) });
/** /**
* Show oauth buttons on welcome title click * Show oauth buttons on welcome title click
@ -198,7 +198,7 @@ ready(() => {
}); });
ready(() => { ready(() => {
if (typeof (localStorage) === 'undefined') { if (typeof localStorage === 'undefined') {
return; return;
} }
@ -209,9 +209,7 @@ ready(() => {
localStorage.setItem('collapseShiftsFilterSelect', event.type); localStorage.setItem('collapseShiftsFilterSelect', event.type);
}; };
document.getElementById('collapseShiftsFilterSelect') document.getElementById('collapseShiftsFilterSelect')?.addEventListener('hidden.bs.collapse', onChange);
?.addEventListener('hidden.bs.collapse', onChange);
document.getElementById('collapseShiftsFilterSelect') document.getElementById('collapseShiftsFilterSelect')?.addEventListener('shown.bs.collapse', onChange);
?.addEventListener('shown.bs.collapse', onChange);
}); });

View File

@ -7,4 +7,4 @@ export const ready = (callback) => {
} else { } else {
document.addEventListener('DOMContentLoaded', callback); document.addEventListener('DOMContentLoaded', callback);
} }
} };

View File

@ -9,7 +9,7 @@ const applyStyle = (elements, prop, value) => {
elements.forEach((element) => { elements.forEach((element) => {
element.style[prop] = value; element.style[prop] = value;
}); });
} };
/** /**
* Enables the fixed headers and time lane for the shift-calendar and datatables * Enables the fixed headers and time lane for the shift-calendar and datatables
@ -35,10 +35,7 @@ ready(() => {
timeLane.style.left = `${left}px`; timeLane.style.left = `${left}px`;
const headersTop = Math.max( const headersTop = Math.max(0, window.scrollY - top - 13 + topReference.getBoundingClientRect().top);
0,
window.scrollY - top - 13 + topReference.getBoundingClientRect().top
);
applyStyle(headers, 'top', `${headersTop}px`); applyStyle(headers, 'top', `${headersTop}px`);
}); });
}); });

View File

@ -1,122 +1,122 @@
.barchart { .barchart {
--barchart-padding-left: 50px; --barchart-padding-left: 50px;
--barchart-bar-margin: 2%; --barchart-bar-margin: 2%;
--barchart-group-margin: 2%; --barchart-group-margin: 2%;
--barchart-label-font-size: 14px; --barchart-label-font-size: 14px;
height: 300px; height: 300px;
margin-bottom: map-get($spacers, 3); margin-bottom: map-get($spacers, 3);
margin-top: map-get($spacers, 4); margin-top: map-get($spacers, 4);
position: relative;
// enable printing backgrounds
print-color-adjust: exact;
&-20 {
// >= 20 bars
--barchart-group-margin: 0.75%;
}
&-40 {
// >= 40 bars
--barchart-bar-margin: 1px;
--barchart-bar-margin: 0.5px;
--barchart-group-margin: 0.5%;
}
&-50 {
// >= 50 bars
--barchart-bar-margin: 0.5px;
--barchart-group-margin: 0.2%;
.barchart-group:nth-child(2n) .barchart-xlabel {
// hide every second label
display: none;
}
}
&-graph-container {
align-items: flex-end;
display: flex;
left: var(--barchart-padding-left);
bottom: 75px;
position: absolute;
right: 0;
top: 0;
}
&-group {
align-items: flex-end;
border-right: 1px solid $gray-400;
display: flex;
flex-grow: 1;
height: 100%;
padding-left: var(--barchart-group-margin);
padding-right: var(--barchart-group-margin);
position: relative; position: relative;
// enable printing backgrounds
print-color-adjust: exact;
&-20 { &:first-of-type {
// >= 20 bars border-left: 1px solid $gray-400;
--barchart-group-margin: .75%;
} }
&-40 { &:last-of-type {
// >= 40 bars border-right: 1px solid $gray-400;
--barchart-bar-margin: 1px;
--barchart-bar-margin: .5px;
--barchart-group-margin: .5%;
} }
}
&-50 { &-bar {
// >= 50 bars flex-grow: 1;
--barchart-bar-margin: .5px; margin-left: var(--barchart-bar-margin);
--barchart-group-margin: 0.2%; margin-right: var(--barchart-bar-margin);
}
.barchart-group:nth-child(2n) .barchart-xlabel { &-ygraph {
// hide every second label background-color: $gray-400;
display: none; height: 1px;
} left: 0;
} margin: 0;
opacity: 1;
position: absolute;
right: 0;
}
&-graph-container { &-xlabel {
align-items: flex-end; bottom: 0;
display: flex; font-size: var(--barchart-label-font-size);
left: var(--barchart-padding-left); left: 50%;
bottom: 75px; line-height: 1;
position: absolute; position: absolute;
right: 0; transform-origin: top right;
top: 0; transform: translateY(100%) translateX(-100%) rotate(-45deg);
} }
&-group { &-ylabel {
align-items: flex-end; font-size: var(--barchart-label-font-size);
border-right: 1px solid $gray-400; left: calc(-1 * var(--barchart-padding-left));
display: flex; position: absolute;
flex-grow: 1; text-align: right;
height: 100%; transform: translateY(50%);
padding-left: var(--barchart-group-margin); width: 45px;
padding-right: var(--barchart-group-margin); }
position: relative;
&:first-of-type {
border-left: 1px solid $gray-400;
}
&:last-of-type {
border-right: 1px solid $gray-400;
}
}
&-bar {
flex-grow: 1;
margin-left: var(--barchart-bar-margin);
margin-right: var(--barchart-bar-margin);
}
&-ygraph {
background-color: $gray-400;
height: 1px;
left: 0;
margin: 0;
opacity: 1;
position: absolute;
right: 0;
}
&-xlabel {
bottom: 0;
font-size: var(--barchart-label-font-size);
left: 50%;
line-height: 1;
position: absolute;
transform-origin: top right;
transform: translateY(100%) translateX(-100%) rotate(-45deg);
}
&-ylabel {
font-size: var(--barchart-label-font-size);
left: calc(-1 * var(--barchart-padding-left));
position: absolute;
text-align: right;
transform: translateY(50%);
width: 45px;
}
} }
.barchart-legend { .barchart-legend {
margin-bottom: map-get($spacers, 5); margin-bottom: map-get($spacers, 5);
padding-left: 50px; padding-left: 50px;
// enable printing backgrounds // enable printing backgrounds
print-color-adjust: exact; print-color-adjust: exact;
&-item { &-item {
align-items: center; align-items: center;
border-left-style: solid; border-left-style: solid;
border-left-width: 50px; border-left-width: 50px;
font-size: 14px; font-size: 14px;
display: flex; display: flex;
height: 20px; height: 20px;
margin-bottom: 8px; margin-bottom: 8px;
padding-left: 8px; padding-left: 8px;
&:last-of-type { &:last-of-type {
margin-bottom: 0; margin-bottom: 0;
}
} }
}
} }

View File

@ -1,61 +1,61 @@
// Basic variables // Basic variables
@use "sass:map"; @use 'sass:map';
// select 2 variables // select 2 variables
$link-decoration: none !default; $link-decoration: none !default;
$link-hover-decoration: underline !default; $link-hover-decoration: underline !default;
$nav-tabs-link-active-color: #fff !default; $nav-tabs-link-active-color: #fff !default;
$nav-tabs-link-active-bg: $primary !default; $nav-tabs-link-active-bg: $primary !default;
$nav-tabs-link-active-border-color: none !default; $nav-tabs-link-active-border-color: none !default;
// Imports // Imports
@import "~bootstrap/scss/functions"; @import '~bootstrap/scss/functions';
@import "~bootstrap/scss/variables"; @import '~bootstrap/scss/variables';
@import "~bootstrap/scss/maps"; @import '~bootstrap/scss/maps';
@import "~bootstrap/scss/mixins"; @import '~bootstrap/scss/mixins';
$custom-colors: ( $custom-colors: (
black: #000 black: #000,
); );
$theme-colors: map-merge($theme-colors, $custom-colors); $theme-colors: map-merge($theme-colors, $custom-colors);
$form-label-font-weight: $font-weight-bold; $form-label-font-weight: $font-weight-bold;
@import "~bootstrap/scss/utilities"; @import '~bootstrap/scss/utilities';
@import "~bootstrap/scss/root"; @import '~bootstrap/scss/root';
@import "~bootstrap/scss/reboot"; @import '~bootstrap/scss/reboot';
@import "~bootstrap/scss/type"; @import '~bootstrap/scss/type';
@import "~bootstrap/scss/containers"; @import '~bootstrap/scss/containers';
@import "~bootstrap/scss/grid"; @import '~bootstrap/scss/grid';
@import "~bootstrap/scss/tables"; @import '~bootstrap/scss/tables';
@import "~bootstrap/scss/forms"; @import '~bootstrap/scss/forms';
@import "~bootstrap/scss/buttons"; @import '~bootstrap/scss/buttons';
@import "~bootstrap/scss/transitions"; @import '~bootstrap/scss/transitions';
@import "~bootstrap/scss/dropdown"; @import '~bootstrap/scss/dropdown';
@import "~bootstrap/scss/button-group"; @import '~bootstrap/scss/button-group';
@import "~bootstrap/scss/nav"; @import '~bootstrap/scss/nav';
@import "~bootstrap/scss/navbar"; @import '~bootstrap/scss/navbar';
@import "~bootstrap/scss/card"; @import '~bootstrap/scss/card';
@import "~bootstrap/scss/pagination"; @import '~bootstrap/scss/pagination';
@import "~bootstrap/scss/badge"; @import '~bootstrap/scss/badge';
@import "~bootstrap/scss/alert"; @import '~bootstrap/scss/alert';
@import "~bootstrap/scss/progress"; @import '~bootstrap/scss/progress';
@import "~bootstrap/scss/list-group"; @import '~bootstrap/scss/list-group';
@import "~bootstrap/scss/close"; @import '~bootstrap/scss/close';
@import "~bootstrap/scss/popover"; @import '~bootstrap/scss/popover';
@import "~bootstrap/scss/helpers"; @import '~bootstrap/scss/helpers';
@import "~bootstrap/scss/utilities/api"; @import '~bootstrap/scss/utilities/api';
@import "~bootstrap-icons/font/bootstrap-icons"; @import '~bootstrap-icons/font/bootstrap-icons';
@import "~select2/src/scss/core"; @import '~select2/src/scss/core';
@import "~select2-bootstrap-5-theme/src/include-all"; @import '~select2-bootstrap-5-theme/src/include-all';
@import "error"; @import 'error';
@import "barchart"; @import 'barchart';
$navbar-height: 3.125rem; $navbar-height: 3.125rem;
@ -68,11 +68,11 @@ body {
} }
.text-inherit { .text-inherit {
color: inherit; color: inherit;
&:hover { &:hover {
color: inherit; color: inherit;
} }
} }
.icon-icon_angel { .icon-icon_angel {
@ -87,11 +87,11 @@ body {
} }
.text-light .icon-icon_angel { .text-light .icon-icon_angel {
background-color: map.get($theme-colors, "light"); background-color: map.get($theme-colors, 'light');
} }
.dark .icon-icon_angel { .dark .icon-icon_angel {
background-color: map.get($theme-colors, "dark"); background-color: map.get($theme-colors, 'dark');
} }
a .icon-icon_angel { a .icon-icon_angel {
@ -108,11 +108,11 @@ table a > .icon-icon_angel {
} }
.nav-item--userhints { .nav-item--userhints {
margin: -$navbar-padding-y 0; margin: -$navbar-padding-y 0;
} }
.popover--userhints .alert:last-of-type { .popover--userhints .alert:last-of-type {
margin-bottom: 0; margin-bottom: 0;
} }
.table .form-group { .table .form-group {
@ -170,14 +170,14 @@ table a > .icon-icon_angel {
// prevent dropdown-menu from overflowing the view // prevent dropdown-menu from overflowing the view
.dropdown-menu { .dropdown-menu {
max-height: calc(100vh - 300px); // 300px: menu offset max-height: calc(100vh - 300px); // 300px: menu offset
overflow: auto; overflow: auto;
} }
@media (min-width: map-get($grid-breakpoints, 'lg')) { @media (min-width: map-get($grid-breakpoints, 'lg')) {
.dropdown-menu { .dropdown-menu {
max-height: calc(100vh - $navbar-height - 16px); // 16px extra padding max-height: calc(100vh - $navbar-height - 16px); // 16px extra padding
} }
} }
.selection .checkbox { .selection .checkbox {
@ -251,7 +251,18 @@ table a > .icon-icon_angel {
text-align: right; text-align: right;
} }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
code { code {
background-color: inherit; background-color: inherit;
} }
@ -281,7 +292,13 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
} }
// Reference links // Reference links
h1, h2, h3, h4, h5, h6, .card-header { h1,
h2,
h3,
h4,
h5,
h6,
.card-header {
a.ref-link { a.ref-link {
display: none; display: none;
} }
@ -299,16 +316,16 @@ h1, h2, h3, h4, h5, h6, .card-header {
// Cards // Cards
.card-body > *:last-child { .card-body > *:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
.card-header { .card-header {
&.bg-dark { &.bg-dark {
color: map.get($theme-colors, "light"); color: map.get($theme-colors, 'light');
} }
&.bg-light { &.bg-light {
color: map.get($theme-colors, "dark"); color: map.get($theme-colors, 'dark');
} }
} }
@ -329,7 +346,7 @@ code {
transform: rotate(-5deg); transform: rotate(-5deg);
} }
30% { 30% {
transform: rotate(5deg) translateY(-2px);; transform: rotate(5deg) translateY(-2px);
} }
40% { 40% {
transform: rotate(-5deg); transform: rotate(-5deg);
@ -358,14 +375,14 @@ code {
@media print { @media print {
a[href]:after { a[href]:after {
content: ""; content: '';
} }
} }
.conversation { .conversation {
height: 55vh; height: 55vh;
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto overflow-y: auto;
} }
.message { .message {
@ -375,12 +392,12 @@ code {
/* Hide the arrow up/down buttons rendered by the browser in the input field */ /* Hide the arrow up/down buttons rendered by the browser in the input field */
/* Chrome, Safari, Edge, Opera */ /* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button, input[type='number']::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button { input[type='number']::-webkit-inner-spin-button {
-webkit-appearance: none; -webkit-appearance: none;
margin: 0; margin: 0;
} }
/* Firefox */ /* Firefox */
input[type=number] { input[type='number'] {
-moz-appearance: textfield; -moz-appearance: textfield;
} }

View File

@ -4,11 +4,11 @@
$card-border: $value; $card-border: $value;
$card-color: $value; $card-color: $value;
@if (contrast-ratio($card-background, $card-color) < $min-contrast-ratio*.7) { @if (contrast-ratio($card-background, $card-color) < $min-contrast-ratio * 0.7) {
$card-color: mix($value, color-contrast($card-background), 40%); $card-color: mix($value, color-contrast($card-background), 40%);
} }
.card.bg-#{"" + $state} .card-header { .card.bg-#{'' + $state} .card-header {
background-color: $card-background; background-color: $card-background;
border-color: $card-border; border-color: $card-border;
@ -16,7 +16,7 @@
background-color: $card-color !important; background-color: $card-color !important;
} }
.badge.text-#{"" + $state} { .badge.text-#{'' + $state} {
color: $card-background !important; color: $card-background !important;
} }
@ -24,7 +24,7 @@
color: $card-color !important; color: $card-color !important;
} }
.btn-#{"" + $state} { .btn-#{'' + $state} {
background-color: $card-background; background-color: $card-background;
border-color: $card-border !important; border-color: $card-border !important;
color: $card-color; color: $card-color;

View File

@ -1,6 +1,5 @@
// cyborg_styles // cyborg_styles
/* /*
The MIT License (MIT) The MIT License (MIT)
@ -41,7 +40,6 @@ THE SOFTWARE.
color: #fff; color: #fff;
} }
// Bootswatch // Bootswatch
// ----------------------------------------------------- // -----------------------------------------------------
@ -122,7 +120,6 @@ table,
// Indicators ================================================================= // Indicators =================================================================
.alert { .alert {
.alert-link, .alert-link,
a { a {
color: $alert-warning-text; color: $alert-warning-text;
@ -151,8 +148,12 @@ table,
// Containers ================================================================= // Containers =================================================================
.jumbotron { .jumbotron {
h1,
h1, h2, h3, h4, h5, h6 { h2,
h3,
h4,
h5,
h6 {
color: #fff; color: #fff;
} }
} }

View File

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
*/ */
@use "sass:math"; @use 'sass:math';
// Cyborg 3.2.0 // Cyborg 3.2.0
// Variables // Variables
@ -33,23 +33,23 @@ THE SOFTWARE.
//== Colors //== Colors
//## Gray and brand colors for use across Bootstrap. //## Gray and brand colors for use across Bootstrap.
$gray-darker: #222 !default; $gray-darker: #222 !default;
$gray-dark: #333 !default; $gray-dark: #333 !default;
$gray: #555 !default; $gray: #555 !default;
$gray-light: #999 !default; $gray-light: #999 !default;
$gray-lighter: #eee !default; $gray-lighter: #eee !default;
$primary: #437aca !default; $primary: #437aca !default;
$success: #99ba00 !default; $success: #99ba00 !default;
$info: #0076ba !default; $info: #0076ba !default;
$warning: #ffc600 !default; $warning: #ffc600 !default;
$danger: #d9534f !default; $danger: #d9534f !default;
//== Scaffolding //== Scaffolding
// //
//## Settings for some of the most global styles. //## Settings for some of the most global styles.
$body-bg: #060606 !default; $body-bg: #060606 !default;
$body-color: $gray-light !default; $body-color: $gray-light !default;
//** Global text color on `<body>`. //** Global text color on `<body>`.
@ -57,16 +57,15 @@ $text-color: $gray-light !default;
$text-muted: $gray-light !default; $text-muted: $gray-light !default;
//** Global textual link color. //** Global textual link color.
$link-color: $primary !default; $link-color: $primary !default;
//** Link hover color set via `darken()` function. //** Link hover color set via `darken()` function.
$link-hover-color: $link-color !default; $link-hover-color: $link-color !default;
//== Typography //== Typography
// //
//## Font, line-height, and color for body text, headings, and more. //## Font, line-height, and color for body text, headings, and more.
$font-size-base: 1rem !default; $font-size-base: 1rem !default;
$font-size-large: ceil(($font-size-base * 1.25)) !default; // ~18px $font-size-large: ceil(($font-size-base * 1.25)) !default; // ~18px
$font-size-small: ceil(($font-size-base * 0.85)) !default; // ~12px $font-size-small: ceil(($font-size-base * 0.85)) !default; // ~12px
@ -86,8 +85,7 @@ $line-height-computed: floor(($font-size-base * $line-height-base)) !default; //
//** By default, this inherits from the `<body>`. //** By default, this inherits from the `<body>`.
$headings-font-weight: 500 !default; $headings-font-weight: 500 !default;
$headings-line-height: 1.1 !default; $headings-line-height: 1.1 !default;
$headings-color: #fff !default; $headings-color: #fff !default;
//== Components //== Components
// //
@ -97,36 +95,35 @@ $headings-color: #fff !default;
$line-height-large: 1.33 !default; $line-height-large: 1.33 !default;
$line-height-small: 1.5 !default; $line-height-small: 1.5 !default;
$border-radius-base: 4px !default; $border-radius-base: 4px !default;
$border-radius-large: 6px !default; $border-radius-large: 6px !default;
$border-radius-small: 3px !default; $border-radius-small: 3px !default;
//** Global color for active items (e.g., navs or dropdowns). //** Global color for active items (e.g., navs or dropdowns).
$component-active-color: #fff !default; $component-active-color: #fff !default;
//** Global background color for active items (e.g., navs or dropdowns). //** Global background color for active items (e.g., navs or dropdowns).
$component-active-bg: $primary !default; $component-active-bg: $primary !default;
//** Width of the `border` for generating carets that indicator dropdowns. //** Width of the `border` for generating carets that indicator dropdowns.
$caret-width-base: 4px !default; $caret-width-base: 4px !default;
//** Carets increase slightly in size for larger components. //** Carets increase slightly in size for larger components.
$caret-width-large: 5px !default; $caret-width-large: 5px !default;
//== Tables //== Tables
// //
//## Customizes the `.table` component with basic values, each used across all table variations. //## Customizes the `.table` component with basic values, each used across all table variations.
//** Padding for `<th>`s and `<td>`s. //** Padding for `<th>`s and `<td>`s.
$table-cell-padding: 8px !default; $table-cell-padding: 8px !default;
//** Padding for cells in `.table-condensed`. //** Padding for cells in `.table-condensed`.
$table-condensed-cell-padding: 5px !default; $table-condensed-cell-padding: 5px !default;
//** Default background color used for all tables. //** Default background color used for all tables.
$table-bg: darken($gray-darker, 4%) !default; $table-bg: darken($gray-darker, 4%) !default;
//** Background color used for `.table-striped`. //** Background color used for `.table-striped`.
$table-bg-accent: darken($table-bg, 6%) !default; $table-bg-accent: darken($table-bg, 6%) !default;
//** Background color used for `.table-hover`. //** Background color used for `.table-hover`.
$table-bg-hover: $gray-dark !default; $table-bg-hover: $gray-dark !default;
$table-bg-active: $table-bg-hover !default; $table-bg-active: $table-bg-hover !default;
//** Border color for table and cell borders. //** Border color for table and cell borders.
@ -137,23 +134,23 @@ $table-border-color: $gray-dark !default;
//## //##
//** `<input>` background color //** `<input>` background color
$input-bg: $gray-darker !default; $input-bg: $gray-darker !default;
//** `<input disabled>` background color //** `<input disabled>` background color
$input-bg-disabled: $gray-darker !default; $input-bg-disabled: $gray-darker !default;
//** Text color for `<input>`s //** Text color for `<input>`s
$input-color: $text-color !default; $input-color: $text-color !default;
//** `<input>` border color //** `<input>` border color
$input-border-color: $gray-dark !default; $input-border-color: $gray-dark !default;
//** `<input>` border radius //** `<input>` border radius
$input-border-radius: $border-radius-base !default; $input-border-radius: $border-radius-base !default;
//** Border color for inputs on focus //** Border color for inputs on focus
$input-border-focus: #66afe9 !default; $input-border-focus: #66afe9 !default;
//** Placeholder text color //** Placeholder text color
$input-color-placeholder: $gray-light !default; $input-color-placeholder: $gray-light !default;
$legend-color: $text-color !default; $legend-color: $text-color !default;
$legend-border-color: $gray-dark !default; $legend-border-color: $gray-dark !default;
//** Background color for textual input addons //** Background color for textual input addons
@ -167,32 +164,31 @@ $form-label-font-weight: bold !default;
// //
//## Dropdown menu container and contents. //## Dropdown menu container and contents.
$dropdown-bg: $gray-darker !default; $dropdown-bg: $gray-darker !default;
$dropdown-border: rgba(255,255,255,0.1) !default; $dropdown-border: rgba(255, 255, 255, 0.1) !default;
$dropdown-fallback-border: #444; $dropdown-fallback-border: #444;
$dropdown-divider-bg: rgba(255,255,255,0.1) !default; $dropdown-divider-bg: rgba(255, 255, 255, 0.1) !default;
//** Active dropdown menu item text color. //** Active dropdown menu item text color.
$dropdown-link-active-color: #fff !default; $dropdown-link-active-color: #fff !default;
//** Active dropdown menu item background color. //** Active dropdown menu item background color.
$dropdown-link-active-bg: $component-active-bg !default; $dropdown-link-active-bg: $component-active-bg !default;
//** Dropdown link text color. //** Dropdown link text color.
$dropdown-link-color: #fff !default; $dropdown-link-color: #fff !default;
//** Hover color for dropdown links. //** Hover color for dropdown links.
$dropdown-link-hover-color: #fff !default; $dropdown-link-hover-color: #fff !default;
//** Hover background for dropdown links. //** Hover background for dropdown links.
$dropdown-link-hover-bg: $dropdown-link-active-bg !default; $dropdown-link-hover-bg: $dropdown-link-active-bg !default;
//** Disabled dropdown menu item background color. //** Disabled dropdown menu item background color.
$dropdown-link-disabled-color: $text-muted !default; $dropdown-link-disabled-color: $text-muted !default;
//** Text color for headers within dropdown menus. //** Text color for headers within dropdown menus.
$dropdown-header-color: $text-muted !default; $dropdown-header-color: $text-muted !default;
//** Deprecated `$dropdown-caret-color` as of v3.1.0 //** Deprecated `$dropdown-caret-color` as of v3.1.0
$dropdown-caret-color: #000 !default; $dropdown-caret-color: #000 !default;
//-- Z-index master list //-- Z-index master list
// //
@ -201,11 +197,10 @@ $dropdown-caret-color: #000 !default;
// //
// Note: These variables are not generated into the Customizer. // Note: These variables are not generated into the Customizer.
$zindex-navbar: 1000 !default; $zindex-navbar: 1000 !default;
$zindex-dropdown: 1000 !default; $zindex-dropdown: 1000 !default;
$zindex-popover: 1060 !default; $zindex-popover: 1060 !default;
$zindex-navbar-fixed: 1030 !default; $zindex-navbar-fixed: 1030 !default;
//== Media queries breakpoints //== Media queries breakpoints
// //
@ -213,145 +208,140 @@ $zindex-navbar-fixed: 1030 !default;
// Extra small screen / phone // Extra small screen / phone
//** Deprecated `$screen-xs` as of v3.0.1 //** Deprecated `$screen-xs` as of v3.0.1
$screen-xs: 480px !default; $screen-xs: 480px !default;
//** Deprecated `$screen-xs-min` as of v3.2.0 //** Deprecated `$screen-xs-min` as of v3.2.0
$screen-xs-min: $screen-xs !default; $screen-xs-min: $screen-xs !default;
//** Deprecated `$screen-phone` as of v3.0.1 //** Deprecated `$screen-phone` as of v3.0.1
$screen-phone: $screen-xs-min !default; $screen-phone: $screen-xs-min !default;
// Small screen / tablet // Small screen / tablet
//** Deprecated `$screen-sm` as of v3.0.1 //** Deprecated `$screen-sm` as of v3.0.1
$screen-sm: 768px !default; $screen-sm: 768px !default;
$screen-sm-min: $screen-sm !default; $screen-sm-min: $screen-sm !default;
//** Deprecated `$screen-tablet` as of v3.0.1 //** Deprecated `$screen-tablet` as of v3.0.1
$screen-tablet: $screen-sm-min !default; $screen-tablet: $screen-sm-min !default;
// Medium screen / desktop // Medium screen / desktop
//** Deprecated `$screen-md` as of v3.0.1 //** Deprecated `$screen-md` as of v3.0.1
$screen-md: 992px !default; $screen-md: 992px !default;
$screen-md-min: $screen-md !default; $screen-md-min: $screen-md !default;
//** Deprecated `$screen-desktop` as of v3.0.1 //** Deprecated `$screen-desktop` as of v3.0.1
$screen-desktop: $screen-md-min !default; $screen-desktop: $screen-md-min !default;
// Large screen / wide desktop // Large screen / wide desktop
//** Deprecated `$screen-lg` as of v3.0.1 //** Deprecated `$screen-lg` as of v3.0.1
$screen-lg: 1200px !default; $screen-lg: 1200px !default;
$screen-lg-min: $screen-lg !default; $screen-lg-min: $screen-lg !default;
//** Deprecated `$screen-lg-desktop` as of v3.0.1 //** Deprecated `$screen-lg-desktop` as of v3.0.1
$screen-lg-desktop: $screen-lg-min !default; $screen-lg-desktop: $screen-lg-min !default;
// So media queries don't overlap when required, provide a maximum // So media queries don't overlap when required, provide a maximum
$screen-xs-max: ($screen-sm-min - 1) !default; $screen-xs-max: ($screen-sm-min - 1) !default;
$screen-sm-max: ($screen-md-min - 1) !default; $screen-sm-max: ($screen-md-min - 1) !default;
$screen-md-max: ($screen-lg-min - 1) !default; $screen-md-max: ($screen-lg-min - 1) !default;
//== Grid system //== Grid system
// //
//## Define your custom responsive grid. //## Define your custom responsive grid.
//** Number of columns in the grid. //** Number of columns in the grid.
$grid-columns: 12 !default; $grid-columns: 12 !default;
//** Padding between columns. Gets divided in half for the left and right. //** Padding between columns. Gets divided in half for the left and right.
$grid-gutter-width: 30px !default; $grid-gutter-width: 30px !default;
// Navbar collapse // Navbar collapse
//** Point at which the navbar becomes uncollapsed. //** Point at which the navbar becomes uncollapsed.
$grid-float-breakpoint: $screen-sm-min !default; $grid-float-breakpoint: $screen-sm-min !default;
//** Point at which the navbar begins collapsing. //** Point at which the navbar begins collapsing.
$grid-float-breakpoint-max: ($grid-float-breakpoint - 1) !default; $grid-float-breakpoint-max: ($grid-float-breakpoint - 1) !default;
//== Container sizes //== Container sizes
// //
//## Define the maximum width of `.container` for different screen sizes. //## Define the maximum width of `.container` for different screen sizes.
// Small screen / tablet // Small screen / tablet
$container-tablet: ((720px + $grid-gutter-width)) !default; $container-tablet: ((720px + $grid-gutter-width)) !default;
//** For `$screen-sm-min` and up. //** For `$screen-sm-min` and up.
$container-sm: $container-tablet !default; $container-sm: $container-tablet !default;
// Medium screen / desktop // Medium screen / desktop
$container-desktop: ((940px + $grid-gutter-width)) !default; $container-desktop: ((940px + $grid-gutter-width)) !default;
//** For `$screen-md-min` and up. //** For `$screen-md-min` and up.
$container-md: $container-desktop !default; $container-md: $container-desktop !default;
// Large screen / wide desktop // Large screen / wide desktop
$container-large-desktop: ((1140px + $grid-gutter-width)) !default; $container-large-desktop: ((1140px + $grid-gutter-width)) !default;
//** For `$screen-lg-min` and up. //** For `$screen-lg-min` and up.
$container-lg: $container-large-desktop !default; $container-lg: $container-large-desktop !default;
//== Navbar //== Navbar
// //
//## //##
// Basics of a navbar // Basics of a navbar
$navbar-height: 3.125rem !default; $navbar-height: 3.125rem !default;
$navbar-margin-bottom: $line-height-computed !default; $navbar-margin-bottom: $line-height-computed !default;
$navbar-border-radius: $border-radius-base !default; $navbar-border-radius: $border-radius-base !default;
$navbar-padding-horizontal: floor(math.div($grid-gutter-width, 2)) !default; $navbar-padding-horizontal: floor(math.div($grid-gutter-width, 2)) !default;
$navbar-padding-vertical: math.div($navbar-height - $line-height-computed, 2) !default; $navbar-padding-vertical: math.div($navbar-height - $line-height-computed, 2) !default;
$navbar-collapse-max-height: 340px !default; $navbar-collapse-max-height: 340px !default;
$navbar-default-color: $text-color !default; $navbar-default-color: $text-color !default;
$navbar-default-bg: $body-bg !default; $navbar-default-bg: $body-bg !default;
$navbar-default-border: $gray-dark !default; $navbar-default-border: $gray-dark !default;
// Navbar links // Navbar links
$navbar-default-link-color: $text-color !default; $navbar-default-link-color: $text-color !default;
$navbar-default-link-hover-color: #fff !default; $navbar-default-link-hover-color: #fff !default;
$navbar-default-link-hover-bg: transparent !default; $navbar-default-link-hover-bg: transparent !default;
$navbar-default-link-active-color: #fff !default; $navbar-default-link-active-color: #fff !default;
$navbar-default-link-active-bg: transparent !default; $navbar-default-link-active-bg: transparent !default;
$navbar-default-link-disabled-color: $gray-light !default; $navbar-default-link-disabled-color: $gray-light !default;
$navbar-default-link-disabled-bg: transparent !default; $navbar-default-link-disabled-bg: transparent !default;
// Navbar brand label // Navbar brand label
$navbar-default-brand-color: #fff !default; $navbar-default-brand-color: #fff !default;
$navbar-default-brand-hover-color: #fff !default; $navbar-default-brand-hover-color: #fff !default;
$navbar-default-brand-hover-bg: transparent !default; $navbar-default-brand-hover-bg: transparent !default;
// Navbar toggle // Navbar toggle
$navbar-default-toggle-hover-bg: $gray-dark !default; $navbar-default-toggle-hover-bg: $gray-dark !default;
$navbar-default-toggle-icon-bar-bg: #ccc !default; $navbar-default-toggle-icon-bar-bg: #ccc !default;
$navbar-default-toggle-border-color: $gray-dark !default; $navbar-default-toggle-border-color: $gray-dark !default;
// Inverted navbar // Inverted navbar
// Reset inverted navbar basics // Reset inverted navbar basics
$navbar-inverse-color: $gray-light !default; $navbar-inverse-color: $gray-light !default;
$navbar-inverse-bg: $gray-darker !default; $navbar-inverse-bg: $gray-darker !default;
$navbar-inverse-border: darken($navbar-inverse-bg, 10%) !default; $navbar-inverse-border: darken($navbar-inverse-bg, 10%) !default;
// Inverted navbar links // Inverted navbar links
$navbar-inverse-link-color: $gray-light !default; $navbar-inverse-link-color: $gray-light !default;
$navbar-inverse-link-hover-color: #fff !default; $navbar-inverse-link-hover-color: #fff !default;
$navbar-inverse-link-hover-bg: transparent !default; $navbar-inverse-link-hover-bg: transparent !default;
$navbar-inverse-link-active-color: $navbar-inverse-link-hover-color !default; $navbar-inverse-link-active-color: $navbar-inverse-link-hover-color !default;
$navbar-inverse-link-active-bg: transparent !default; $navbar-inverse-link-active-bg: transparent !default;
$navbar-inverse-link-disabled-color: #aaa !default; $navbar-inverse-link-disabled-color: #aaa !default;
$navbar-inverse-link-disabled-bg: transparent !default; $navbar-inverse-link-disabled-bg: transparent !default;
// Inverted navbar brand label // Inverted navbar brand label
$navbar-inverse-brand-color: #fff !default; $navbar-inverse-brand-color: #fff !default;
$navbar-inverse-brand-hover-color: #fff !default; $navbar-inverse-brand-hover-color: #fff !default;
$navbar-inverse-brand-hover-bg: transparent !default; $navbar-inverse-brand-hover-bg: transparent !default;
// Inverted navbar toggle // Inverted navbar toggle
$navbar-inverse-toggle-hover-bg: #333 !default; $navbar-inverse-toggle-hover-bg: #333 !default;
$navbar-inverse-toggle-icon-bar-bg: #fff !default; $navbar-inverse-toggle-icon-bar-bg: #fff !default;
$navbar-inverse-toggle-border-color: #333 !default; $navbar-inverse-toggle-border-color: #333 !default;
//== Navs //== Navs
// //
//## //##
//=== Shared nav styles //=== Shared nav styles
$nav-link-padding: 10px 15px !default; $nav-link-padding: 10px 15px !default;
$nav-link-hover-bg: $gray-darker !default; $nav-link-hover-bg: $gray-darker !default;
$nav-disabled-link-color: $gray-light !default; $nav-disabled-link-color: $gray-light !default;
$nav-disabled-link-hover-color: $gray-light !default; $nav-disabled-link-hover-color: $gray-light !default;
$nav-open-link-hover-color: $gray-darker !default; $nav-open-link-hover-color: $gray-darker !default;
@ -361,231 +351,219 @@ $nav-tabs-border-color: $gray-dark !default;
$nav-tabs-link-hover-border-color: transparent !default; $nav-tabs-link-hover-border-color: transparent !default;
$nav-tabs-active-link-hover-bg: $primary !default; $nav-tabs-active-link-hover-bg: $primary !default;
$nav-tabs-active-link-hover-color: #fff !default; $nav-tabs-active-link-hover-color: #fff !default;
$nav-tabs-active-link-hover-border-color: $gray-dark !default; $nav-tabs-active-link-hover-border-color: $gray-dark !default;
$nav-tabs-justified-link-border-color: #ddd !default; $nav-tabs-justified-link-border-color: #ddd !default;
$nav-tabs-justified-active-link-border-color: $body-bg !default; $nav-tabs-justified-active-link-border-color: $body-bg !default;
//== Pills //== Pills
$nav-pills-border-radius: $border-radius-base !default; $nav-pills-border-radius: $border-radius-base !default;
$nav-pills-active-link-hover-bg: $component-active-bg !default; $nav-pills-active-link-hover-bg: $component-active-bg !default;
$nav-pills-active-link-hover-color: $component-active-color !default; $nav-pills-active-link-hover-color: $component-active-color !default;
//== Pagination //== Pagination
// //
//## //##
$pagination-color: #fff !default; $pagination-color: #fff !default;
$pagination-bg: $gray-darker !default; $pagination-bg: $gray-darker !default;
$pagination-border: $gray-dark !default; $pagination-border: $gray-dark !default;
$pagination-hover-color: #000 !default; $pagination-hover-color: #000 !default;
$pagination-hover-bg: $component-active-bg !default; $pagination-hover-bg: $component-active-bg !default;
$pagination-hover-border: transparent !default; $pagination-hover-border: transparent !default;
$pagination-active-color: #000 !default; $pagination-active-color: #000 !default;
$pagination-active-bg: $primary !default; $pagination-active-bg: $primary !default;
$pagination-active-border: transparent !default; $pagination-active-border: transparent !default;
$pagination-disabled-color: $gray-light !default; $pagination-disabled-color: $gray-light !default;
$pagination-disabled-bg: $gray-darker !default; $pagination-disabled-bg: $gray-darker !default;
$pagination-disabled-border: $gray-dark !default; $pagination-disabled-border: $gray-dark !default;
//== Pager //== Pager
// //
//## //##
$pager-bg: $pagination-bg !default; $pager-bg: $pagination-bg !default;
$pager-border: $pagination-border !default; $pager-border: $pagination-border !default;
$pager-border-radius: 15px !default; $pager-border-radius: 15px !default;
$pager-hover-bg: $pagination-hover-bg !default; $pager-hover-bg: $pagination-hover-bg !default;
$pager-active-bg: $pagination-active-bg !default; $pager-active-bg: $pagination-active-bg !default;
$pager-active-color: $pagination-active-color !default; $pager-active-color: $pagination-active-color !default;
$pager-disabled-color: $gray-light !default; $pager-disabled-color: $gray-light !default;
//== Jumbotron //== Jumbotron
// //
//## //##
$jumbotron-padding: 30px !default; $jumbotron-padding: 30px !default;
$jumbotron-color: inherit !default; $jumbotron-color: inherit !default;
$jumbotron-bg: darken($gray-darker, 5%) !default; $jumbotron-bg: darken($gray-darker, 5%) !default;
$jumbotron-heading-color: inherit !default; $jumbotron-heading-color: inherit !default;
$jumbotron-font-size: ceil(($font-size-base * 1.5)) !default; $jumbotron-font-size: ceil(($font-size-base * 1.5)) !default;
//== Form states and alerts //== Form states and alerts
// //
//## Define colors for form feedback states and, by default, alerts. //## Define colors for form feedback states and, by default, alerts.
$state-success-text: $success !default; $state-success-text: $success !default;
$state-success-bg: darken($success, 40%) !default; $state-success-bg: darken($success, 40%) !default;
$state-success-border: $success !default; $state-success-border: $success !default;
$state-info-text: $info !default; $state-info-text: $info !default;
$state-info-bg: darken($info, 40%) !default; $state-info-bg: darken($info, 40%) !default;
$state-info-border: $info !default; $state-info-border: $info !default;
$state-warning-text: $warning !default; $state-warning-text: $warning !default;
$state-warning-bg: darken($warning, 40%) !default; $state-warning-bg: darken($warning, 40%) !default;
$state-warning-border: $warning !default; $state-warning-border: $warning !default;
$state-danger-text: $danger !default; $state-danger-text: $danger !default;
$state-danger-bg: darken($danger, 40%) !default; $state-danger-bg: darken($danger, 40%) !default;
$state-danger-border: $danger !default; $state-danger-border: $danger !default;
//== Popovers //== Popovers
$popover-bg: lighten($body-bg, 10%) !default; $popover-bg: lighten($body-bg, 10%) !default;
$popover-max-width: 276px !default; $popover-max-width: 276px !default;
$popover-border-color: rgba(0,0,0,.2) !default; $popover-border-color: rgba(0, 0, 0, 0.2) !default;
$popover-fallback-border-color: #999 !default !default; $popover-fallback-border-color: #999 !default !default;
//** Popover title background color //** Popover title background color
$popover-title-bg: darken($popover-bg, 3%) !default; $popover-title-bg: darken($popover-bg, 3%) !default;
//** Popover arrow width //** Popover arrow width
$popover-arrow-width: 10px !default; $popover-arrow-width: 10px !default;
//** Popover arrow color //** Popover arrow color
$popover-arrow-color: $popover-bg !default; $popover-arrow-color: $popover-bg !default;
//** Popover outer arrow width //** Popover outer arrow width
$popover-arrow-outer-width: ($popover-arrow-width + 1) !default; $popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
//** Popover outer arrow color //** Popover outer arrow color
$popover-arrow-outer-color: fadein($popover-border-color, 5%) !default; $popover-arrow-outer-color: fadein($popover-border-color, 5%) !default;
//** Popover outer arrow fallback color //** Popover outer arrow fallback color
$popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%) !default; $popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%) !default;
//== Labels //== Labels
// //
//## //##
$label-primary-bg: $primary !default; $label-primary-bg: $primary !default;
$label-success-bg: $success !default; $label-success-bg: $success !default;
$label-info-bg: $info !default; $label-info-bg: $info !default;
$label-warning-bg: $warning !default; $label-warning-bg: $warning !default;
$label-danger-bg: $danger !default; $label-danger-bg: $danger !default;
//** Default label text color //** Default label text color
$label-color: #fff !default; $label-color: #fff !default;
//** Default text color of a linked label //** Default text color of a linked label
$label-link-hover-color: #fff !default; $label-link-hover-color: #fff !default;
//== Alerts //== Alerts
// //
//## Define alert colors, border radius, and padding. //## Define alert colors, border radius, and padding.
$alert-padding: 15px !default; $alert-padding: 15px !default;
$alert-border-radius: $border-radius-base !default; $alert-border-radius: $border-radius-base !default;
$alert-link-font-weight: bold !default; $alert-link-font-weight: bold !default;
$alert-success-bg: $state-success-bg !default; $alert-success-bg: $state-success-bg !default;
$alert-success-text: $state-success-text !default; $alert-success-text: $state-success-text !default;
$alert-success-border: $state-success-border !default; $alert-success-border: $state-success-border !default;
$alert-info-bg: $state-info-bg !default; $alert-info-bg: $state-info-bg !default;
$alert-info-text: $state-info-text !default; $alert-info-text: $state-info-text !default;
$alert-info-border: $state-info-border !default; $alert-info-border: $state-info-border !default;
$alert-warning-bg: $state-warning-bg !default; $alert-warning-bg: $state-warning-bg !default;
$alert-warning-text: $state-warning-text !default; $alert-warning-text: $state-warning-text !default;
$alert-warning-border: $state-warning-border !default; $alert-warning-border: $state-warning-border !default;
$alert-danger-bg: $state-danger-bg !default;
$alert-danger-text: $state-danger-text !default;
$alert-danger-border: $state-danger-border !default;
$alert-danger-bg: $state-danger-bg !default;
$alert-danger-text: $state-danger-text !default;
$alert-danger-border: $state-danger-border !default;
//== Progress bars //== Progress bars
// //
//## //##
//** Background color of the whole progress component //** Background color of the whole progress component
$progress-bg: $gray-darker !default; $progress-bg: $gray-darker !default;
//** Progress bar text color //** Progress bar text color
$progress-bar-color: #fff !default; $progress-bar-color: #fff !default;
//** Default progress bar color //** Default progress bar color
$progress-bar-bg: $primary !default; $progress-bar-bg: $primary !default;
//** Success progress bar color //** Success progress bar color
$progress-bar-success-bg: $success !default; $progress-bar-success-bg: $success !default;
//** Warning progress bar color //** Warning progress bar color
$progress-bar-warning-bg: $warning !default; $progress-bar-warning-bg: $warning !default;
//** Danger progress bar color //** Danger progress bar color
$progress-bar-danger-bg: $danger !default; $progress-bar-danger-bg: $danger !default;
//** Info progress bar color //** Info progress bar color
$progress-bar-info-bg: $info !default; $progress-bar-info-bg: $info !default;
//== List group //== List group
// //
//## //##
//** Background color on `.list-group-item` //** Background color on `.list-group-item`
$list-group-bg: $gray-darker !default; $list-group-bg: $gray-darker !default;
//** `.list-group-item` border color //** `.list-group-item` border color
$list-group-border: $gray-dark !default; $list-group-border: $gray-dark !default;
//** List group border radius //** List group border radius
$list-group-border-radius: $border-radius-base !default; $list-group-border-radius: $border-radius-base !default;
//** Background color of single list items on hover //** Background color of single list items on hover
$list-group-hover-bg: lighten($list-group-bg, 15%) !default; $list-group-hover-bg: lighten($list-group-bg, 15%) !default;
//** Text color of active list items //** Text color of active list items
$list-group-active-color: $component-active-color !default; $list-group-active-color: $component-active-color !default;
//** Background color of active list items //** Background color of active list items
$list-group-active-bg: $component-active-bg !default; $list-group-active-bg: $component-active-bg !default;
//** Border color of active list elements //** Border color of active list elements
$list-group-active-border: $list-group-active-bg !default; $list-group-active-border: $list-group-active-bg !default;
//** Text color for content within active list items //** Text color for content within active list items
$list-group-active-text-color: lighten($list-group-active-bg, 40%) !default; $list-group-active-text-color: lighten($list-group-active-bg, 40%) !default;
//** Text color of disabled list items //** Text color of disabled list items
$list-group-disabled-color: $gray-light !default; $list-group-disabled-color: $gray-light !default;
//** Background color of disabled list items //** Background color of disabled list items
$list-group-disabled-bg: $gray-lighter !default; $list-group-disabled-bg: $gray-lighter !default;
//** Text color for content within disabled list items //** Text color for content within disabled list items
$list-group-disabled-text-color: $list-group-disabled-color !default; $list-group-disabled-text-color: $list-group-disabled-color !default;
$list-group-link-color: $text-color !default; $list-group-link-color: $text-color !default;
$list-group-link-hover-color: $list-group-link-color !default; $list-group-link-hover-color: $list-group-link-color !default;
$list-group-link-heading-color: #fff !default; $list-group-link-heading-color: #fff !default;
//== Close //== Close
// //
//## //##
$close-font-weight: bold !default; $close-font-weight: bold !default;
$close-color: #000 !default; $close-color: #000 !default;
$close-text-shadow: 0 1px 0 #fff !default; $close-text-shadow: 0 1px 0 #fff !default;
//== Code //== Code
// //
//## //##
$code-color: #c7254e !default; $code-color: #c7254e !default;
$code-bg: #f9f2f4 !default; $code-bg: #f9f2f4 !default;
$kbd-color: #fff !default; $kbd-color: #fff !default;
$kbd-bg: #333 !default; $kbd-bg: #333 !default;
$pre-bg: #f5f5f5 !default;
$pre-color: $gray-dark !default;
$pre-border-color: #ccc !default;
$pre-scrollable-max-height: 340px !default;
$pre-bg: #f5f5f5 !default;
$pre-color: $gray-dark !default;
$pre-border-color: #ccc !default;
$pre-scrollable-max-height: 340px !default;
//== Type //== Type
// //
@ -595,20 +573,20 @@ $pre-scrollable-max-height: 340px !default;
$component-offset-horizontal: 180px !default; $component-offset-horizontal: 180px !default;
//** Abbreviations and acronyms border color //** Abbreviations and acronyms border color
$abbr-border-color: $gray-light !default; $abbr-border-color: $gray-light !default;
//** Headings small color //** Headings small color
$headings-small-color: $primary !default; $headings-small-color: $primary !default;
//** Blockquote small color //** Blockquote small color
$blockquote-small-color: $gray !default; $blockquote-small-color: $gray !default;
//** Blockquote font size //** Blockquote font size
$blockquote-font-size: ($font-size-base * 1.25) !default; $blockquote-font-size: ($font-size-base * 1.25) !default;
//** Blockquote border color //** Blockquote border color
$blockquote-border-color: $gray-dark !default; $blockquote-border-color: $gray-dark !default;
//** Page header border color //** Page header border color
$page-header-border-color: $gray-dark !default; $page-header-border-color: $gray-dark !default;
//** Width of horizontal description list titles //** Width of horizontal description list titles
$dl-horizontal-offset: $component-offset-horizontal !default; $dl-horizontal-offset: $component-offset-horizontal !default;
//** Horizontal line color. //** Horizontal line color.
$hr-border: $gray-dark !default; $hr-border: $gray-dark !default;
@import "base.scss"; @import 'base.scss';

View File

@ -3,4 +3,4 @@ $input-group-addon-color: #222;
$input-disabled-bg: #111; $input-disabled-bg: #111;
$alert-bg-scale: 70%; $alert-bg-scale: 70%;
$secondary: #222; $secondary: #222;
$table-striped-bg: rgba(#fff, .05); $table-striped-bg: rgba(#fff, 0.05);

View File

@ -19,7 +19,7 @@
opacity: 0.3; opacity: 0.3;
} }
to { to {
opacity: 1.0; opacity: 1;
} }
} }
.pulse { .pulse {

View File

@ -1,16 +1,26 @@
// light theme // light theme
@import "light"; @import 'light';
$primary: #337ab7; $primary: #337ab7;
$light: #f5f5f5; $light: #f5f5f5;
@import "base.scss"; @import 'base.scss';
h1,
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
&.bg-primary, &.bg-primary,
&.bg-success, &.bg-success,
&.bg-danger { &.bg-danger {
color: #fff; color: #fff;
} }
} }

View File

@ -1,59 +1,56 @@
// Variables // Variables
// -------------------------------------------------- // --------------------------------------------------
@import "dark"; @import 'dark';
//== changed Colors //== changed Colors
$gray-darker: #222; $gray-darker: #222;
$gray-dark: #282828; $gray-dark: #282828;
$gray-light: #888; $gray-light: #888;
$gray-lighter: #ADAFAE; $gray-lighter: #adafae;
$primary: #437aca; $primary: #437aca;
$secondary: #424242; $secondary: #424242;
$success: #00c960; $success: #00c960;
$info: #3dbddf; $info: #3dbddf;
$warning: #f6b345; $warning: #f6b345;
$danger: #e93a44; $danger: #e93a44;
$text-muted: $gray-light; $text-muted: $gray-light;
$btn-link-disabled-color: $gray-light; $btn-link-disabled-color: $gray-light;
//== changed Forms //== changed Forms
$input-bg: $gray-darker; $input-bg: $gray-darker;
$input-bg-disabled: lighten($gray-lighter,15%); $input-bg-disabled: lighten($gray-lighter, 15%);
$input-group-addon-bg: $gray-lighter; $input-group-addon-bg: $gray-lighter;
//== changed Pagination //== changed Pagination
$pagination-hover-color: #fff; $pagination-hover-color: #fff;
$pagination-active-color: #fff; $pagination-active-color: #fff;
//== changed Form states and alerts //== changed Form states and alerts
$state-success-text: #fff; $state-success-text: #fff;
$state-success-bg: $success; $state-success-bg: $success;
$state-success-border: darken($state-success-bg, 5%); $state-success-border: darken($state-success-bg, 5%);
$state-info-text: #fff; $state-info-text: #fff;
$state-info-bg: $info; $state-info-bg: $info;
$state-info-border: darken($state-info-bg, 7%); $state-info-border: darken($state-info-bg, 7%);
$state-warning-text: #fff; $state-warning-text: #fff;
$state-warning-bg: $warning; $state-warning-bg: $warning;
$state-warning-border: darken($state-warning-bg, 3%); $state-warning-border: darken($state-warning-bg, 3%);
$state-danger-text: #fff; $state-danger-text: #fff;
$state-danger-bg: $danger; $state-danger-bg: $danger;
$state-danger-border: darken($state-danger-bg, 3%); $state-danger-border: darken($state-danger-bg, 3%);
$headings-small-color: $gray-light; $headings-small-color: $gray-light;
code { code {
background-color: $state-info-bg; background-color: $state-info-bg;
@ -69,17 +66,28 @@ $alert-color-scale: 0%;
.text-danger, .text-danger,
.text-info { .text-info {
color: #fff !important; color: #fff !important;
} }
} }
// dark // dark
@import "cyborg_variables"; @import 'cyborg_variables';
@import "cyborg_styles"; @import 'cyborg_styles';
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
&.bg-warning, &.bg-warning,
&.bg-info { &.bg-info {
color: #000; color: #000;
} }
} }

View File

@ -2,24 +2,24 @@
// Variables // Variables
// -------------------------------------------------- // --------------------------------------------------
@import "dark"; @import 'dark';
//== changed Colors //== changed Colors
$gray-dark: #282828; $gray-dark: #282828;
$gray-light: #888; $gray-light: #888;
$gray-lighter: #ADAFAE; $gray-lighter: #adafae;
$brand-primary: #99ba00; $brand-primary: #99ba00;
$primary: $brand-primary; $primary: $brand-primary;
$text-muted: $primary; $text-muted: $primary;
@import "cyborg_variables.scss"; @import 'cyborg_variables.scss';
@import "cyborg_styles.scss"; @import 'cyborg_styles.scss';
// Specials for cccamp19 design // Specials for cccamp19 design
@import "card-glow"; @import 'card-glow';
.navbar-brand { .navbar-brand {
.icon-icon_angel { .icon-icon_angel {
@ -29,13 +29,8 @@ $text-muted: $primary;
strong { strong {
font-weight: normal; font-weight: normal;
color: $brand-primary; color: $brand-primary;
text-shadow: text-shadow: 0 0 10px $brand-primary, 0 0 20px $brand-primary, 0 0 30px $brand-primary, 0 0 40px $brand-primary,
0 0 10px $brand-primary, 0 0 70px $brand-primary, 0 0 80px $brand-primary;
0 0 20px $brand-primary,
0 0 30px $brand-primary,
0 0 40px $brand-primary,
0 0 70px $brand-primary,
0 0 80px $brand-primary;
} }
} }
@ -57,8 +52,19 @@ h1 {
} }
} }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { h1,
&.bg-warning { h2,
color: #000; h3,
} h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
&.bg-warning {
color: #000;
}
} }

View File

@ -1,82 +1,78 @@
// high contrast // high contrast
// Variables // Variables
// -------------------------------------------------- // --------------------------------------------------
@import "dark"; @import 'dark';
//== Colors //== Colors
$gray-dark: #282828; $gray-dark: #282828;
$gray-darker: #222; $gray-darker: #222;
$gray-light: #888; $gray-light: #888;
$gray-lighter: #ADAFAE; $gray-lighter: #adafae;
$brand-primary: #72abfa; $brand-primary: #72abfa;
$primary: $brand-primary; $primary: $brand-primary;
$brand-success: #5cb85c; $brand-success: #5cb85c;
$success: $brand-success; $success: $brand-success;
$brand-info: #5bc0de; $brand-info: #5bc0de;
$info: $brand-info; $info: $brand-info;
$brand-danger: #d9534f; $brand-danger: #d9534f;
$danger: $brand-danger; $danger: $brand-danger;
$brand-warning: #f0ad4e; $brand-warning: #f0ad4e;
$warning: $brand-warning; $warning: $brand-warning;
//== Scaffolding //== Scaffolding
$body-bg: #000; $body-bg: #000;
$body-color: #fff; $body-color: #fff;
//== Buttons //== Buttons
$btn-color: #fff; $btn-color: #fff;
$btn-default-bg: lighten($gray-dark, 10%); $btn-default-bg: lighten($gray-dark, 10%);
$btn-primary-color: #000; $btn-primary-color: #000;
$btn-primary-border: darken($btn-default-bg, 10%); $btn-primary-border: darken($btn-default-bg, 10%);
$btn-success-color: #000; $btn-success-color: #000;
$btn-success-border: darken($btn-default-bg, 10%); $btn-success-border: darken($btn-default-bg, 10%);
$btn-info-color: #000; $btn-info-color: #000;
$btn-info-border: darken($btn-default-bg, 10%); $btn-info-border: darken($btn-default-bg, 10%);
$btn-warning-color: #000; $btn-warning-color: #000;
$btn-warning-border: darken($btn-default-bg, 10%); $btn-warning-border: darken($btn-default-bg, 10%);
$btn-danger-color: #000;
$btn-danger-border: darken($btn-default-bg, 10%);
$btn-danger-color: #000;
$btn-danger-border: darken($btn-default-bg, 10%);
//== Forms //== Forms
$input-bg: $gray-darker; $input-bg: $gray-darker;
$input-bg-disabled: $gray-lighter; $input-bg-disabled: $gray-lighter;
$input-group-addon-bg: $gray-lighter;
$input-group-addon-bg: $gray-lighter;
//== Pagination //== Pagination
$pagination-hover-color: #fff; $pagination-hover-color: #fff;
//== Labels //== Labels
$label-default-bg: lighten($btn-default-bg, 20%); $label-default-bg: lighten($btn-default-bg, 20%);
$label-color: #000; $label-color: #000;
$label-link-hover-color: #000; $label-link-hover-color: #000;
//== Type //== Type
$text-muted: $gray-lighter; $text-muted: $gray-lighter;
$abbr-border-color: $gray-lighter; $abbr-border-color: $gray-lighter;
$headings-small-color: $gray-lighter; $headings-small-color: $gray-lighter;
// Bootswatch // Bootswatch
// ----------------------------------------------------- // -----------------------------------------------------
@import "cyborg_variables.scss"; @import 'cyborg_variables.scss';
@import "cyborg_styles.scss"; @import 'cyborg_styles.scss';
// Typography ================================================================= // Typography =================================================================

View File

@ -1,79 +1,78 @@
// 36c3 // 36c3
//== Colors //== Colors
@import "dark"; @import 'dark';
$gray-dark: #282828; $gray-dark: #282828;
$gray-darker: #222; $gray-darker: #222;
$gray-light: #888; $gray-light: #888;
$gray-lighter: #D0D0CE; $gray-lighter: #d0d0ce;
$black: #000; $black: #000;
$brand-primary: #fe5000; $brand-primary: #fe5000;
$primary: $brand-primary; $primary: $brand-primary;
$brand-success: #00bb31; $brand-success: #00bb31;
$success: $brand-success; $success: $brand-success;
$brand-info: #5bc0de; $brand-info: #5bc0de;
$info: $brand-info; $info: $brand-info;
$brand-warning: #febb00; $brand-warning: #febb00;
$warning: $brand-warning; $warning: $brand-warning;
$brand-danger: #bb3100; $brand-danger: #bb3100;
$danger: $brand-danger; $danger: $brand-danger;
//== Scaffolding //== Scaffolding
$body-bg: #000; $body-bg: #000;
$text-color: $gray-lighter; $text-color: $gray-lighter;
//== Buttons //== Buttons
$btn-color: $gray-lighter; $btn-color: $gray-lighter;
$btn-default-bg: lighten($gray-dark, 10%); $btn-default-bg: lighten($gray-dark, 10%);
$btn-primary-color: $black; $btn-primary-color: $black;
$btn-primary-border: darken($btn-default-bg, 10%); $btn-primary-border: darken($btn-default-bg, 10%);
$btn-success-color: $black; $btn-success-color: $black;
$btn-success-border: darken($btn-default-bg, 10%); $btn-success-border: darken($btn-default-bg, 10%);
$btn-info-color: $black; $btn-info-color: $black;
$btn-info-border: darken($btn-default-bg, 10%); $btn-info-border: darken($btn-default-bg, 10%);
$btn-warning-color: $black; $btn-warning-color: $black;
$btn-warning-border: darken($btn-default-bg, 10%); $btn-warning-border: darken($btn-default-bg, 10%);
$btn-danger-border: darken($btn-default-bg, 10%);
$btn-danger-border: darken($btn-default-bg, 10%);
//== Forms //== Forms
$input-bg: $gray-darker; $input-bg: $gray-darker;
$input-bg-disabled: darken($gray-dark, 10%); $input-bg-disabled: darken($gray-dark, 10%);
$input-group-addon-bg: $gray-lighter; $input-group-addon-bg: $gray-lighter;
//== Pagination //== Pagination
$pagination-color: $black; $pagination-color: $black;
$pagination-hover-color: $black; $pagination-hover-color: $black;
$pagination-active-color: $black; $pagination-active-color: $black;
//== Labels //== Labels
$label-color: #000; $label-color: #000;
$label-link-hover-color: $gray-dark; $label-link-hover-color: $gray-dark;
//== Badges //== Badges
$badge-color: $black; $badge-color: $black;
//== Type //== Type
$headings-small-color: $gray-light; $headings-small-color: $gray-light;
// Bootswatch // Bootswatch
// ----------------------------------------------------- // -----------------------------------------------------
@import "cyborg_variables.scss"; @import 'cyborg_variables.scss';
@import "cyborg_styles.scss"; @import 'cyborg_styles.scss';
// Forms ====================================================================== // Forms ======================================================================
.input-group-addon { .input-group-addon {

View File

@ -1,118 +1,116 @@
// rc3 violet // rc3 violet
//== Colors //== Colors
@import "dark"; @import 'dark';
$gray-darker: #100e23; $gray-darker: #100e23;
$gray-dark: lighten($gray-darker, 15%); $gray-dark: lighten($gray-darker, 15%);
$gray: lighten($gray-dark, 15%); $gray: lighten($gray-dark, 15%);
$gray-light: lighten($gray, 15%); $gray-light: lighten($gray, 15%);
$gray-lighter: lighten($gray-light, 15%); $gray-lighter: lighten($gray-light, 15%);
$black: #000; $black: #000;
$brand-primary: #6800e7; $brand-primary: #6800e7;
$primary: $brand-primary; $primary: $brand-primary;
$brand-success: #05b9ec; $brand-success: #05b9ec;
$secondary: #3a327e; $secondary: #3a327e;
$success: $brand-success; $success: $brand-success;
$brand-info: #670295; $brand-info: #670295;
$info: $brand-info; $info: $brand-info;
$brand-warning: #fff900; $brand-warning: #fff900;
$warning: $brand-warning; $warning: $brand-warning;
$brand-danger: #b239ff; $brand-danger: #b239ff;
$danger: $brand-danger; $danger: $brand-danger;
//== Scaffolding //== Scaffolding
$body-bg: #000; $body-bg: #000;
$text-color: $gray-lighter; $text-color: $gray-lighter;
$link-color: #fff; $link-color: #fff;
//== Typography //== Typography
@font-face { @font-face {
font-family: 'Montserrat'; font-family: 'Montserrat';
src: url('theme13/Montserrat-Regular.woff2') format('woff2'), src: url('theme13/Montserrat-Regular.woff2') format('woff2'), url('theme13/Montserrat-Regular.woff') format('woff');
url('theme13/Montserrat-Regular.woff') format('woff'); font-weight: normal;
font-weight: normal; font-style: normal;
font-style: normal; font-display: swap;
font-display: swap;
} }
@font-face { @font-face {
font-family: 'Orbitron'; font-family: 'Orbitron';
src: url('theme13/Orbitron-Regular.woff2') format('woff2'), src: url('theme13/Orbitron-Regular.woff2') format('woff2'), url('theme13/Orbitron-Regular.woff') format('woff');
url('theme13/Orbitron-Regular.woff') format('woff'); font-weight: normal;
font-weight: normal; font-style: normal;
font-style: normal; font-display: swap;
font-display: swap;
} }
$font-family-sans-serif: 'Montserrat', Helvetica Neue, Helvetica, Arial, sans-serif; $font-family-sans-serif: 'Montserrat', Helvetica Neue, Helvetica, Arial, sans-serif;
$font-family-serif: 'Orbitron', Georgia, "Times New Roman", Times, serif; $font-family-serif: 'Orbitron', Georgia, 'Times New Roman', Times, serif;
$headings-font-family: $font-family-serif; $headings-font-family: $font-family-serif;
//== Buttons //== Buttons
$btn-color: #fff; $btn-color: #fff;
$btn-default-bg: lighten($gray-dark, 10%); $btn-default-bg: lighten($gray-dark, 10%);
$btn-primary-color: #fff; $btn-primary-color: #fff;
$btn-primary-border: darken($btn-default-bg, 10%); $btn-primary-border: darken($btn-default-bg, 10%);
$btn-success-color: #fff; $btn-success-color: #fff;
$btn-success-border: darken($btn-default-bg, 10%); $btn-success-border: darken($btn-default-bg, 10%);
$btn-info-color: #fff; $btn-info-color: #fff;
$btn-info-border: darken($btn-default-bg, 10%); $btn-info-border: darken($btn-default-bg, 10%);
$btn-warning-color: #fff; $btn-warning-color: #fff;
$btn-warning-border: darken($btn-default-bg, 10%); $btn-warning-border: darken($btn-default-bg, 10%);
$btn-danger-color: #fff; $btn-danger-color: #fff;
$btn-danger-border: darken($btn-default-bg, 10%); $btn-danger-border: darken($btn-default-bg, 10%);
//== Forms //== Forms
$input-bg: $gray-darker; $input-bg: $gray-darker;
$input-bg-disabled: darken($gray-dark, 10%); $input-bg-disabled: darken($gray-dark, 10%);
$input-group-addon-bg: $gray-lighter; $input-group-addon-bg: $gray-lighter;
//== Pagination //== Pagination
$pagination-color: $black; $pagination-color: $black;
$pagination-hover-color: $black; $pagination-hover-color: $black;
$pagination-active-color: $black; $pagination-active-color: $black;
//== Form states and alerts //== Form states and alerts
$state-success-text: #fff; $state-success-text: #fff;
$state-info-text: #fff; $state-info-text: #fff;
$state-warning-text: #fff; $state-warning-text: #fff;
$state-danger-text: #fff; $state-danger-text: #fff;
//== Labels //== Labels
$label-link-hover-color: $gray-dark; $label-link-hover-color: $gray-dark;
//== Badges //== Badges
$badge-color: $black; $badge-color: $black;
//== Type //== Type
$headings-small-color: $gray-light; $headings-small-color: $gray-light;
// Bootswatch // Bootswatch
// ----------------------------------------------------- // -----------------------------------------------------
@import "cyborg_variables.scss"; @import 'cyborg_variables.scss';
@import "cyborg_styles.scss"; @import 'cyborg_styles.scss';
// Forms ====================================================================== // Forms ======================================================================
.input-group-addon { .input-group-addon {
@ -133,12 +131,23 @@ body {
} }
.navbar.navbar-default { .navbar.navbar-default {
background: rgba(0,0,0,0.8); background: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(6px); backdrop-filter: blur(6px);
} }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { h1,
&.bg-warning { h2,
color: #000; h3,
} h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
&.bg-warning {
color: #000;
}
} }

View File

@ -1,118 +1,116 @@
// rc3 teal // rc3 teal
//== Colors //== Colors
@import "dark"; @import 'dark';
$gray-darker: #0e1c23; $gray-darker: #0e1c23;
$gray-dark: lighten($gray-darker, 15%); $gray-dark: lighten($gray-darker, 15%);
$gray: lighten($gray-dark, 15%); $gray: lighten($gray-dark, 15%);
$gray-light: lighten($gray, 15%); $gray-light: lighten($gray, 15%);
$gray-lighter: lighten($gray-light, 15%); $gray-lighter: lighten($gray-light, 15%);
$black: #000; $black: #000;
$brand-primary: #05b9ec; $brand-primary: #05b9ec;
$primary: $brand-primary; $primary: $brand-primary;
$secondary: #32657e; $secondary: #32657e;
$brand-success: #02fae0; $brand-success: #02fae0;
$success: $brand-success; $success: $brand-success;
$brand-info: #025d83; $brand-info: #025d83;
$info: $brand-info; $info: $brand-info;
$brand-warning: #6800e7; $brand-warning: #6800e7;
$warning: $brand-warning; $warning: $brand-warning;
$brand-danger: #b239ff; $brand-danger: #b239ff;
$danger: $brand-danger; $danger: $brand-danger;
//== Scaffolding //== Scaffolding
$body-bg: #000; $body-bg: #000;
$text-color: $gray-lighter; $text-color: $gray-lighter;
$link-color: #fff; $link-color: #fff;
//== Typography //== Typography
@font-face { @font-face {
font-family: 'Montserrat'; font-family: 'Montserrat';
src: url('theme13/Montserrat-Regular.woff2') format('woff2'), src: url('theme13/Montserrat-Regular.woff2') format('woff2'), url('theme13/Montserrat-Regular.woff') format('woff');
url('theme13/Montserrat-Regular.woff') format('woff'); font-weight: normal;
font-weight: normal; font-style: normal;
font-style: normal; font-display: swap;
font-display: swap;
} }
@font-face { @font-face {
font-family: 'Orbitron'; font-family: 'Orbitron';
src: url('theme13/Orbitron-Regular.woff2') format('woff2'), src: url('theme13/Orbitron-Regular.woff2') format('woff2'), url('theme13/Orbitron-Regular.woff') format('woff');
url('theme13/Orbitron-Regular.woff') format('woff'); font-weight: normal;
font-weight: normal; font-style: normal;
font-style: normal; font-display: swap;
font-display: swap;
} }
$font-family-sans-serif: 'Montserrat', Helvetica Neue, Helvetica, Arial, sans-serif; $font-family-sans-serif: 'Montserrat', Helvetica Neue, Helvetica, Arial, sans-serif;
$font-family-serif: 'Orbitron', Georgia, "Times New Roman", Times, serif; $font-family-serif: 'Orbitron', Georgia, 'Times New Roman', Times, serif;
$headings-font-family: $font-family-serif; $headings-font-family: $font-family-serif;
//== Buttons //== Buttons
$btn-color: #fff; $btn-color: #fff;
$btn-default-bg: lighten($gray-dark, 10%); $btn-default-bg: lighten($gray-dark, 10%);
$btn-primary-color: #fff; $btn-primary-color: #fff;
$btn-primary-border: darken($btn-default-bg, 10%); $btn-primary-border: darken($btn-default-bg, 10%);
$btn-success-color: #fff; $btn-success-color: #fff;
$btn-success-border: darken($btn-default-bg, 10%); $btn-success-border: darken($btn-default-bg, 10%);
$btn-info-color: #fff; $btn-info-color: #fff;
$btn-info-border: darken($btn-default-bg, 10%); $btn-info-border: darken($btn-default-bg, 10%);
$btn-warning-color: #fff; $btn-warning-color: #fff;
$btn-warning-border: darken($btn-default-bg, 10%); $btn-warning-border: darken($btn-default-bg, 10%);
$btn-danger-color: #fff; $btn-danger-color: #fff;
$btn-danger-border: darken($btn-default-bg, 10%); $btn-danger-border: darken($btn-default-bg, 10%);
//== Forms //== Forms
$input-bg: $gray-darker; $input-bg: $gray-darker;
$input-bg-disabled: darken($gray-dark, 10%); $input-bg-disabled: darken($gray-dark, 10%);
$input-group-addon-bg: $gray-lighter; $input-group-addon-bg: $gray-lighter;
//== Pagination //== Pagination
$pagination-color: $black; $pagination-color: $black;
$pagination-hover-color: $black; $pagination-hover-color: $black;
$pagination-active-color: $black; $pagination-active-color: $black;
//== Form states and alerts //== Form states and alerts
$state-success-text: #fff; $state-success-text: #fff;
$state-info-text: #fff; $state-info-text: #fff;
$state-warning-text: #fff; $state-warning-text: #fff;
$state-danger-text: #fff; $state-danger-text: #fff;
//== Labels //== Labels
$label-link-hover-color: $gray-dark; $label-link-hover-color: $gray-dark;
//== Badges //== Badges
$badge-color: $black; $badge-color: $black;
//== Type //== Type
$headings-small-color: $gray-light; $headings-small-color: $gray-light;
// Bootswatch // Bootswatch
// ----------------------------------------------------- // -----------------------------------------------------
@import "cyborg_variables.scss"; @import 'cyborg_variables.scss';
@import "cyborg_styles.scss"; @import 'cyborg_styles.scss';
// Forms ====================================================================== // Forms ======================================================================
.input-group-addon { .input-group-addon {
@ -133,6 +131,6 @@ body {
} }
.navbar.navbar-default { .navbar.navbar-default {
background: rgba(0,0,0,0.8); background: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(6px); backdrop-filter: blur(6px);
} }

View File

@ -1,43 +1,43 @@
// rc3 2021 // rc3 2021
//== Colors //== Colors
@import "dark"; @import 'dark';
$gray-darker: #000; $gray-darker: #000;
$gray-dark: lighten($gray-darker, 15%); $gray-dark: lighten($gray-darker, 15%);
$gray: lighten($gray-dark, 15%); $gray: lighten($gray-dark, 15%);
$gray-light: lighten($gray, 15%); $gray-light: lighten($gray, 15%);
$gray-lighter: lighten($gray-light, 15%); $gray-lighter: lighten($gray-light, 15%);
$black: #000; $black: #000;
$brand-primary: #000; $brand-primary: #000;
$primary: $brand-primary; $primary: $brand-primary;
$secondary: rgba(0, 0, 0, 0.5); $secondary: rgba(0, 0, 0, 0.5);
$dark: #000; $dark: #000;
$brand-success: #070; $brand-success: #070;
$success: $brand-success; $success: $brand-success;
$brand-info: $gray; $brand-info: $gray;
$info: $brand-info; $info: $brand-info;
$brand-warning: #dd0; $brand-warning: #dd0;
$warning: $brand-warning; $warning: $brand-warning;
$brand-danger: #700; $brand-danger: #700;
$danger: $brand-danger; $danger: $brand-danger;
$table-bg: rgba(0, 0, 0, 0.5); $table-bg: rgba(0, 0, 0, 0.5);
$body-color: #fff; $body-color: #fff;
//== Scaffolding //== Scaffolding
$body-bg: #000; $body-bg: #000;
$text-color: #fff; $text-color: #fff;
$link-color: #fff; $link-color: #fff;
//== Typography //== Typography
@font-face { @font-face {
font-family: 'Space Mono'; font-family: 'Space Mono';
src: url('theme15/SpaceMono-BoldItalic.woff2') format('woff2'), src: url('theme15/SpaceMono-BoldItalic.woff2') format('woff2'),
url('theme15/SpaceMono-BoldItalic.woff') format('woff'); url('theme15/SpaceMono-BoldItalic.woff') format('woff');
font-weight: bold; font-weight: bold;
font-style: italic; font-style: italic;
font-display: swap; font-display: swap;
@ -45,8 +45,7 @@ $link-color: #fff;
@font-face { @font-face {
font-family: 'Space Mono'; font-family: 'Space Mono';
src: url('theme15/SpaceMono-Regular.woff2') format('woff2'), src: url('theme15/SpaceMono-Regular.woff2') format('woff2'), url('theme15/SpaceMono-Regular.woff') format('woff');
url('theme15/SpaceMono-Regular.woff') format('woff');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
font-display: swap; font-display: swap;
@ -54,25 +53,23 @@ $link-color: #fff;
@font-face { @font-face {
font-family: 'Space Mono'; font-family: 'Space Mono';
src: url('theme15/SpaceMono-Bold.woff2') format('woff2'), src: url('theme15/SpaceMono-Bold.woff2') format('woff2'), url('theme15/SpaceMono-Bold.woff') format('woff');
url('theme15/SpaceMono-Bold.woff') format('woff');
font-weight: bold; font-weight: bold;
font-style: normal; font-style: normal;
font-display: swap; font-display: swap;
} }
@font-face { @font-face {
font-family: 'Changa'; font-family: 'Changa';
src: url('theme15/Changa-SemiBold.woff2') format('woff2'), src: url('theme15/Changa-SemiBold.woff2') format('woff2'), url('theme15/Changa-SemiBold.woff') format('woff');
url('theme15/Changa-SemiBold.woff') format('woff'),; font-weight: normal;
font-weight: normal; font-style: normal;
font-style: normal; font-display: swap;
font-display: swap;
} }
$font-family-sans-serif: 'Space Mono', Helvetica Neue, Helvetica, Arial, sans-serif; $font-family-sans-serif: 'Space Mono', Helvetica Neue, Helvetica, Arial, sans-serif;
$font-family-serif: 'Changa', Georgia, "Times New Roman", Times, serif; $font-family-serif: 'Changa', Georgia, 'Times New Roman', Times, serif;
$headings-font-family: $font-family-serif; $headings-font-family: $font-family-serif;
//== Buttons //== Buttons
@ -81,41 +78,41 @@ $headings-font-family: $font-family-serif;
} }
.btn.btn-secondary { .btn.btn-secondary {
background-color: rgba(0,0,0,0.5); background-color: rgba(0, 0, 0, 0.5);
} }
//== Forms //== Forms
$input-bg: $gray-darker; $input-bg: $gray-darker;
$input-bg-disabled: darken($gray-dark, 10%); $input-bg-disabled: darken($gray-dark, 10%);
$input-group-addon-bg: $gray-lighter; $input-group-addon-bg: $gray-lighter;
//== Pagination //== Pagination
$pagination-color: #fff; $pagination-color: #fff;
$pagination-hover-color: #fff; $pagination-hover-color: #fff;
$pagination-active-color: #fff; $pagination-active-color: #fff;
//== Form states and alerts //== Form states and alerts
$state-success-text: #fff; $state-success-text: #fff;
$state-info-text: #fff; $state-info-text: #fff;
$state-warning-text: #fff; $state-warning-text: #fff;
$state-danger-text: #fff; $state-danger-text: #fff;
//== Labels //== Labels
$label-link-hover-color: $gray-dark; $label-link-hover-color: $gray-dark;
//== Badges //== Badges
$badge-color: $black; $badge-color: $black;
.badge.bg-primary { .badge.bg-primary {
color: #fff; color: #fff;
@ -128,12 +125,12 @@ $badge-color: $black;
//== Type //== Type
$headings-small-color: $gray-light; $headings-small-color: $gray-light;
// Bootswatch // Bootswatch
// ----------------------------------------------------- // -----------------------------------------------------
@import "cyborg_variables.scss"; @import 'cyborg_variables.scss';
@import "cyborg_styles.scss"; @import 'cyborg_styles.scss';
// Forms ====================================================================== // Forms ======================================================================
.input-group-addon { .input-group-addon {
@ -154,7 +151,11 @@ body {
background-size: cover; background-size: cover;
} }
h1, h2, h3, h4, h5 { h1,
h2,
h3,
h4,
h5 {
text-transform: lowercase; text-transform: lowercase;
letter-spacing: 0.05em; letter-spacing: 0.05em;
} }
@ -164,11 +165,11 @@ h1, h2, h3, h4, h5 {
} }
.navbar { .navbar {
background: rgba(0,0,0,0.5); background: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(6px); backdrop-filter: blur(6px);
} }
.footer a{ .footer a {
color: #fff; color: #fff;
} }
@ -189,7 +190,7 @@ h1, h2, h3, h4, h5 {
} }
.stats { .stats {
background-color:rgba(0, 0, 0, 0.5); background-color: rgba(0, 0, 0, 0.5);
margin: 1em 0; margin: 1em 0;
padding: 1em 0; padding: 1em 0;
height: 200px; height: 200px;

View File

@ -1,39 +1,50 @@
// cccamp15 // cccamp15
@import "light"; @import 'light';
$brand-primary: #758499; $brand-primary: #758499;
$primary: #758499; $primary: #758499;
$brand-success: #7b9c41; $brand-success: #7b9c41;
$success: #7b9c41; $success: #7b9c41;
$brand-info: #9c7357; $brand-info: #9c7357;
$info: #9c7357; $info: #9c7357;
$brand-warning: #e3a14d; $brand-warning: #e3a14d;
$warning: #e3a14d; $warning: #e3a14d;
$brand-danger: #7f528b; $brand-danger: #7f528b;
$danger: #7f528b; $danger: #7f528b;
$link-color: #58585a; $link-color: #58585a;
$state-success-text: #638232; $state-success-text: #638232;
$state-success-bg: lighten($brand-success,50%); $state-success-bg: lighten($brand-success, 50%);
$state-success-border: $brand-success; $state-success-border: $brand-success;
$state-info-text: #826045; $state-info-text: #826045;
$state-info-bg: lighten($brand-info,50%); $state-info-bg: lighten($brand-info, 50%);
$state-info-border: $brand-info; $state-info-border: $brand-info;
$state-warning-text: #bc8640; $state-warning-text: #bc8640;
$state-warning-bg: lighten($brand-warning,50%); $state-warning-bg: lighten($brand-warning, 50%);
$state-warning-border: $brand-warning; $state-warning-border: $brand-warning;
$state-danger-text: #694374; $state-danger-text: #694374;
$state-danger-bg: lighten($brand-danger,50%); $state-danger-bg: lighten($brand-danger, 50%);
$state-danger-border: $brand-danger; $state-danger-border: $brand-danger;
@import "base.scss"; @import 'base.scss';
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { h1,
&.bg-danger { h2,
color: #fff; h3,
} h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
&.bg-danger {
color: #fff;
}
} }

View File

@ -1,49 +1,49 @@
// 32c3 (2015) // 32c3 (2015)
@import "light"; @import 'light';
$brand-primary: #f19224; $brand-primary: #f19224;
$primary: #f19224; $primary: #f19224;
$brand-success: #39AB50; $brand-success: #39ab50;
$success: #39AB50; $success: #39ab50;
$brand-info: #6618F9; $brand-info: #6618f9;
$info: #6618F9; $info: #6618f9;
$brand-warning: #DAD216; $brand-warning: #dad216;
$warning: #DAD216; $warning: #dad216;
$brand-danger: #DA1639; $brand-danger: #da1639;
$danger: #DA1639; $danger: #da1639;
$state-success-text: $brand-success; $state-success-text: $brand-success;
$state-success-bg: lighten($brand-success,40%); $state-success-bg: lighten($brand-success, 40%);
$state-success-border: $brand-success; $state-success-border: $brand-success;
$state-info-text: $brand-info; $state-info-text: $brand-info;
$state-info-bg: lighten($brand-info,40%); $state-info-bg: lighten($brand-info, 40%);
$state-info-border: $brand-info; $state-info-border: $brand-info;
$state-warning-text: $brand-warning; $state-warning-text: $brand-warning;
$state-warning-bg: lighten($brand-warning,40%); $state-warning-bg: lighten($brand-warning, 40%);
$state-warning-border: $brand-warning; $state-warning-border: $brand-warning;
$state-danger-text: $brand-danger; $state-danger-text: $brand-danger;
$state-danger-bg: lighten($brand-danger,40%); $state-danger-bg: lighten($brand-danger, 40%);
$state-danger-border: $brand-danger; $state-danger-border: $brand-danger;
$navbar-default-color: #fff; $navbar-default-color: #fff;
$navbar-default-bg: #000; $navbar-default-bg: #000;
$navbar-default-border: #000; $navbar-default-border: #000;
$navbar-default-link-color: #fff; $navbar-default-link-color: #fff;
$navbar-default-link-hover-color: #ddd; $navbar-default-link-hover-color: #ddd;
$navbar-default-link-hover-bg: #222; $navbar-default-link-hover-bg: #222;
$navbar-default-link-active-color: $brand-primary; $navbar-default-link-active-color: $brand-primary;
$navbar-default-link-active-bg: #000; $navbar-default-link-active-bg: #000;
$navbar-default-link-disabled-color:#777; $navbar-default-link-disabled-color: #777;
$navbar-default-link-disabled-bg: #000; $navbar-default-link-disabled-bg: #000;
$navbar-default-brand-color: #fff; $navbar-default-brand-color: #fff;
$navbar-default-brand-hover-color: $brand-primary; $navbar-default-brand-hover-color: $brand-primary;
$navbar-default-brand-hover-bg: #000; $navbar-default-brand-hover-bg: #000;
.navbar { .navbar {
.bg-info { .bg-info {
@ -66,10 +66,21 @@ $navbar-default-brand-hover-bg: #000;
} }
} }
@import "base.scss"; @import 'base.scss';
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { h1,
&.bg-info { h2,
color: #fff; h3,
} h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
&.bg-info {
color: #fff;
}
} }

View File

@ -1,100 +1,93 @@
// 33c3 (2016) // 33c3 (2016)
@import "dark"; @import 'dark';
// Variables // Variables
//== changed Colors //== changed Colors
$gray-dark: #282828; $gray-dark: #282828;
$gray-darker: #222; $gray-darker: #222;
$gray-light: #888; $gray-light: #888;
$gray-lighter: #ADAFAE; $gray-lighter: #adafae;
$brand-primary: rgb(0, 156, 139); $brand-primary: rgb(0, 156, 139);
$primary: rgb(0, 156, 139); $primary: rgb(0, 156, 139);
$secondary: #424242; $secondary: #424242;
$brand-success: rgb(141, 193, 35); $brand-success: rgb(141, 193, 35);
$success: rgb(141, 193, 35); $success: rgb(141, 193, 35);
$brand-info: rgb(70, 71, 73); $brand-info: rgb(70, 71, 73);
$info: rgb(70, 71, 73); $info: rgb(70, 71, 73);
$brand-warning: rgb(255, 244, 95); $brand-warning: rgb(255, 244, 95);
$warning: rgb(255, 244, 95); $warning: rgb(255, 244, 95);
$brand-danger: rgb(277, 38, 60); $brand-danger: rgb(277, 38, 60);
$danger: rgb(277, 38, 60); $danger: rgb(277, 38, 60);
$text-muted: lighten($gray-light, 25%); $text-muted: lighten($gray-light, 25%);
//== changed Scaffolding //== changed Scaffolding
$body-bg: #1d1d1b; $body-bg: #1d1d1b;
$alert-bg-scale: 0%; $alert-bg-scale: 0%;
//== changed Buttons //== changed Buttons
$btn-color: #fff; $btn-color: #fff;
$btn-default-bg: lighten($gray-dark, 10%); $btn-default-bg: lighten($gray-dark, 10%);
$btn-primary-border: darken($btn-default-bg, 10%); $btn-primary-border: darken($btn-default-bg, 10%);
$btn-success-border: darken($btn-default-bg, 10%); $btn-success-border: darken($btn-default-bg, 10%);
$btn-info-border: darken($btn-default-bg, 10%); $btn-info-border: darken($btn-default-bg, 10%);
$btn-warning-border: darken($btn-default-bg, 10%); $btn-warning-border: darken($btn-default-bg, 10%);
$btn-danger-border: darken($btn-default-bg, 10%);
$btn-danger-border: darken($btn-default-bg, 10%);
//== changed Forms //== changed Forms
$input-bg: $gray-darker; $input-bg: $gray-darker;
$input-bg-disabled: $gray-lighter; $input-bg-disabled: $gray-lighter;
$input-group-addon-bg: $gray-lighter;
$input-group-addon-bg: $gray-lighter;
//== Pagination //== Pagination
$pagination-hover-color: #fff; $pagination-hover-color: #fff;
$pagination-active-color: #fff;
$pagination-active-color: #fff;
//== changed Form states and alerts //== changed Form states and alerts
$state-success-text: #fff; $state-success-text: #fff;
$state-success-bg: $brand-success; $state-success-bg: $brand-success;
$state-success-border: darken($state-success-bg, 5%); $state-success-border: darken($state-success-bg, 5%);
$state-info-text: #fff; $state-info-text: #fff;
$state-info-bg: $brand-info; $state-info-bg: $brand-info;
$state-info-border: darken($state-info-bg, 7%); $state-info-border: darken($state-info-bg, 7%);
$state-warning-text: darken($brand-warning, 40%); $state-warning-text: darken($brand-warning, 40%);
$state-warning-bg: $brand-warning; $state-warning-bg: $brand-warning;
$state-warning-border: darken($state-warning-bg, 3%); $state-warning-border: darken($state-warning-bg, 3%);
$state-danger-text: #fff;
$state-danger-bg: $brand-danger;
$state-danger-border: darken($state-danger-bg, 3%);
$state-danger-text: #fff;
$state-danger-bg: $brand-danger;
$state-danger-border: darken($state-danger-bg, 3%);
//== changed Badges //== changed Badges
$badge-color: #fff; $badge-color: #fff;
//== changed Type //== changed Type
$headings-small-color: $gray-light; $headings-small-color: $gray-light;
// Bootswatch // Bootswatch
// ----------------------------------------------------- // -----------------------------------------------------
@import "cyborg_variables.scss"; @import 'cyborg_variables.scss';
@import "cyborg_styles.scss"; @import 'cyborg_styles.scss';
// added Forms ====================================================================== // added Forms ======================================================================
@ -117,8 +110,19 @@ code {
color: $state-info-text; color: $state-info-text;
} }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { h1,
&.bg-warning { h2,
color: #000; h3,
} h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
&.bg-warning {
color: #000;
}
} }

View File

@ -1,43 +1,54 @@
// 34c3 light (2017) // 34c3 light (2017)
@import "light"; @import 'light';
$brand-primary: rgb(164, 28, 49); $brand-primary: rgb(164, 28, 49);
$primary: rgb(164, 28, 49); $primary: rgb(164, 28, 49);
$brand-success: rgb(153, 204, 0); $brand-success: rgb(153, 204, 0);
$success: rgb(153, 204, 0); $success: rgb(153, 204, 0);
$brand-info: rgb(0, 204, 255); $brand-info: rgb(0, 204, 255);
$info: rgb(0, 204, 255); $info: rgb(0, 204, 255);
$brand-warning: rgb(255, 255, 51); $brand-warning: rgb(255, 255, 51);
$warning: rgb(255, 255, 51); $warning: rgb(255, 255, 51);
$brand-danger: rgb(255, 102, 0); $brand-danger: rgb(255, 102, 0);
$danger: rgb(255, 102, 0); $danger: rgb(255, 102, 0);
$link-color: $brand-primary; $link-color: $brand-primary;
$state-success-text: darken($brand-success,40%); $state-success-text: darken($brand-success, 40%);
$state-success-bg: lighten($brand-success,40%); $state-success-bg: lighten($brand-success, 40%);
$state-success-border: $brand-success; $state-success-border: $brand-success;
$state-info-text: darken($brand-info,40%); $state-info-text: darken($brand-info, 40%);
$state-info-bg: lighten($brand-info,40%); $state-info-bg: lighten($brand-info, 40%);
$state-info-border: $brand-info; $state-info-border: $brand-info;
$state-warning-text: darken($brand-warning,40%); $state-warning-text: darken($brand-warning, 40%);
$state-warning-bg: $brand-warning; $state-warning-bg: $brand-warning;
$state-warning-border: darken($brand-warning,40%); $state-warning-border: darken($brand-warning, 40%);
$state-danger-text: darken($brand-danger,40%); $state-danger-text: darken($brand-danger, 40%);
$state-danger-bg: lighten($brand-danger,40%); $state-danger-bg: lighten($brand-danger, 40%);
$state-danger-border: $brand-danger; $state-danger-border: $brand-danger;
.badge.bg-warning { .badge.bg-warning {
color: #000; color: #000;
} }
@import "base.scss"; @import 'base.scss';
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { h1,
&.bg-primary { h2,
color: #fff; h3,
} h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
&.bg-primary {
color: #fff;
}
} }

View File

@ -1,107 +1,101 @@
// 34c3 dark (2017) // 34c3 dark (2017)
// Variables // Variables
// -------------------------------------------------- // --------------------------------------------------
@import "dark"; @import 'dark';
//== changed Colors //== changed Colors
$gray-dark: #282828; $gray-dark: #282828;
$gray-light: #888; $gray-light: #888;
$gray-darker: #222; $gray-darker: #222;
$gray-lighter: #ADAFAE; $gray-lighter: #adafae;
$brand-primary: rgb(164, 28, 49); $brand-primary: rgb(164, 28, 49);
$primary: rgb(164, 28, 49); $primary: rgb(164, 28, 49);
$brand-success: rgb(153, 204, 0); $brand-success: rgb(153, 204, 0);
$success: rgb(153, 204, 0); $success: rgb(153, 204, 0);
$brand-info: rgb(0, 204, 255); $brand-info: rgb(0, 204, 255);
$info: rgb(0, 204, 255); $info: rgb(0, 204, 255);
$brand-warning: rgb(255, 255, 51); $brand-warning: rgb(255, 255, 51);
$warning: rgb(255, 255, 51); $warning: rgb(255, 255, 51);
$brand-danger: rgb(255, 102, 0); $brand-danger: rgb(255, 102, 0);
$danger: rgb(255, 102, 0); $danger: rgb(255, 102, 0);
$secondary: #424242; $secondary: #424242;
$alert-bg-scale: 0%; $alert-bg-scale: 0%;
.badge.bg-warning, .progress-bar.progress-bar-warning { .badge.bg-warning,
.progress-bar.progress-bar-warning {
color: #000; color: #000;
} }
//== changed Buttons //== changed Buttons
$btn-color: #fff; $btn-color: #fff;
$btn-default-bg: lighten($gray-dark, 10%); $btn-default-bg: lighten($gray-dark, 10%);
$btn-primary-border: darken($btn-default-bg, 10%); $btn-primary-border: darken($btn-default-bg, 10%);
$btn-success-border: $btn-primary-border; $btn-success-border: $btn-primary-border;
$btn-info-border: $btn-primary-border; $btn-info-border: $btn-primary-border;
$btn-warning-border: $btn-primary-border; $btn-warning-border: $btn-primary-border;
$btn-danger-border: $btn-primary-border; $btn-danger-border: $btn-primary-border;
$btn-link-disabled-color: $gray-light;
$btn-link-disabled-color: $gray-light;
//== changed Forms //== changed Forms
$input-bg: $gray-darker; $input-bg: $gray-darker;
$input-bg-disabled: $gray-lighter; $input-bg-disabled: $gray-lighter;
$input-group-addon-bg: $gray-lighter;
$input-group-addon-bg: $gray-lighter;
//== changed Pagination //== changed Pagination
$pagination-hover-color: #fff; $pagination-hover-color: #fff;
$pagination-active-color: #fff;
$pagination-active-color: #fff;
//== changed Form states and alerts //== changed Form states and alerts
$state-success-text: #fff; $state-success-text: #fff;
$state-success-bg: $brand-success; $state-success-bg: $brand-success;
$state-success-border: darken($state-success-bg, 5%); $state-success-border: darken($state-success-bg, 5%);
$state-info-text: #fff; $state-info-text: #fff;
$state-info-bg: $brand-info; $state-info-bg: $brand-info;
$state-info-border: darken($state-info-bg, 7%); $state-info-border: darken($state-info-bg, 7%);
$state-warning-text: #000; $state-warning-text: #000;
$state-warning-bg: $brand-warning; $state-warning-bg: $brand-warning;
$state-warning-border: darken($state-warning-bg, 3%); $state-warning-border: darken($state-warning-bg, 3%);
$state-danger-text: #fff;
$state-danger-bg: $brand-danger;
$state-danger-border: darken($state-danger-bg, 3%);
$state-danger-text: #fff;
$state-danger-bg: $brand-danger;
$state-danger-border: darken($state-danger-bg, 3%);
//== changed List group //== changed List group
$list-group-bg: darken($gray-darker, 10%); $list-group-bg: darken($gray-darker, 10%);
//== changed Badges //== changed Badges
$badge-color: #fff; $badge-color: #fff;
//== changed Type //== changed Type
$headings-small-color: $gray-light; $headings-small-color: $gray-light;
// Bootswatch // Bootswatch
// ----------------------------------------------------- // -----------------------------------------------------
@import "cyborg_variables.scss"; @import 'cyborg_variables.scss';
@import "cyborg_styles.scss"; @import 'cyborg_styles.scss';
// Typography ================================================================= // Typography =================================================================
@ -152,8 +146,19 @@ code {
color: $input-color; color: $input-color;
} }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { h1,
&.bg-warning { h2,
color: #000; h3,
} h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
&.bg-warning {
color: #000;
}
} }

View File

@ -2,154 +2,142 @@
// Variables // Variables
// -------------------------------------------------- // --------------------------------------------------
@import "dark"; @import 'dark';
$gray-darker: #000; $gray-darker: #000;
$gray-dark: #000; $gray-dark: #000;
$gray: #4d4d4c; // BEBOOT $gray: #4d4d4c; // BEBOOT
$gray-light: $gray; $gray-light: $gray;
$gray-lighter: lighten($gray, 15%); $gray-lighter: lighten($gray, 15%);
$brand-primary: #0084b0; // FRESH $brand-primary: #0084b0; // FRESH
$primary: #0084b0; $primary: #0084b0;
$brand-success: #00a356; // HOPE $brand-success: #00a356; // HOPE
$success: #00a356; // HOPE $success: #00a356; // HOPE
$brand-info: $brand-primary; $brand-info: $brand-primary;
$info: $brand-primary; $info: $brand-primary;
$brand-warning: #f9b000; // GLINT $brand-warning: #f9b000; // GLINT
$warning: #f9b000; // GLINT $warning: #f9b000; // GLINT
$brand-danger: #e40429; // BEAT $brand-danger: #e40429; // BEAT
$danger: #e40429; // BEAT $danger: #e40429; // BEAT
//== changed Scaffolding //== changed Scaffolding
$text-color: $gray-lighter; $text-color: $gray-lighter;
$body-bg: #000; $body-bg: #000;
$body-color: $text-color; $body-color: $text-color;
$link-color: $brand-primary; $link-color: $brand-primary;
$link-hover-color: lighten($link-color, 10%); $link-hover-color: lighten($link-color, 10%);
//== changed Typography //== changed Typography
$headings-color: $brand-primary; $headings-color: $brand-primary;
//== changed Tables //== changed Tables
$table-bg: $gray-darker; $table-bg: $gray-darker;
$table-bg-accent: #111; $table-bg-accent: #111;
$table-border-color: $gray; $table-border-color: $gray;
// component // component
$component-active-color: #fff; $component-active-color: #fff;
$component-active-bg: $primary; $component-active-bg: $primary;
//== changed Buttons //== changed Buttons
$btn-color: $link-color; $btn-color: $link-color;
$btn-default-bg: $gray-darker; $btn-default-bg: $gray-darker;
$btn-default-border: $brand-primary; $btn-default-border: $brand-primary;
$btn-primary-color: $gray-darker; $btn-primary-color: $gray-darker;
$btn-primary-border: $brand-primary; $btn-primary-border: $brand-primary;
$btn-success-border: darken($btn-default-bg, 10%); $btn-success-border: darken($btn-default-bg, 10%);
$btn-info-color: $gray-darker; $btn-info-color: $gray-darker;
$btn-info-border: darken($btn-default-bg, 10%); $btn-info-border: darken($btn-default-bg, 10%);
$btn-warning-color: $gray-darker; $btn-warning-color: $gray-darker;
$btn-warning-border: darken($btn-default-bg, 9%); $btn-warning-border: darken($btn-default-bg, 9%);
$btn-danger-color: $gray-darker; $btn-danger-color: $gray-darker;
$btn-danger-border: darken($btn-default-bg, 10%); $btn-danger-border: darken($btn-default-bg, 10%);
//== changed Forms //== changed Forms
$input-bg: $gray-darker; $input-bg: $gray-darker;
$input-color: $link-color; $input-color: $link-color;
$input-border-color: $brand-primary; $input-border-color: $brand-primary;
$input-group-addon-bg: $gray-lighter; $input-group-addon-bg: $gray-lighter;
//== changed Dropdowns //== changed Dropdowns
$dropdown-border: $brand-primary; $dropdown-border: $brand-primary;
$dropdown-fallback-border: $brand-primary; $dropdown-fallback-border: $brand-primary;
$dropdown-divider-bg: $dropdown-border; $dropdown-divider-bg: $dropdown-border;
$dropdown-link-color: $link-color; $dropdown-link-color: $link-color;
$dropdown-link-hover-color: $link-hover-color; $dropdown-link-hover-color: $link-hover-color;
$dropdown-bg: $gray-darker; $dropdown-bg: $gray-darker;
$dropdown-link-hover-bg: $dropdown-bg; $dropdown-link-hover-bg: $dropdown-bg;
//== changed Navbar //== changed Navbar
$navbar-default-border: $brand-primary; $navbar-default-border: $brand-primary;
$navbar-default-link-hover-color: $link-hover-color; $navbar-default-link-hover-color: $link-hover-color;
$navbar-default-link-active-color: $brand-primary; $navbar-default-link-active-color: $brand-primary;
$navbar-default-brand-color: $brand-primary; $navbar-default-brand-color: $brand-primary;
$navbar-default-brand-hover-color: lighten($brand-primary, 10%); $navbar-default-brand-hover-color: lighten($brand-primary, 10%);
//== changed Pagination //== changed Pagination
$pagination-color: $brand-primary; $pagination-color: $brand-primary;
$pagination-border: $brand-primary; $pagination-border: $brand-primary;
$pagination-hover-color: $gray-darker; $pagination-hover-color: $gray-darker;
$pagination-hover-bg: $component-active-bg; $pagination-hover-bg: $component-active-bg;
$pagination-hover-border: $pagination-border; $pagination-hover-border: $pagination-border;
$pagination-active-color: $pagination-hover-color; $pagination-active-color: $pagination-hover-color;
$pagination-active-bg: $pagination-hover-bg; $pagination-active-bg: $pagination-hover-bg;
$pagination-active-border: $pagination-hover-border; $pagination-active-border: $pagination-hover-border;
//== changed Form states and alerts //== changed Form states and alerts
$state-success-text: $gray-darker; $state-success-text: $gray-darker;
$state-success-bg: $brand-success; $state-success-bg: $brand-success;
$state-success-border: darken($state-success-bg, 5%); $state-success-border: darken($state-success-bg, 5%);
$state-info-text: $gray-darker; $state-info-text: $gray-darker;
$state-info-bg: $brand-info; $state-info-bg: $brand-info;
$state-info-border: darken($state-info-bg, 7%); $state-info-border: darken($state-info-bg, 7%);
$state-warning-text: $gray-darker; $state-warning-text: $gray-darker;
$state-warning-bg: $brand-warning; $state-warning-bg: $brand-warning;
$state-warning-border: darken($state-warning-bg, 3%); $state-warning-border: darken($state-warning-bg, 3%);
$state-danger-text: $gray-darker; $state-danger-text: $gray-darker;
$state-danger-bg: $brand-danger; $state-danger-bg: $brand-danger;
$state-danger-border: darken($state-danger-bg, 3%); $state-danger-border: darken($state-danger-bg, 3%);
//== changed Labels //== changed Labels
$label-color: $gray-darker; $label-color: $gray-darker;
$label-link-hover-color: $brand-primary; $label-link-hover-color: $brand-primary;
//== changed Type //== changed Type
$headings-small-color: $gray-light; $headings-small-color: $gray-light;
$alert-bg-scale: 0%; $alert-bg-scale: 0%;
$alert-border-scale: 0; $alert-border-scale: 0;
$alert-color-scale: 0; $alert-color-scale: 0;
@import "cyborg_variables.scss"; @import 'cyborg_variables.scss';
@import "cyborg_styles.scss"; @import 'cyborg_styles.scss';
.messages .text-danger { .messages .text-danger {
color: $gray-darker; color: $gray-darker;
@ -232,9 +220,18 @@ table,
// changed Indicators ================================================================= // changed Indicators =================================================================
.alert { .alert {
.h1,
.h1, .h2, .h3, .h4, .h5, .h6, .h2,
h1, h2, h3, h4, h5, h6 { .h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
color: #fff; color: #fff;
} }
@ -251,8 +248,9 @@ table,
// changed Containers ================================================================= // changed Containers =================================================================
.btn-primary, .card-info .card-heading { .btn-primary,
background-image: linear-gradient(to right, rgb(0, 132, 176) , rgb(0, 163, 86)); .card-info .card-heading {
background-image: linear-gradient(to right, rgb(0, 132, 176), rgb(0, 163, 86));
} }
.btn-secondary { .btn-secondary {
@ -277,7 +275,18 @@ code {
color: $state-info-text; color: $state-info-text;
} }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
code { code {
color: $headings-color; color: $headings-color;
} }
@ -287,6 +296,6 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
&.bg-success, &.bg-success,
&.bg-danger, &.bg-danger,
&.bg-info { &.bg-info {
color: #fff; color: #fff;
} }
} }

View File

@ -1,24 +1,24 @@
// cccamp19 blue (2019) // cccamp19 blue (2019)
// Variables // Variables
@import "dark"; @import 'dark';
//== changed Colors //== changed Colors
$gray-dark: #282828; $gray-dark: #282828;
$gray-light: #888; $gray-light: #888;
$gray-lighter: #ADAFAE; $gray-lighter: #adafae;
$brand-primary: #0076ba; $brand-primary: #0076ba;
$primary: #0076ba; $primary: #0076ba;
$text-muted: $primary; $text-muted: $primary;
@import "cyborg_variables.scss"; @import 'cyborg_variables.scss';
@import "cyborg_styles.scss"; @import 'cyborg_styles.scss';
// Specials for cccamp19 design // Specials for cccamp19 design
@import "card-glow"; @import 'card-glow';
.navbar-brand { .navbar-brand {
.icon-icon_angel { .icon-icon_angel {
@ -28,13 +28,8 @@ $text-muted: $primary;
strong { strong {
font-weight: normal; font-weight: normal;
color: $brand-primary; color: $brand-primary;
text-shadow: text-shadow: 0 0 10px $brand-primary, 0 0 20px $brand-primary, 0 0 30px $brand-primary, 0 0 40px $brand-primary,
0 0 10px $brand-primary, 0 0 70px $brand-primary, 0 0 80px $brand-primary;
0 0 20px $brand-primary,
0 0 30px $brand-primary,
0 0 40px $brand-primary,
0 0 70px $brand-primary,
0 0 80px $brand-primary;
} }
} }
@ -56,8 +51,19 @@ h1 {
} }
} }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { h1,
&.bg-warning { h2,
color: #000; h3,
} h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
&.bg-warning {
color: #000;
}
} }

View File

@ -2,24 +2,24 @@
// Variables // Variables
// -------------------------------------------------- // --------------------------------------------------
@import "dark"; @import 'dark';
//== changed Colors //== changed Colors
$gray-dark: #282828; $gray-dark: #282828;
$gray-light: #888; $gray-light: #888;
$gray-lighter: #ADAFAE; $gray-lighter: #adafae;
$brand-primary: #ffc600; $brand-primary: #ffc600;
$primary: $brand-primary; $primary: $brand-primary;
$text-muted: $primary; $text-muted: $primary;
@import "cyborg_variables.scss"; @import 'cyborg_variables.scss';
@import "cyborg_styles.scss"; @import 'cyborg_styles.scss';
// Specials for cccamp19 design // Specials for cccamp19 design
@import "card-glow"; @import 'card-glow';
.navbar-brand { .navbar-brand {
.icon-icon_angel { .icon-icon_angel {
@ -29,13 +29,8 @@ $text-muted: $primary;
strong { strong {
font-weight: normal; font-weight: normal;
color: $brand-primary; color: $brand-primary;
text-shadow: text-shadow: 0 0 10px $brand-primary, 0 0 20px $brand-primary, 0 0 30px $brand-primary, 0 0 40px $brand-primary,
0 0 10px $brand-primary, 0 0 70px $brand-primary, 0 0 80px $brand-primary;
0 0 20px $brand-primary,
0 0 30px $brand-primary,
0 0 40px $brand-primary,
0 0 70px $brand-primary,
0 0 80px $brand-primary;
} }
} }
@ -57,9 +52,20 @@ h1 {
} }
} }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { h1,
&.bg-primary, h2,
&.bg-warning { h3,
color: #000; h4,
} h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
&.bg-primary,
&.bg-warning {
color: #000;
}
} }

View File

@ -2845,6 +2845,11 @@ prelude-ls@^1.2.1:
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==
prettier@^2.8.1:
version "2.8.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.1.tgz#4e1fd11c34e2421bc1da9aea9bd8127cd0a35efc"
integrity sha512-lqGoSJBQNJidqCHE80vqZJHWHRFoNYsSpP9AjFhlhi9ODCJA541svILes/+/1GM3VaL/abZi7cpFzOpdR9UPKg==
pseudomap@^1.0.2: pseudomap@^1.0.2:
version "1.0.2" version "1.0.2"
resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3"