// This is the default scss file, more specific styling is defined directly into components. // It it imported in `scr/App.vue` style tag. // Dependencies variables overrides and custom variables // Variables overrides are defined before actual SCSS imports @import 'variables'; // Dependencies SCSS imports // `~` allow to import a node_modules folder (resolved by Webpack) @import '~bootstrap/scss/bootstrap.scss'; @import '~bootstrap-vue/src/index.scss'; // Import fonts @import 'font'; @import '~fork-awesome/scss/fork-awesome.scss'; // Style overrides happens after dependencies imports html { min-height: 100vh; } body { overflow-x: hidden; min-height: 100vh; margin: 0; } #app { display: flex; flex-direction: column; min-height: 100vh } .menu-list .list-group-item { padding: $list-group-item-padding-y 0; display: flex; align-items: center; } // Bootstrap overrides // Overwrite list-group-item variants to lighter ones (used in diagnosis for example) @each $color, $value in $theme-colors { @include list-group-item-variant($color, theme-color-level($color, -11), theme-color-level($color, 6)); } // Add breakpoints for w-* @each $breakpoint in map-keys($grid-breakpoints) { @each $size, $length in $sizes { @include media-breakpoint-up($breakpoint) { .w-#{$breakpoint}-#{$size} { width: $length !important; } } } } // Allow state of input group to be displayed under the group .input-group .is-invalid ~ .invalid-feedback { display: block; } // Descriptive list ( elems with inside) .row-line { @include media-breakpoint-up(md) { &:hover { background-color: rgba(0, 0, 0, 0.05); border-radius: 0.2rem; } } @include media-breakpoint-down(sm) { flex-direction: column; &:not(:last-of-type) { margin-bottom: 0.5rem; padding-bottom: 0.5rem; border-bottom: $border-width solid $card-border-color; } } } .card + .card { margin-top: 2rem; } .card-deck .card + .card { margin-top: 0; } .card, .list-group-item { h1, h2, h3, h4, h5, h6 { margin: 0; } } .card-header, .list-group-item { h1, h2, h3, h4, h5, h6 { font-weight: $font-weight-normal; } } // collapse icon .not-collapsed > .icon { transform: rotate(-90deg); } .collapsed > .icon { transform: rotate(90deg); position: relative; top: 2px; } // Fork-awesome overrides .fa-fw { width: 1.25em !important; } // Do not display ligatures in invalid-feedback to avoid confusion. .invalid-feedback { code { font-variant-ligatures: none; } } code { background: ghostwhite; } .log { margin-bottom: 0; padding: 1rem; background-color: $light; }