| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- @import '../common/abstracts/variable.scss';
- @import '../common/abstracts/_mixin.scss';
- .wot-theme-dark {
- @include b(cell) {
- background-color: $-dark-background2;
- color: $-dark-color;
- @include e(value) {
- color: $-dark-color;
- }
- @include e(label) {
- color: $-dark-color3;
- }
- @include when(hover) {
- background-color: $-dark-background4;
- }
- @include when(border) {
- .wd-cell__wrapper {
- @include halfPixelBorder('top', 0, $-dark-border-color);
- }
- }
- :deep(.wd-cell__arrow-right) {
- color: $-dark-color;
- }
- }
- }
- @include b(cell) {
- position: relative;
- padding-left: $-cell-padding;
- background-color: $-color-white;
- text-decoration: none;
- color: $-cell-title-color;
- line-height: $-cell-line-height;
- -webkit-tap-highlight-color: transparent;
- box-sizing: border-box;
- width: 100%;
- overflow: hidden;
- @include when(border) {
- .wd-cell__wrapper {
- @include halfPixelBorder('top');
- }
- }
- @include e(wrapper) {
- position: relative;
- display: flex;
- padding: $-cell-wrapper-padding $-cell-padding $-cell-wrapper-padding 0;
- justify-content: space-between;
- align-items: flex-start;
- overflow: hidden;
- @include when(vertical) {
- display: block;
- .wd-cell__right {
- margin-top: $-cell-vertical-top;
- }
- .wd-cell__value {
- text-align: left;
- }
- .wd-cell__left {
- margin-right: 0;
- }
- }
- @include when(label) {
- padding: $-cell-wrapper-padding-with-label $-cell-padding $-cell-wrapper-padding-with-label 0;
- }
- }
- @include e(left) {
- position: relative;
- flex: 1;
- display: flex;
- text-align: left;
- font-size: $-cell-title-fs;
- box-sizing: border-box;
- margin-right: $-cell-padding;
- }
- @include e(right) {
- position: relative;
- flex: 1;
- min-width: 0;
- }
- @include e(title) {
- font-size: $-cell-title-fs;
- }
- @include e(required) {
- font-size: $-cell-required-size;
- color: $-cell-required-color;
- margin-left: $-cell-required-margin;
- @include m(left) {
- margin-left: 0;
- margin-right: $-cell-required-margin;
- }
- }
- @include e(label) {
- margin-top: 2px;
- font-size: $-cell-label-fs;
- color: $-cell-label-color;
- }
- @include edeep(icon) {
- display: block;
- position: relative;
- margin-right: $-cell-icon-right;
- font-size: $-cell-icon-size;
- height: $-cell-line-height;
- line-height: $-cell-line-height;
- }
- @include e(body){
- display: flex;
- min-width: 0;
- }
- @include e(value) {
- position: relative;
- flex: 1;
- font-size: $-cell-value-fs;
- color: $-cell-value-color;
- vertical-align: middle;
-
- @include m(left) {
- text-align: left;
- }
-
- @include m(right) {
- text-align: right;
- }
-
- @include m(ellipsis) {
- @include lineEllipsis;
- min-width: 0;
- }
- }
- @include edeep(arrow-right) {
- display: block;
- margin-left: 8px;
- width: $-cell-arrow-size;
- font-size: $-cell-arrow-size;
- color: $-cell-arrow-color;
- height: $-cell-line-height;
- line-height: $-cell-line-height;
- }
- @include e(error-message){
- color: $-form-item-error-message-color;
- font-size: $-form-item-error-message-font-size;
- line-height: $-form-item-error-message-line-height;
- text-align: left;
- vertical-align: middle;
- }
- @include when(link) {
- -webkit-tap-highlight-color: $-cell-tap-bg;
- }
- @include when(hover) {
- background-color: $-cell-tap-bg;
- }
- @include when(large) {
- .wd-cell__title {
- font-size: $-cell-title-fs-large;
- }
- .wd-cell__wrapper {
- padding-top: $-cell-wrapper-padding-large;
- padding-bottom: $-cell-wrapper-padding-large;
- }
- .wd-cell__label {
- font-size: $-cell-label-fs-large;
- }
- .wd-cell__value {
- font-size: $-cell-value-fs-large;
- }
- :deep(.wd-cell__icon) {
- font-size: $-cell-icon-size-large;
- }
- }
- @include when(center) {
- .wd-cell__wrapper {
- align-items: center;
- }
- }
- }
|