145 lines
2.3 KiB
SCSS
145 lines
2.3 KiB
SCSS
@use "../atoms/colours";
|
|
@use "../atoms/numbers";
|
|
@use "../atoms/assets";
|
|
@use "sass:color";
|
|
|
|
@mixin attributes {
|
|
display: flex;
|
|
position: relative;
|
|
top: -10px;
|
|
right: -10px;
|
|
|
|
.attribute {
|
|
width: 48px;
|
|
height: 48px;
|
|
position: relative;
|
|
margin-left: 2px;
|
|
|
|
.die {
|
|
|
|
svg {
|
|
position: absolute;
|
|
|
|
path {
|
|
fill: colours.$attribute-die-color;
|
|
}
|
|
}
|
|
}
|
|
|
|
.wert {
|
|
font-weight: bold;
|
|
position: absolute;
|
|
left: -1px;
|
|
width: 48px;
|
|
top: -1px;
|
|
font-size: smaller;
|
|
line-height: 48px;
|
|
vertical-align: middle;
|
|
text-align: center;
|
|
color: colours.$attribute-die-label-color;
|
|
}
|
|
|
|
.name {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: -12px;
|
|
line-height: 12px;
|
|
vertical-align: middle;
|
|
text-align: center;
|
|
color: colours.$attribute-label-color;
|
|
}
|
|
}
|
|
|
|
&.colorfulDice {
|
|
|
|
&.Mut {
|
|
|
|
.die svg path {
|
|
fill: colours.$attribute-die-co-color;
|
|
}
|
|
|
|
.wert {
|
|
color: colours.$attribute-die-co-text-color;
|
|
}
|
|
}
|
|
|
|
.Klugheit {
|
|
|
|
.die svg path {
|
|
fill: colours.$attribute-die-sm-color;
|
|
}
|
|
|
|
.wert {
|
|
color: colours.$attribute-die-sm-text-color;
|
|
}
|
|
}
|
|
|
|
.Intuition {
|
|
|
|
.die svg path {
|
|
fill: colours.$attribute-die-in-color;
|
|
}
|
|
|
|
.wert {
|
|
color: colours.$attribute-die-in-text-color;
|
|
}
|
|
}
|
|
|
|
.Charisma {
|
|
|
|
.die svg path {
|
|
fill: colours.$attribute-die-ch-color;
|
|
}
|
|
|
|
.wert {
|
|
color: colours.$attribute-die-ch-text-color;
|
|
}
|
|
}
|
|
|
|
.Gewandtheit {
|
|
|
|
.die svg path {
|
|
fill: colours.$attribute-die-dx-color;
|
|
}
|
|
|
|
.wert {
|
|
color: colours.$attribute-die-dx-text-color;
|
|
}
|
|
}
|
|
|
|
.Fingerfertigkeit {
|
|
|
|
.die svg path {
|
|
fill: colours.$attribute-die-ag-color;
|
|
}
|
|
|
|
.wert {
|
|
color: colours.$attribute-die-ag-text-color;
|
|
}
|
|
}
|
|
|
|
.Konstitution {
|
|
|
|
.die svg path {
|
|
fill: colours.$attribute-die-bd-color;
|
|
}
|
|
|
|
.wert {
|
|
color: colours.$attribute-die-bd-text-color;
|
|
}
|
|
}
|
|
|
|
.Körperkraft {
|
|
|
|
.die svg path {
|
|
fill: colours.$attribute-die-st-color;
|
|
}
|
|
|
|
.wert {
|
|
color: colours.$attribute-die-st-text-color;
|
|
}
|
|
}
|
|
}
|
|
}
|