force inner coords in col1-uniboard
This commit is contained in:
parent
552a2ba78e
commit
5858876692
|
@ -1,3 +1,5 @@
|
|||
@import 'inner-mixin';
|
||||
|
||||
coords {
|
||||
@extend %page-text;
|
||||
position: absolute;
|
||||
|
@ -33,7 +35,8 @@ coords {
|
|||
coord {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
@include breakpoint($mq-col1-uniboard) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@include breakpoint($mq-col1-uniboard) {
|
||||
@include inner-base;
|
||||
}
|
||||
|
|
22
ui/common/css/vendor/chessground/coords/_inner-mixin.scss
vendored
Normal file
22
ui/common/css/vendor/chessground/coords/_inner-mixin.scss
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
@mixin inner-base {
|
||||
coords {
|
||||
/* bypass display: none on $mq-col1-uniboard mobile can only have inside coords */
|
||||
display: flex !important;
|
||||
color: #fff;
|
||||
text-shadow: 0 1px 2px #000;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
&.files {
|
||||
bottom: 0px;
|
||||
left: 4px;
|
||||
text-align: left;
|
||||
}
|
||||
&.ranks {
|
||||
top: 1px;
|
||||
right: -2px;
|
||||
& coord {
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,24 +1,6 @@
|
|||
coords {
|
||||
/* bypass display: none on $mq-col1-uniboard
|
||||
* mobile can only have inside coords */
|
||||
display: flex !important;
|
||||
color: #fff;
|
||||
text-shadow: 0 1px 2px #000;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
&.files {
|
||||
bottom: 0px;
|
||||
left: 4px;
|
||||
text-align: left;
|
||||
}
|
||||
&.ranks {
|
||||
top: 1px;
|
||||
right: -2px;
|
||||
& coord {
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
@import 'inner-mixin';
|
||||
|
||||
@include inner-base;
|
||||
|
||||
/* negate inner coords colors */
|
||||
.is3d .cg-board-wrap coords coord {
|
||||
|
|
Loading…
Reference in a new issue