| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- .crossword {
- margin-left: 250px;
- }
- .crossword-line {
- display: block;
- white-space: nowrap;
- height: @cell-size;
- .cell {
- display: inline-block;
- width: @cell-size;
- height: 100%;
- border-left: 1px solid @border-color;
- border-top: 1px solid @border-color;
- border-bottom: 1px solid @border-color;
- overflow: hidden;
- text-align: center;
- background-color: white;
- &:last-child {
- border-right: 1px solid @border-color;
- }
- &.cell-disabled {
- background: @disabled-color;
- border-color: @disabled-color;
- }
- &.cell-definition > * {
- display: flex;
- justify-content: center;
- flex-direction: column;
- height: 100%;
- .definition {
- display: block;
- font-size: .75em;
- & > * {
- display: inline-block;
- width: @cell-size;
- }
- &:not(:only-child):not(:first-child) {
- border-top: 1px solid @border-color;
- }
- }
- }
- &.definition-right-vt, &.definition-right-hz, &.definition-bottom-vt, &.definition-bottom-hz {
- position: relative;
- &:after {
- position: absolute;
- height: @cell-size /6;
- width: @cell-size /6;
- content: " ";
- }
- }
- &.definition-right-vt:after {
- top: 0;
- bottom: 0;
- left: 0;
- margin: auto;
- width: @cell-size /8;
- border-top: 1px solid @arrow-color;
- border-right: 1px solid @arrow-color;
- }
- &.definition-right-hz:after {
- top: 0;
- bottom: 0;
- left: 0;
- width: @cell-size /8;
- margin: auto;
- border-top: 1px solid @arrow-color;
- }
- &.definition-bottom-vt:after {
- left: 0;
- right: 0;
- top: 0;
- margin: auto;
- height: @cell-size /8;
- border-left: 1px solid @arrow-color;
- }
- &.definition-bottom-hz:after {
- left: 0;
- right: 0;
- top: 0;
- margin: auto;
- height: @cell-size /8;
- border-left: 1px solid @arrow-color;
- border-bottom: 1px solid @arrow-color;
- }
- &.cell-letter {
- font-size: @cell-size /3;
- line-height: @cell-size;
- font-weight: 900;
- &.cell-letter-correct {
- color: green;
- }
- &.cell-letter-wrong {
- background-color: #ffb6b6;
- }
- }
- &.cell-selected {
- background: #e1e8ff;
- }
- &.cell-input {
- background: #b0c2ff;
- }
- }
- }
- .input-hidden {
- position: absolute;
- display: inline-block;
- height: 0;
- width: 0;
- z-index: -100;
- }
|