* uploaded images * add sheet * updated readme * updated readme * updated readme * Update readme.md * upload gifs * Update readme.md * Update readme.md * Update readme.md * Update readme.md * Update readme.md * Update readme.md * fixed unskilled * Update readme.md * updated sheet.json * resized gifs to 400px width * pre-release fixes * pre-release fixes * removed obsolete image * Update readme.md * Update readme.md * Update readme.md * Update readme.md * Update readme.md * renamed to SavageWorldsGraphPaper * renamed folder * Update readme.md * fixed image paths * skill lock does no longer lock mod/wd inputs * removed charset declaration * added wild die to roll templates * changed secondary container height for list items * removed style variable * Update readme.md * Update readme.md * Update readme.md * Update readme.md * Update readme.md * Update readme.md * extended Allies block and multiple fixes * removed default values for renaming options * added translation.json and some basic strings * Update readme.md * added more translation strings * added more translation hooks * added renaming option for integrity drawbacks * fixed wrong description * even more translations * remaining translation hooks, new mixin for vehicle weapons, some css reductions * Update readme.md * Update readme.md * updated translations * added * Update readme.md * Update readme.md typo * Update readme.md spelling error * Update readme.md added link * removed custom add item labels due to being not translatable * removed @charset UTF-8; * Update readme.md * yet even more translation stuff * dice parser includes renamed abbreviations * removed placeholder translations from hexfields * circumvented translation error for height * removed untranslatable label from empty list * removed die label from untrained bubble * circumvented translation error for height * updated settings strings * removed transition from damage roll toggle * updated readme * updated translations * Update readme.md * Update readme.md * ordered translations, removed UTF-8 declaration from CSS * added string interpolation * added preview image * Update readme.md * added extra sheet preview image * optimized image * Update readme.md * fixed meta field and extra preview image * string interpolation, missing translations, hyphens to underscore (fml) * fixed introduced errors from refactoring * translation fixes * resolved conflict due to underscore naming scheme * removed console log commands * resolved conflict due to underscore naming scheme #2 * fixed missing skill track labels * updated helper text * Update readme.md * removed obsolete leading whitespaces * prepared scss file for translation overrides * Update readme.md * some JS clean-up * added style option to disable skill die numbers * added settings.gif * Update readme.md * added roll preview * improved roll preview * Update readme.md * Update readme.md * updated list item label * reduced roll preview size * reduced extra sheet preview size * dice parser now captures X+ and X- references as well * made lightest text color slightly darker * switched global transitions to local ones to boost performance * added missing transition * updated readme.md * updated readme.md and sheet.json * added missing color transition * Update readme.md * fixed dice parser bug * added missing opacity transition * Update readme.md * added comment to BS script function * fixed positioning of hexfield * prepared rolltemplates for higher rate of fires * made max rof a global variable * increases rate of fire range to 8 * updated readme.md * added ammunition block * added new help section for ammunition * Update readme.md * Update readme.md * updated sheet.json and translations * Update readme.md * Update readme.md * fixed button color * added missing/changed translations, improved roll templates, extended skill settings * streamlined roll template hooks * added reroll button to roll templates * cleaned up directory, updated sheet.json and readme.md * optimized preview image * Update readme.md * Update readme.md * Update readme.md * added missing reroll, prepared skill rolls for referencing * removed test button * css fixes, added roll button and options to repeating lists * fixed critical bug in dice parser * added set max capacity to ammunition block * removed redundant css * updated sheet.json and readme.md * Update readme.md * updated sheet.json * updated/added preview gifs * Update readme.md * Update readme.md * Update readme.md * removed obsolete/redundant css (575 lines), improved performance * fixed button font-size * removed obsolete characters from css * removed more obsolete characters from css * further css reductions * pluralized label * add line ending * fixed attribute font-size * added dice parser to helper roll buttons * improved rate of fire handling * added rof toggle to repeating lists * Update readme.md * updated sheet.json * fixed sheet default options * refactored running * Update readme.md * updated help text for dice roller * fixed list rolls * added override for wild die in lists * added multiplier to augmentations * added damage button to weapon rolls * reduced html/css/translations * html reduction * updated readme.md * updated readme.md * added damage roll button to power list rolls * added help texts for raise damage, list item options, and extra sheet * updated readme.md * added setting toggles and injection options * added help entry for roll injections * updated readme.md and sheet.json * css fix for roll templates * another css fix * css fixes * updated readme * cleanup * icon position for lower resolutions * icon css reduction * added settings to hide silhouette/skill markers, improved css performance * rearranged some settings * added setting to hide augmentation markers * updated sheet.json * updated readme * alphabetically ordered settings * fixed critical bug in rolls, added toggles for global queries * updated readme * bugfix * small style adjusments * small style adjusments * new weight icon * small icon adjustment * updated sheet.json and preview image * fixed renaming feature * reduced file size of preview image * fixed some Firefox css issues * added three configurable custom buttons * updated readme and sheet.json * rof toggle is now applied to list damage rolls * fixed font-size for damage roll templates * small skill button width adjustment * text overflow fix for firefox * fixed missing silhouette switch * added gm roll toggle * fixed minor attribute inconsistency between wildcard and extras * shortened sheetworkers, added toggle for damage dice exploding * fixed exploding damage dice toggle default * fixed exploding damage dice toggle default for powers * refactored all skill rolls * updated readme and sheet.json * caught error with empty query modifier * extended rol template * extended settings * added abilities block * updated readme and sheet.json * fixed unskilled rolls
134 lines
2.4 KiB
SCSS
134 lines
2.4 KiB
SCSS
$container-height: 24px;
|
|
|
|
.sheet-simple-trait {
|
|
position: relative;
|
|
display: flex;
|
|
flex-shrink: 0;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-size: 11px;
|
|
line-height: $container-height;
|
|
padding-right: 6px;
|
|
border-radius: 2px;
|
|
height: $container-height;
|
|
min-width: 66px;
|
|
|
|
span {
|
|
color: $c-text;
|
|
}
|
|
|
|
.sheet-background {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
&__expand {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 2;
|
|
border: 1px solid transparent;
|
|
border-radius: 2px;
|
|
height: 100% !important; // Override Roll20!
|
|
width: 100%;
|
|
transition: border .3s ease-in-out;
|
|
|
|
&:hover,
|
|
&:checked {
|
|
border-color: $c-outline;
|
|
}
|
|
|
|
&:checked ~ .sheet-simple-trait__inputs {
|
|
display: flex;
|
|
background-color: $c-white;
|
|
}
|
|
|
|
&:checked ~ .sheet-background {
|
|
background-color: $c-white;
|
|
}
|
|
}
|
|
|
|
button[type=roll].sheet-simple-trait__roll {
|
|
padding-left: 6px !important;
|
|
}
|
|
|
|
&__roll {
|
|
position: relative;
|
|
z-index: 3;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
line-height: $container-height;
|
|
|
|
&:hover + .sheet-simple-trait__buttons {
|
|
pointer-events: all;
|
|
opacity: 1;
|
|
transition-delay: .7s;
|
|
}
|
|
}
|
|
|
|
&__custom-roll {
|
|
color: $c-text-light;
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
line-height: 16px;
|
|
|
|
&:not(:last-child) {
|
|
margin-right: 4px !important;
|
|
}
|
|
}
|
|
|
|
&__buttons {
|
|
pointer-events: none;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
z-index: 4;
|
|
display: flex;
|
|
background-color: $c-white;
|
|
padding: 0 4px;
|
|
border-radius: 2px;
|
|
height: 16px;
|
|
transform: translateY(-100%);
|
|
opacity: 0;
|
|
box-shadow: $shadow;
|
|
transition: opacity .3s ease-in-out;
|
|
|
|
&:hover {
|
|
pointer-events: all;
|
|
opacity: 1;
|
|
transition-delay: .7s;
|
|
}
|
|
}
|
|
|
|
&__label {
|
|
position: relative;
|
|
z-index: 1;
|
|
font-weight: 500;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
&__inputs {
|
|
position: absolute;
|
|
bottom: 1px;
|
|
left: 0;
|
|
z-index: 4;
|
|
display: none;
|
|
background-color: $c-white;
|
|
border: 1px solid $c-outline;
|
|
border-width: 0 1px 1px 1px;
|
|
border-radius: 0 0 2px 2px;
|
|
padding: 0 6px;
|
|
width: 100%;
|
|
transform: translateY(100%);
|
|
|
|
> input[type=text] {
|
|
text-align: center;
|
|
border-top: 1px dotted $c-outline;
|
|
width: 33.3%;
|
|
}
|
|
}
|
|
}
|