index.scss 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. @import './../../common/abstracts/_mixin.scss';
  2. @import './../../common/abstracts/variable.scss';
  3. .wot-theme-dark {
  4. @include b(key) {
  5. background: $-dark-background2;
  6. color: $-dark-color;
  7. &:active {
  8. background-color: $-dark-background4;
  9. }
  10. @include m(active) {
  11. background-color: $-dark-background4;
  12. }
  13. }
  14. }
  15. .wd-key-wrapper {
  16. position: relative;
  17. flex: 1;
  18. flex-basis: 33%;
  19. box-sizing: border-box;
  20. padding: 0 6px 6px 0;
  21. @include m(wider) {
  22. flex-basis: 66%;
  23. }
  24. }
  25. @include b(key) {
  26. display: flex;
  27. align-items: center;
  28. justify-content: center;
  29. height: $-keyboard-key-height;
  30. font-size: $-keyboard-key-font-size;
  31. line-height: 1.5;
  32. background: $-keyboard-key-background;
  33. border-radius: $-keyboard-key-border-radius;
  34. &:active {
  35. background-color: $-keyboard-key-active-color;
  36. }
  37. @include m(large) {
  38. position: absolute;
  39. top: 0;
  40. right: 6px;
  41. bottom: 6px;
  42. left: 0;
  43. height: auto;
  44. }
  45. @include m(delete, close) {
  46. font-size: $-keyboard-delete-font-size;
  47. }
  48. @include m(active) {
  49. background-color: $-keyboard-key-active-color;
  50. }
  51. @include m(close) {
  52. color: $-keyboard-button-text-color;
  53. background: $-keyboard-button-background;
  54. &:active {
  55. background: $-keyboard-button-background;
  56. opacity: $-keyboard-button-active-opacity;
  57. }
  58. }
  59. @include edeep(loading-icon) {
  60. color: $-keyboard-button-text-color;
  61. }
  62. @include edeep(icon) {
  63. font-size: $-keyboard-icon-size;
  64. }
  65. }