accounts-frontend/packages/app/pages/root/root.scss
ErickSkrauch 8075192472 Split the AccountSwitcher component on 2 independent implementations
Improve auth's ChooseAccount visual behavior
Rework the ComponentLoader component. Make it more stylable
2020-10-26 22:09:01 +03:00

68 lines
1.1 KiB
SCSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@import '~app/components/ui/colors.scss';
@import '~app/components/ui/fonts.scss';
$toolbarHeight: 50px;
.root {
height: 100%;
}
.viewPort {
height: 100%;
transition: filter 0.4s 0.1s ease;
}
.isPopupActive {
filter: blur(5px);
}
.wrapper {
max-width: 756px;
margin: 0 auto;
}
.toolbar {
position: fixed;
top: 0;
z-index: 100;
height: $toolbarHeight;
width: 100%;
background: $green;
}
.toolbarContent {
composes: wrapper;
position: relative;
}
.siteName {
line-height: 50px;
padding: 0 20px;
display: inline-block;
background: darker($green);
border-bottom: none;
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;
}
.body {
// TODO: должны ли мы здесь описать базовый шрифт, его размер и базовую линию?
composes: wrapper;
position: relative;
min-height: 100%;
box-sizing: border-box;
padding-top: $toolbarHeight; // space for the toolbar
}