Commit bb198077 authored by David Lucadou's avatar David Lucadou

Added new themes and updated existing ones with more information

parent fd27bd70
Pipeline #61346952 failed with stage
in 11 minutes and 57 seconds
......@@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file.
## [0.8.8] - 2019-??-??
### Added
- Three new themes - Minty, Midnight, and Whiteout
- Tests for the new themes
- Ability to disable Oauth entirely via config file (#7)
- Ability to disable specific Oauth providers via config file (#7)
......
......@@ -3,6 +3,7 @@
/*@import "themes/dark/darkly_variables";
*@import "themes/dark/darkly_bootswatch";
* Not entirely sure I need these, the site seems just fine without them.
* Downloaded from: https://bootswatch.com/ (theme: Darkly)
*/
/* Make table text more readable */
......
@import "application";
@import "themes/midnight/midnight_bootstrap";
/*@import "themes/midnight/midnight_variables";
*@import "themes/midnight/midnight_bootswatch";
* Not entirely sure I need these...
* Downloaded from: https://bootswatch.com/ (theme: Cyborg)
*/
@import "application";
@import "themes/minty/minty_bootstrap";
/*@import "themes/minty/minty_variables";
*@import "themes/minty/minty_bootswatch";
* Not entirely sure I need these...
* Downloaded from: https://bootswatch.com/ (theme: Minty)
*/
......@@ -3,6 +3,7 @@
/*@import "themes/solarized/solarized_variables";
*@import "themes/solarized/solarized_bootswatch";
* Not entirely sure I need these...
* Downloaded from: https://bootswatch.com/ (theme: Solar)
*/
nav.navbar.navbar-dark.bg-primary.navbar-expand-sm {
......
......@@ -3,4 +3,5 @@
/*@import "themes/ubuntu/ubuntu_variables";
*@import "themes/ubuntu/ubuntu_bootswatch";
* Not entirely sure I need these...
* Downloaded from: https://bootswatch.com/ (theme: United)
*/
@import "application";
@import "themes/whiteout/whiteout_bootstrap";
/*@import "themes/whiteout/whiteout_variables";
*@import "themes/whiteout/whiteout_bootswatch";
* Not entirely sure I need these...
* Downloaded from: https://bootswatch.com/ (theme: Litera)
*/
This diff is collapsed.
// Cyborg 4.3.1
// Bootswatch
// Variables ===================================================================
$web-font-path: "https://fonts.googleapis.com/css?family=Roboto:400,700" !default;
@import url($web-font-path);
// Navbar ======================================================================
.navbar {
&.bg-primary {
border: 1px solid $gray-700;
}
&.bg-dark {
background-color: $body-bg !important;
border: 1px solid $gray-700;
}
&.bg-light {
background-color: $gray-500 !important;
}
&.fixed-top {
border-width: 0 0 1px 0;
}
&.fixed-bottom {
border-width: 1px 0 0 0;
}
}
// Buttons =====================================================================
.btn {
@each $color, $value in $theme-colors {
&-#{$color} {
@if $enable-gradients {
background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
} @else {
background-color: $value;
}
}
}
}
// Typography ==================================================================
// Tables ======================================================================
table {
color: #fff;
}
.table {
&-primary {
&, > th, > td {
background-color: $primary;
}
}
&-secondary {
&, > th, > td {
background-color: $secondary;
}
}
&-light {
&, > th, > td {
background-color: $light;
}
}
&-dark {
&, > th, > td {
background-color: $dark;
}
}
&-success {
&, > th, > td {
background-color: $success;
}
}
&-info {
&, > th, > td {
background-color: $info;
}
}
&-danger {
&, > th, > td {
background-color: $danger;
}
}
&-warning {
&, > th, > td {
background-color: $warning;
}
}
&-active {
&, > th, > td {
background-color: $table-active-bg;
}
}
&-hover {
.table-primary:hover {
&, > th, > td {
background-color: darken($primary, 5%);
}
}
.table-secondary:hover {
&, > th, > td {
background-color: darken($secondary, 5%);
}
}
.table-light:hover {
&, > th, > td {
background-color: darken($light, 5%);
}
}
.table-dark:hover {
&, > th, > td {
background-color: darken($dark, 5%);
}
}
.table-success:hover {
&, > th, > td {
background-color: darken($success, 5%);
}
}
.table-info:hover {
&, > th, > td {
background-color: darken($info, 5%);
}
}
.table-danger:hover {
&, > th, > td {
background-color: darken($danger, 5%);
}
}
.table-warning:hover {
&, > th, > td {
background-color: darken($warning, 5%);
}
}
.table-active:hover {
&, > th, > td {
background-color: $table-active-bg;
}
}
}
}
// Forms =======================================================================
legend {
color: #fff;
}
// Navs ========================================================================
.nav-tabs,
.nav-pills {
.nav-link {
color: #fff;
&:hover {
background-color: $gray-700;
}
&.disabled,
&.disabled:hover {
background-color: transparent;
color: $nav-link-disabled-color;
}
&.active {
background-color: $primary;
}
}
}
.breadcrumb {
a {
color: #fff;
}
}
.pagination {
a:hover {
text-decoration: none;
}
}
// Indicators ==================================================================
.alert {
border: none;
color: $white;
a,
.alert-link {
color: #fff;
text-decoration: underline;
}
@each $color, $value in $theme-colors {
&-#{$color} {
@if $enable-gradients {
background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
} @else {
background-color: $value;
}
}
}
&-light {
&,
& a,
& .alert-link {
color: $body-bg;
}
}
}
.badge {
&-warning {
color: $white;
}
}
.close {
opacity: 0.6;
&:hover {
opacity: 1;
}
}
// Progress bars ===============================================================
// Containers ==================================================================
.list-group-item {
&:hover {
background-color: $gray-700;
color: #fff;
}
&-action {
color: $gray-500;
.list-group-item-heading {
color: $gray-500;
}
}
&:hover .list-group-item-heading {
color: #fff;
}
}
.card,
.list-group-item {
h1, h2, h3, h4, h5, h6 {
color: inherit;
}
}
.popover {
&-title {
border-bottom: none;
}
}
// Cyborg 4.3.1
// Bootswatch
//
// Color system
//
$white: #fff !default;
$gray-100: #f8f9fa !default;
$gray-200: #e9ecef !default;
$gray-300: #dee2e6 !default;
$gray-400: #ADAFAE !default;
$gray-500: #888 !default;
$gray-600: #555 !default;
$gray-700: #282828 !default;
$gray-800: #222 !default;
$gray-900: #212529 !default;
$black: #000 !default;
$blue: #2A9FD6 !default;
$indigo: #6610f2 !default;
$purple: #6f42c1 !default;
$pink: #e83e8c !default;
$red: #CC0000 !default;
$orange: #fd7e14 !default;
$yellow: #FF8800 !default;
$green: #77B300 !default;
$teal: #20c997 !default;
$cyan: #9933CC !default;
$primary: $blue !default;
$secondary: $gray-600 !default;
$success: $green !default;
$info: $cyan !default;
$warning: $yellow !default;
$danger: $red !default;
$light: $gray-800 !default;
$dark: $gray-400 !default;
$yiq-contrasted-threshold: 175 !default;
// Body
$body-bg: #060606 !default;
$body-color: $gray-500 !default;
// Fonts
$font-family-sans-serif: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !default;
$font-size-base: .875rem !default;
$h1-font-size: 4rem !default;
$h2-font-size: 3rem !default;
$h3-font-size: 2.5rem !default;
$h4-font-size: 2rem !default;
$h5-font-size: 1.5rem !default;
$headings-color: $white !default;
// Tables
$table-accent-bg: rgba($white,.05) !default;
$table-hover-bg: rgba($white,.075) !default;
$table-border-color: $gray-700 !default;
$table-dark-bg: $gray-500 !default;
$table-dark-border-color: darken($gray-500, 7.5%) !default;
$table-dark-color: $body-bg !default;
// Buttons
$input-btn-padding-x: 1rem !default;
// Forms
$input-disabled-bg: $gray-400 !default;
$input-border-color: transparent !default;
$input-group-addon-color: $white !default;
$input-group-addon-bg: $gray-700 !default;
$custom-file-color: $white !default;
$custom-file-border-color: $gray-700 !default;
// Dropdowns
$dropdown-bg: $gray-700 !default;
$dropdown-divider-bg: $gray-800 !default;
$dropdown-link-color: $white !default;
$dropdown-link-hover-color: $white !default;
$dropdown-link-hover-bg: $primary !default;
// Navs
$nav-tabs-border-color: $table-border-color !default;
$nav-tabs-link-hover-border-color: $nav-tabs-border-color !default;
$nav-tabs-link-active-color: $white !default;
$nav-tabs-link-active-bg: $nav-tabs-border-color !default;
$nav-tabs-link-active-border-color: $nav-tabs-border-color !default;
// Navbar
$navbar-dark-hover-color: $white !default;
// Pagination
$pagination-color: $white !default;
$pagination-bg: $gray-700 !default;
$pagination-border-color: transparent !default;
$pagination-hover-color: $white !default;
$pagination-hover-bg: $primary !default;
$pagination-hover-border-color: $pagination-border-color !default;
$pagination-disabled-bg: $pagination-bg !default;
$pagination-disabled-border-color: $pagination-border-color !default;
// Jumbotron
$jumbotron-bg: $gray-700 !default;
// Cards
$card-bg: $gray-700 !default;
// Tooltips
$tooltip-bg: $gray-700 !default;
$tooltip-opacity: 1 !default;
// Popovers
$popover-bg: $gray-700 !default;
// Modals
$modal-content-bg: $gray-800 !default;
$modal-header-border-color: $gray-700 !default;
// Progress bars
$progress-bg: $gray-700 !default;
// List group
$list-group-bg: $gray-800 !default;
$list-group-border-color: $gray-700 !default;
$list-group-hover-bg: $primary !default;
$list-group-disabled-bg: $gray-700 !default;
$list-group-action-active-bg: $primary !default;
// Breadcrumbs
$breadcrumb-bg: $gray-700 !default;
// Close
$close-color: $white !default;
$close-text-shadow: none !default;
// Code
$pre-color: inherit !default;
This diff is collapsed.
// Minty 4.3.1
// Bootswatch
// Variables ===================================================================
$web-font-path: "https://fonts.googleapis.com/css?family=Montserrat" !default;
@import url($web-font-path);
// Navbar ======================================================================
.navbar {
font-family: $headings-font-family;
}
.bg-dark {
background-color: $secondary !important;
}
.border-dark {
border-color: $secondary !important;
}
// Buttons =====================================================================
.btn {
font-family: $headings-font-family;
&,
&:hover {
color: $white;
}
&-light,
&-light:hover {
color: $gray-700;
}
&-link,
&-link:hover {
color: $primary;
}
&-link.disabled:hover {
color: $gray-600;
}
&-outline-primary {
color: $primary;
}
&-outline-secondary {
color: $secondary;
}
&-outline-success {
color: $success;
}
&-outline-info {
color: $info;
}
&-outline-warning {
color: $warning;
}
&-outline-danger {
color: $danger;
}
&-outline-dark {
color: $dark;
}
&-outline-light {
color: $light;
}
}
// Typography ==================================================================
// Tables ======================================================================
.table {
&-primary,
&-secondary,
&-success,
&-info,
&-warning,
&-danger {
color: #fff;
}
&-primary {
&, > th, > td {
background-color: $primary;
}
}
&-secondary {
&, > th, > td {
background-color: $secondary;
}
}
&-light {
&, > th, > td {
background-color: $light;
}
}
&-dark {
&, > th, > td {
background-color: $dark;
}
}
&-success {
&, > th, > td {
background-color: $success;
}
}
&-info {
&, > th, > td {
background-color: $info;
}
}
&-danger {
&, > th, > td {
background-color: $danger;
}
}
&-warning {
&, > th, > td {
background-color: $warning;
}
}
&-active {
&, > th, > td {
background-color: $table-active-bg;
}
}
&-hover {
.table-primary:hover {
&, > th, > td {
background-color: darken($primary, 5%);
}
}
.table-secondary:hover {
&, > th, > td {
background-color: darken($secondary, 5%);
}
}
.table-light:hover {
&, > th, > td {
background-color: darken($light, 5%);
}
}
.table-dark:hover {
&, > th, > td {
background-color: darken($dark, 5%);
}
}
.table-success:hover {
&, > th, > td {