discord-client/webpack/scss/container.scss

66 lines
1.2 KiB
SCSS
Raw Normal View History

2018-03-21 17:44:27 +00:00
@import 'constants';
#WRAPPER > div.container{
display: block;
position: absolute;
top: 0;
left: #{$menu-width + $dialog-width};
width: calc( 100% - #{$menu-width + $dialog-width} );
height: 100%;
background-color: $container-bg;
/* (1) Container HEADER */
& > div.header{
display: flex;
2018-03-21 17:44:27 +00:00
position: absolute;
top: 0;
left: 0;
width: 100%;
height: $header-height;
border-bottom: #{$bb-height} solid darken($container-bg, 5%);
box-shadow: 0 #{$bb-offset - $bb-height} 0 darken($container-bg, 2%);
z-index: 200;
flex-direction: row;
justify-content: space-between;
flex-wrap: nowrap;
// {1} Title //
& > div.title{
display: inline-block;
position: relative;
padding: .2em .5em;
padding-left: 1.3em;
margin-left: .7em;
font-weight: bold;
background: url('../asset/svg/dialog.text.svg') left center no-repeat;
background-size: auto 60%;
align-self: center;
}
2018-03-21 17:44:27 +00:00
}
/* (2) Container BODY */
& > div.body{
display: block;
position: absolute;
top: calc( #{$header-height} + #{$bb-offset} );
left: 0;
width: 100%;
height: calc( 100% - #{$header-height} - #{$bb-offset} );
background-color: $container-bg;
z-index: 100;
}
}