mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 21:35:23 +02:00
add border to tooltip and modal in high contrast theme (#10834)
This commit is contained in:
parent
6ede9f8cc3
commit
d2ccb10972
4 changed files with 33 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue