1 | @import '../../styles/common/colors';
|
2 |
|
3 | .editor-component {
|
4 | position: relative;
|
5 | border: 2px solid $neutral-1;
|
6 | border-radius: 3px;
|
7 | padding: 10px;
|
8 | position: relative;
|
9 |
|
10 | &.editor-disabled {
|
11 | .overlay {
|
12 | display: block;
|
13 | }
|
14 | }
|
15 |
|
16 | .overlay {
|
17 | display: none;
|
18 | position: absolute;
|
19 | width: 100%;
|
20 | height: 100%;
|
21 | top: 0;
|
22 | left: 0;
|
23 | background-color: rgba($neutral-3, 0.6);
|
24 | cursor: not-allowed;
|
25 | }
|
26 |
|
27 | $list-item-color: #444444;
|
28 | $list-item-hover-color: #0066CC;
|
29 | $dropdown-color: #CCCCCC;
|
30 | .merge-tags {
|
31 | div[class*='ql-picker'] {
|
32 | width: 112px;
|
33 | span[class*='ql-picker-label'] {
|
34 | display: flex;
|
35 | align-items: center;
|
36 | border: 1px solid transparent;
|
37 | }
|
38 | &[class*='is-opened'] span[class*='ql-picker-label'] {
|
39 | color: $dropdown-color;
|
40 | border: 1px solid $neutral-3;
|
41 | border-radius: 3px 3px 0 0;
|
42 | [class^='ql-stroke'] {
|
43 | stroke: $dropdown-color;
|
44 | }
|
45 | }
|
46 | }
|
47 | div[class*='dropdown-wrapper'] {
|
48 | padding: 4px 8px;
|
49 | border: 1px solid $neutral-3;
|
50 | border-radius: 0 0 3px 3px;
|
51 | box-shadow: none;
|
52 | margin-top: -1px;
|
53 | ul {
|
54 | min-width: 94px;
|
55 | }
|
56 | li {
|
57 | padding: 5px 0;
|
58 | min-height: 0;
|
59 | color: $list-item-color;
|
60 | font-size: 14px;
|
61 | font-weight: 500;
|
62 | &:hover {
|
63 | color: $list-item-hover-color;
|
64 | background-color: transparent;
|
65 | }
|
66 | }
|
67 | }
|
68 | }
|
69 | }
|