/
githubmirror
/
tabler
Обзор
Документация
Войти
/
githubmirror
/
tabler
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
core/scss/layout/_core.scss
78 строк
2 KB
Bartosz-Do
Wire stylelint into the SCSS lint pipeline (#2794)
06 авг 2026, 01:46
Не верифицирован
06 авг 2026, 01:46
9cc9a36
Код
Авторство
О чём код?
@use 'sass:map'; @use '../config' as *; html { scrollbar-gutter: stable; @supports not (scrollbar-gutter: stable) { overflow-y: scroll; } } // stylelint-disable property-no-vendor-prefix body { position: relative; height: 100%; min-height: 100%; padding: 0; font-feature-settings: 'liga' 0, 'cv03', 'cv04', 'cv11'; letter-spacing: $body-letter-spacing; touch-action: manipulation; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; @include media-print() { background: transparent; } } @include scrollbar(); // // Fluid container // .layout-fluid { .container, [class^='container-'], [class*=' container-'] { max-width: 100%; } } // // Boxed container // .layout-boxed { --theme-boxed-border-radius: 0; --theme-boxed-width: #{map.get($container-max-widths, xxl)}; @include media-breakpoint-up(md) { padding: 1rem; background: $dark linear-gradient(to right, rgba(#fff, 0.1), transparent) fixed; --theme-boxed-border-radius: #{$border-radius}; } .page { max-width: var(--theme-boxed-width); margin: 0 auto; color: var(--body-color); @include border-radius(var(--theme-boxed-border-radius)); @include media-breakpoint-up(md) { background: var(--body-bg); border: var(--border-width) var(--border-style) var(--border-color); } > .navbar:first-child { border-start-start-radius: var(--theme-boxed-border-radius); border-start-end-radius: var(--theme-boxed-border-radius); } } }