2016-01-04 11:32:13 +05:30
|
|
|
|
@import '~components/ui/colors.scss';
|
|
|
|
|
@import '~components/ui/fonts.scss';
|
|
|
|
|
|
2016-01-15 14:44:15 +05:30
|
|
|
|
$userBarHeight: 50px;
|
|
|
|
|
|
2016-01-04 02:48:42 +05:30
|
|
|
|
.root {
|
2016-01-08 18:44:35 +05:30
|
|
|
|
height: 100%;
|
2016-06-04 13:09:24 +05:30
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.viewPort {
|
|
|
|
|
height: 100%;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
overflow-x: hidden;
|
2016-01-04 02:48:42 +05:30
|
|
|
|
}
|
|
|
|
|
|
2016-05-01 23:20:55 +05:30
|
|
|
|
.isPopupActive {
|
|
|
|
|
filter: blur(5px);
|
2016-06-05 21:42:48 +05:30
|
|
|
|
transition: filter 0.4s 0.1s ease;
|
2016-05-01 23:20:55 +05:30
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
2016-01-04 02:48:42 +05:30
|
|
|
|
.wrapper {
|
2016-02-06 16:17:51 +05:30
|
|
|
|
max-width: 756px;
|
2016-01-04 02:48:42 +05:30
|
|
|
|
margin: 0 auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.header {
|
2016-01-15 14:44:15 +05:30
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
z-index: 100;
|
|
|
|
|
height: $userBarHeight;
|
|
|
|
|
width: 100%;
|
2016-01-04 11:32:13 +05:30
|
|
|
|
background: $green;
|
2016-01-04 02:48:42 +05:30
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.headerContent {
|
|
|
|
|
composes: wrapper;
|
2016-06-05 16:30:43 +05:30
|
|
|
|
position: relative;
|
2016-01-04 02:48:42 +05:30
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
|
line-height: 50px;
|
|
|
|
|
padding: 0 20px;
|
|
|
|
|
display: inline-block;
|
2016-01-04 11:32:13 +05:30
|
|
|
|
background: darker($green);
|
|
|
|
|
|
2016-01-04 18:28:23 +05:30
|
|
|
|
font-family: $font-family-title;
|
2016-01-04 11:32:13 +05:30
|
|
|
|
font-size: 33px;
|
|
|
|
|
color: #fff;
|
2016-01-04 02:48:42 +05:30
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.body {
|
2016-03-04 02:56:22 +05:30
|
|
|
|
// TODO: должны ли мы здесь описать базовый шрифт, его размер и базовую линию?
|
2016-01-04 02:48:42 +05:30
|
|
|
|
composes: wrapper;
|
2016-01-08 18:44:35 +05:30
|
|
|
|
position: relative;
|
2016-01-04 02:48:42 +05:30
|
|
|
|
|
2016-01-08 18:44:35 +05:30
|
|
|
|
// place for header
|
|
|
|
|
min-height: 100%;
|
2016-05-28 01:53:53 +05:30
|
|
|
|
// hack to enable min-height/height 100% in parent elements
|
|
|
|
|
// http://stackoverflow.com/a/21836870/2039203
|
|
|
|
|
// http://stackoverflow.com/questions/2341821/height100-vs-min-height100
|
|
|
|
|
height: 0;
|
2016-01-08 18:44:35 +05:30
|
|
|
|
box-sizing: border-box;
|
2016-01-15 14:44:15 +05:30
|
|
|
|
padding-top: $userBarHeight;
|
2016-01-04 02:48:42 +05:30
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.userbar {
|
2016-06-05 16:30:43 +05:30
|
|
|
|
position: absolute;
|
|
|
|
|
right: 0;
|
|
|
|
|
left: 115px;
|
|
|
|
|
top: 0;
|
2016-01-04 02:48:42 +05:30
|
|
|
|
}
|