From a95f755c45aef6c638e81ef14085a60dbda2dee8 Mon Sep 17 00:00:00 2001 From: Kraynic <48894209+Kraynic@users.noreply.github.com> Date: Sun, 21 Nov 2021 11:56:38 -0700 Subject: [PATCH] Update palladium_fantasy_1e.css Removed the spinner arrows from number inputs. Made the css changes necessary for the new section on the roll template. --- Palladium Fantasy 1E/palladium_fantasy_1e.css | 33 +++++++++++++++++-- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/Palladium Fantasy 1E/palladium_fantasy_1e.css b/Palladium Fantasy 1E/palladium_fantasy_1e.css index 7e722b020a..070c473e7e 100644 --- a/Palladium Fantasy 1E/palladium_fantasy_1e.css +++ b/Palladium Fantasy 1E/palladium_fantasy_1e.css @@ -197,7 +197,7 @@ input[value="1"].sheet-showstructures ~ .sheet-confstructures{ .repcontrol_move { float: left; } -/* General Sheet Setup */ +/* Sheet Arrow Show Hide */ input.sheet-arrow { float: left; } @@ -207,6 +207,24 @@ input.sheet-arrow { input.sheet-arrow:checked ~ .sheet-body { display: block; } + +/* Disable number input spinner */ +input[type=number].sheet-nospin::-webkit-inner-spin-button,input[type=number].sheet-nospin::-webkit-outer-spin-button{ + -webkit-appearance:none;appearance:none +} +input[type=number].sheet-nospin{ + -moz-appearance:textfield +} +input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} +input[type=number] { + -moz-appearance: textfield; +} + + +/* Main Tab Content Start */ .sheet-statheader-container{ display:grid; align-items:center; @@ -245,7 +263,6 @@ input.sheet-arrow:checked ~ .sheet-body { align-items: center; text-align: center; } -/* Main Tab Content Start */ .sheet-name-grid-container{ display:grid; align-items:center; @@ -974,7 +991,7 @@ button[type=roll].sheet-noteroll::before{ color:black; } -/* Custom Roll Template */ +/* Main Roll Template */ .sheet-rolltemplate-custom { margin-left: -37px; } @@ -997,6 +1014,16 @@ button[type=roll].sheet-noteroll::before{ .sheet-rolltemplate-custom .sheet-subtitle { font-size:.9em; } +.sheet-rolltemplate-custom .sheet-note { + background-color: var(--header-bg-color); + display: grid; + grid-template-columns: auto auto; + font-size:.9em; + font-weight: bold; + padding-left: 5px; + text-align: left; + color: var(--header-text-color); +} .sheet-rolltemplate-custom .sheet-container.sheet-color-black { --header-bg-color: rgba(0,0,0,1); --header-text-color: #FFF;