0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-30 11:02:38 +00:00
Files
homebrewery/client/naturalCrit/sidebar/sidebar.less
2015-11-15 16:28:17 -05:00

69 lines
1.1 KiB
Plaintext

@font-face {
font-family : CodeLight;
src : url('/assets/naturalCrit/sidebar/CODE Light.otf');
}
@font-face {
font-family : CodeBold;
src : url('/assets/naturalCrit/sidebar/CODE Bold.otf');
}
.sidebar{
.animateAll();
display : inline-block;
vertical-align : top;
box-sizing : border-box;
height : 100%;
width : 300px;
&.hide{
height : 50px;
width : 50px;
.logo .name{
left : -200px;
}
.contents{
opacity : 0;
}
}
.logo{
padding : 10px 10px;
background-color : @steel;
font-family : 'CodeLight', sans-serif;
font-size : 1.8em;
color : white;
svg{
vertical-align : middle;
height : 1em;
margin-right : 0.2em;
cursor : pointer;
fill : white;
}
span.name{
.animateAll();
position : absolute;
top : 13px;
left : 50px;
span.crit{
font-family : 'CodeBold';
}
}
}
.contents{
.animate(opacity);
width : 100%;
&>*{
width : 100%;
}
.encounterContainer{
.encounter{
&.selected{
background-color : @green;
}
}
}
}
}