| 1 |
/* Shared row and title styles for V4 list controls */ |
| 2 |
.e-v4-color-variable-list__row, |
| 3 |
.e-v4-typography-list__row { |
| 4 |
display: flex; |
| 5 |
align-items: center; |
| 6 |
min-height: 40px; |
| 7 |
} |
| 8 |
|
| 9 |
.e-v4-color-variable-list__title, |
| 10 |
.e-v4-typography-list__title { |
| 11 |
flex: 1; |
| 12 |
overflow: hidden; |
| 13 |
text-overflow: ellipsis; |
| 14 |
white-space: nowrap; |
| 15 |
} |
| 16 |
|
| 17 |
/* V4 Color Variable List */ |
| 18 |
.e-v4-color-variable-list__color-value { |
| 19 |
font-size: 10px; |
| 20 |
padding: 0 5px; |
| 21 |
margin-inline-end: 5px; |
| 22 |
} |
| 23 |
|
| 24 |
.e-v4-color-variable-list__color-swatch { |
| 25 |
display: inline-block; |
| 26 |
width: 27px; |
| 27 |
height: 27px; |
| 28 |
flex-shrink: 0; |
| 29 |
margin-inline-end: 5px; |
| 30 |
} |
| 31 |
|
| 32 |
/* Shared edit button styles for V4 list controls */ |
| 33 |
.e-v4-color-variable-list__edit-btn, |
| 34 |
.e-v4-typography-list__edit-btn { |
| 35 |
display: flex; |
| 36 |
align-items: center; |
| 37 |
justify-content: center; |
| 38 |
width: 28px; |
| 39 |
height: 28px; |
| 40 |
background: var(--e-a-bg-active); |
| 41 |
border: none; |
| 42 |
border-radius: 50%; |
| 43 |
flex-shrink: 0; |
| 44 |
cursor: pointer; |
| 45 |
opacity: 0.7; |
| 46 |
transition: opacity 0.2s; |
| 47 |
} |
| 48 |
.e-v4-color-variable-list__edit-btn:hover, |
| 49 |
.e-v4-typography-list__edit-btn:hover { |
| 50 |
opacity: 1; |
| 51 |
} |
| 52 |
|
| 53 |
.e-v4-color-variable-list__edit-btn { |
| 54 |
background: transparent; |
| 55 |
opacity: 0; |
| 56 |
transition: opacity 0.2s; |
| 57 |
} |
| 58 |
.e-v4-color-variable-list__edit-btn:hover { |
| 59 |
opacity: 1; |
| 60 |
} |
| 61 |
|
| 62 |
.e-v4-typography-list__edit-btn { |
| 63 |
opacity: 0.5; |
| 64 |
cursor: default; |
| 65 |
} |
| 66 |
.e-v4-typography-list__edit-btn:hover { |
| 67 |
opacity: 0.5; |
| 68 |
} |
| 69 |
|
| 70 |
/* V4 Color Variable List - Tooltip */ |
| 71 |
.e-v4-color-variable-list__edit-btn-wrapper { |
| 72 |
position: relative; |
| 73 |
display: inline-flex; |
| 74 |
margin-inline-end: 2px; |
| 75 |
} |
| 76 |
|
| 77 |
.e-v4-color-variable-list__tooltip { |
| 78 |
position: absolute; |
| 79 |
bottom: calc(100% + 8px); |
| 80 |
left: 50%; |
| 81 |
transform: translateX(-50%); |
| 82 |
background: var(--e-a-color-txt); |
| 83 |
color: var(--e-a-bg-default); |
| 84 |
font-size: 12px; |
| 85 |
line-height: 1.4; |
| 86 |
padding: 6px 10px; |
| 87 |
border-radius: var(--e-a-border-radius); |
| 88 |
white-space: nowrap; |
| 89 |
pointer-events: none; |
| 90 |
opacity: 0; |
| 91 |
transition: opacity 0.2s; |
| 92 |
} |
| 93 |
.e-v4-color-variable-list__tooltip::after { |
| 94 |
content: ""; |
| 95 |
position: absolute; |
| 96 |
top: 100%; |
| 97 |
left: 50%; |
| 98 |
transform: translateX(-50%); |
| 99 |
border: 5px solid transparent; |
| 100 |
border-top-color: var(--e-a-color-txt); |
| 101 |
} |
| 102 |
|
| 103 |
.e-v4-color-variable-list__edit-btn-wrapper:hover .e-v4-color-variable-list__tooltip { |
| 104 |
opacity: 1; |
| 105 |
} |
| 106 |
|
| 107 |
/*# sourceMappingURL=design-system-sync.css.map */ |