mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-02-24 07:08:40 +08:00

Some checks failed
analyse-php / build (push) Has been cancelled
lint-js / build (push) Has been cancelled
lint-php / build (push) Has been cancelled
test-js / build (push) Has been cancelled
test-migrations / build (8.1) (push) Has been cancelled
test-migrations / build (8.2) (push) Has been cancelled
test-migrations / build (8.3) (push) Has been cancelled
test-php / build (8.1) (push) Has been cancelled
test-php / build (8.2) (push) Has been cancelled
test-php / build (8.3) (push) Has been cancelled
Changes the name of our spacing variables due to the prefixing -/_ meaning private in the use of new "use" rather than include. All now modular too, so all variables/mixins are accessed via their package. Also renamed variables file to vars for simpler/cleaner access/writing. eg. '$-m' is now 'vars.$m'
35 lines
528 B
SCSS
35 lines
528 B
SCSS
@use "mixins";
|
|
@use "vars";
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
outline-color: var(--color-primary);
|
|
outline-width: 1px;
|
|
}
|
|
|
|
*:focus {
|
|
outline-style: dotted;
|
|
}
|
|
|
|
html {
|
|
height: 100%;
|
|
overflow-y: scroll;
|
|
background-color: #F2F2F2;
|
|
&.flexbox {
|
|
overflow-y: hidden;
|
|
}
|
|
&.dark-mode {
|
|
background-color: #111;
|
|
}
|
|
}
|
|
|
|
body {
|
|
font-size: vars.$fs-m;
|
|
line-height: 1.6;
|
|
@include mixins.lightDark(color, #444, #AAA);
|
|
-webkit-font-smoothing: antialiased;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|