|
51 | 51 |
|
52 | 52 | .custom-controls { |
53 | 53 | position: absolute; |
54 | | - background: var(--secondary); |
55 | | - padding: 4px; |
56 | | - bottom: 10px; |
57 | 54 | right: 10px; |
| 55 | + bottom: 10px; |
58 | 56 | z-index: 10; |
| 57 | + padding: 4px; |
| 58 | + background: var(--secondary); |
59 | 59 | } |
60 | 60 |
|
61 | 61 | /* ----- Nodes ----- */ |
|
107 | 107 |
|
108 | 108 | /* Focus indicators */ |
109 | 109 | :focus { |
| 110 | + border-radius: 0 !important; |
110 | 111 | outline: 2px solid #005fcc !important; |
111 | 112 | outline-offset: 2px !important; |
112 | | - box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.4) !important; |
113 | | - border-radius: 0 !important; |
| 113 | + box-shadow: 0 0 0 3px rgba(0, 95, 204, .4) !important; |
114 | 114 | } |
115 | 115 |
|
116 | 116 | /* Skip links */ |
117 | 117 | .skip-link { |
118 | 118 | position: absolute; |
119 | 119 | top: -40px; |
120 | 120 | left: 6px; |
121 | | - background: #0d6efd; |
122 | | - color: #fff; |
| 121 | + z-index: 9999; |
123 | 122 | padding: 8px; |
| 123 | + color: #fff; |
124 | 124 | text-decoration: none; |
| 125 | + background: #0d6efd; |
125 | 126 | border-radius: 3px; |
126 | | - z-index: 9999; |
127 | | - transition: top 0.3s; |
| 127 | + transition: top .3s; |
128 | 128 | } |
129 | 129 | .skip-link:focus { top: 6px; } |
130 | 130 | /* Ensure child elements inside groups remain usable */ |
|
136 | 136 | pointer-events: auto; |
137 | 137 | } |
138 | 138 |
|
139 | | -/* ----- Color Contrast for Badges ----- */ |
140 | | -.badge.bg-warning { color: #000; } |
141 | | -.badge.bg-success, |
142 | | -.badge.bg-danger { color: #fff; } |
143 | | - |
144 | | -/* Stage-node states */ |
145 | | -.stage-node[data-published="true"] { border-left: 6px solid #28a745 !important; } |
146 | | -.stage-node[data-published="false"] { border-left: 6px dashed #dc3545 !important; } |
147 | | -.stage-node[data-default="true"] { |
148 | | - border: 4px double #ffc107 !important; |
149 | | - background-image: repeating-linear-gradient( |
150 | | - 45deg, transparent, transparent 10px, |
151 | | - rgba(255,193,7,.1) 10px, rgba(255,193,7,.1) 20px |
152 | | - ) !important; |
153 | | -} |
154 | | - |
155 | 139 | /* ----- High Contrast Mode ----- */ |
156 | 140 | @media (prefers-contrast: high), (forced-colors: active), screen and (-ms-high-contrast: active) { |
157 | 141 | .stage-node, |
158 | 142 | .edge-label, |
159 | 143 | .workflow-browser-actions-list, |
160 | 144 | .custom-controls-button, |
161 | 145 | .badge { |
162 | | - border: 2px solid ButtonText !important; |
163 | | - background: ButtonFace !important; |
164 | 146 | color: ButtonText !important; |
| 147 | + background: ButtonFace !important; |
| 148 | + border: 2px solid ButtonText !important; |
165 | 149 | forced-color-adjust: none !important; |
166 | 150 | } |
167 | 151 | :focus { |
168 | | - outline: 3px solid Highlight !important; |
169 | | - background: Highlight !important; |
170 | 152 | color: HighlightText !important; |
| 153 | + background: Highlight !important; |
| 154 | + outline: 3px solid Highlight !important; |
171 | 155 | } |
172 | 156 | } |
173 | 157 |
|
|
188 | 172 | .stage-node, |
189 | 173 | .edge-label, |
190 | 174 | .custom-controls-button { |
191 | | - min-height: 48px !important; |
192 | 175 | min-width: 48px !important; |
| 176 | + min-height: 48px !important; |
193 | 177 | padding: 14px 18px !important; |
194 | 178 | } |
195 | 179 | } |
|
198 | 182 | @media print { |
199 | 183 | .stage-node, |
200 | 184 | .edge-label { |
201 | | - background: #fff !important; |
202 | 185 | color: #000 !important; |
| 186 | + background: #fff !important; |
203 | 187 | border: 2px solid #000 !important; |
204 | 188 | box-shadow: none !important; |
205 | 189 | } |
|
208 | 192 | .vue-flow__controls, |
209 | 193 | .custom-controls { display: none !important; } |
210 | 194 | .badge::after { |
211 | | - content: " (" attr(title) ")" !important; |
212 | 195 | font-size: 11px !important; |
213 | 196 | font-style: italic !important; |
| 197 | + content: " (" attr(title) ")" !important; |
214 | 198 | } |
215 | 199 | } |
0 commit comments