react-toolbox/spec/style.scss

49 lines
895 B
SCSS
Raw Normal View History

2015-11-03 09:54:10 +03:00
$unit: 1rem;
$offset: 1.8 * $unit;
.app {
2015-11-03 09:54:10 +03:00
padding: (8.2 * $unit) $offset $offset $offset;
background-color: #f5f5f5;
section {
padding: $offset;
margin-bottom: $offset;
background-color: white;
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
}
.app_bar {
display: flex;
> h1 {
flex-grow: 1;
font-size: 1.8 * $unit;
font-weight: bold;
> small {
font-size: 1.8 * $unit;
font-weight: normal;
}
}
2015-11-03 09:54:10 +03:00
> small {
padding: (.5 * $unit) (.8 * $unit);
font-size: 1.2 * $unit;
background-color: rgba(0,0,0, .25);
}
}
2015-10-30 17:38:15 +03:00
2015-11-03 09:54:10 +03:00
.logo {
// height: $unit;
2015-10-30 17:38:15 +03:00
}