mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
Bug fixes
This commit is contained in:
+83
-61
@@ -1393,8 +1393,9 @@ header.sheet-header .portrait-container {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
header.sheet-header .portrait-container .portrait, header.sheet-header .portrait-container .placeholder-avatar {
|
||||
position: absolute; /* Stack them */
|
||||
header.sheet-header .portrait-container .portrait,
|
||||
header.sheet-header .portrait-container .placeholder-avatar {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: unset;
|
||||
@@ -1410,7 +1411,6 @@ header.sheet-header .portrait-container .placeholder-avatar {
|
||||
}
|
||||
header.sheet-header .portrait-container .portrait {
|
||||
object-fit: cover;
|
||||
mask-image: var(--paint-smear);
|
||||
mask-size: contain;
|
||||
mask-repeat: no-repeat;
|
||||
visibility: visible;
|
||||
@@ -1419,7 +1419,8 @@ header.sheet-header .portrait-container .portrait {
|
||||
display: block;
|
||||
z-index: 2;
|
||||
}
|
||||
header.sheet-header .portrait-container .portrait[src=""], header.sheet-header .portrait-container .portrait:not([src]) {
|
||||
header.sheet-header .portrait-container .portrait[src=""],
|
||||
header.sheet-header .portrait-container .portrait:not([src]) {
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
pointer-events: none;
|
||||
@@ -1551,24 +1552,55 @@ header.sheet-header .header-data-container .document-details .detail-left .input
|
||||
font-size: inherit !important;
|
||||
color: var(--font-color);
|
||||
}
|
||||
header.sheet-header .header-data-container .document-details .detail-left .luck-input,
|
||||
header.sheet-header .header-data-container .document-details .detail-left span {
|
||||
font-size: inherit;
|
||||
height: unset;
|
||||
line-height: unset;
|
||||
font-family: var(--fontMain);
|
||||
font-size: 1rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
header.sheet-header .header-data-container .document-details .detail-left .luck-input {
|
||||
header.sheet-header .header-data-container .document-details .detail-left.luck-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5ch;
|
||||
}
|
||||
header.sheet-header .header-data-container .document-details .detail-left .number-input-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
header.sheet-header .header-data-container .document-details .detail-left .luck-input[type=text][readonly] {
|
||||
width: 2rem;
|
||||
height: 1.8rem;
|
||||
text-align: center;
|
||||
border: 1px solid var(--placeholder-color);
|
||||
background-color: transparent;
|
||||
color: var(--font-color);
|
||||
font-size: 1rem;
|
||||
padding: 0;
|
||||
-moz-appearance: textfield;
|
||||
}
|
||||
header.sheet-header .header-data-container .document-details .detail-left label {
|
||||
font-weight: bold;
|
||||
font-size: inherit;
|
||||
height: unset;
|
||||
line-height: unset;
|
||||
font-family: inherit;
|
||||
header.sheet-header .header-data-container .document-details .detail-left .luck-input[type=text][readonly]::-webkit-inner-spin-button, header.sheet-header .header-data-container .document-details .detail-left .luck-input[type=text][readonly]::-webkit-outer-spin-button {
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
header.sheet-header .header-data-container .document-details .detail-left .number-input-controls {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-left: 2px;
|
||||
}
|
||||
header.sheet-header .header-data-container .document-details .detail-left .arrow-button {
|
||||
background: var(--callout-primary);
|
||||
border: 1px solid var(--highlight-color);
|
||||
color: var(--title);
|
||||
height: 0.9rem;
|
||||
width: 1.2rem;
|
||||
padding: 0;
|
||||
font-size: 0.6rem;
|
||||
line-height: 0.9rem;
|
||||
cursor: pointer;
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
}
|
||||
header.sheet-header .header-data-container .document-details .detail-left .arrow-button:hover {
|
||||
border-color: var(--title);
|
||||
}
|
||||
header.sheet-header .header-data-container .document-details .detail-right {
|
||||
padding-top: 0.25rem;
|
||||
@@ -1641,8 +1673,8 @@ header.sheet-header .header-data-container label {
|
||||
}
|
||||
.tabs__nav-item {
|
||||
flex: 1;
|
||||
display: flex; /* Enables flexbox */
|
||||
align-items: center; /* Centers vertically */
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-width: 2px;
|
||||
border-style: dotted dotted none !important;
|
||||
@@ -1800,6 +1832,7 @@ section.tabs--discworld__container--traits .trait-type .trait-list .repcontainer
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
section.tabs--discworld__container--traits .trait-type .trait-list .repcontainer .repitem .itemcontrol {
|
||||
background-color: var(--callout-primary);
|
||||
@@ -1833,14 +1866,14 @@ section.tabs--discworld__container--traits .trait-type .trait-list fieldset {
|
||||
position: relative;
|
||||
}
|
||||
section.tabs--discworld__container--traits .trait-type .trait-list .trait-item {
|
||||
gap: 0.2rem;
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr auto;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
position: relative;
|
||||
padding: 0;
|
||||
font-size: 1rem;
|
||||
color: var(--font-color);
|
||||
flex-wrap: wrap;
|
||||
font-family: var(--fontMain);
|
||||
padding: 0.2rem 0;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
section.tabs--discworld__container--traits .trait-type .trait-list .trait-item .trait-roll-button {
|
||||
background-color: var(--title);
|
||||
@@ -1862,14 +1895,13 @@ section.tabs--discworld__container--traits .trait-type .trait-list .trait-item i
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
border: 1px solid var(--title);
|
||||
border-radius: 2px;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 50;
|
||||
border-radius: 50%;
|
||||
background-color: var(--callout-primary);
|
||||
font-family: var(--fontIcon);
|
||||
font-weight: bold;
|
||||
@@ -1895,12 +1927,15 @@ section.tabs--discworld__container--traits .trait-type .trait-list .trait-item .
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
width: 100%;
|
||||
grid-column: 1/-1;
|
||||
}
|
||||
section.tabs--discworld__container--traits .trait-type .trait-list .trait-item .expanded hr {
|
||||
color: var(--placeholder-color);
|
||||
border: none;
|
||||
height: 2px;
|
||||
width: 100%;
|
||||
margin-top: -5px;
|
||||
margin-bottom: -5px;
|
||||
background-image: linear-gradient(90deg, transparent 0%, var(--placeholder-color) 0%, transparent 80%) !important;
|
||||
}
|
||||
section.tabs--discworld__container--traits .trait-type .trait-list .trait-item .expanded input,
|
||||
@@ -1910,25 +1945,19 @@ section.tabs--discworld__container--traits .trait-type .trait-list .trait-item .
|
||||
}
|
||||
section.tabs--discworld__container--traits .trait-type .trait-list .trait-item .expanded .adaptive--text {
|
||||
flex: 1 1 auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 100%;
|
||||
min-width: 0;
|
||||
min-height: 2rem;
|
||||
max-height: 5rem;
|
||||
max-width: 100%;
|
||||
padding-bottom: 0 !important;
|
||||
}
|
||||
section.tabs--discworld__container--traits .trait-type .trait-list .trait-item .expanded .adaptive--text__span {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
section.tabs--discworld__container--traits .trait-type .trait-list .trait-item .expanded textarea.adaptive--text__textarea {
|
||||
font-size: 0.8rem;
|
||||
min-width: 100%;
|
||||
max-width: 100%;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
overflow-wrap: break-word;
|
||||
@@ -1960,39 +1989,32 @@ section.tabs--discworld__container--traits .trait-type .trait-list .trait-item .
|
||||
section.tabs--discworld__container--traits .trait-type .trait-list .trait-item .severity-row select option {
|
||||
color: var(--font-color);
|
||||
}
|
||||
section.tabs--discworld__container--traits .trait-type .trait-list .trait-item input.collapse:checked ~ .expanded {
|
||||
display: flex;
|
||||
}
|
||||
section.tabs--discworld__container--traits .trait-type .trait-list .adaptive--input {
|
||||
display: inline-block;
|
||||
top: 5px;
|
||||
min-width: 6rem;
|
||||
max-width: 100%;
|
||||
min-height: 2rem;
|
||||
position: relative;
|
||||
section.tabs--discworld__container--traits .trait-type .trait-list .trait-item .adaptive--text {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
section.tabs--discworld__container--traits .trait-type .trait-list .adaptive--input__span {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
pointer-events: none;
|
||||
overflow: hidden;
|
||||
max-width: 100%;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
section.tabs--discworld__container--traits .trait-type .trait-list .adaptive--input__input {
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
top: 0;
|
||||
left: 0;
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
align-content: center;
|
||||
width: 100%;
|
||||
}
|
||||
section.tabs--discworld__container--traits .trait-type .trait-list .trait-item .adaptive--text .adaptive--text__textarea,
|
||||
section.tabs--discworld__container--traits .trait-type .trait-list .trait-item .adaptive--text .adaptive--text__span {
|
||||
resize: none;
|
||||
background: transparent;
|
||||
border: none;
|
||||
font-family: var(--fontMain);
|
||||
font-size: 1rem;
|
||||
width: 100% !important;
|
||||
line-height: 1.4rem;
|
||||
min-height: 1.4rem;
|
||||
color: var(--font-color) !important;
|
||||
overflow-wrap: break-word;
|
||||
white-space: pre-wrap;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
grid-column: 1;
|
||||
grid-row: 1;
|
||||
}
|
||||
section.tabs--discworld__container--traits .trait-type .trait-list .trait-item input.collapse:checked ~ .expanded {
|
||||
display: flex;
|
||||
}
|
||||
section.tabs--discworld__container--traits .trait-type .trait-list .repcontrol .repcontrol_edit {
|
||||
position: absolute;
|
||||
|
||||
+88
-33
File diff suppressed because one or more lines are too long
Binary file not shown.
|
Before Width: | Height: | Size: 455 KiB After Width: | Height: | Size: 439 KiB |
Reference in New Issue
Block a user