mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-09-05 14:42:31 +00:00
112 lines
3.5 KiB
SCSS
112 lines
3.5 KiB
SCSS
@use 'nested_fieldset/nested_fieldset.scss';
|
|
@use 'tabs/tabs.scss';
|
|
|
|
.ui-dialog .tab-content .charsheet {
|
|
//Generic Roll Button
|
|
button[type=roll] {
|
|
margin: 0;
|
|
&.baseRoll {
|
|
background: none;
|
|
background: var(--img-diceStatic);
|
|
background-repeat: no-repeat;
|
|
background-position: 0;
|
|
background-color: none;
|
|
width: 25px;
|
|
height: 25px;
|
|
content: '';
|
|
|
|
border: none;
|
|
&::before {
|
|
content: '' !important;
|
|
background: none;
|
|
background-color: none;
|
|
}
|
|
&:hover, &:active {
|
|
background-position: 0;
|
|
background-color: none !important;
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
}
|
|
//Expanding sections
|
|
.expanding {
|
|
display: flex;
|
|
position: relative;
|
|
padding-top: 0px;
|
|
border: 0px solid var(--col-greenearth);
|
|
background: var(--img-scroll);
|
|
background-size: 100%;
|
|
background-position: bottom;
|
|
transition: all 120ms ease-in-out;
|
|
height: 0;
|
|
overflow: hidden;
|
|
}
|
|
.expand_toggle[value=on] + .expanding {
|
|
--mask: var(--img-inkin);
|
|
--steps: 23;
|
|
border-width: 3px;
|
|
padding-top: 20px;
|
|
transform-origin: top;
|
|
transition: all 120ms ease-in-out;
|
|
height: 115px;
|
|
mask-image: var(--mask);
|
|
mask-position: center top;
|
|
animation: inked 1000ms ease-in-out 60ms;
|
|
animation-timing-function: steps(var(--steps), end);
|
|
animation-fill-mode: forwards;
|
|
&.large {
|
|
--mask: var(--img-inkin-big);
|
|
--steps: 22;
|
|
}
|
|
}
|
|
.expanding_contrast {
|
|
clip-path: inset(0 0 0 0);
|
|
&.__golden {
|
|
filter: drop-shadow(0px 0px 1px rgb(36, 4, 4)) drop-shadow(0px 0px 2px rgb(90, 27, 27)) drop-shadow(0px 0px 2px rgb(204, 155, 50)) drop-shadow(0px 0px 2px rgb(182, 129, 16)) drop-shadow(0px 0px 3px rgb(219, 204, 69)) drop-shadow(0px 0px 4px rgb(252, 253, 194)) drop-shadow(0px 0px 6px rgb(255, 255, 255));
|
|
}
|
|
&.__magic {
|
|
filter: drop-shadow(0px 0px 1px black) drop-shadow(0px 0px 1px rgb(36, 4, 4)) drop-shadow(0px 0px 2px rgb(44, 27, 90)) drop-shadow(0px 0px 2px rgb(70, 70, 238)) drop-shadow(0px 0px 3px rgb(100, 180, 225)) drop-shadow(0px 0px 4px rgb(100, 180, 225));
|
|
}
|
|
&.__emerald {
|
|
filter: drop-shadow(0px 0px 1px rgb(4, 14, 36)) drop-shadow(0px 0px 2px rgb(27, 49, 90)) drop-shadow(0px 0px 2px rgb(14, 75, 90)) drop-shadow(0px 0px 2px rgb(67, 126, 104)) drop-shadow(0px 0px 3px rgb(92, 219, 88)) drop-shadow(0px 0px 6px rgb(233, 255, 174));
|
|
}
|
|
}
|
|
input.button__quill {
|
|
appearance: none;
|
|
width: 20px;
|
|
aspect-ratio: 1;
|
|
margin: 4px;
|
|
background: var(--img-quill);
|
|
background-size: 100%;
|
|
background-repeat: no-repeat;
|
|
border: none;
|
|
transition: all 0.25s ease-in-out;
|
|
&:checked {
|
|
transform: rotate(-45deg);
|
|
filter: brightness(0.7) hue-rotate(160deg) saturate(1);
|
|
transition: all 0.25s ease-in-out;
|
|
animation: wiggle 1s 1;
|
|
}
|
|
&:focus {
|
|
outline: none;
|
|
}
|
|
}
|
|
}
|
|
//Animations
|
|
@keyframes rollout {
|
|
0% {
|
|
transform: scaleY(0);
|
|
}
|
|
100% {
|
|
transform: scaleY(1);
|
|
}
|
|
}
|
|
|
|
@keyframes inked {
|
|
0% {
|
|
mask-position: center top;
|
|
}
|
|
100% {
|
|
mask-position: center bottom;
|
|
}
|
|
} |