Update Core to 1.2

Update Core to 1.2, pulled from dev 12/10/2020
This commit is contained in:
supervj 2021-01-04 15:23:30 -05:00
parent df456997eb
commit e6bff40e1b
105 changed files with 4335 additions and 1274 deletions

View file

@ -69,12 +69,29 @@
line-height: 30px;
}
}
}
}
.attributes {
input.temphp {
width: 48%;
// Movement Configuration
.movement {
h4.attribute-name {
position: relative;
}
.config-button {
position: absolute;
display: none;
right: 0;
top: 1px;
font-size: 12px;
font-weight: normal;
}
&:hover .config-button {
display: block;
}
}
// Temporary HP
input.temphp {
width: 48%;
}
}
}
@ -238,6 +255,7 @@
li.skill {
height: 24px;
width: 225px;
padding: 3px 2px;
&:nth-child(even) {
@ -340,7 +358,7 @@
margin: 0 0 3px 0;
justify-content: space-between;
}
.configure-flags {
.config-button {
flex: 1;
}
@ -427,9 +445,8 @@
&.rollable .item-image:hover {
background-image: url("../../icons/svg/d20-black.svg") !important;
}
i.attuned {
color: @colorTan;
}
i.attuned { color: @colorTan; }
i.not-attuned { color: @colorCrimson; }
}
// Item uses
@ -470,6 +487,7 @@
overflow: hidden;
&:last-child { border-right: none; }
&.item-action {flex: 0 0 100px}
&.attunement {flex: 0 0 24px}
}
.item-weight {
@ -491,6 +509,15 @@
padding: 0.25em 0.5em;
color: @colorDark;
border-top: 1px solid @colorFaint;
h2 {
font-family: 'Russo One';
font-size: 20px;
font-weight: 400;
text-transform: uppercase;
letter-spacing: 0.5px;
border-bottom: 2px solid rgb(13, 153, 204);
color: #c40f0f;
}
}
}
@ -564,26 +591,23 @@
.powercasting-ability {
flex: 0 0 240px;
margin: 0;
input, span {
flex: 0 0 32px;
label, span {
flex: none;
}
input {
flex: 0 0 28px;
text-align: center;
}
select {
margin: 0 5px;
flex: 0 0 150px;
}
h3.power-dc {
flex: 1;
text-align: right;
flex: 0 0 120px;
}
}
.power-slots,
.power-comps {
flex: 0 0 75px;
padding-right: 5px;
text-align: right;
flex: none;
padding: 0 5px;
font-size: 12px;
color: @colorTan;
border-right: 1px solid @colorFaint;
@ -600,9 +624,10 @@
}
}
.power-uses {
padding-right: 8px;
text-align: right !important;
.powerbook .power-uses {
padding-right: 5px;
text-align: right;
color: @colorTan;
}
.power-school, .power-action, .power-target {
@ -651,5 +676,6 @@
padding-right: 8px;
margin-bottom: 4px;
overflow-y: auto;
scrollbar-width: thin;
}
}

View file

@ -178,11 +178,14 @@
background: transparent;
}
// Rollable Links
// Rollable Titles
.editable .rollable:hover {
cursor: pointer;
}
.editable h4.rollable:hover,
.editable .rollable:hover > h4 {
color: #000;
text-shadow: 0 0 10px red;
cursor: pointer;
}
// Separators
@ -306,6 +309,7 @@
/* ----------------------------------------- */
.filter-list {
align-items: center;
list-style: none;
margin: 0;
padding: 0;
@ -382,6 +386,30 @@
padding: 0;
}
// Item Name
.item-name {
flex: 2;
margin: 0;
overflow: hidden;
font-size: 13px;
text-align: left;
align-items: center;
h3, h4 {
margin: 0;
white-space: nowrap;
overflow-x: hidden;
}
}
// Control Buttons
.item-controls {
flex: 0 0 60px;
justify-content: space-between;
a {
font-size: 12px;
text-align: center;
}
}
// Individual Item
.item {
align-items: center;
@ -419,32 +447,13 @@
font-size: 12px;
text-align: center;
}
.item-name {
h3 {
padding-left: 5px;
.modesto();
//.modesto();
text-align: left;
font-size: 16px;
}
}
// Item Name
.item-name {
flex: 2;
margin: 0;
overflow: hidden;
font-size: 13px;
text-align: left;
align-items: center;
}
// Control Buttons
.item-controls {
flex: 0 0 60px;
justify-content: space-between;
a {
font-size: 12px;
text-align: center;
}
}
}
/* ----------------------------------------- */

View file

@ -4,7 +4,7 @@
/* Basic Structure */
/* ----------------------------------------- */
.sw5e.sheet.actor.character {
min-width: 720px;
min-width: 800px;
min-height: 680px;
/* ----------------------------------------- */
@ -160,7 +160,7 @@
padding: 0 3px 3px;
label {
flex: 0 0 20px;
.bungeeInline();
.russoOne();
font-size: 16px;
font-weight: normal;
line-height: 20px;

View file

@ -4,7 +4,8 @@
/* Chat Cards
/* ----------------------------------------- */
.sw5e.chat-card {
.sw5e.chat-card,
.midi-qol-item-card {
font-style: normal;
font-size: 12px;
@ -72,7 +73,7 @@
span {
border-right: 2px groove #FFF;
padding: 0 5px 0 0;
padding: 0 3px 0 0;
font-size: 10px;
&:last-child {

View file

@ -1,6 +1,7 @@
@import "./variables.less";
.sw5e.sheet.item {
min-height: 420px;
min-height: 660px;
min-width: 680px;
/* ----------------------------------------- */
/* Sheet Header */
@ -10,7 +11,19 @@
img.profile {
border: 2px solid #000;
}
h1 {
input {
font-size: 26px;
}
}
.header-details.flexrow {
h1 {
font-size: 26px;
}
.charname {
font-size: 26px;
}
}
.item-subtitle {
flex: 0 0 80px;
height: 60px;
@ -20,8 +33,8 @@
color: @colorTan;
.item-type {
font-size: 24px;
line-height: 26px;
font-size: 20px;
line-height: 24px;
margin: 0;
}
@ -29,19 +42,298 @@
font-size: 16px;
line-height: 24px;
}
.summary {
li {
font-size: 16px;
}
}
}
}
.sheet-navigation {
margin-bottom: 5px;
.item {
font-size: 18px;
font-size: 16px;
}
}
.sheet-body {
overflow: hidden;
h1 {
font-family: 'Russo One';
font-size: 20px;
font-weight: 400;
text-transform: uppercase;
letter-spacing: 0.5px;
border-bottom: none;
color: #c40f0f;
}
h2 {
font-family: 'Russo One';
font-size: 18px;
font-weight: 400;
text-transform: uppercase;
letter-spacing: 0.5px;
border-bottom: 2px solid rgb(13, 153, 204);
color: #c40f0f;
}
h3 {
font-family: 'Russo One';
font-size: 16px;
font-weight: 400;
text-transform: uppercase;
letter-spacing: 0.5px;
border-bottom: none;
color: #c40f0f;
}
.smalltable {
table {
border-top: none;
border-bottom: none;
width: 200px;
}
td {
&:nth-child(odd) {
width: 50px;
margin: 0.5em 0.5em;
text-align: center;
}
&:nth-child(even) {
width: 150px;
margin: 0.5em 0.5em;
padding: 0px 10px 0px 10px;
text-align: left;
}
}
thead {
border-bottom: 0px;
}
th {
color: #000000;
text-shadow: none;
border-bottom: 0px;
background-color: #bdc8cc;
text-transform: none;
font-weight: bold;
font-family: 'Open Sans';
&:nth-child(odd) {
width: 50px;
margin: 0.5em 0.5em;
text-align: center;
}
&:nth-child(even) {
width: 150px;
margin: 0.5em 0.5em;
padding: 0px 10px 0px 10px;
text-align: left;
}
}
}
.medtable {
table {
width: 500px;
border: 0px;
margin: 0.5em 0.5em;
}
td {
&:nth-child(odd) {
width: 50px;
margin: 0.5em 0.5em;
text-align: center;
}
&:nth-child(even) {
width: 450px;
margin: 0.5em 0.5em;
padding: 0px 10px 0px 0px;
text-align: left;
}
}
thead {
border-bottom: 0px;
}
th {
color: #000000;
text-shadow: none;
border-bottom: 0px;
background-color: #bdc8cc;
text-transform: none;
font-weight: bold;
font-family: 'Open Sans';
&:nth-child(odd) {
text-align: center;
}
&:nth-child(even) {
text-align: left;
}
}
}
.classtable {
blockquote {
border-left: 0px;
border-right: 0px;
background-color: #bdc8cc;
width: 600px;
h3 {
color: #000000;
text-transform: uppercase;
font-family: 'Russo One';
font-size: 16px;
}
}
table {
width: 100%;
border-collapse: collapse;
background: rgba(0, 0, 0, 0.05);
border-left: 0px;
border-right: 0px;
border-top: 0;
border-bottom: 0;
margin: 0.5em 0;
font-style: normal;
text-shadow: none;
}
thead {
color: #000000;
text-shadow: none;
border-bottom: 0px;
background-color: #bdc8cc;
text-transform: none;
font-style: normal;
font-family: 'Open Sans';
}
th {
color: #000000;
text-shadow: none;
border-bottom: 0px;
background-color: #bdc8cc;
text-transform: none;
font-style: normal;
font-weight: bold;
font-family: 'Open Sans';
}
tbody {
text-align: center;
}
}
.speciestable {
blockquote {
width: 620px;
padding: 15px 10px;
margin: 15px;
line-height: 20px;
background-color: #bdc8cc;
border-top: 2px solid #0d99cc !important;
border-bottom: 2px solid #0d99cc !important;
border-left: 0 !important;
border-right: 0 !important;
-webkit-box-shadow: 0 0 1.5em rgba(13, 153, 204, .5) !important;
box-shadow: 0 0 1.5em rgba(13, 153, 204, .5) !important;
overflow-x: auto;
h3 {
color: #000000;
font-size: 22px;
border-bottom: none;
}
}
table {
background-color: #bdc8cc;
border-collapse: collapse;
width: 100%;
line-height: 18px;
margin-bottom: 15px;
border: 0 0 0 0;
border-bottom: none;
overflow-x: auto;
tbody {
tr {
&:nth-child(odd) {
background-color: #c9d6db;
}
&:nth-child(even) {
background-color: #bdc8cc;
}
}
}
td {
&:nth-child(1) {
padding-right: 5px;
width: 100px;
font-style: italic;
font-weight: 800;
}
}
h3 {
font-family: 'Russo One';
color: #000000;
font-size: 15px;
text-transform: uppercase;
}
thead {
font-style: normal;
font-size: 18px;
background-color: #bdc8cc;
text-shadow: none;
text-align: left;
line-height: 20px;
border-top: 5px solid #0d99cc;
border-bottom: 0;
}
}
}
.icon {
&:before {
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
}
}
a.entity-link {
background: #DDD;
padding: 1px 4px;
border: 1px solid #4b4a44;
border-radius: 2px;
white-space: nowrap;
word-break: break-all;
i {
&::before {
content: url("ui/jedi-order.svg") !important;
display: inline-block;
position: relative;
top: 2px;
height: 15px;
width: 15px;
}
}
}
#species-description {
h2 {
font-family: 'Russo One';
font-size: 20px;
font-weight: 400;
letter-spacing: 0.5px;
border-bottom: 2px solid rgb(13, 153, 204);
color: #c40f0f;
}
}
#Traits {
h2 {
font-family: 'Russo One';
font-size: 20px;
font-weight: 400;
text-transform: uppercase;
letter-spacing: 0.5px;
border-bottom: 2px solid rgb(13, 153, 204);
color: #c40f0f;
}
}
.tab {
padding: 0 5px;
overflow: hidden auto;

View file

@ -31,11 +31,4 @@
.summary {
font-size: 18px;
}
.powercasting-ability {
label {
flex: none;
}
}
}

View file

@ -6,33 +6,3 @@
@import "character.less";
@import "npc.less";
@import "vehicle.less";
// TODO: Remove number styling after 0.7.x
input[type="number"] {
width: calc(100% - 2px);
min-width: 20px;
height: 26px;
background: rgba(0, 0, 0, 0.05);
padding: 1px 3px;
margin: 0;
color: #191813;
font-family: inherit;
font-size: inherit;
text-align: inherit;
line-height: inherit;
border: 1px solid #7a7971;
border-radius: 3px;
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
-moz-appearance: textfield;
&:focus {
box-shadow: 0 0 5px red;
}
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none;
}

View file

@ -5,7 +5,7 @@
.dropShadow1();
}
.sw5e.sheet.actor.character {
min-width: 780px;
min-width: 800px;
min-height: 720px;
}
.sw5e.sheet .window-content {
@ -60,6 +60,11 @@
grid-column-start: 1;
grid-row-start: 1;
grid-row-end: 4;
box-sizing: border-box;
border: none;
border-radius: 0;
max-width: 100%;
max-height: 100%;
}
h1.character-name {
@ -93,6 +98,11 @@
.charlevel {
.russoOne(17px);
text-align: right;
input {
display: inline-block;
width: 42px;
height: auto;
}
}
.experience {
@ -932,6 +942,9 @@
&>.panel {
grid-template-rows: 32px 24px 24px auto;
}
h3.power-dc {
line-height: 24px;
}
.powercasting-ability {
display: grid;
grid-template-columns: 2fr 1fr 1fr;
@ -991,4 +1004,56 @@
}
}
}
&.npc {
.swalt-sheet {
header {
h1.character-name {
align-self: auto;
}
.npc-size {
.russoOne(18px);
line-height: 28px;
}
.attributes {
grid-template-columns: repeat(3, 1fr);
footer {
&.proficiency {
margin-top: 0;
line-height: 24px;
text-align: center;
}
&.hit-points {
display: block;
}
}
}
}
nav.sheet-navigation {
grid-template-columns: repeat(4, 1fr);
}
.tab.attributes {
.traits-resources {
display: block;
.counter {
display: flex;
.counter-value {
margin-left: auto;
}
}
// section.traits {
// display:block;
// }
}
}
.tab.powerbook {
input.powercasting-level {
width: 48px;
}
}
.tab.biography.active {
display: block;
}
}
}
}

View file

@ -404,4 +404,13 @@
}
}
}
&.npc {
.swalt-sheet {
header {
.experience {
color: @actorProficiencyTextColor;
}
}
}
}
}

View file

@ -54,7 +54,8 @@
color: @colorBlue;
}
.sw5e.chat-card {
.sw5e.chat-card,
.midi-qol-item-card {
.card-header {
padding: 0;
border: none;

View file

@ -31,7 +31,8 @@
color: @chatNotificationColor;
}
.sw5e.chat-card {
.sw5e.chat-card,
.midi-qol-item-card {
.card-header {
h3 {

View file

@ -51,7 +51,8 @@
}
.sw5e.chat-card {
.sw5e.chat-card,
.midi-qol-item-card {
font-size: 13px;
.card-header {