IW4M-Admin/WebfrontCore/wwwroot/css/bootstrap-custom.scss
2019-04-07 20:14:59 -05:00

292 lines
5.3 KiB
SCSS

$white: #fff !default;
$blue: #007ACC !default;
$red: rgba(255, 69, 69, 0.85) !default;
$green: rgba(116,147,99, 1) !default;
$orange: #fd7e14 !default;
$primary: $blue !default;
$secondary: $orange !default;
$light: rgb(204, 204, 204) !default;
$dark: rgb(24, 24, 24) !default;
$body-bg: rgb(34,34,34) !default;
$big-dark: #191919;
$body-color: $white !default;
$link-color: $white !default;
$link-decoration: none !default;
$link-hover-color: $primary !default;
$link-hover-decoration: none !default;
$font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Open Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$navbar-padding-y: 0 !default;
$navbar-nav-link-padding-x: 2rem !default;
$font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
$h5-font-size: $font-size-base * 1.25 !default;
$h1-font-size: $font-size-base * 2.5 !default;
$navbar-brand-font-size: $h1-font-size !default;
$navbar-toggler-font-size: $h5-font-size !default;
$navbar-dark-hover-color: $primary !default;
@import '../lib/bootstrap/scss/bootstrap.scss';
/*custom variables*/
/* bootstrap overrides */
.navbar-nav .nav-link:hover {
background-color: $body-bg;
}
nav.navbar-dark {
border-bottom: 1px solid $secondary;
}
a.nav-link {
padding: $spacer * 1.5;
}
.server-history-row {
height: 100px;
padding: 0 !important;
}
.canvasjs-chart-credit {
display: none;
}
.table thead th,
.table th,
.table td {
border: none;
}
.server-history,
.server-activity,
#mobile_seperator,
.border-bottom {
border-bottom: 1px solid $primary !important;
}
.server-history {
background-color: $big-dark;
}
.border-top {
border-top: 1px solid $primary !important;
}
#client_search {
background-color: #222222 !important;
border-radius: 0;
border: 1px solid $orange;
color: $white;
}
.server-join-button, .server-join-button:hover {
color: $white !important;
}
a.link-inverse {
color: $primary;
}
a.link-inverse:hover {
color: $white;
}
@media (min-width: 768px) {
.d-md-table-header-group {
display: table-header-group !important;
}
}
@media (min-width: 992px) {
.d-lg-table-header-group {
display: table-header-group !important;
}
}
#console_command_response {
min-height: 20rem;
}
#console_command_response hr {
border-color: #6c757d;
}
#console .form-control, #console button {
border-radius: 0;
border-color: $primary;
border-left: 0;
border-right: 0;
}
.close {
text-shadow: none !important;
}
.modal-footer {
border-top-color: $orange;
}
.modal-header {
border-bottom-color: $orange;
}
form *, select {
border-radius: 0 !important;
}
#penalty_filter_selection {
border-left: none !important;
border-right: none !important;
border-bottom: none !important;
border-top: 2px solid rgba(0, 122, 204, 0.5) !important;
}
.oi-fix-navbar {
line-height: 1.5 !important;
top: 0 !important;
font-size: 1rem !important;
}
@-webkit-keyframes rotation {
from {
-webkit-transform: rotate(359deg);
}
to {
-webkit-transform: rotate(0deg);
}
}
.layout-loading-icon {
position: fixed !important;
left: 50%;
top: 50% !important;
margin-left: -37px;
margin-top: -37px;
color: $primary;
z-index: 100;
font-size: 4rem;
-webkit-animation: rotation 1s infinite linear;
background-color: $black;
background-color: rgba(0, 0,0, 0.5);
border-radius: 40px;
padding: 5px;
visibility: hidden;
}
.loader-load-more {
border-radius: 0;
}
.input-border-transition {
-webkit-transition: border 500ms ease-out;
-moz-transition: border 500ms ease-out;
-o-transition: border 500ms ease-out;
}
.input-text-danger {
border-color: $red !important;
}
.form-control:focus {
box-shadow: none;
-webkit-box-shadow: none;
}
.dropdown-item {
border-bottom: 1px solid $secondary;
margin-top: -3px;
}
.striped > div:nth-child(even) {
background-color: rgba(0, 0, 0, 0.125);
}
.striped > div:nth-child(odd) {
background-color: rgba(0, 0, 0, 0.2);
}
.client-rating-graph {
min-height: 100px;
}
.client-rating-icon {
}
.client-rating-change-up, .client-rating-change-down {
font-size: 0.75rem;
}
.client-rating-change-amount {
font-size: 1rem;
}
.client-message, .automated-penalty-info-detailed, .oi {
cursor: pointer;
}
#footer_text {
font-size: 0.85rem;
}
.footer-mobile {
position: fixed;
bottom: 1em;
right: 1em;
}
.nav-tabs, .nav-tabs .nav-link.active {
color: $white;
color: $white !important;
border: none;
}
.nav-tabs .nav-link:hover {
color: $blue;
background-color: rgba(24, 24, 24, 0.75);
border: none;
}
.nav-tabs .nav-link {
border-radius: 0;
padding: 1.5rem;
color: #6c757d;
border: none;
min-width: 20rem;
background-color: #181818;
}
.nav-tabs .nav-link.active {
border: none;
background-color: $blue;
}
.nav-tabs .nav-link.active:hover {
background-color: rgba(0, 122, 204, 0.75);
}
.nav-tabs .nav-item {
margin-bottom: 0;
}
.mt-n1 {
margin-top: -0.25rem !important;
}
.mt-n2 {
margin-top: -0.5rem !important;
}
/* Configuration */
.configuration-form input[type='text'], .configuration-form input[type='number'] {
border: 1px solid $orange;
}
.hide {
display: none;
}