68 lines
1.1 KiB
SCSS
Raw Normal View History

@import '~app/components/ui/colors.scss';
@import '~app/components/ui/fonts.scss';
$toolbarHeight: 50px;
2016-01-03 23:18:42 +02:00
.root {
2020-05-24 02:08:24 +03:00
height: 100%;
}
.viewPort {
2020-05-24 02:08:24 +03:00
height: 100%;
transition: filter 0.4s 0.1s ease;
2016-01-03 23:18:42 +02:00
}
.isPopupActive {
2020-05-24 02:08:24 +03:00
filter: blur(5px);
}
2016-01-03 23:18:42 +02:00
.wrapper {
2020-05-24 02:08:24 +03:00
max-width: 756px;
margin: 0 auto;
2016-01-03 23:18:42 +02:00
}
.toolbar {
2020-05-24 02:08:24 +03:00
position: fixed;
top: 0;
z-index: 100;
height: $toolbarHeight;
2020-05-24 02:08:24 +03:00
width: 100%;
background: $green;
2016-01-03 23:18:42 +02:00
}
.toolbarContent {
2020-05-24 02:08:24 +03:00
composes: wrapper;
position: relative;
2016-01-03 23:18:42 +02:00
}
.siteName {
2020-05-24 02:08:24 +03:00
line-height: 50px;
padding: 0 20px;
display: inline-block;
background: darker($green);
border-bottom: none;
2020-05-24 02:08:24 +03:00
font-family: $font-family-title;
font-size: 33px;
color: #fff!important; // TODO: why?
}
.userBar {
position: absolute;
right: 0;
left: 115px;
top: 0;
text-align: right;
2016-01-03 23:18:42 +02:00
}
.body {
2020-05-24 02:08:24 +03:00
// TODO: должны ли мы здесь описать базовый шрифт, его размер и базовую линию?
composes: wrapper;
position: relative;
2016-01-03 23:18:42 +02:00
2020-05-24 02:08:24 +03:00
min-height: 100%;
box-sizing: border-box;
padding-top: $toolbarHeight; // space for the toolbar
2016-01-03 23:18:42 +02:00
}