|
3 | 3 | .preview-popUp { |
4 | 4 | border: 1px solid var(--sofie-segment-layer-hover-popup-border); |
5 | 5 | background: var(--sofie-segment-layer-hover-popup-background); |
6 | | - box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.5); |
| 6 | + box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.8); |
7 | 7 | border-radius: 5px; |
8 | 8 | overflow: hidden; |
9 | 9 | pointer-events: none; |
10 | 10 |
|
11 | | - box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.6); |
12 | | - |
13 | 11 | z-index: 9999; |
14 | 12 |
|
15 | 13 | &--large { |
|
25 | 23 | &--hidden { |
26 | 24 | visibility: none; |
27 | 25 | } |
| 26 | + |
| 27 | + font-style: normal; |
| 28 | + font-weight: 500; |
| 29 | + font-size: 16px; |
| 30 | + line-height: 110%; |
| 31 | + /* identical to box height, or 15px */ |
| 32 | + letter-spacing: 0.01em; |
| 33 | + font-feature-settings: 'liga' off; |
| 34 | + |
| 35 | + color: #ffffff; |
| 36 | + font-stretch: 25; |
| 37 | + font-variation-settings: |
| 38 | + 'GRAD' 0, |
| 39 | + 'opsz' 15, |
| 40 | + 'slnt' 9, |
| 41 | + 'XOPQ' 96, |
| 42 | + 'XTRA' 468, |
| 43 | + 'YOPQ' 79, |
| 44 | + 'YTAS' 750, |
| 45 | + 'YTDE' -203, |
| 46 | + 'YTFI' 738, |
| 47 | + 'YTLC' 548, |
| 48 | + 'YTUC' 712; |
28 | 49 | } |
29 | 50 |
|
30 | 51 | .preview-popUp__preview { |
31 | 52 | width: 100%; |
32 | | - font-family: 'Roboto Condensed'; |
33 | | - font-size: 0.9375rem; // 15px; |
34 | 53 |
|
35 | 54 | .preview-popUp__script, |
36 | 55 | .preview-popUp__script-comment, |
37 | 56 | .preview-popUp__script-last-modified { |
38 | | - padding: 0.4em 0.4em 0.4em 0.6em; |
| 57 | + padding: 5px; |
| 58 | + padding-left: 2%; |
| 59 | + padding-right: 2%; |
39 | 60 | font-style: italic; |
| 61 | + font-weight: 300; |
| 62 | + font-size: 16px; |
| 63 | + line-height: 120%; |
| 64 | + letter-spacing: 0.03em; |
| 65 | + font-feature-settings: |
| 66 | + 'pnum' on, |
| 67 | + 'lnum' on, |
| 68 | + 'liga' off; |
| 69 | + |
| 70 | + color: #ffffff; |
| 71 | + font-stretch: 75; |
| 72 | + font-variation-settings: |
| 73 | + 'GRAD' 0, |
| 74 | + 'opsz' 16, |
| 75 | + 'slnt' -10, |
| 76 | + 'XOPQ' 96, |
| 77 | + 'XTRA' 468, |
| 78 | + 'YOPQ' 79, |
| 79 | + 'YTAS' 750, |
| 80 | + 'YTDE' -203, |
| 81 | + 'YTFI' 738, |
| 82 | + 'YTLC' 548, |
| 83 | + 'YTUC' 712; |
40 | 84 | } |
41 | 85 |
|
42 | 86 | .preview-popUp__script-comment, |
|
54 | 98 | letter-spacing: 0.02rem; |
55 | 99 |
|
56 | 100 | padding: 5px; |
| 101 | + padding-left: 2%; |
57 | 102 | } |
58 | 103 |
|
59 | 104 | .preview-popUp__element-with-time-info { |
60 | 105 | width: 100%; |
61 | 106 | display: flex; |
62 | | - font-feature-settings: 'liga' off; |
63 | 107 |
|
64 | | - margin-bottom: 0px; |
| 108 | + margin-bottom: 5px; |
65 | 109 |
|
66 | 110 | .preview-popUp__element-with-time-info__layer-color { |
67 | | - width: 25px; |
68 | | - height: 20px; |
69 | | - margin-top: 5px; |
70 | | - margin-left: 5px; |
71 | | - margin-right: 5px; |
72 | | - font-size: 1.4em; |
| 111 | + height: 15px; |
| 112 | + aspect-ratio: 1; |
| 113 | + margin-left: 2%; |
| 114 | + margin-top: 10px; |
| 115 | + flex-shrink: 0; |
73 | 116 | @include item-type-colors(); |
74 | 117 | } |
75 | 118 |
|
| 119 | + .preview-popUp__element-with-time-info__text { |
| 120 | + margin: 5px; |
| 121 | + width: calc(100% - 35px); |
| 122 | + flex-grow: 1; |
| 123 | + } |
| 124 | + |
76 | 125 | .preview-popUp__element-with-time-info__timing { |
| 126 | + margin-left: 5px; |
77 | 127 | overflow: none; |
78 | 128 | white-space: nowrap; |
79 | 129 | text-overflow: ellipsis; |
| 130 | + font-feature-settings: 'liga' off; |
80 | 131 |
|
81 | 132 | font-weight: 500; |
82 | 133 | line-height: 100%; /* 15px */ |
83 | 134 |
|
84 | 135 | .label { |
85 | 136 | font-weight: 300; |
| 137 | + line-height: 100%; |
| 138 | + /* identical to box height, or 15px */ |
| 139 | + letter-spacing: 0.01em; |
| 140 | + font-feature-settings: 'liga' off; |
| 141 | + |
| 142 | + color: #ffffff; |
| 143 | + font-stretch: 25; |
| 144 | + font-variation-settings: |
| 145 | + 'opsz' 20, |
| 146 | + 'GRAD' 0, |
| 147 | + 'slnt' 0, |
| 148 | + 'XOPQ' 96, |
| 149 | + 'XTRA' 468, |
| 150 | + 'YOPQ' 79, |
| 151 | + 'YTAS' 750, |
| 152 | + 'YTDE' -203, |
| 153 | + 'YTFI' 738, |
| 154 | + 'YTLC' 548, |
| 155 | + 'YTUC' 712; |
86 | 156 | } |
87 | 157 | } |
88 | 158 | } |
89 | 159 |
|
90 | 160 | .preview-popup__separation-line { |
91 | | - width: 90%; |
92 | | - margin-left: 5%; |
| 161 | + width: 96%; |
| 162 | + margin-left: 2%; |
93 | 163 | background-color: #5b5b5b; |
94 | | - margin-top: 5px; |
95 | | - margin-bottom: 5px; |
| 164 | + margin-top: 0px; |
| 165 | + margin-bottom: 0px; |
96 | 166 | } |
97 | 167 |
|
98 | 168 | .preview-popUp__warning { |
|
220 | 290 | text-overflow: clip; |
221 | 291 | white-space: nowrap; |
222 | 292 |
|
223 | | - margin-top: -25px; //Pull up the in/out words a bit |
224 | | - padding: 7px; |
| 293 | + padding: 5px; |
| 294 | + padding-left: 2%; |
| 295 | + padding-right: 2%; |
225 | 296 |
|
226 | 297 | .separation-line { |
227 | 298 | width: 100%; |
|
0 commit comments