mirror of
				https://github.com/elyby/accounts-frontend.git
				synced 2025-05-31 14:11:58 +05:30 
			
		
		
		
	Improve auth's ChooseAccount visual behavior Rework the ComponentLoader component. Make it more stylable
		
			
				
	
	
		
			68 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			SCSS
		
	
	
	
	
	
			
		
		
	
	
			68 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			SCSS
		
	
	
	
	
	
@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
 | 
						||
}
 |