Ability
diff --git a/Pathfinder-Neceros/pathfinder-neceros.css b/Pathfinder-Neceros/pathfinder-neceros.css index 9c3f8384f5..0cf03cca15 100644 --- a/Pathfinder-Neceros/pathfinder-neceros.css +++ b/Pathfinder-Neceros/pathfinder-neceros.css @@ -127,7 +127,8 @@ input[readonly], input[disabled] { } .sheet-progress-icon { position:absolute; - z-index:5; + z-index: 5; + top: -3em; } .sheet-half, .sheet-desc, @@ -1157,14 +1158,11 @@ input.sheet-tabinput { /***************** collapse/expand rows arrow added after text found preceding span ******************************/ /* standalone generic toggles */ .sheet-noshow, -.sheet-show-spell-cell, -.sheet-sect-show.sheet-sect-show-inverse, -.sheet-sect-show.sheet-noshow, .sheet-deletesect-show, .sheet-wounds-show, -.sheet-sect2-show.sheet-noshow, +.sheet-sect2-show.sheet-expand-arrow, +.sheet-sect3-show.sheet-expand-arrow, .sheet-wider-readonly.sheet-noshow, -.sheet-misc-show:not(.sheet-showarrow), .sheet-spontaneous-show, .sheet-mythic-show, .sheet-psionic-show, @@ -1188,9 +1186,7 @@ input.sheet-tabinput { .sheet-error-show, .sheet-warn-show, .sheet-error-mshow, -.sheet-warn-mshow, -.sheet-sect2-show:not(.sheet-showarrow), -.sheet-sect3-show:not(.sheet-showarrow) { +.sheet-warn-mshow { display: none; } /* ARROWS */ @@ -1423,9 +1419,6 @@ h2.sheet-clickheader { .sheet-deletebutton { margin: 0 -1.4rem 2px 2rem; } -.sheet-cssbutton.sheet-refreshbutton { - margin-left:20%; -} .sheet-csstextbutton { width:5em; @@ -1463,6 +1456,17 @@ h2.sheet-clickheader { width: 4em; height: 1.4rem; } +.sheet-showarrow:hover + .sheet-showsect:not(.sheet-showsect-nocolor), +.sheet-showarrow:hover + .sheet-showsect::before, +.sheet-counted:hover + span, +.sheet-counted:hover + span::before, +.sheet-csstextbutton:hover, +.sheet-csstextbutton:hover + span, +.sheet-cssbutton:hover, +.sheet-cssbutton:hover + span::before { + color: Red; + border-color: Red; +} .sheet-minimize-show:checked ~ .sheet-lock-show + span::before, .sheet-csstextbutton:checked + span, @@ -1519,7 +1523,8 @@ h2.sheet-clickheader { .sheet-refreshbutton + span::before { font-family: "Pictos" !important; content: '1'; - padding: 3px 0 0 0; + vertical-align: top; + margin-top:.5em; } .sheet-table-cell.sheet-small-label.sheet-cssbutton-cell { padding-top:1em; @@ -1549,39 +1554,56 @@ h2.sheet-clickheader { vertical-align:top; padding: 4px 0 0 0 !important; } + +.sheet-cssbutton-label { + margin-left: -3em; + font-weight: bold; + font-size: .666rem; + font-style: italic; + vertical-align: bottom; +} +input.sheet-configbutton, +input.sheet-readonly-show, +input.sheet-refreshbutton { + vertical-align: top; + margin-top: .5em; + padding-top: 0; + margin-left: .75em; +} + .sheet-configbutton + span::before { content: '⛭'; - margin-top: 5px; - vertical-align:top; - padding: 5px 0 0 0 !important; + margin-top: .5em; + vertical-align: top; + padding: 3px 0 0 0 !important; } .sheet-readonly-show + span::before { background-color:white !important; background: url("http://i.imgur.com/C8lPQRS.png"); background-position: -1px -1px; - content:' '; - width: 1.45rem; - height: 1.4rem; + content:'1'; /* for size to match sheet-refresh must not be space */ + color:transparent; background-repeat:no-repeat !important; - margin: 3px 0px -5px 4px; + vertical-align: top; + margin-top: .5em; } .sheet-readonly-show + span:hover::before { background-color:white !important; background: url("http://i.imgur.com/MEXe7NT.png"); background-position: -1px -1px; - content:' '; + color:transparent; } .sheet-readonly-show:checked + span::before { background-color:#4a6486 !important; background: url("http://i.imgur.com/HcLvjwY.png"); background-position: -1px -1px; - content:' '; + color:transparent; } .sheet-readonly-show:checked + span:hover::before { background-color:#4a6486 !important; background: url("http://i.imgur.com/HcLvjwY.png"); background-position: -1px -1px; - content:' '; + color:transparent; } .sheet-allrows-note span { vertical-align: middle; @@ -1598,17 +1620,7 @@ h2.sheet-clickheader { -webkit-margin-before: 0; display: inline-block; } -.sheet-showarrow:hover + .sheet-showsect:not(.sheet-showsect-nocolor), -.sheet-showarrow:hover + .sheet-showsect::before, -.sheet-counted:hover + span, -.sheet-counted:hover + span::before, -.sheet-csstextbutton:hover, -.sheet-csstextbutton:hover + span, -.sheet-cssbutton:hover, -.sheet-cssbutton:hover + span::before { - color: Red; - border-color: Red; -} + /***********************repeating item counter ************************************/ .sheet-repeating-fields { @@ -1699,28 +1711,25 @@ h2.sheet-clickheader { } /*selected text */ -.sheet-selectedlabel-check + b:not(.sheet-offCase), -.sheet-selectedlabel-check + label b:not(.sheet-offCase) { - color: darkslategrey; - display: inline; +.sheet-selectedlabel-check + b:not(.sheet-offCase) { + color: dimgrey; font-size: .75rem; line-height: 1.5em; padding: 1px .5em 1px .25em; - cursor: pointer; +} +.sheet-corerules .sheet-table-row .sheet-table-cell { + padding-left:.5em; +} +.sheet-selectedlabel-check:hover + b:not(.sheet-offCase), +.sheet-selectedlabel-check:focus + b:not(.sheet-offCase), +.sheet-selectedlabel-check:checked:hover + b:not(.sheet-offCase), +.sheet-selectedlabel-check:checked:focus + b:not(.sheet-offCase) { + color: red; +} +.sheet-selectedlabel-check:checked + b:not(.sheet-offCase) { + color: black; } -.sheet-selectedlabel-check + b:not(.sheet-offCase):hover, -.sheet-selectedlabel-check + label b:not(.sheet-offCase):hover { - color: red; - font-weight: bold; -} -.sheet-selectedlabel-check:checked + b:not(.sheet-offCase), -.sheet-selectedlabel-check:checked + label b:not(.sheet-offCase) { - color: black; - font-weight: bold; - display: inline; - cursor: pointer; -} .sheet-conditions .sheet-table-row { height: 1.85em; } @@ -2652,10 +2661,15 @@ div.sheet-macro-text .sheet-small-label2, .sheet-section-state:checked ~ .sheet-background-color1 { background-color: #f0f8ff; } -.sheet-section-header { +.sheet-monster-indicator { width: 100%; - display: table; - clear: both; + display: block; + margin-top: -1em; + text-align: center; +} +.sheet-section-header { + display: inline-table; + vertical-align:bottom; } .sheet-section-header .sheet-small-label2 { display: table-cell; @@ -2740,11 +2754,13 @@ div.sheet-macro-text .sheet-small-label2, .sheet-extra-show:not(:checked) ~ .sheet-section-extra, .sheet-sp-show:not(:checked) ~ .sheet-sect-sp, .sheet-sp-show:checked ~ .sheet-sect-sp-inverse, -/* class and race */ +/* pc vs npc */ .sheet-npc-show:checked ~ .sheet-pc-only, -.sheet-npc-show:not(:checked) ~ .sheet-npc-only, .sheet-npc-show:checked ~ span .sheet-pc-only, +.sheet-npc-show:checked ~ .sheet-pfsheet .sheet-pc-only, +.sheet-npc-show:not(:checked) ~ .sheet-npc-only, .sheet-npc-show:not(:checked) ~ span .sheet-npc-only, +.sheet-npc-show:not(:checked) ~ .sheet-pfsheet .sheet-npc-only, /* generic sections */ .sheet-sect-show:not(:checked) ~ .sheet-sect, .sheet-sect2-show:not(:checked) ~ .sheet-sect2, @@ -2756,11 +2772,8 @@ div.sheet-macro-text .sheet-small-label2, .sheet-subsect2-show:not(:checked) ~ div .sheet-sect2, .sheet-subsect3-show:not(:checked) ~ div .sheet-sect3, .sheet-deletesect-show:not(:checked) ~ .sheet-deletesect, -/* pc vs npc */ -.sheet-npc-show:not(:checked) ~ .sheet-sect-npc, -.sheet-npc-show:not(:checked) ~ div .sheet-sect-npc, -.sheet-npc-show:checked ~ .sheet-sect-pc, -.sheet-npc-show:checked ~ div .sheet-sect-pc, +/* buttons */ +.sheet-progress-show:not(:checked) ~ .sheet-progress-icon, /* .sheet-nextitem-show:not(:checked) + *, */ @@ -4438,10 +4451,6 @@ also if multiple repeating sects inside h2 they are 100% wide and only h2 is nar .sheet-show-spell-tab:not(:checked) ~ .sheet-main .sheet-section-spells { display: none; } -.sheet-show-npc-tab:not(:checked) ~ .sheet-main .sheet-npctab, -.sheet-show-npc-tab:not(:checked) ~ .sheet-main .sheet-section-npc { - display: none; -} .sheet-table-rightcell { width:90%; max-width:90%; diff --git a/Pathfinder-Neceros/pathfinder-neceros.html b/Pathfinder-Neceros/pathfinder-neceros.html index acbc42aa16..fb48df1862 100644 --- a/Pathfinder-Neceros/pathfinder-neceros.html +++ b/Pathfinder-Neceros/pathfinder-neceros.html @@ -13,28 +13,31 @@ Checkboxes with a label right after cause the section with same name (h2 or h3 header) to be revealed or hidden. New sheets begin on the Configuration page. Use the Settings button(config-show) to edit the sheet. - + -
-
+