Fixes #2903 - Fix CSS imports so body and html styles are included from .scss files. Update body selector to have a font-family
This commit is contained in:
@@ -1,21 +1,3 @@
|
|||||||
html
|
|
||||||
{
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
*,
|
|
||||||
*:before,
|
|
||||||
*:after
|
|
||||||
{
|
|
||||||
box-sizing: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
body
|
|
||||||
{
|
|
||||||
margin: 0;
|
|
||||||
|
|
||||||
background: #fafafa;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wrapper
|
.wrapper
|
||||||
{
|
{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
18
src/style/_reset.scss
Normal file
18
src/style/_reset.scss
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
html
|
||||||
|
{
|
||||||
|
box-sizing: border-box;
|
||||||
|
overflow: -moz-scrollbars-vertical;
|
||||||
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
|
*,
|
||||||
|
*:before,
|
||||||
|
*:after
|
||||||
|
{
|
||||||
|
box-sizing: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background: #fafafa;
|
||||||
|
margin:0;
|
||||||
|
@include text_body()
|
||||||
|
}
|
||||||
@@ -1,9 +1,11 @@
|
|||||||
|
@import 'mixins';
|
||||||
|
@import 'variables';
|
||||||
|
@import 'colors';
|
||||||
|
@import 'type';
|
||||||
|
@import 'reset';
|
||||||
|
|
||||||
.swagger-ui
|
.swagger-ui
|
||||||
{
|
{
|
||||||
@import 'mixins';
|
|
||||||
@import 'variables';
|
|
||||||
@import 'colors';
|
|
||||||
@import 'type';
|
|
||||||
@import 'layout';
|
@import 'layout';
|
||||||
@import 'buttons';
|
@import 'buttons';
|
||||||
@import 'form';
|
@import 'form';
|
||||||
|
|||||||
Reference in New Issue
Block a user