mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
Update Shadowdark-Unofficial.css
Convert attack & feature forms to dialogs; minor style and color touch ups
This commit is contained in:
@@ -57,6 +57,12 @@ input::placeholder {
|
||||
flex: 1 0 50%;
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-form-body textarea.attr_atk_desc {
|
||||
height: 200px;
|
||||
min-height: 80px;
|
||||
max-height: 300px;
|
||||
}
|
||||
|
||||
.sd-row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@@ -210,6 +216,33 @@ input::placeholder {
|
||||
background-image: linear-gradient(to left, rgba(31, 31, 31, 1), rgba(31, 31, 31, 0));
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-form-body h1 {
|
||||
background-color: transparent;
|
||||
font-size: 16px;
|
||||
line-height: 20px;
|
||||
margin: 0;
|
||||
background-image: none;
|
||||
color: #222;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.sheet-darkmode .sheet-sd .sheet-form-body h1 {
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
.charsheet .sheet-sd .sheet-form-body button[type=roll] {
|
||||
font-size: 16px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid green;
|
||||
background-color: rgba(0, 50, 10, 0.5);
|
||||
padding: 2px 16px;
|
||||
}
|
||||
|
||||
.charsheet .sheet-sd .sheet-form-body button[type=roll]:hover,
|
||||
.charsheet .sheet-sd .sheet-form-body button[type=roll]:active {
|
||||
background-color: rgba(0, 200, 20, 0.5);
|
||||
}
|
||||
|
||||
/* fields */
|
||||
.sheet-sd input.sd-num,
|
||||
.sheet-sd input.sd-text {
|
||||
@@ -418,6 +451,7 @@ label.sheet-form-checkbox {
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-atk,
|
||||
.sheet-rolltemplate-atkdmg,
|
||||
.sheet-rolltemplate-dmg,
|
||||
.sheet-rolltemplate-simple,
|
||||
.sheet-rolltemplate-traits {
|
||||
@@ -429,6 +463,7 @@ label.sheet-form-checkbox {
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-atk .sheet-char-name,
|
||||
.sheet-rolltemplate-atkdmg .sheet-char-name,
|
||||
.sheet-rolltemplate-dmg .sheet-char-name,
|
||||
.sheet-rolltemplate-simple .sheet-char-name,
|
||||
.sheet-rolltemplate-traits .sheet-char-name {
|
||||
@@ -440,6 +475,7 @@ label.sheet-form-checkbox {
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-atk .sheet-info,
|
||||
.sheet-rolltemplate-atkdmg .sheet-info,
|
||||
.sheet-rolltemplate-dmg .sheet-info,
|
||||
.sheet-rolltemplate-simple .sheet-info,
|
||||
.sheet-rolltemplate-traits .sheet-info {
|
||||
@@ -448,6 +484,7 @@ label.sheet-form-checkbox {
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-atk .sheet-label,
|
||||
.sheet-rolltemplate-atkdmg .sheet-label,
|
||||
.sheet-rolltemplate-dmg .sheet-label,
|
||||
.sheet-rolltemplate-simple .sheet-label,
|
||||
.sheet-rolltemplate-traits .sheet-label {
|
||||
@@ -455,18 +492,21 @@ label.sheet-form-checkbox {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-atk .sheet-label a {
|
||||
.sheet-rolltemplate-atk .sheet-label a,
|
||||
.sheet-rolltemplate-atkdmg .sheet-label a {
|
||||
background-color: #fff;
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-atk .sheet-label a:hover {
|
||||
.sheet-rolltemplate-atk .sheet-label a:hover,
|
||||
.sheet-rolltemplate-atkdmg .sheet-label a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-atk .sheet-roll-name,
|
||||
.sheet-rolltemplate-atkdmg .sheet-roll-name,
|
||||
.sheet-rolltemplate-dmg .sheet-roll-name,
|
||||
.sheet-rolltemplate-simple .sheet-roll-name,
|
||||
.sheet-rolltemplate-traits .sheet-trait-name {
|
||||
@@ -483,6 +523,7 @@ label.sheet-form-checkbox {
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-atk .sheet-result,
|
||||
.sheet-rolltemplate-atkdmg .sheet-result,
|
||||
.sheet-rolltemplate-dmg .sheet-result,
|
||||
.sheet-rolltemplate-simple .sheet-result {
|
||||
text-align: center;
|
||||
@@ -492,6 +533,7 @@ label.sheet-form-checkbox {
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-atk .sheet-result div,
|
||||
.sheet-rolltemplate-atkdmg .sheet-result div,
|
||||
.sheet-rolltemplate-dmg .sheet-result div,
|
||||
.sheet-rolltemplate-simple .sheet-result div {
|
||||
display: inline-block;
|
||||
@@ -506,6 +548,7 @@ label.sheet-form-checkbox {
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-atk .inlinerollresult,
|
||||
.sheet-rolltemplate-atkdmg .inlinerollresult,
|
||||
.sheet-rolltemplate-dmg .inlinerollresult,
|
||||
.sheet-rolltemplate-simple .inlinerollresult {
|
||||
font-size: 18px;
|
||||
@@ -522,6 +565,7 @@ label.sheet-form-checkbox {
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-atk .inlinerollresult.importantroll,
|
||||
.sheet-rolltemplate-atkdmg .inlinerollresult.importantroll,
|
||||
.sheet-rolltemplate-dmg .inlinerollresult.importantroll,
|
||||
.sheet-rolltemplate-simple .inlinerollresult.importantroll {
|
||||
background-color: #111;
|
||||
@@ -529,6 +573,7 @@ label.sheet-form-checkbox {
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-atk .inlinerollresult.fullcrit,
|
||||
.sheet-rolltemplate-atkdmg .inlinerollresult.fullcrit,
|
||||
.sheet-rolltemplate-dmg .inlinerollresult.fullcrit,
|
||||
.sheet-rolltemplate-simple .inlinerollresult.fullcrit {
|
||||
background-color: #111;
|
||||
@@ -537,6 +582,7 @@ label.sheet-form-checkbox {
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-atk .inlinerollresult.fullfail,
|
||||
.sheet-rolltemplate-atkdmg .inlinerollresult.fullfail,
|
||||
.sheet-rolltemplate-dmg .inlinerollresult.fullfail,
|
||||
.sheet-rolltemplate-simple .inlinerollresult.fullfail {
|
||||
color: #fff;
|
||||
@@ -545,9 +591,11 @@ label.sheet-form-checkbox {
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-atk .sheet-crit-success,
|
||||
.sheet-rolltemplate-atkdmg .sheet-crit-success,
|
||||
.sheet-rolltemplate-dmg .sheet-crit-success,
|
||||
.sheet-rolltemplate-simple .sheet-crit-success,
|
||||
.sheet-rolltemplate-atk .sheet-crit-fail,
|
||||
.sheet-rolltemplate-atkdmg .sheet-crit-fail,
|
||||
.sheet-rolltemplate-dmg .sheet-crit-fail,
|
||||
.sheet-rolltemplate-simple .sheet-crit-fail {
|
||||
display: block;
|
||||
@@ -556,6 +604,7 @@ label.sheet-form-checkbox {
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-atk .sheet-roll-unused .inlinerollresult,
|
||||
.sheet-rolltemplate-atkdmg .sheet-roll-unused .inlinerollresult,
|
||||
.sheet-rolltemplate-dmg .sheet-roll-unused .inlinerollresult,
|
||||
.sheet-rolltemplate-simple .sheet-roll-unused .inlinerollresult {
|
||||
font-size: 15px;
|
||||
@@ -576,13 +625,15 @@ label.sheet-form-checkbox {
|
||||
|
||||
/* PC sheets */
|
||||
.sheet-sd .sheet-checkbox-cog:hover span {
|
||||
color: black;
|
||||
color: #333;
|
||||
color: #fff;
|
||||
opacity: 1;
|
||||
background-color: rgba(0, 0, 0, 0.9);
|
||||
}
|
||||
|
||||
.darkmode .sheet-sd .sheet-checkbox-cog:hover span {
|
||||
color: white;
|
||||
opacity: 1;
|
||||
.sheet-darkmode .sheet-sd .sheet-checkbox-cog:hover span {
|
||||
color: #fff;
|
||||
background-color: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-feature {
|
||||
@@ -634,10 +685,6 @@ label.sheet-form-checkbox {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ui-dialog .sheet-sd .sheet-fieldset-item:hover>.sheet-checkbox-cog span {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.sheet-sd .repcontainer.editmode .repitem .sheet-fieldset-item {
|
||||
opacity: 0.3;
|
||||
}
|
||||
@@ -671,10 +718,14 @@ label.sheet-form-checkbox {
|
||||
|
||||
.sheet-sd .sheet-checkbox-cog {
|
||||
display: inline-block;
|
||||
height: 18px;
|
||||
height: 20px;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
width: 18px;
|
||||
align-self: flex-end;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
.sheet-sd h1 .sheet-checkbox-cog {
|
||||
right: 20px;
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-checkbox-cog input {
|
||||
@@ -686,10 +737,6 @@ label.sheet-form-checkbox {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.ui-dialog .sheet-sd .sheet-fieldset-item:hover>.sheet-checkbox-cog span {
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-checkbox-cog input:checked~span::before {
|
||||
content: '2';
|
||||
color: black;
|
||||
@@ -700,11 +747,13 @@ label.sheet-form-checkbox {
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-checkbox-cog:hover span {
|
||||
color: black;
|
||||
color: #333;
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
|
||||
.sheet-darkmode .sheet-sd .sheet-checkbox-cog:hover span {
|
||||
color: #fff;
|
||||
background-color: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-checkbox-cog:hover input:checked~span {
|
||||
@@ -712,7 +761,7 @@ label.sheet-form-checkbox {
|
||||
}
|
||||
|
||||
.sheet-darkmode .sheet-sd .sheet-checkbox-cog span {
|
||||
color: #333;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-checkbox-cog span {
|
||||
@@ -721,12 +770,12 @@ label.sheet-form-checkbox {
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
font-family: 'Pictos';
|
||||
font-size: 15px;
|
||||
font-size: 20px;
|
||||
height: 100%;
|
||||
justify-content: center;
|
||||
left: 0;
|
||||
opacity: .3;
|
||||
color: #fff;
|
||||
opacity: 0.5;
|
||||
color: #333;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
@@ -814,6 +863,11 @@ label.sheet-form-checkbox {
|
||||
flex: 0 1 auto;
|
||||
}
|
||||
|
||||
.ui-dialog .charsheet .sheet-section-actions .repcontainer .repitem,
|
||||
.ui-dialog .charsheet .sheet-section-features .repcontainer .repitem {
|
||||
position: inherit;
|
||||
}
|
||||
|
||||
.ui-dialog .charsheet .custom-counter-item input {
|
||||
padding: 2px;
|
||||
border-radius: 0;
|
||||
@@ -859,22 +913,162 @@ label.sheet-form-checkbox {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* repeater edit forms */
|
||||
/* repeater edit forms - dialog styling */
|
||||
.sheet-sd .sheet-toggle-checked {
|
||||
background-color: #f8f9fa;
|
||||
border: 2px solid #dee2e6;
|
||||
border-radius: 0px;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 1000;
|
||||
height: calc(100vh - 50px);
|
||||
max-height: calc(100vh - 50px);
|
||||
overflow: auto;
|
||||
margin: 20px auto;
|
||||
max-width: 95%;
|
||||
}
|
||||
|
||||
/* blur the background while dialog is open but let click events through so user can change tabs */
|
||||
/* kind of annoying because it also blurs scroll bar, disabled for now.
|
||||
.sheet-toggle-checked::before {
|
||||
content: "";
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
backdrop-filter: blur(1px);
|
||||
z-index: -1;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
*/
|
||||
|
||||
.sheet-darkmode .sheet-sd .sheet-toggle-checked {
|
||||
background-color: #2d3748;
|
||||
border-color: #4a5568;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-form {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-form-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-form-group {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-form-group label {
|
||||
font-weight: 600;
|
||||
color: #374151;
|
||||
font-size: 12px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.sheet-darkmode .sheet-sd .sheet-form-group label {
|
||||
color: #e2e8f0;
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-form-body input[type=text],
|
||||
.sheet-sd .sheet-form-body select,
|
||||
.sheet-sd .sheet-form-body textarea {
|
||||
font-size: 10px;
|
||||
line-height: 10px;
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
background-color: #fff;
|
||||
border-radius: 0;
|
||||
border: 1px solid #d1d5db;
|
||||
border-radius: 0px;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
vertical-align: text-top;
|
||||
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-form-body textarea {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.sheet-darkmode .sheet-sd .sheet-form-body input[type=text],
|
||||
.sheet-darkmode .sheet-sd .sheet-form-body select,
|
||||
.sheet-darkmode .sheet-sd .sheet-form-body textarea {
|
||||
background-color: #4a5568;
|
||||
border-color: #718096;
|
||||
color: #e2e8f0;
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-form-body input[type=text]:focus,
|
||||
.sheet-sd .sheet-form-body select:focus,
|
||||
.sheet-sd .sheet-form-body textarea:focus {
|
||||
outline: none;
|
||||
border-color: #3b82f6;
|
||||
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-form-body input[type=text],
|
||||
.sheet-sd .sheet-form-body select {
|
||||
height: 20px;
|
||||
width: 140px;
|
||||
height: auto;
|
||||
min-height: 24px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-form-body textarea {
|
||||
min-height: 80px;
|
||||
resize: vertical;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-form-group .sd-row {
|
||||
align-items: flex-end;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-form-group .sd-row .sd-col {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-form-group .sd-row input[type=text],
|
||||
.sheet-sd .sheet-form-group .sd-row select {
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-form-group select {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-form-group span {
|
||||
align-self: flex-end;
|
||||
margin: 0 8px;
|
||||
font-weight: 500;
|
||||
line-height: 36px;
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-form-checkbox {
|
||||
flex-direction: row !important;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-form-checkbox input[type=checkbox] {
|
||||
margin: 0;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.sheet-sd .sheet-form-checkbox span {
|
||||
line-height: 1.4;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.charsheet .sheet-sd .sheet-hidden {
|
||||
@@ -956,7 +1150,7 @@ label.sheet-radio {
|
||||
border: 2px solid gold;
|
||||
}
|
||||
|
||||
/* "readied" indicator for spells and attacks (you can temporarily lose spells on failed checks) */
|
||||
/* first (circle) "equipped" flag for spells and attacks (you can temporarily lose spells on failed checks) */
|
||||
input[type=checkbox].atk-equipped {
|
||||
cursor: pointer;
|
||||
border-radius: 50%;
|
||||
@@ -964,20 +1158,41 @@ input[type=checkbox].atk-equipped {
|
||||
height: 1em;
|
||||
background-color: darkred;
|
||||
vertical-align: middle;
|
||||
border: 2px solid #aaa;
|
||||
border: 3px solid #aaa;
|
||||
appearance: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
input[type=checkbox].atk-equipped:checked {
|
||||
background-color: greenyellow;
|
||||
border: 2px solid greenyellow;
|
||||
background-color: seagreen;
|
||||
border-color: seagreen;
|
||||
}
|
||||
|
||||
/* second (triangle) "fixed" flag for spells and attacks - for broken weapons or forbidden spells which require penance, or whatever the player wants it to mean */
|
||||
input[type=checkbox].atk-fixed {
|
||||
cursor: pointer;
|
||||
appearance: none;
|
||||
outline: none;
|
||||
border-radius: 0;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
background-color: transparent;
|
||||
vertical-align: middle;
|
||||
border-left: 0.5em solid transparent;
|
||||
border-right: 0.5em solid transparent;
|
||||
border-top: 1em solid red; /* point down, like a sad debuff */
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
input[type=checkbox].atk-fixed:checked {
|
||||
border-top: 0;
|
||||
border-bottom: 1em solid silver; /* point up like a stabby little sword */
|
||||
}
|
||||
|
||||
/* the fine print */
|
||||
.sheet-sd .legal {
|
||||
font-size: 11px;
|
||||
color: #999;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.sheet-sd .legal .sd-credits {
|
||||
|
||||
Reference in New Issue
Block a user