mirror of
https://github.com/seigler/bl2skills.com
synced 2025-07-27 01:36:10 +00:00
Add Action Skill for Vanilla Version (#6)
* Replacing action skill assets with the active one (green) * Initial implementation of Action Skill * Add hardcoded skill point for action skill * Rename skill-action to actionSkill to conform with current coding style * Implement Action Skill to other characters (Vanilla) Also fix z-index for Action Skill description.
This commit is contained in:
parent
11232680c7
commit
de156c0d3d
13 changed files with 67 additions and 4 deletions
35
main.css
35
main.css
|
@ -186,6 +186,12 @@ body.choicePage .wrapper {
|
|||
height: 53px;
|
||||
}
|
||||
|
||||
.actionSkill {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.points {
|
||||
visibility: hidden;
|
||||
position: absolute;
|
||||
|
@ -199,11 +205,16 @@ body.choicePage .wrapper {
|
|||
color: white;
|
||||
}
|
||||
|
||||
.actionSkill .points {
|
||||
visibility: initial;
|
||||
}
|
||||
|
||||
.skill.partial .points {
|
||||
color: #F80;
|
||||
}
|
||||
|
||||
.skill.full .points {
|
||||
.skill.full .points,
|
||||
.actionSkill .points {
|
||||
color: #0B0;
|
||||
}
|
||||
|
||||
|
@ -243,12 +254,14 @@ legend {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.tree .description {
|
||||
.tree .description,
|
||||
.actionSkill .description
|
||||
{
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 200px;
|
||||
z-index: 20;
|
||||
z-index: 21;
|
||||
background-color: #111;
|
||||
color: white;
|
||||
padding: 0 0.25em 0.5em;
|
||||
|
@ -264,6 +277,11 @@ legend {
|
|||
right: 110%;
|
||||
}
|
||||
|
||||
.actionSkill .description {
|
||||
top: 10%;
|
||||
left: 105%;
|
||||
}
|
||||
|
||||
.tier[data-level='4'] .description {
|
||||
top: auto;
|
||||
bottom: -59px;
|
||||
|
@ -279,7 +297,8 @@ legend {
|
|||
bottom: 0;
|
||||
}
|
||||
|
||||
.tree .description h2 {
|
||||
.tree .description h2,
|
||||
.actionSkill .description h2 {
|
||||
padding: 0.15em 0;
|
||||
margin-bottom: 0.15em;
|
||||
font-size: 125%;
|
||||
|
@ -362,6 +381,14 @@ legend {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.actionSkill:hover .description {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.actionSkill:hover .description:hover {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.green legend {
|
||||
color: #41974D;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue