Merge pull request #116 from unrealkakeman89/professorbunbury-sw5e

CSS/LESS and New Char Sheet Hotfixes
This commit is contained in:
CK 2021-01-21 15:08:49 -05:00 committed by GitHub
commit 342df7f073
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 23 additions and 19 deletions

View file

@ -13,7 +13,7 @@
@blockquoteShadow: 0 0 20px rgba(@colorBlue, 0.8);
//forms
@inputBackgroundColor: white;
@inputBackgroundColor: @colorGray;
@inputBorderNormal: @colorLightGray;
@inputBorderHover: @colorGray;
@inputBorderFocus: @colorRed;

View file

@ -95,7 +95,8 @@
}
#chat-controls {
.roll-type-select {
background: @inputBackgroundColor;
background: #4f4f4f;
color: #FFFFFF;
}
label {
color: @bodyFontColor;
@ -103,7 +104,7 @@
}
#chat-form textarea {
background: @inputBackgroundColor;
background: #4f4f4f;
}

View file

@ -169,6 +169,10 @@
}
}
#chat-controls {
&.roll-type-select {
background: #4f4f4f;
color: #FFFFFF;
}
padding-top: 4px;
label {
color: @colorBlack;
@ -176,7 +180,7 @@
}
#chat-form textarea {
background: white;
background: #4f4f4f;
&:focus {
box-shadow: none;
outline: none;

View file

@ -56,7 +56,7 @@ body.light-theme input[type="time"],
body.light-theme select,
body.light-theme textarea {
border: 1px solid #828282;
color: #1C1C1C;
color: #FFFFFF;
}
body.light-theme input[type="text"]:hover,
body.light-theme input[type="number"]:hover,
@ -83,7 +83,7 @@ body.light-theme input[type="date"]::placeholder,
body.light-theme input[type="time"]::placeholder,
body.light-theme select::placeholder,
body.light-theme textarea::placeholder {
color: #1C1C1C;
color: #FFFFFF;
opacity: 0.5;
}
body.light-theme input[type="text"] ::-ms-input-placeholder,
@ -94,7 +94,7 @@ body.light-theme input[type="time"] ::-ms-input-placeholder,
body.light-theme select ::-ms-input-placeholder,
body.light-theme textarea ::-ms-input-placeholder {
/* Microsoft Edge */
color: #1C1C1C;
color: #FFFFFF;
opacity: 0.5;
}
body.light-theme button,
@ -234,13 +234,14 @@ body.light-theme .dice-roll .dice-total.fumble {
box-shadow: 0 0 12px rgba(196, 15, 15, 0.5);
}
body.light-theme #chat-controls .roll-type-select {
background: white;
background: #4f4f4f;
}
body.light-theme #chat-controls label {
color: #1C1C1C;
}
body.light-theme #chat-form textarea {
background: white;
background: #4f4f4f;
color: #FFFFFF;
}
body.light-theme #combat #combat-round {
color: #c40f0f;
@ -776,3 +777,4 @@ body.light-theme .sw5e.sheet.actor .swalt-sheet .tab.notes section > input {
body.light-theme .sw5e.sheet.actor.npc .swalt-sheet header .experience {
color: #4f4f4f;
}

View file

@ -80,16 +80,6 @@
</ul>
{{/unless}}
</label>
<div>
<label>{{localize "SW5E.MovementConfig"}}</label>
<a class="configure-movement" title="{{localize 'SW5E.MovementConfig'}}"><i class="fas fa-cog"></i></a>
</div>
<div>
{{#unless isVehicle}}
<label>{{localize "SW5E.SpecialTraits"}}</label>
<a class="configure-flags"><i class="fas fa-cog"></i></a>
{{/unless}}
</div>
<div class="languages">
<label data-options="share-languages" class="languages">{{localize "SW5E.Languages"}}</label>
<a class="trait-selector" data-options="languages" data-target="data.traits.languages">
@ -101,6 +91,13 @@
{{/each}}
</ul>
</div>
{{#unless isVehicle}}
<div class="form-group ">
<label>{{localize "SW5E.SpecialTraits"}}</label>
<a class="config-button" data-action="flags" title="{{localize 'SW5E.SpecialTraits'}}"><i class="fas fa-cog"></i></a>
</div>
{{/unless}}
<div>
<label>{{localize "SW5E.TraitArmorProf"}}</label>
<a class="trait-selector" data-options="armorProficiencies" data-target="data.traits.armorProf">