Files
roll20-character-sheets/Savage Worlds - Graph Paper/source/styles/_trait_section.scss
T
Sebastian 83f1ca7ebb [SWADE] Savage Worlds - Graph Paper Sheet (#7510)
* 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
2020-10-13 17:42:07 -04:00

219 lines
4.3 KiB
SCSS

.sheet-trait-section {
> .sheet-left {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
width: 470px;
}
.sheet-section-container--center-top {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding-bottom: 112px;
width: 100%;
}
.sheet-section-container--center-bottom {
position: relative;
display: flex;
align-items: center;
padding: 24px 0 32px 0;
width: 100%;
height: 100%;
}
.sheet-section-container--bottom {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 0 32px;
width: 100%;
}
}
.sheet-silhouette {
margin-left: -50px;
}
.sheet-secondary-block {
position: absolute;
left: 166px;
top: 350px;
z-index: 2;
display: flex;
align-items: center;
transform: translateY(-50%);
> *:not(:last-child) {
margin-right: 23px;
}
.sheet-hexfield {
&:hover .sheet-hexfield * {
opacity: 1 !important;
transition-delay: 0.4s;
}
.sheet-hexfield {
> * {
opacity: 0;
}
.sheet-hexfield__trait-field {
&:focus {
opacity: 1;
& ~ * {
opacity: 1;
}
}
}
.sheet-hexfield__label {
opacity: 0;
}
}
.sheet-hexfield--flight {
top: -28px;
left: 16px;
.sheet-hexfield__trait-field:not(:placeholder-shown) {
opacity: 1;
& ~ * {
opacity: 1;
color: $c-text-light;
}
}
}
.sheet-hexfield--running,
.sheet-hexfield--soak-bonus {
.sheet-hexfield__trait-field:not(:placeholder-shown) {
opacity: 1;
& + .sheet-hexfield__hexagon {
opacity: 1;
}
}
}
.sheet-hexfield--running {
top: -64px;
left: -17px;
}
.sheet-hexfield--soak-bonus {
top: 0;
left: 33px;
}
.sheet-hexfield--soak-wd {
top: -36px;
left: 66px;
.sheet-hexfield__trait-field {
color: $c-text-gray;
}
}
}
}
.sheet-armor-block {
position: absolute;
right: -25px;
top: 20px;
z-index: 1;
display: flex;
flex-direction: column;
align-items: flex-end;
transform: translateX(-100px);
> *:not(:last-child) {
margin-bottom: 40px;
}
.sheet-hexfield--armor {
&-head {
margin-right: 16px;
}
&-legs {
margin-right: 16px;
}
}
.sheet-textarea {
position: absolute;
top: 8px;
left: 37px;
color: $c-text-lighter;
font-size: 9px;
line-height: 1.5;
padding-top: 4px;
height: 56px;
width: 105px;
resize: none;
&::placeholder {
color: #f0f0f0;
font-size: 22px;
font-weight: 700;
line-height: 0.5;
}
}
.sheet-armor-decoration {
position: absolute;
top: 15px;
right: 16px;
opacity: .08 !important;
background: url('https://raw.githubusercontent.com/Tetrakern/roll20-character-sheets/master/Savage%20Worlds%20-%20Graph%20Paper/img/armor_line.png') no-repeat;
height: 316px;
width: 82px;
}
.sheet-armor-pointer {
position: absolute;
transform: translateX(-100%);
opacity: .08 !important;
&--head {
background: url('https://raw.githubusercontent.com/Tetrakern/roll20-character-sheets/master/Savage%20Worlds%20-%20Graph%20Paper/img/head_line.png') no-repeat;
top: 17px;
right: -48px;
height: 3px;
width: 111px;
}
&--torso {
background: url('https://raw.githubusercontent.com/Tetrakern/roll20-character-sheets/master/Savage%20Worlds%20-%20Graph%20Paper/img/torso_line.png') no-repeat;
top: -17px;
right: -42px;
height: 38px;
width: 110px;
}
&--arms {
background: url('https://raw.githubusercontent.com/Tetrakern/roll20-character-sheets/master/Savage%20Worlds%20-%20Graph%20Paper/img/arms_line.png') no-repeat;
top: -46px;
right: -13px;
height: 66px;
width: 78px;
}
&--legs {
background: url('https://raw.githubusercontent.com/Tetrakern/roll20-character-sheets/master/Savage%20Worlds%20-%20Graph%20Paper/img/legs_line.png') no-repeat;
top: -31px;
right: -15px;
height: 53px;
width: 76px;
}
}
}