Improve metadata action button contrast
This commit is contained in:
@@ -252,6 +252,13 @@ test('manual model selection uses the two-line status card layout', () => {
|
||||
);
|
||||
});
|
||||
|
||||
test('metadata action buttons use dark text on primary controls', () => {
|
||||
assert.match(
|
||||
resolverMainCssSource,
|
||||
/#model-resolver-modal \[data-image-inspector-action="choose-file"\]\.mr-btn-primary,[\s\S]*?#model-resolver-modal \[data-image-inspector-action="apply-transfer"\]\.mr-btn-primary:hover:not\(:disabled\)\s*\{[^}]*color:\s*#101010;/s
|
||||
);
|
||||
});
|
||||
|
||||
test('manual model selection restores the per-model apply card after browser refresh', () => {
|
||||
const queueResolution = eval(`(${extractMethod(queueMethodsSource, 'queueResolution')})`);
|
||||
const calls = [];
|
||||
|
||||
@@ -2142,6 +2142,13 @@
|
||||
color: white;
|
||||
}
|
||||
|
||||
#model-resolver-modal [data-image-inspector-action="choose-file"].mr-btn-primary,
|
||||
#model-resolver-modal [data-image-inspector-action="apply-transfer"].mr-btn-primary,
|
||||
#model-resolver-modal [data-image-inspector-action="choose-file"].mr-btn-primary:hover:not(:disabled),
|
||||
#model-resolver-modal [data-image-inspector-action="apply-transfer"].mr-btn-primary:hover:not(:disabled) {
|
||||
color: #101010;
|
||||
}
|
||||
|
||||
.mr-btn-secondary,
|
||||
.mr-btn-link,
|
||||
#model-resolver-modal .mr-btn-secondary,
|
||||
|
||||
Reference in New Issue
Block a user