mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-10-30 13:14:20 +00:00
tooltips états préjudiciables et sorts
This commit is contained in:
parent
b508862c9b
commit
336bf264b9
48 changed files with 212 additions and 84 deletions
|
|
@ -1,3 +1,15 @@
|
|||
.theme--dark {
|
||||
#tooltip {
|
||||
background-color: #333;
|
||||
box-shadow: 0 0 25px #222;
|
||||
color: #fff;
|
||||
.tooltip-content {
|
||||
.tooltip-overflow {
|
||||
background-image: linear-gradient(to bottom, rgba(50,50,50,0), rgba(50,50,50,1));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#tooltip {
|
||||
position: absolute;
|
||||
display: none;
|
||||
|
|
@ -5,12 +17,11 @@
|
|||
|
||||
text-align: left;
|
||||
width: 50vw;
|
||||
max-width: 555px;
|
||||
max-width: 655px;
|
||||
min-width: 350px;
|
||||
background-color: #fff;
|
||||
color: #555;
|
||||
box-shadow: 0 0 12px #333;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0 0 25px #444;
|
||||
|
||||
.tooltip-title {
|
||||
background-color: $color-hero;
|
||||
|
|
@ -23,15 +34,32 @@
|
|||
font-family: 'Oswald', sans-serif;
|
||||
font-weight: bold;
|
||||
padding: 12px;
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.tooltip-content {
|
||||
padding: 12px;
|
||||
position: relative;
|
||||
font-size: .8rem;
|
||||
max-height: 300px;
|
||||
overflow: hidden;
|
||||
padding: 12px 12px 40px 12px;
|
||||
ul {
|
||||
margin: 0;
|
||||
padding: 0 0 0 15px;
|
||||
}
|
||||
.tooltip-overflow {
|
||||
position: absolute;
|
||||
z-index: 1001;
|
||||
bottom: 0;
|
||||
height: 40px;
|
||||
width: 100%;
|
||||
margin: -12px;
|
||||
background-image: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
|
||||
}
|
||||
.spell-details {
|
||||
border-bottom: 2px solid $color-dragon;
|
||||
margin-bottom: .5rem;
|
||||
padding-bottom: .5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue