103 lines
1.8 KiB
SCSS
103 lines
1.8 KiB
SCSS
@import './../common/abstracts/_mixin.scss';
|
|
@import './../common/abstracts/variable.scss';
|
|
|
|
.wot-theme-dark {
|
|
@include b(keyboard) {
|
|
background: $-dark-background5;
|
|
|
|
@include e(header) {
|
|
color: $-dark-color;
|
|
}
|
|
}
|
|
}
|
|
|
|
@include b(keyboard) {
|
|
width: 100%;
|
|
background: $-keyboard-background;
|
|
color: $-color-black;
|
|
user-select: none;
|
|
|
|
@include m(with-title) {
|
|
border-radius: 20px 20px 0 0;
|
|
}
|
|
|
|
@include e(header) {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-sizing: content-box;
|
|
height: $-keyboard-title-height;
|
|
padding-top: 6px;
|
|
color: $-keyboard-title-color;
|
|
font-size: $-keyboard-title-font-size;
|
|
}
|
|
|
|
@include e(title) {
|
|
display: inline-block;
|
|
font-weight: normal;
|
|
|
|
&-left {
|
|
position: absolute;
|
|
left: 0;
|
|
}
|
|
}
|
|
|
|
@include e(body) {
|
|
display: flex;
|
|
padding: 6px 0 0 6px;
|
|
}
|
|
|
|
@include e(keys) {
|
|
display: flex;
|
|
flex: 3;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
&-car {
|
|
@include e(body) {
|
|
display: flex;
|
|
padding: 6px 0 0 6px;
|
|
}
|
|
}
|
|
|
|
&-car {
|
|
@include e(keys) {
|
|
display: flex;
|
|
flex: 10;
|
|
flex-wrap: wrap;
|
|
|
|
.wd-key-wrapper {
|
|
--wot-keyboard-key-font-size: 18px;
|
|
flex-basis: 10%;
|
|
|
|
@include m(wider) {
|
|
flex-basis: 20%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@include e(close) {
|
|
position: absolute;
|
|
display: flex;
|
|
align-items: center;
|
|
right: 0;
|
|
height: 100%;
|
|
padding: $-keyboard-close-padding;
|
|
color: $-keyboard-close-color;
|
|
font-size: $-keyboard-close-font-size;
|
|
background-color: transparent;
|
|
border: none;
|
|
@include m(hover) {
|
|
opacity: 0.6;
|
|
}
|
|
}
|
|
|
|
@include e(sidebar) {
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
}
|
|
}
|