mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-10-29 20:54:19 +00:00
76 lines
1.5 KiB
SCSS
76 lines
1.5 KiB
SCSS
#tooltip {
|
|
position: absolute;
|
|
display: none;
|
|
z-index: 1000;
|
|
|
|
text-align: left;
|
|
width: 50vw;
|
|
max-width: 555px;
|
|
min-width: 350px;
|
|
background-color: #fff;
|
|
color: #555;
|
|
box-shadow: 0 0 12px #333;
|
|
border-radius: 5px;
|
|
|
|
.tooltip-title {
|
|
background-color: $color-hero;
|
|
&.tooltip-spell {
|
|
background-color: $color-dragon;
|
|
}
|
|
// &.tooltip-condition {
|
|
// }
|
|
color: #fff;
|
|
font-family: 'Oswald', sans-serif;
|
|
font-weight: bold;
|
|
padding: 12px;
|
|
border-radius: 5px 5px 0 0;
|
|
}
|
|
|
|
.tooltip-content {
|
|
padding: 12px;
|
|
ul {
|
|
margin: 0;
|
|
padding: 0 0 0 15px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.v-tooltip__content {
|
|
&.spell-tooltip-container,
|
|
&.condition-tooltip-container {
|
|
opacity: 1 !important;
|
|
|
|
.spell-tooltip, .condition-tooltip {
|
|
text-align: left;
|
|
width: 50vw;
|
|
max-width: 555px;
|
|
min-width: 350px;
|
|
background-color: #fff;
|
|
color: #555;
|
|
margin: -5px -16px -21px;
|
|
padding: 12px;
|
|
box-shadow: 0 0 12px #333;
|
|
border-radius: 5px;
|
|
|
|
.spell-tooltip-title {
|
|
background-color: $color-dragon;
|
|
color: #fff;
|
|
margin: -12px -12px 6px;
|
|
padding: 12px;
|
|
border-radius: 5px 5px 0 0;
|
|
}
|
|
|
|
.spell-details {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.condition-tooltip-title {
|
|
background-color: $color-hero;
|
|
color: #fff;
|
|
margin: -12px -12px 6px;
|
|
padding: 12px;
|
|
border-radius: 5px 5px 0 0;
|
|
}
|
|
}
|
|
}
|
|
}
|