106 lines
2.4 KiB
SCSS
106 lines
2.4 KiB
SCSS
.sheet-tooltip-position-wrapper,
|
|
.sheet-rolltemplate-5e-shaped .sheet-tooltip-position-wrapper {
|
|
position: absolute;
|
|
right: 1px;
|
|
z-index: 99;
|
|
}
|
|
|
|
.sheet-tooltip-position-wrapper {
|
|
bottom: 1px;
|
|
}
|
|
.sheet-rolltemplate-5e-shaped .sheet-tooltip-position-wrapper {
|
|
top: 1px;
|
|
}
|
|
|
|
.sheet-tooltip,
|
|
.sheet-rolltemplate-5e-shaped .sheet-tooltip {
|
|
position: relative;
|
|
}
|
|
|
|
.sheet-tooltip-toggle-text,
|
|
.sheet-rolltemplate-5e-shaped .sheet-tooltip-toggle-text {
|
|
background-color: $black;
|
|
border-radius: 50%;
|
|
color: $mostly-transparent-white;
|
|
font-size: 78%;
|
|
font-weight: bold;
|
|
height: 10px;
|
|
padding: 1px 2px;
|
|
width: 10px;
|
|
}
|
|
|
|
[class*='sheet-tooltip-content'],
|
|
.sheet-rolltemplate-5e-shaped [class*='sheet-tooltip-content'] {
|
|
background-color: $black;
|
|
border-bottom-left-radius: 4px;
|
|
border-bottom-right-radius: 4px;
|
|
color: $mostly-transparent-white;
|
|
opacity: .9;
|
|
padding: 4px;
|
|
position: absolute;
|
|
text-align: left;
|
|
visibility: hidden;
|
|
width: 260px;
|
|
z-index: 99;
|
|
&::after {
|
|
border-bottom: 8px solid transparent;
|
|
border-top: 8px solid transparent;
|
|
content: '';
|
|
margin-top: -8px;
|
|
position: absolute;
|
|
top: 9px;
|
|
}
|
|
}
|
|
[class*='sheet-tooltip-content'] {
|
|
margin-top: -15px;
|
|
}
|
|
|
|
.sheet-tooltip-small,
|
|
.sheet-rolltemplate-5e-shaped .sheet-tooltip-small {
|
|
width: 80px;
|
|
}
|
|
|
|
.sheet-tooltip-content-left,
|
|
.sheet-rolltemplate-5e-shaped .sheet-tooltip-content-left {
|
|
border-top-left-radius: 4px;
|
|
right: 100%;
|
|
}
|
|
.sheet-tooltip-content-left {
|
|
margin-right: 12px;
|
|
}
|
|
.sheet-rolltemplate-5e-shaped .sheet-tooltip-content-left {
|
|
margin-right: 20px;
|
|
}
|
|
|
|
.sheet-tooltip-content-right,
|
|
.sheet-rolltemplate-5e-shaped .sheet-tooltip-content-right {
|
|
border-top-right-radius: 4px;
|
|
left: 100%;
|
|
}
|
|
.sheet-tooltip-content-right {
|
|
margin-left: 12px;
|
|
}
|
|
.sheet-rolltemplate-5e-shaped .sheet-tooltip-content-right {
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.sheet-tooltip-content-left::after,
|
|
.sheet-rolltemplate-5e-shaped .sheet-tooltip-content-left::after {
|
|
border-left: 8px solid $black;
|
|
right: -8px;
|
|
}
|
|
|
|
.sheet-tooltip-content-right::after,
|
|
.sheet-rolltemplate-5e-shaped .sheet-tooltip-content-right::after {
|
|
border-right: 8px solid $black;
|
|
left: -8px;
|
|
}
|
|
|
|
.sheet-tooltip:hover [class*='sheet-tooltip-content'],
|
|
.sheet-tooltip:focus [class*='sheet-tooltip-content'],
|
|
.sheet-rolltemplate-5e-shaped .sheet-tooltip:hover [class*='sheet-tooltip-content'],
|
|
.sheet-rolltemplate-5e-shaped .sheet-tooltip:focus [class*='sheet-tooltip-content'] {
|
|
visibility: visible;
|
|
z-index: 450;
|
|
}
|