mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
112 lines
1.2 KiB
SCSS
112 lines
1.2 KiB
SCSS
@import '../constants/colors';
|
|
@import '../constants/dimensions';
|
|
|
|
html {
|
|
font-family: 'Open Sans', sans-serif;
|
|
font-size: $font-size;
|
|
}
|
|
|
|
html, body, #root {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
h1 {
|
|
font-size: $font-size-xxl;
|
|
}
|
|
|
|
h2 {
|
|
font-size: $font-size-xl;
|
|
}
|
|
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.text-left {
|
|
text-align: left !important;
|
|
}
|
|
|
|
.tall {
|
|
height: 100%;
|
|
}
|
|
|
|
.wide {
|
|
width: 100%;
|
|
}
|
|
|
|
.relative {
|
|
position: relative;
|
|
}
|
|
|
|
/* Make all font awesome icons the same width */
|
|
i.fa {
|
|
width: 1.1em;
|
|
text-align: center;
|
|
}
|
|
|
|
.faint {
|
|
opacity: $faint-opacity;
|
|
}
|
|
|
|
.no-wrap {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.wide {
|
|
width: 100%;
|
|
}
|
|
|
|
.block {
|
|
display: block !important;
|
|
}
|
|
|
|
.inline-block {
|
|
display: inline-block !important;
|
|
}
|
|
|
|
.hide-scrollbars {
|
|
&::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.scrollable {
|
|
overflow: scroll;
|
|
}
|
|
|
|
.hover-scrollbars {
|
|
&::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
&:hover::-webkit-scrollbar {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.stock-height {
|
|
height: $line-height-md;
|
|
}
|
|
|
|
strong {
|
|
font-weight: 600;
|
|
}
|
|
|
|
@media (max-width: $breakpoint-md) {
|
|
html {
|
|
font-size: $font-size * 0.95;
|
|
}
|
|
}
|
|
|
|
@media (max-width: $breakpoint-sm) {
|
|
html {
|
|
font-size: $font-size * 0.9;
|
|
}
|
|
}
|