accounts-frontend/packages/app/pages/root/root.scss

67 lines
1.1 KiB
SCSS
Raw Normal View History

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