react-toolbox/spec/style.scss

54 lines
1.0 KiB
SCSS
Raw Normal View History

2015-11-19 02:49:39 +03:00
$import-normalize: false;
$import-flex-attributes: true;
@import "../components/commons";
2015-11-04 12:55:08 +03:00
@import "../components/app_bar/config";
@import "../components/button/config";
2015-11-03 09:54:10 +03:00
$offset: 1.8 * $unit;
2015-11-04 12:55:08 +03:00
.app {
padding: (8.2 * $unit) $offset $offset;
2015-11-03 09:54:10 +03:00
background-color: #f5f5f5;
2015-11-05 13:28:42 +03:00
> section {
2015-11-03 09:54:10 +03:00
padding: $offset;
margin-bottom: $offset;
background-color: #fff;
2015-11-03 09:54:10 +03:00
box-shadow: 0 1px 2px rgba(0,0,0, 0.25);
> h5 {
color: rgb(48, 63, 159);
&:not(:first-child) {
margin-top: 2 * $offset;
}
}
> p {
margin: ($offset / 4) 0;
opacity: .6;
}
[data-react-toolbox='card'] {
display: inline-block;
margin: $offset $offset 0 0;
}
}
2015-11-03 09:54:10 +03:00
}
2015-11-04 12:55:08 +03:00
.github {
position: fixed;
top: $appbar-height - ($button-floating-height / 2);
right: $button-floating-height / 2;
z-index: $z-index-higher;
}
2015-11-05 13:28:42 +03:00
.appbar {
2015-11-03 09:54:10 +03:00
display: flex;
> h1 {
flex-grow: 1;
font-size: 1.8 * $unit;
font-weight: bold;
> small {
font-size: 1.8 * $unit;
font-weight: normal;
}
}
}