html {
height: 100%;
}
body {
min-height: 100%;
}
body {
background-color: $main-bg;
color: $text-color;
font-family: $sans-serif-family;
font-size: $font-size-base;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@if($style-scrollbar == true) {
@include scrollbars($scrollbar-width, $scrollbar-foreground, $scrollbar-background);
}
.main {
position: relative;
background: $main-bg;
}
/* Animations */
.nav-pills .nav-link,
.nav-item .nav-link,
.navbar,
.nav-tabs .nav-link {
@include transition(all $general-transition-time $transition-ease);
}
//transition for dropdown caret
.dropdown-toggle:after,
.bootstrap-switch-label:before {
@include transition(all $fast-transition-time $transition-ease);
}
.dropdown-toggle[aria-expanded='true']:after {
@include rotate-180();
}
.button-bar {
display: block;
position: relative;
border-radius: 1px;
background: $white-bg;
width: 22px;
height: 1px;
& + .button-bar {
margin-top: 7px;
}
&:nth-child(2) {
width: 17px;
}
}
.open {
@include opacity(1);
@include transform-translate-y(0);
visibility: visible;
}
.cover-image {
background-size: cover;
}
.help-block {
opacity: 0.5;
padding-top: 0.3rem;
padding-left: 1.25rem;
font-size: 70%;
}
.overflow-visible {
overflow: visible;
}
.separator {
margin: 20px auto;
background-color: $default-color;
width: 44px;
height: 2px;
&.separator-primary {
background-color: $primary-color;
}
}
.overflow-y-scroll {
overflow-y: scroll;
}
.overflow-visible {
overflow: visible !important;
}
.cursor-pointer {
cursor: pointer;
}
.shadow {
box-shadow: $general-shadow;
}
.light-shadow {
box-shadow: $light-shadow;
}
.inspect-mode {
display: flex;
position: fixed;
right: 30px;
bottom: 20px;
align-items: center;
justify-content: center;
transition: all 350ms;
z-index: 1000;
border: 3px solid #f5f5f5;
border-radius: 30px;
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
background-color: #6d7379;
cursor: pointer;
width: 50px;
height: 50px;
color: #fff;
font-size: 20px;
&:hover,
&:focus {
outline: none;
}
&:hover {
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}
&.on {
background-color: #232527;
font-size: 24px;
}
}
.inspect-target {
border: 4px solid red !important;
cursor: pointer !important;
}
.inspect-mode-bg {
display: flex;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
align-items: center;
justify-content: center;
z-index: 99999;
background-color: rgba(0, 0, 0, 0.8);
}
.inspector-modal {
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
border-radius: 8px;
background-color: #232527;
padding: 2rem;
width: 60%;
max-height: 90%;
textarea {
position: absolute;
left: -999999999999999999px;
}
pre {
background-color: black;
width: 100%;
overflow: scroll;
}
code {
outline: none;
width: 100%;
min-height: 400px;
white-space: pre;
color: white;
font-family: monospace;
}
}
.flex-grow-1 {
flex-grow: 1;
}
.flex-grow-2 {
flex-grow: 2;
}
.flex-basis-100 {
flex-basis: 100px;
}
.parallax-window {
min-height: 400px;
background: transparent;
}