lila/ui/chess/css/_variant-style.scss

36 lines
661 B
SCSS
Raw Permalink Normal View History

2019-05-12 23:44:17 -06:00
.variant-racingKings .cg-wrap {
2019-05-13 06:32:18 -06:00
&.cg-wrap cg-container::before {
2019-04-18 19:53:00 -06:00
@extend %popup-shadow;
background: hsla(0, 0%, 90%, 0.2);
2019-04-18 19:53:00 -06:00
width: 100%;
height: 12.5%;
content: '';
position: absolute;
left: 0;
z-index: 1;
2019-04-23 18:38:59 -06:00
pointer-events: none;
2019-04-18 19:53:00 -06:00
}
2019-05-13 06:32:18 -06:00
&.orientation-white cg-container::before {
2019-04-18 19:53:00 -06:00
top: 0;
}
2019-05-13 06:32:18 -06:00
&.orientation-black cg-container::before {
2019-04-18 19:53:00 -06:00
bottom: 0;
}
}
2019-04-18 19:57:59 -06:00
2019-05-13 06:32:18 -06:00
.variant-kingOfTheHill cg-container::before {
2019-04-18 19:57:59 -06:00
width: 25%;
height: 25%;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
background: hsla(0, 0%, 90%, 0.2);
2019-04-18 19:57:59 -06:00
content: '';
position: absolute;
top: 37.5%;
left: 37.5%;
z-index: 1;
2019-04-23 18:38:59 -06:00
pointer-events: none;
2019-04-18 19:57:59 -06:00
}