208 lines
3.5 KiB
SCSS
208 lines
3.5 KiB
SCSS
.sheet-toggle-skill-markers:not(:checked) {
|
|
+ .sheet-skills .sheet-color-cycle {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.sheet-skills {
|
|
position: relative;
|
|
|
|
&__lock {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
|
|
&::after {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: $c-text-lightest;
|
|
font-family: Pictos;
|
|
font-size: 8px;
|
|
height: 16px;
|
|
width: 16px;
|
|
}
|
|
|
|
&:not(:checked) {
|
|
&::after {
|
|
content: ')';
|
|
}
|
|
|
|
+ .sheet-skills__wrapper {
|
|
.sheet-skills__step-button {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
&:checked::after {
|
|
content: '(';
|
|
}
|
|
|
|
&:checked ~ .sheet-skills__wrapper .sheet-skills__track {
|
|
input {
|
|
cursor: default;
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.sheet-header {
|
|
justify-content: flex-end;
|
|
border: none;
|
|
}
|
|
|
|
&__die {
|
|
width: 18px;
|
|
|
|
&:not(.sheet-a) {
|
|
margin-right: 3px;
|
|
}
|
|
}
|
|
|
|
&__mod,
|
|
&__wd {
|
|
width: 24px;
|
|
}
|
|
|
|
&__mod {
|
|
margin-right: 3px;
|
|
}
|
|
|
|
&__plus {
|
|
color: $c-text-gray;
|
|
font-size: $fs-l;
|
|
line-height: 1;
|
|
text-align: center;
|
|
width: 18px;
|
|
}
|
|
|
|
&__color-marker {
|
|
width: 16px;
|
|
|
|
.sheet-color-cycle__radio {
|
|
padding: 3px;
|
|
border: 1px solid transparent;
|
|
|
|
&--none {
|
|
border-color: $c-outline;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__skill {
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
height: 16px;
|
|
|
|
&:not(:last-child) {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
input[type=text].sheet-skills__mod,
|
|
input[type=text].sheet-skills__wd {
|
|
background-color: $c-white;
|
|
font-size: 9px !important;
|
|
height: 14px;
|
|
box-shadow: $shadow;
|
|
|
|
&::placeholder {
|
|
line-height: 14px;
|
|
}
|
|
|
|
&:not(:placeholder-shown) {
|
|
background-color: $c-background-dark;
|
|
color: $c-white;
|
|
}
|
|
}
|
|
|
|
.sheet-skills__mod {
|
|
border-radius: 2px 0 0 2px;
|
|
}
|
|
|
|
.sheet-skills__wd {
|
|
border-radius: 0 2px 2px 0;
|
|
}
|
|
}
|
|
|
|
&__track {
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
}
|
|
|
|
input[type=radio].sheet-radio-track {
|
|
height: 14px;
|
|
width: 18px;
|
|
|
|
&:not(:first-of-type) {
|
|
margin-right: 3px;
|
|
}
|
|
|
|
&:not(.sheet-d4-2):checked::before{
|
|
content: attr(label);
|
|
}
|
|
|
|
&.sheet-d12 {
|
|
border-radius: 0 2px 2px 0;
|
|
}
|
|
|
|
&.sheet-d4-2 {
|
|
border-radius: 2px 0 0 2px;
|
|
|
|
&:checked {
|
|
background: url('https://raw.githubusercontent.com/Tetrakern/roll20-character-sheets/master/Savage%20Worlds%20-%20Graph%20Paper/img/unskilled_bg.png') repeat;
|
|
|
|
&::after {
|
|
background-color: transparent;
|
|
}
|
|
|
|
~ button > span {
|
|
color: $c-text-lightest; // Untrained skill
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
button[type=roll] {
|
|
.sheet-tooltip {
|
|
z-index: 10;
|
|
white-space: nowrap;
|
|
|
|
&--left {
|
|
text-transform: uppercase;
|
|
}
|
|
}
|
|
|
|
&:hover .sheet-tooltip {
|
|
opacity: 1;
|
|
transition-delay: .4s;
|
|
}
|
|
}
|
|
|
|
button[type=roll].sheet-skills__step-button {
|
|
position: relative;
|
|
margin-right: -18px !important;
|
|
height: 14px;
|
|
width: 18px;
|
|
}
|
|
|
|
&__button {
|
|
position: relative;
|
|
align-items: center;
|
|
color: $c-text-light;
|
|
font-size: $fs-s;
|
|
font-weight: 500;
|
|
line-height: 1;
|
|
|
|
> span {
|
|
display: block;
|
|
padding: 1px 8px 1px 0;
|
|
max-width: 88px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|
|
}
|