forked from GitHub-Mirrors/foundry-sw5e
character sheet added, light theme only
This commit is contained in:
parent
e7ec90c944
commit
d217b00916
16 changed files with 2833 additions and 22 deletions
|
@ -110,4 +110,37 @@
|
|||
@foundryNavContextShadow: darken(@colorBlue, 20);
|
||||
@foundryNavContextBorderColor: @colorBlue;
|
||||
|
||||
@foundryPlayersArrowColor: @colorLightGray;
|
||||
@foundryPlayersArrowColor: @colorLightGray;
|
||||
|
||||
@actorPanelBgColor: white;
|
||||
@actorNameColor: @colorRed;
|
||||
@actorXPBarBorder: @colorGray;
|
||||
@actorXPBarBackground: @colorPaleBlue;
|
||||
@actorXPBarColor: @colorBlue;
|
||||
@actorProficiencyTextColor: @colorGray;
|
||||
@actorAttributeInputColor: @colorGray;
|
||||
@actorSeparatorColor: @colorLightGray;
|
||||
@actorAttributeButtonBorder: @colorPaleGray;
|
||||
@actorAttributeButtonBorderHover: @colorRed;
|
||||
@actorNavigationTabsColor: @colorGray;
|
||||
@actorNavigationTabsActiveColor: @colorRed;
|
||||
@actorNavigationTabsHoverBgColor: rgba(@colorGray, 0.1);
|
||||
@actorNavigationTabsActiveHoverBgColor: rgba(@colorRed, 0.1);
|
||||
@actorFilterBorderColor: @colorLightGray;
|
||||
@actorFilterHoverColor: @colorRed;
|
||||
@actorFilterActiveColor: @colorRed;
|
||||
@actorGroupListHeaderBgColor: lighten(@colorPaleGray, 10);
|
||||
@actorGroupListTitleBorderColor: @colorBlue;
|
||||
@actorGroupListColumnBorderColor: @colorPaleGray;
|
||||
@actorGroupListAltRowColor: lighten(@colorPaleGray, 10);
|
||||
@actorItemRollableD20Color: @colorGray;
|
||||
@actorItemRollableD20HoverColor: @colorRed;
|
||||
@actorItemControlToggleColor: @colorLightGray;
|
||||
@actorAbilityScoreColor: @colorGray;
|
||||
@actorAbilityBorderColor: @colorPaleGray;
|
||||
@actorSkillsAltRowColor: lighten(@colorPaleGray, 10);
|
||||
@actorEncumbranceLabelBackground: @colorPaleGray;
|
||||
@actorEncumbranceTextColor: @colorBlack;
|
||||
@actorEncumbranceBorderColor: @colorBlack;
|
||||
@actorEncumbranceBarBgColor: @colorPaleBlue;
|
||||
@actorEncumbranceBarColor: @colorBlue;
|
|
@ -107,4 +107,37 @@
|
|||
@foundryNavContextShadow: darken(@colorBlue, 20);
|
||||
@foundryNavContextBorderColor: @colorBlue;
|
||||
|
||||
@foundryPlayersArrowColor: @colorLightGray;
|
||||
@foundryPlayersArrowColor: @colorLightGray;
|
||||
|
||||
@actorPanelBgColor: white;
|
||||
@actorNameColor: @colorRed;
|
||||
@actorXPBarBorder: @colorGray;
|
||||
@actorXPBarBackground: @colorPaleBlue;
|
||||
@actorXPBarColor: @colorBlue;
|
||||
@actorProficiencyTextColor: @colorGray;
|
||||
@actorAttributeInputColor: @colorGray;
|
||||
@actorSeparatorColor: @colorLightGray;
|
||||
@actorAttributeButtonBorder: @colorPaleGray;
|
||||
@actorAttributeButtonBorderHover: @colorRed;
|
||||
@actorNavigationTabsColor: @colorGray;
|
||||
@actorNavigationTabsActiveColor: @colorRed;
|
||||
@actorNavigationTabsHoverBgColor: rgba(@colorGray, 0.1);
|
||||
@actorNavigationTabsActiveHoverBgColor: rgba(@colorRed, 0.1);
|
||||
@actorFilterBorderColor: @colorLightGray;
|
||||
@actorFilterHoverColor: @colorRed;
|
||||
@actorFilterActiveColor: @colorRed;
|
||||
@actorGroupListHeaderBgColor: lighten(@colorPaleGray, 10);
|
||||
@actorGroupListTitleBorderColor: @colorBlue;
|
||||
@actorGroupListColumnBorderColor: @colorPaleGray;
|
||||
@actorGroupListAltRowColor: lighten(@colorPaleGray, 10);
|
||||
@actorItemRollableD20Color: @colorGray;
|
||||
@actorItemRollableD20HoverColor: @colorRed;
|
||||
@actorItemControlToggleColor: @colorLightGray;
|
||||
@actorAbilityScoreColor: @colorGray;
|
||||
@actorAbilityBorderColor: @colorPaleGray;
|
||||
@actorSkillsAltRowColor: lighten(@colorPaleGray, 10);
|
||||
@actorEncumbranceLabelBackground: @colorPaleGray;
|
||||
@actorEncumbranceTextColor: @colorBlack;
|
||||
@actorEncumbranceBorderColor: @colorBlack;
|
||||
@actorEncumbranceBarBgColor: @colorPaleBlue;
|
||||
@actorEncumbranceBarColor: @colorBlue;
|
988
less/update/components/actor-global.less
Normal file
988
less/update/components/actor-global.less
Normal file
|
@ -0,0 +1,988 @@
|
|||
|
||||
.panel {
|
||||
padding: 8px;
|
||||
border-radius: 4px;
|
||||
.dropShadow1();
|
||||
}
|
||||
.sw5e.sheet.actor.character {
|
||||
min-width: 780px;
|
||||
min-height: 720px;
|
||||
}
|
||||
.sw5e.sheet .window-content {
|
||||
.openSans(12px);
|
||||
|
||||
input,
|
||||
select {
|
||||
height: 24px;
|
||||
line-height: 20px;
|
||||
padding: 1px 4px;
|
||||
&:hover {
|
||||
box-shadow: none;
|
||||
}
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
button {
|
||||
cursor: pointer;
|
||||
&:hover,
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sw5e.sheet.actor {
|
||||
|
||||
.swalt-sheet {
|
||||
display: grid;
|
||||
grid-template-rows: 182px 40px auto;
|
||||
|
||||
section>h1 {
|
||||
.russoOne(17px);
|
||||
text-align: left;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
header {
|
||||
display: grid;
|
||||
grid-template-rows: 1fr 26px auto;
|
||||
grid-template-columns: 128px 1fr;
|
||||
column-gap: 8px;
|
||||
row-gap: 8px;
|
||||
|
||||
img {
|
||||
grid-column-start: 1;
|
||||
grid-row-start: 1;
|
||||
grid-row-end: 4;
|
||||
}
|
||||
|
||||
h1.character-name {
|
||||
grid-row: 1;
|
||||
grid-column: 2;
|
||||
margin: 0;
|
||||
border: none;
|
||||
align-self: center;
|
||||
height: auto;
|
||||
|
||||
.russoOne(32px);
|
||||
text-transform: uppercase;
|
||||
height: auto;
|
||||
|
||||
input[type="text"] {
|
||||
.russoOne(32px);
|
||||
text-transform: uppercase;
|
||||
height: auto;
|
||||
|
||||
&:focus {
|
||||
text-transform: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.level-experience {
|
||||
grid-row: 1;
|
||||
grid-column: 3;
|
||||
|
||||
.charlevel {
|
||||
.russoOne(17px);
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.experience {
|
||||
.russoOne(17px);
|
||||
text-align: right;
|
||||
line-height: 26px;
|
||||
input {
|
||||
display: inline-block;
|
||||
width: 120px;
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
.xpbar {
|
||||
height: 8px;
|
||||
|
||||
.bar {
|
||||
display: block;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.summary {
|
||||
grid-column-start: 2;
|
||||
grid-row-start: 2;
|
||||
grid-column-end: 4;
|
||||
display: grid;
|
||||
grid-template-rows: 1fr;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
|
||||
input,
|
||||
.proficiency {
|
||||
display: inline;
|
||||
height: auto;
|
||||
.russoOne(17px);
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.proficiency {
|
||||
line-height: 26px;
|
||||
}
|
||||
}
|
||||
|
||||
.attributes {
|
||||
grid-column-start: 2;
|
||||
grid-row-start: 3;
|
||||
grid-column-end: 4;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(5, 1fr);
|
||||
column-gap: 12px;
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.attribute-value,
|
||||
.attribute-value input {
|
||||
.russoOne(22px);
|
||||
text-align: center;
|
||||
line-height: 1;
|
||||
|
||||
}
|
||||
|
||||
.attribute-value {
|
||||
|
||||
&.multiple {
|
||||
display: grid;
|
||||
grid-template-columns: auto 14px auto;
|
||||
|
||||
input {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
input {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.value-number {
|
||||
display: inline-block;
|
||||
text-align: right;
|
||||
|
||||
padding: 0px 3px;
|
||||
|
||||
&:last-child {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
span.value-number {
|
||||
padding: 1px 4px;
|
||||
}
|
||||
|
||||
.initiative {
|
||||
padding: 1px 4px;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
|
||||
|
||||
button {
|
||||
background: none;
|
||||
padding: 1px 3px;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
|
||||
&:hover {
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
|
||||
&.hit-points,
|
||||
&.hit-dice,
|
||||
&.initiative {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
column-gap: 8px;
|
||||
margin-top: 0;
|
||||
input,
|
||||
button {
|
||||
//border: 1px solid @colorPaleGray;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
button {
|
||||
|
||||
font-weight: 400;
|
||||
margin-top: 2px;
|
||||
|
||||
}
|
||||
|
||||
span {
|
||||
display: block;
|
||||
padding: 3px 4px;
|
||||
}
|
||||
}
|
||||
|
||||
&.speed {
|
||||
margin-top: 0;
|
||||
input {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
nav.sheet-navigation {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, 1fr);
|
||||
column-gap: 16px;
|
||||
margin: 4px 0;
|
||||
|
||||
.item {
|
||||
background: none;
|
||||
border: none;
|
||||
border-bottom: 3px solid transparent;
|
||||
border-radius: 0;
|
||||
margin: 0;
|
||||
padding: 0 0 8px;
|
||||
line-height: 1.6;
|
||||
.russoOne(16px);
|
||||
}
|
||||
}
|
||||
.editor {
|
||||
position: static;
|
||||
min-height: 32px;
|
||||
padding: 0;
|
||||
.editor-edit {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0;
|
||||
box-shadow: none;
|
||||
top: 0;
|
||||
right: 0;
|
||||
&:hover {
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
.tox.tox-tinymce {
|
||||
height: 250px !important;
|
||||
}
|
||||
}
|
||||
.tab {
|
||||
display: none;
|
||||
|
||||
&.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.filter-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0 0 8px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-end;
|
||||
max-width: 100%;
|
||||
|
||||
.filter-title {
|
||||
display: none;
|
||||
font-weight: bold;
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
.filter-item {
|
||||
width: 100px;
|
||||
text-align: center;
|
||||
|
||||
&+.filter-item {
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.group-list-header {
|
||||
display: grid;
|
||||
padding-right: 6px;
|
||||
}
|
||||
|
||||
.group-list-title {
|
||||
h3 {
|
||||
.russoOne(17px);
|
||||
margin: 4px 0 0;
|
||||
padding: 0 4px;
|
||||
display: inline;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.item-create {
|
||||
font-size: 12px;
|
||||
i {
|
||||
font-size: 10px;
|
||||
}
|
||||
&:hover {
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.group-list-header,
|
||||
.group-list {
|
||||
.item-detail {
|
||||
text-align: left;
|
||||
padding: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.group-list {
|
||||
height: 100%;
|
||||
overflow-y: scroll;
|
||||
& > li:first-child {
|
||||
padding-top: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.group-list,
|
||||
.group-list ol {
|
||||
list-style: none;
|
||||
margin: 0 0 8px;
|
||||
padding: 0;
|
||||
|
||||
.item-uses {
|
||||
input {
|
||||
display: inline-block;
|
||||
width: 32px;
|
||||
margin-right: 0;
|
||||
text-align: right;
|
||||
}
|
||||
span {
|
||||
padding-left: 8px;
|
||||
}
|
||||
.slot-max-override {
|
||||
margin-left: 5px;
|
||||
&:hover {
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
li.item {
|
||||
display: grid;
|
||||
|
||||
h4 {
|
||||
.openSans(13px, 700);
|
||||
letter-spacing: 0;
|
||||
}
|
||||
.item-name,
|
||||
.item-detail {
|
||||
padding: 4px;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.item-name {
|
||||
display: flex;
|
||||
|
||||
.item-image {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
position: relative;
|
||||
background-size: contain;
|
||||
&::before {
|
||||
font-family: "Font Awesome 5 Free";
|
||||
font-weight: 900;
|
||||
content: '\f6cf';
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 2px;
|
||||
font-size: 26px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
h4 {
|
||||
line-height: 30px;
|
||||
display: inline-block;
|
||||
height: 30px;
|
||||
padding-left: 8px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
&.rollable:hover {
|
||||
text-shadow: none;
|
||||
|
||||
.item-image {
|
||||
background-image: none !important;
|
||||
|
||||
&::before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-image: none !important;
|
||||
|
||||
&::before {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.item-summary {
|
||||
grid-column-start: 1;
|
||||
grid-column-end: -1;
|
||||
padding: 4px 4px 4px 38px;
|
||||
}
|
||||
|
||||
.item-controls {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
|
||||
.item-control {
|
||||
&:hover {
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.group-grid-inventory {
|
||||
grid-template-columns: auto 60px 100px 100px 100px;
|
||||
|
||||
&.group-list-title {
|
||||
.item-controls {
|
||||
grid-column-start: 5;
|
||||
}
|
||||
}
|
||||
}
|
||||
.group-grid-features {
|
||||
grid-template-columns: auto 100px 100px 100px;
|
||||
&.group-list-title {
|
||||
display: grid;
|
||||
}
|
||||
.item-controls {
|
||||
grid-column-start: 4;
|
||||
}
|
||||
|
||||
}
|
||||
.group-grid-powers {
|
||||
grid-template-columns: auto repeat(5, 100px);
|
||||
&.group-list-title {
|
||||
display: grid;
|
||||
align-items: end;
|
||||
.item-detail {
|
||||
padding: 0 4px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
.group-grid-fav-items {
|
||||
grid-template-columns: auto 60px 30px 30px 50px;
|
||||
&.group-list-title {
|
||||
display: grid;
|
||||
align-items: end;
|
||||
.item-detail {
|
||||
padding: 0 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.tab > .panel {
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.tab.attributes {
|
||||
&.active {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
grid-template-columns: 350px auto;
|
||||
grid-template-rows: auto;
|
||||
column-gap: 16px;
|
||||
|
||||
.abilities {
|
||||
display: grid;
|
||||
grid-template-columns: 128px auto;
|
||||
grid-template-rows: auto;
|
||||
column-gap: 12px;
|
||||
|
||||
ol {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.scores {
|
||||
li {
|
||||
border-radius: 0;
|
||||
padding: 4px;
|
||||
&+li {
|
||||
border-top: 0 !important;
|
||||
}
|
||||
&:first-child {
|
||||
border-radius: 4px 4px 0 0;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
border-bottom-width: 1px;
|
||||
border-radius: 0 0 4px 4px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
.russoOne(14px);
|
||||
border: none;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
|
||||
&:hover {
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
.ability-score {
|
||||
.russoOne(22px);
|
||||
text-align: center;
|
||||
width: 48px;
|
||||
margin: 0 auto;
|
||||
height: 24px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ability-modifiers {
|
||||
margin: 0 -4px -4px;
|
||||
display: grid;
|
||||
grid-template-columns: 28px auto 28px;
|
||||
|
||||
.ability-mod,
|
||||
.ability-save {
|
||||
padding: 2px 4px;
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
font-size: 13px;
|
||||
text-align: center;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.ability-mod {
|
||||
border-width: 1px 1px 0 0;
|
||||
border-radius: 0 4px 0 0;
|
||||
}
|
||||
|
||||
.ability-save {
|
||||
border-width: 1px 0 0 1px;
|
||||
border-radius: 4px 0 0 0;
|
||||
}
|
||||
|
||||
.proficiency-toggle {
|
||||
border: none;
|
||||
background: none;
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.skills {
|
||||
li {
|
||||
display: grid;
|
||||
grid-template-columns: 28px auto 18px 28px;
|
||||
align-items: center;
|
||||
|
||||
|
||||
.proficiency-toggle {
|
||||
border: none;
|
||||
background: none;
|
||||
height: 23px;
|
||||
line-height: 23px;
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
.skill-name {
|
||||
&:hover {
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
.skill-ability {
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.skill-mod {
|
||||
text-align: right;
|
||||
padding-right: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.traits-resources {
|
||||
grid-template-rows: 32px auto;
|
||||
nav {
|
||||
margin-bottom: 4px;
|
||||
|
||||
button {
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
background: none;
|
||||
border: none;
|
||||
border-bottom: 3px solid transparent;
|
||||
border-radius: 0;
|
||||
margin: 0;
|
||||
padding: 0 4px;
|
||||
line-height: 1.6;
|
||||
.russoOne(14px);
|
||||
|
||||
&+button {
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
section.traits {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-gap: 16px;
|
||||
row-gap: 8px;
|
||||
|
||||
input,
|
||||
select {
|
||||
display: block;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
label {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.trait-selector {
|
||||
background: none;
|
||||
border: none;
|
||||
display: inline;
|
||||
width: auto;
|
||||
&:hover {
|
||||
text-shadow: none;
|
||||
}
|
||||
i.fas {
|
||||
float: none;
|
||||
&:hover {
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.languages {
|
||||
grid-column-end: span 2;
|
||||
label {
|
||||
&:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.traits-list {
|
||||
li {
|
||||
display: inline;
|
||||
|
||||
&::after {
|
||||
content: ',';
|
||||
}
|
||||
|
||||
&:last-child::after {
|
||||
content: '';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ul.passives {
|
||||
grid-column-end: span 2;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-gap: 4px;
|
||||
row-gap: 4px;
|
||||
|
||||
strong {
|
||||
font-size: 13px;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
section.resources {
|
||||
.resource-items {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
column-gap: 12px;
|
||||
|
||||
.resource {
|
||||
|
||||
h1 {
|
||||
border: none;
|
||||
margin: 0;
|
||||
|
||||
input {
|
||||
font-family: 'Russo One';
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
text-align: center;
|
||||
margin-bottom: 4px;
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.attribute-value,
|
||||
.attribute-value input {
|
||||
.russoOne(22px);
|
||||
text-align: center;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.attribute-value {
|
||||
display: grid;
|
||||
grid-template-columns: auto 14px auto;
|
||||
|
||||
input {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.value-number {
|
||||
display: block;
|
||||
width: 100%;
|
||||
text-align: right;
|
||||
padding: 0px 3px;
|
||||
&:last-child {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
span.value-number {
|
||||
padding: 1px 4px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.attribute-footer {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
|
||||
label {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.counters {
|
||||
border: none;
|
||||
margin: 16px 0;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
|
||||
.counter {
|
||||
height: auto;
|
||||
border: none;
|
||||
text-align: center;
|
||||
|
||||
h4 {
|
||||
font-size: 13px;
|
||||
|
||||
//display: inline;
|
||||
&.rollable {
|
||||
&:hover {
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.counter-value {
|
||||
display: inline;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
input[type="text"] {
|
||||
display: inline-block;
|
||||
width: 10px;
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.death-success,
|
||||
.death-fail {
|
||||
display: inline-block;
|
||||
|
||||
}
|
||||
|
||||
.death-success {
|
||||
margin-right: 8px;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tab.inventory {
|
||||
&>.panel {
|
||||
grid-template-rows: 32px 32px 24px auto;
|
||||
}
|
||||
|
||||
.currency-encumbrance {
|
||||
display: grid;
|
||||
grid-template-columns: 200px auto;
|
||||
margin-bottom: 8px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.currency {
|
||||
.russoOne(14px);
|
||||
|
||||
input {
|
||||
display: inline-block;
|
||||
width: 128px;
|
||||
.openSans(13px);
|
||||
}
|
||||
}
|
||||
|
||||
.encumbrance-wrapper {
|
||||
display: grid;
|
||||
grid-template-columns: 400px 100px;
|
||||
width: 500px;
|
||||
justify-self: end;
|
||||
|
||||
.encumbrance-label {
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
width: 100%;
|
||||
text-shadow: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
height: auto;
|
||||
text-align: center;
|
||||
margin-left: -2px;
|
||||
border-radius: 0 4px 4px 0;
|
||||
}
|
||||
|
||||
.encumbrance {
|
||||
position: relative;
|
||||
border-radius: 4px;
|
||||
height: 16px;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
|
||||
.encumbrance-bar {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
border-radius: 4px;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.tab.features {
|
||||
&>.panel {
|
||||
grid-template-rows: 24px auto;
|
||||
}
|
||||
}
|
||||
.tab.powerbook {
|
||||
&>.panel {
|
||||
grid-template-rows: 32px 24px 24px auto;
|
||||
}
|
||||
.powercasting-ability {
|
||||
display: grid;
|
||||
grid-template-columns: 2fr 1fr 1fr;
|
||||
label, h3 {
|
||||
.russoOne(13px);
|
||||
border-bottom: none;
|
||||
}
|
||||
.power-dc {
|
||||
grid-column-start: 3;
|
||||
}
|
||||
}
|
||||
}
|
||||
.tab.biography {
|
||||
grid-template-columns: 1fr 2fr;
|
||||
grid-template-rows: 100%;
|
||||
column-gap: 16px;
|
||||
padding-bottom: 8px;
|
||||
max-width: 100%;
|
||||
&.active {
|
||||
display: grid;
|
||||
}
|
||||
&>.panel {
|
||||
display: block;
|
||||
overflow-y: auto;
|
||||
}
|
||||
section {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
}
|
||||
.tab.notes {
|
||||
&>.panel {
|
||||
display: block;
|
||||
overflow-y: auto;
|
||||
}
|
||||
section {
|
||||
position: relative;
|
||||
&>input {
|
||||
.russoOne(16px);
|
||||
text-align: left;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.editor .editor-edit {
|
||||
top: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.limited {
|
||||
grid-template-rows: 144px auto;
|
||||
row-gap: 8px;
|
||||
header {
|
||||
grid-template-rows: 1fr;
|
||||
}
|
||||
|
||||
.tab.biography {
|
||||
grid-template-columns: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
397
less/update/components/actor-themes.less
Normal file
397
less/update/components/actor-themes.less
Normal file
|
@ -0,0 +1,397 @@
|
|||
.panel {
|
||||
background: @actorPanelBgColor;
|
||||
}
|
||||
|
||||
.sw5e.sheet .window-content {
|
||||
color: @colorBlack;
|
||||
background: linear-gradient(90deg,#afc6d6 0,#d6d6d6 30%,#d6d6d6 70%,#afc6d6);
|
||||
input,
|
||||
select {
|
||||
color: @colorBlack;
|
||||
&:hover {
|
||||
border-color: @inputBorderHover;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
border-color: @inputBorderFocus;
|
||||
}
|
||||
}
|
||||
|
||||
button {
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
border-color: @inputBorderFocus;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sw5e.sheet.actor {
|
||||
color: @colorBlack;
|
||||
.swalt-sheet {
|
||||
section>h1 {
|
||||
border-bottom: 2px solid @colorBlue;
|
||||
}
|
||||
|
||||
header {
|
||||
|
||||
h1.character-name {
|
||||
color: @actorNameColor;
|
||||
|
||||
input[type="text"] {
|
||||
color: @actorNameColor;
|
||||
}
|
||||
}
|
||||
|
||||
.level-experience {
|
||||
|
||||
.xpbar {
|
||||
border: 1px solid @actorXPBarBorder;
|
||||
background-color: @actorXPBarBackground;
|
||||
|
||||
.bar {
|
||||
background-color: @actorXPBarColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.summary {
|
||||
|
||||
input,
|
||||
.proficiency {
|
||||
color: @actorProficiencyTextColor;
|
||||
}
|
||||
}
|
||||
|
||||
.attributes {
|
||||
|
||||
.attribute-value,
|
||||
.attribute-value input {
|
||||
color: @actorAttributeInputColor;
|
||||
}
|
||||
|
||||
.attribute-value {
|
||||
|
||||
.value-separator {
|
||||
color: @actorSeparatorColor;
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
button {
|
||||
border: 1px solid @actorAttributeButtonBorder;
|
||||
|
||||
&:hover {
|
||||
color: @actorAttributeButtonBorderHover;
|
||||
}
|
||||
}
|
||||
|
||||
&.hit-points,
|
||||
&.hit-dice,
|
||||
&.initiative {
|
||||
button {
|
||||
border: 1px solid @actorAttributeButtonBorder;
|
||||
color: @colorRed;
|
||||
|
||||
&:hover {
|
||||
border-color: @actorAttributeButtonBorderHover;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
nav.sheet-navigation {
|
||||
.item {
|
||||
color: @actorNavigationTabsColor;
|
||||
|
||||
&.active {
|
||||
color: @actorNavigationTabsActiveColor;
|
||||
border-bottom-color: @actorNavigationTabsActiveColor;
|
||||
|
||||
&:hover {
|
||||
background: @actorNavigationTabsHoverBgColor;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: @actorNavigationTabsHoverBgColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tab {
|
||||
|
||||
.filter-list {
|
||||
|
||||
.filter-item {
|
||||
border-bottom: 2px solid @actorFilterBorderColor;
|
||||
|
||||
&:hover {
|
||||
color: @actorFilterHoverColor;
|
||||
}
|
||||
|
||||
&.active {
|
||||
color: @actorFilterActiveColor;
|
||||
border-bottom-color: @actorFilterActiveColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.group-list-header {
|
||||
background: @actorGroupListHeaderBgColor;
|
||||
}
|
||||
|
||||
.group-list-title {
|
||||
border-bottom: 1px solid @actorGroupListTitleBorderColor;
|
||||
}
|
||||
|
||||
.group-list-header,
|
||||
.group-list {
|
||||
.item-detail {
|
||||
border-left: 1px solid @actorGroupListColumnBorderColor;
|
||||
}
|
||||
}
|
||||
|
||||
.group-list,
|
||||
.group-list ol {
|
||||
li.item {
|
||||
&:nth-child(even) {
|
||||
background-color: @actorGroupListAltRowColor;
|
||||
}
|
||||
|
||||
h4 {
|
||||
color: @colorBlack;
|
||||
}
|
||||
|
||||
|
||||
.item-name {
|
||||
|
||||
.item-image {
|
||||
|
||||
&::before {
|
||||
color: @actorItemRollableD20Color;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
&.rollable:hover {
|
||||
|
||||
.item-image {
|
||||
&:hover {
|
||||
&::before {
|
||||
color: @actorItemRollableD20HoverColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.item-control {
|
||||
&:hover {
|
||||
color: @linkColor !important;
|
||||
}
|
||||
|
||||
&.item-toggle {
|
||||
color: @actorItemControlToggleColor;
|
||||
|
||||
&.active {
|
||||
color: @colorBlack;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
.tab.attributes {
|
||||
.abilities {
|
||||
|
||||
.scores {
|
||||
li {
|
||||
border: 1px solid @actorAbilityBorderColor;
|
||||
|
||||
h2 {
|
||||
&:hover {
|
||||
color: @linkColor;
|
||||
}
|
||||
}
|
||||
|
||||
.ability-score {
|
||||
color: @actorAbilityScoreColor;
|
||||
}
|
||||
|
||||
.ability-modifiers {
|
||||
|
||||
.ability-mod,
|
||||
.ability-save {
|
||||
border-color: @actorAbilityBorderColor;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.skills {
|
||||
li {
|
||||
&:nth-child(even) {
|
||||
background-color: @actorSkillsAltRowColor;
|
||||
}
|
||||
|
||||
|
||||
.skill-name {
|
||||
&:hover {
|
||||
color: @linkColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.traits-resources {
|
||||
nav {
|
||||
button {
|
||||
color: @actorNavigationTabsColor;
|
||||
|
||||
&.active {
|
||||
color: @actorNavigationTabsActiveColor;
|
||||
border-bottom-color: @actorNavigationTabsActiveColor;
|
||||
|
||||
&:hover {
|
||||
background: @actorNavigationTabsActiveHoverBgColor;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: @actorNavigationTabsHoverBgColor;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
section.traits {
|
||||
.trait-selector {
|
||||
i.fas {
|
||||
color: @linkColor;
|
||||
}
|
||||
}
|
||||
|
||||
.languages {
|
||||
label {
|
||||
&:hover {
|
||||
color: @linkColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
section.resources {
|
||||
.resource-items {
|
||||
.resource {
|
||||
h1 {
|
||||
|
||||
input {
|
||||
color: @headingColor;
|
||||
border-bottom: 2px solid @headerBorderColor;
|
||||
}
|
||||
}
|
||||
|
||||
.attribute-value,
|
||||
.attribute-value input {
|
||||
color: @actorAttributeInputColor;
|
||||
}
|
||||
|
||||
.attribute-value {
|
||||
.value-separator {
|
||||
color: @actorSeparatorColor;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.counters {
|
||||
.counter {
|
||||
h4 {
|
||||
&.rollable {
|
||||
&:hover {
|
||||
color: @linkColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.death-success {
|
||||
i {
|
||||
color: @colorGreen;
|
||||
}
|
||||
}
|
||||
|
||||
.death-fail {
|
||||
i {
|
||||
color: @colorRed;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tab.inventory {
|
||||
.currency {
|
||||
color: @headingColor;
|
||||
}
|
||||
|
||||
.encumbrance-wrapper {
|
||||
.encumbrance-label {
|
||||
background: @actorEncumbranceLabelBackground;
|
||||
color: @actorEncumbranceTextColor;
|
||||
border: 1px solid @actorEncumbranceBorderColor;
|
||||
}
|
||||
|
||||
.encumbrance {
|
||||
background: @actorEncumbranceBarBgColor;
|
||||
.encumbrance-bar {
|
||||
background: @actorEncumbranceBarColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.tab.powerbook {
|
||||
.powercasting-ability {
|
||||
label,
|
||||
h3 {
|
||||
color: @headingColor;
|
||||
|
||||
span {
|
||||
color: @colorBlack;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tab.notes {
|
||||
section {
|
||||
&>input {
|
||||
color: @headingColor;
|
||||
border-bottom: 2px solid @headerBorderColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
border-radius: 4px;
|
||||
border: none;
|
||||
.dropShadow2();
|
||||
header {
|
||||
& > header {
|
||||
background: @windowHeaderBackground;
|
||||
border-radius: 4px 4px 0 0;
|
||||
border: none;
|
||||
|
@ -16,6 +16,13 @@
|
|||
margin-top: 8px;
|
||||
}
|
||||
}
|
||||
&.minimized {
|
||||
& > header, & > .window-header {
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#client-settings {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
#nav-toggle {
|
||||
background: @foundryNavBgColor;
|
||||
color: @foundryNavTextColor;
|
||||
.nav-item {
|
||||
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
|
||||
}
|
||||
.nav-item {
|
||||
border: 1px solid @foundryNavBorderColor;
|
||||
|
@ -39,6 +39,7 @@
|
|||
border: 1px solid @foundryNavBorderColor;
|
||||
box-shadow: none;
|
||||
&:hover {
|
||||
background: @foundryNavBgColor;
|
||||
box-shadow: 0 0 8px @foundryNavContextShadow;
|
||||
}
|
||||
&.active {
|
||||
|
@ -55,8 +56,9 @@
|
|||
background: @sidebarTabBackground;
|
||||
border: none;
|
||||
margin: 0;
|
||||
padding: 8px;
|
||||
padding: 0 8px;
|
||||
font-size: 17px;
|
||||
line-height: 30px;
|
||||
.dropShadow1();
|
||||
border-radius: 4px 4px 0 0;
|
||||
.players-mode {
|
||||
|
|
|
@ -1,11 +1,22 @@
|
|||
#sidebar {
|
||||
border: none; //1px solid @colorBlue;
|
||||
&.collapsed {
|
||||
#sidebar-tabs {
|
||||
min-height: 370px;
|
||||
justify-content: center;
|
||||
& > .item.active {
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#sidebar-tabs {
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
justify-content: space-between;
|
||||
.dropShadow1();
|
||||
|
||||
.item {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
@ -15,6 +26,7 @@
|
|||
background: none;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*-----------
|
||||
|
|
|
@ -43,4 +43,5 @@ body.dark-theme {
|
|||
@import "components/sidebar-themes.less";
|
||||
@import "components/foundry-nav-themes.less";
|
||||
@import "components/foundry-app-window-themes.less";
|
||||
@import "components/actor-themes.less";
|
||||
}
|
|
@ -154,9 +154,10 @@ a {
|
|||
position: absolute;
|
||||
font-family: "Aurebesh", sans-serif;
|
||||
font-size: 13px;
|
||||
color: @colorBlack;
|
||||
color: @colorGray;
|
||||
animation: none;
|
||||
opacity: 0.7;
|
||||
opacity: 0.8;
|
||||
text-shadow: 0 0 8px @colorBlue;
|
||||
}
|
||||
&::before {
|
||||
content: "GAME";
|
||||
|
@ -172,6 +173,7 @@ a {
|
|||
}
|
||||
@import "components/forms-global.less";
|
||||
@import "components/sidebar-global.less";
|
||||
@import "components/actor-global.less";
|
||||
|
||||
@keyframes pause-spin {
|
||||
from {
|
||||
|
|
|
@ -43,4 +43,5 @@ body.light-theme {
|
|||
@import "components/sidebar-themes.less";
|
||||
@import "components/foundry-nav-themes.less";
|
||||
@import "components/foundry-app-window-themes.less";
|
||||
@import "components/actor-themes.less";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue