1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 05:45:22 +02:00

add border to tooltip and modal in high contrast theme (#10834)

This commit is contained in:
Prabhat Khera 2023-12-20 08:55:00 +13:00 committed by GitHub
parent 6ede9f8cc3
commit d2ccb10972
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 33 additions and 0 deletions

View file

@ -566,6 +566,10 @@
--border-widget: var(--white-color);
--border-stepper-color: var(--ui-gray-warm-9);
--button-close-color: var(--white-color);
--button-opacity: 1;
--button-opacity-hover: 0.7;
--shadow-box-color: none;
--shadow-boxselector-color: none;

View file

@ -349,6 +349,26 @@ input:-webkit-autofill {
border-left: 8px solid var(--bg-tooltip-color);
}
[theme='highcontrast'] .tippy-box[data-placement^='top'] > .tippy-arrow:before {
border-top: 8px solid var(--white-color);
margin-bottom: -1px;
}
[theme='highcontrast'] .tippy-box[data-placement^='bottom'] > .tippy-arrow:before {
border-bottom: 8px solid var(--white-color);
margin-top: -1px;
}
[theme='highcontrast'] .tippy-box[data-placement^='right'] > .tippy-arrow:before {
border-right: 8px solid var(--white-color);
margin-left: -1px;
}
[theme='highcontrast'] .tippy-box[data-placement^='left'] > .tippy-arrow:before {
border-left: 8px solid var(--white-color);
margin-right: -1px;
}
/* Sidebar */
.sidebar .tippy-box {
font-size: 12px;