Files
optolith-client/css/components/content/herolist/Herolist.scss
T

95 lines
1.5 KiB
SCSS

@import "HeroCreation";
#body > main section#herolist {
.page {
> .list {
ul {
margin: 0;
padding: 1px 0;
list-style: none;
li {
position: relative;
padding: 11px;
display: flex;
align-items: center;
> svg {
position: absolute;
top: 7px;
left: 7px;
-webkit-filter: drop-shadow(0 0 2px black);
filter: drop-shadow(0 0 2px black);
z-index: 2;
visibility: hidden;
.progress-arc--fg {
stroke: #8f52cc;
// stroke: #0cc8c6;
}
}
> .el {
$size: 55px;
$padding: 2px;
z-index: 1;
flex: none;
@include size($size);
> div {
@include size($size - $padding * 2);
border-radius: 50%;
}
> div.overlay {
position: absolute;
visibility: hidden;
background: rgba(0, 0, 0, .75);
h2 {
text-align: center;
line-height: $size - $padding * 2;
font-size: 21px;
}
}
}
> .main {
flex: 1 1 100%;
margin-left: 16px;
// h2 {
// line-height: 22px;
// margin-bottom: 5px;
// }
}
.base-values {
display: flex;
> div:not(:first-child) {
margin-left: 11px;
}
}
&:not(:first-child) {
border-top: 1px solid transparentize(white, .925);
}
&:hover {
@extend %yellow-border;
> svg, > .el > div.overlay {
visibility: visible;
}
}
> .btn.btn-primary {
min-width: 140px;
}
}
}
}
}
}