| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- @import "../common/abstracts/variable.scss";
- @import "../common/abstracts/_mixin.scss";
- .wot-theme-dark {
- @include b(message-box) {
- @include e(body) {
- background-color: $-dark-background2;
- }
- @include e(title) {
- color: $-dark-color;
- }
- @include e(content) {
- color: $-dark-color3;
- &::-webkit-scrollbar-thumb {
- background: $-dark-border-color;
- }
- }
- }
- }
- :deep(.wd-message-box){
- border-radius: $-message-box-radius;
- overflow: hidden;
- }
- @include b(message-box) {
- border-radius: $-message-box-radius;
- overflow: hidden;
- @include e(container) {
- width: $-message-box-width;
- box-sizing: border-box;
- }
- @include e(body) {
- background-color: $-message-box-bg;
- padding: $-message-box-padding;
- @include when(no-title) {
- padding: 25px 24px 0px;
- }
- }
- @include e(title) {
- text-align: center;
- font-size: $-message-box-title-fs;
- color: $-message-box-title-color;
- line-height: 20px;
- font-weight: 500;
- padding-top: 5px;
- padding-bottom: 10px;
- }
- @include e(content) {
- max-height: $-message-box-content-max-height;
- color: $-message-box-content-color;
- font-size: $-message-box-content-fs;
- text-align: center;
- overflow: auto;
- line-height: 20px;
- &::-webkit-scrollbar {
- width: $-message-box-content-scrollbar-width;
- }
- &::-webkit-scrollbar-thumb {
- width: $-message-box-content-scrollbar-width;
- background: $-message-box-content-scrollbar-color;
- border-radius: calc($-message-box-content-scrollbar-width / 2);
- }
- }
- @include e(input-error) {
- min-height: 18px;
- margin-top: 2px;
- color: $-message-box-input-error-color;
- text-align: left;
- @include when(hidden) {
- visibility: hidden;
- }
- }
- @include e(actions) {
- padding: 24px;
- }
-
- @include edeep(actions-btn) {
- &:not(:last-child) {
- margin-right: 16px;
- }
- }
- @include e(flex) {
- display: flex;
- }
- @include e(block) {
- display: block;
- }
- @include e(cancel) {
- margin-right: 16px;
- }
- }
|