insomnia/app/css/layout/base.scss

112 lines
1.2 KiB
SCSS
Raw Normal View History

2016-03-23 05:26:27 +00:00
@import '../constants/colors';
@import '../constants/dimensions';
2016-03-16 05:49:42 +00:00
2016-03-23 05:58:16 +00:00
html {
font-family: 'Open Sans', sans-serif;
font-size: $font-size;
}
2016-03-16 05:49:42 +00:00
html, body, #root {
width: 100%;
2016-03-21 05:47:49 +00:00
height: 100%;
2016-03-16 05:49:42 +00:00
}
body {
margin: 0;
padding: 0;
}
h1 {
font-size: $font-size-xxl;
}
h2 {
font-size: $font-size-xl;
}
2016-03-16 23:34:25 +00:00
.text-center {
text-align: center;
2016-03-16 20:02:47 +00:00
}
2016-03-23 17:15:19 +00:00
.text-left {
text-align: left !important;
}
2016-03-21 05:47:49 +00:00
.tall {
height: 100%;
2016-04-06 04:21:42 +00:00
}
.wide {
width: 100%;
}
.relative {
position: relative;
2016-03-21 05:47:49 +00:00
}
2016-04-04 07:15:30 +00:00
/* 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;
}
2016-03-23 05:26:27 +00:00
.wide {
width: 100%;
}
2016-04-04 07:15:30 +00:00
.block {
display: block !important;
}
.inline-block {
display: inline-block !important;
}
2016-03-21 05:47:49 +00:00
.hide-scrollbars {
&::-webkit-scrollbar {
display: none;
}
}
2016-04-05 20:49:28 +00:00
.scrollable {
overflow: scroll;
}
2016-04-05 05:35:21 +00:00
.hover-scrollbars {
&::-webkit-scrollbar {
display: none;
}
&:hover::-webkit-scrollbar {
display: block;
}
}
2016-03-23 05:26:27 +00:00
.stock-height {
height: $line-height-md;
2016-03-22 06:03:43 +00:00
}
2016-03-16 23:34:25 +00:00
strong {
font-weight: 600;
2016-03-16 20:02:47 +00:00
}
2016-03-23 05:58:16 +00:00
@media (max-width: $breakpoint-md) {
2016-03-23 17:15:19 +00:00
html {
2016-03-23 05:58:16 +00:00
font-size: $font-size * 0.95;
}
}
@media (max-width: $breakpoint-sm) {
2016-03-23 17:15:19 +00:00
html {
2016-03-23 05:58:16 +00:00
font-size: $font-size * 0.9;
}
}