mirror of
https://github.com/zadam/trilium.git
synced 2024-11-10 17:13:45 +08:00
Merge pull request #3948 from soulsands/tooltip
Normalize tooltip style
This commit is contained in:
commit
bd278e291a
1 changed files with 36 additions and 0 deletions
|
@ -392,6 +392,42 @@ table.promoted-attributes-in-tooltip td, table.promoted-attributes-in-tooltip th
|
|||
.bs-tooltip-left .arrow::before { border-left-color: var(--main-border-color) !important; }
|
||||
.bs-tooltip-right .arrow::before { border-right-color: var(--main-border-color) !important; }
|
||||
|
||||
.bs-tooltip-bottom .arrow::after { border-bottom-color: var(--tooltip-background-color) !important; }
|
||||
.bs-tooltip-top .arrow::after { border-top-color: var(--tooltip-background-color) !important; }
|
||||
.bs-tooltip-left .arrow::after { border-left-color: var(--tooltip-background-color) !important; }
|
||||
.bs-tooltip-right .arrow::after { border-right-color: var(--tooltip-background-color) !important; }
|
||||
|
||||
.tooltip .arrow::after {
|
||||
position: absolute;
|
||||
content: '';
|
||||
border-color: transparent;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.bs-tooltip-auto[x-placement^='left'] .arrow::after,
|
||||
.bs-tooltip-left .arrow::after {
|
||||
left: -1px;
|
||||
border-width: 0.4rem 0 0.4rem 0.4rem;
|
||||
}
|
||||
|
||||
.bs-tooltip-auto[x-placement^='bottom'] .arrow::after,
|
||||
.bs-tooltip-bottom .arrow::after {
|
||||
bottom: -1px;
|
||||
border-width: 0 0.4rem 0.4rem;
|
||||
}
|
||||
|
||||
.bs-tooltip-auto[x-placement^='right'] .arrow::after,
|
||||
.bs-tooltip-right .arrow::after {
|
||||
right: -1px;
|
||||
border-width: 0.4rem 0.4rem 0.4rem 0;
|
||||
}
|
||||
|
||||
.bs-tooltip-auto[x-placement^='top'] .arrow::after,
|
||||
.bs-tooltip-top .arrow::after {
|
||||
top: -1px;
|
||||
border-width: 0.4rem 0.4rem 0;
|
||||
}
|
||||
|
||||
.note-tooltip.tooltip .arrow {
|
||||
display: none;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue