mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-09-02 21:22:34 +00:00
166 lines
3.1 KiB
SCSS
166 lines
3.1 KiB
SCSS
.sheet-features {
|
|
position: relative;
|
|
flex-grow: 1;
|
|
|
|
fieldset,
|
|
.repcontainer {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
padding: 4px 0;
|
|
margin: 0 -4px;
|
|
|
|
&::after {
|
|
content: '';
|
|
display: block;
|
|
flex-grow: 1000000;
|
|
}
|
|
|
|
> * {
|
|
opacity: .6;
|
|
transition-delay: .4s;
|
|
transition: opacity .3s ease-in-out;
|
|
}
|
|
|
|
&:hover > * {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.repitem {
|
|
flex-grow: 1;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.sheet-repitem {
|
|
position: relative;
|
|
display: flex;
|
|
padding-right: 6px;
|
|
margin: 4px;
|
|
width: auto;
|
|
}
|
|
|
|
.sheet-color-cycle__radio {
|
|
top: 1px;
|
|
left: 1px;
|
|
align-items: center;
|
|
padding: 0;
|
|
height: 14px;
|
|
width: 14px;
|
|
opacity: 1;
|
|
transform: none;
|
|
|
|
&::after {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: $fs-s;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
height: 100%;
|
|
width: 100%;
|
|
border-radius: 2px 0 0 2px;
|
|
}
|
|
|
|
&--novice:checked::after {
|
|
content: 'N';
|
|
background-color: rgba(0, 0, 0, .05);
|
|
color: $c-text-light;
|
|
}
|
|
|
|
&--seasoned:checked::after {
|
|
content: 'S';
|
|
background-color: $c-green;
|
|
color: $c-white;
|
|
}
|
|
|
|
&--veteran:checked::after {
|
|
content: 'V';
|
|
background-color: $c-blue;
|
|
color: $c-white;
|
|
}
|
|
|
|
&--heroic:checked::after {
|
|
content: 'H';
|
|
background-color: $c-purple;
|
|
color: $c-white;
|
|
}
|
|
|
|
&--legendary:checked::after {
|
|
content: 'L';
|
|
background-color: $c-yellow;
|
|
color: $c-white;
|
|
}
|
|
|
|
&--augmentation:checked::after {
|
|
content: 'A';
|
|
background-color: $c-background-dark;
|
|
color: $c-white;
|
|
}
|
|
|
|
&--dot:checked::after {
|
|
content: '';
|
|
background-color: $c-text-light;
|
|
border: 4px solid $c-item;
|
|
border-radius: 50%;
|
|
height: 14px;
|
|
width: 14px;
|
|
}
|
|
|
|
&--hindrance:checked::after {
|
|
content: '*';
|
|
background-color: $c-dark-red;
|
|
color: $c-white;
|
|
font-family: Pictos;
|
|
}
|
|
|
|
&--disabled:checked {
|
|
&::after {
|
|
content: 'e';
|
|
font-size: $fs-l;
|
|
font-family: Pictos;
|
|
}
|
|
|
|
~ *,
|
|
&::after {
|
|
color: $c-text-lightest;
|
|
text-shadow: 0 0 3px $c-white, 0 0 3px $c-white, 0 0 3px $c-white, 0 0 3px $c-white;
|
|
}
|
|
|
|
~ .sheet-features__inner-background {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
z-index: 0;
|
|
background: url('https://raw.githubusercontent.com/Tetrakern/roll20-character-sheets/master/Savage%20Worlds%20-%20Graph%20Paper/img/unskilled_bg.png') repeat;
|
|
}
|
|
}
|
|
}
|
|
|
|
span {
|
|
display: block;
|
|
visibility: hidden;
|
|
line-height: 16px;
|
|
margin-left: 22px;
|
|
}
|
|
|
|
input[type=text].sheet-features__name {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 20px;
|
|
z-index: 1;
|
|
line-height: 16px;
|
|
height: 100%;
|
|
width: calc(100% - 24px)
|
|
}
|
|
|
|
.repcontainer.editmode {
|
|
.itemcontrol {
|
|
margin: 4px;
|
|
width: calc(100% - 8px) !important;
|
|
max-height: 16px;
|
|
}
|
|
}
|
|
}
|