poa-dapps-voting/src/assets/stylesheets/components/_App.scss

63 lines
1.1 KiB
SCSS
Raw Normal View History

.lo-App {
2018-12-20 15:07:03 -08:00
align-items: center;
display: flex;
flex-direction: column;
height: 100%;
padding-top: $header-height + $search-container-height;
width: 100%;
2019-01-02 11:43:40 -08:00
&#{ & }-no-search-bar {
padding-top: $header-height;
}
}
.lo-App_Content {
flex-grow: 1;
2018-12-20 15:07:03 -08:00
max-width: 100%;
padding-bottom: 30px;
position: relative;
z-index: 1;
&:before {
background-color: rgba($poa-purple, 0.5);
bottom: 0;
content: '';
display: none;
left: 0;
position: fixed;
right: 0;
top: 0;
z-index: 1234;
}
&#{ & }-mobile-menu-open {
&:before {
display: block;
}
}
&#{ & }-core {
&:before {
background-color: rgba($poa-purple, 0.5);
}
}
&#{ & }-sokol {
&:before {
background-color: rgba($sokol-cyan, 0.5);
}
}
&#{ & }-dai {
&:before {
2019-06-14 06:04:21 -07:00
background-color: rgba($xdai-green, 0.5);
}
}
2019-04-26 00:02:48 -07:00
&#{ & }-kovan {
&:before {
background-color: rgba($kovan-cyan, 0.5);
}
}
}