accounts-frontend/packages/app/pages/root/root.scss
2021-03-26 04:19:04 +01:00

64 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;
display: flex;
}
.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; // Important to remove hover effect, which is inherited from the global <a> style
}
.userBar {
margin-inline-start: auto;
}
.body {
// TODO: должны ли мы здесь описать базовый шрифт, его размер и базовую линию?
composes: wrapper;
position: relative;
min-height: 100%;
box-sizing: border-box;
padding-top: $toolbarHeight; // space for the toolbar
}