mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-10-30 13:14:20 +00:00
spell tooltip
This commit is contained in:
parent
38931015db
commit
f3643e6eaf
6 changed files with 99 additions and 3 deletions
30
docs/.vuepress/theme/styles/_spelltooltip.scss
Normal file
30
docs/.vuepress/theme/styles/_spelltooltip.scss
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
.v-tooltip__content {
|
||||
&.spell-tooltip-container {
|
||||
opacity: 1 !important;
|
||||
|
||||
.spell-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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -5,3 +5,5 @@
|
|||
@import "tables";
|
||||
@import "blocks";
|
||||
@import "layout";
|
||||
|
||||
@import "spelltooltip";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue