* 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
262 lines
5.1 KiB
SCSS
262 lines
5.1 KiB
SCSS
.sheet-rolltemplate-TraitRoll,
|
|
.sheet-rolltemplate-DiceRoller {
|
|
// Use .showtip to increase specificity!
|
|
// Necessary to override other adjoining classes!
|
|
.inlinerollresult.showtip {
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: -1;
|
|
display: block;
|
|
background-color: $c-background-die;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.sheet-rolltemplate-TraitRoll,
|
|
.sheet-rolltemplate-DiceRoller,
|
|
.sheet-rolltemplate-RunRoll,
|
|
.sheet-rolltemplate-DamageRoll,
|
|
.sheet-rolltemplate-InfoBox {
|
|
color: $c-text;
|
|
padding-top: 8px;
|
|
-webkit-font-smoothing: antialiased;
|
|
text-rendering: optimizeLegibility;
|
|
|
|
.inlinerollresult.showtip {
|
|
position: relative;
|
|
z-index: 1;
|
|
background-color: transparent;
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
|
|
.sheet-rolltemplate {
|
|
position: relative;
|
|
background: {
|
|
color: $c-white;
|
|
image: linear-gradient(to right, #fbfbfb 1px, transparent 1px),
|
|
linear-gradient(to bottom, #fbfbfb 1px, transparent 1px);
|
|
size: 8px 8px;
|
|
position: -1px -1px;
|
|
}
|
|
padding: 8px;
|
|
border-radius: 2px;
|
|
box-shadow: $shadow;
|
|
|
|
&__header {
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
line-height: 16px;
|
|
text-align: center;
|
|
|
|
&:not(:last-child) {
|
|
border-bottom: 1px dotted $c-outline;
|
|
padding-bottom: 7px;
|
|
}
|
|
}
|
|
|
|
&__content {
|
|
position: relative;
|
|
font-size: 11px;
|
|
text-align: center;
|
|
|
|
&:not(:first-child) {
|
|
padding-top: 8px;
|
|
}
|
|
|
|
&:not(:last-child) {
|
|
border-bottom: 1px dotted $c-outline;
|
|
padding-bottom: 7px;
|
|
}
|
|
|
|
span {
|
|
font-size: 11px;
|
|
}
|
|
|
|
span.inlinerollresult {
|
|
font-weight: 400;
|
|
}
|
|
}
|
|
|
|
&__content-row {
|
|
display: flex;
|
|
align-items: center;
|
|
line-height: 16px;
|
|
|
|
> div {
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
}
|
|
|
|
> .sheet-left {
|
|
font-weight: 500;
|
|
text-align: right;
|
|
padding-right: 8px;
|
|
width: 96px;
|
|
min-width: 96px;
|
|
}
|
|
|
|
> .sheet-right {
|
|
text-align: left;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
padding: 0 24px 0 8px;
|
|
}
|
|
}
|
|
|
|
&__dice {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 11px;
|
|
|
|
span {
|
|
display: block;
|
|
font-size: 11px;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.sheet-left {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
padding-right: 8px;
|
|
}
|
|
|
|
.sheet-right {
|
|
display: flex;
|
|
flex-shrink: 0;
|
|
padding: 0 4px;
|
|
}
|
|
|
|
&--damage {
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
|
|
&__roll {
|
|
flex-shrink: 0;
|
|
text-align: center;
|
|
border-radius: 2px;
|
|
min-width: 20px;
|
|
margin-top: 8px;
|
|
overflow: hidden;
|
|
box-shadow: $shadow;
|
|
|
|
&:not(:last-child) {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
// [original-title*='"basicdiceroll"'] watches for exploding dice!
|
|
// This only occurs if there is no fullcrit and/or critfail!
|
|
span:not([original-title*='"basicdiceroll"']).fullcrit {
|
|
&::before {
|
|
background-color: $c-outline;
|
|
}
|
|
}
|
|
|
|
span:not([original-title*='"basicdiceroll"']).fullfail {
|
|
color: $c-white;
|
|
|
|
&::before {
|
|
background-color: $c-red;
|
|
}
|
|
}
|
|
|
|
&--wd {
|
|
height: 20px;
|
|
transform: rotateZ(45deg);
|
|
|
|
&:not(:last-child) {
|
|
margin-right: 16px;
|
|
}
|
|
|
|
span {
|
|
transform: rotateZ(-45deg);
|
|
|
|
&::before {
|
|
transform: rotateZ(45deg);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&__reroll {
|
|
position: absolute;
|
|
top: 2px;
|
|
right: -4px;
|
|
font-family: Pictos;
|
|
border: 4px solid $c-white;
|
|
}
|
|
|
|
&__roll-damage {
|
|
position: absolute;
|
|
top: 26px;
|
|
right: -4px;
|
|
font-family: 'Pictos Custom';
|
|
border: 4px solid $c-white;
|
|
}
|
|
|
|
&__button a {
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: $c-item;
|
|
color: $c-text-lightest;
|
|
font-size: $fs-s;
|
|
font-weight: 500;
|
|
line-height: 9px;
|
|
border: 1px dotted $c-outline;
|
|
border-radius: 2px;
|
|
padding: 0 4px;
|
|
height: 20px;
|
|
min-width: 20px;
|
|
|
|
&:hover {
|
|
background-color: $c-background-dark;
|
|
color: $c-white !important;
|
|
border: 1px solid $c-background-dark;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.sheet-rolltemplate-TraitRoll,
|
|
.sheet-rolltemplate-DamageRoll {
|
|
.sheet-rolltemplate {
|
|
&__description {
|
|
color: $c-text-light;
|
|
font-size: 9px;
|
|
font-style: italic;
|
|
line-height: 16px;
|
|
text-align: center;
|
|
padding: 8px 0 7px;
|
|
border-bottom: 1px dotted $c-outline;
|
|
}
|
|
}
|
|
}
|
|
|
|
.sheet-rolltemplate-DamageRoll {
|
|
.sheet-rolltemplate {
|
|
&__damage-roll {
|
|
padding-right: 8px;
|
|
margin: 8px 0 0 8px;
|
|
|
|
&:not(:last-child) {
|
|
border-right: 1px dotted $c-outline;
|
|
}
|
|
|
|
span {
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
}
|
|
}
|
|
}
|
|
}
|