300 lines
5.4 KiB
Plaintext
300 lines
5.4 KiB
Plaintext
/* ==================== Item Sheet Styles ==================== */
|
|
|
|
/* Item header with image and name */
|
|
.fvtt-mournblade.item {
|
|
/* Background pour toute la fiche d'item */
|
|
background: url("../assets/ui/pc_sheet_bg.webp") repeat;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
padding: 0;
|
|
margin: 0;
|
|
|
|
/* AppV2 - Remove window content padding */
|
|
.window-content {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
/* AppV2 - Main section structure */
|
|
section {
|
|
background: url("../assets/ui/pc_sheet_bg.webp") repeat-y;
|
|
color: black;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
/* AppV2 Item Sheets - Disabled inputs readability */
|
|
input:disabled,
|
|
select:disabled {
|
|
color: #000000;
|
|
opacity: 0.8;
|
|
background-color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
/* Inputs and selects styling */
|
|
input[type="text"],
|
|
input[type="number"],
|
|
select {
|
|
color: #000000;
|
|
background-color: rgba(255, 255, 255, 0.7);
|
|
border: 1px solid #999999;
|
|
margin: 0;
|
|
padding: 2px 4px;
|
|
font-family: "CentaurMT", serif;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
textarea {
|
|
margin: 0;
|
|
padding: 2px 4px;
|
|
}
|
|
|
|
input[type="checkbox"] {
|
|
width: auto;
|
|
height: auto;
|
|
margin: 0 4px;
|
|
align-self: center;
|
|
}
|
|
|
|
.header {
|
|
flex: 0 0 auto;
|
|
border-bottom: 1px solid #999;
|
|
margin: 0;
|
|
}
|
|
|
|
.sheet-header {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
padding: 0.5rem;
|
|
background: url("../assets/ui/pc_sheet_bg.webp") repeat;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.item-sheet-img {
|
|
flex: 0 0 64px;
|
|
width: 64px;
|
|
height: 64px;
|
|
object-fit: cover;
|
|
border: 1px solid #999;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
box-shadow: 0 0 8px rgba(255, 102, 0, 0.8);
|
|
}
|
|
}
|
|
|
|
.header-fields {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.header-actions {
|
|
flex: 0 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
|
|
button {
|
|
background: rgba(0, 0, 0, 0.1);
|
|
border: 1px solid #999;
|
|
padding: 0.25rem 0.5rem;
|
|
cursor: pointer;
|
|
font-family: "CentaurMT", serif;
|
|
|
|
&:hover {
|
|
background: rgba(255, 102, 0, 0.2);
|
|
box-shadow: 0 0 5px rgba(255, 102, 0, 0.5);
|
|
}
|
|
}
|
|
|
|
.chat-card-button {
|
|
background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%);
|
|
border: 2px ridge #846109;
|
|
color: #d4b5a8;
|
|
padding: 0.3rem 0.5rem;
|
|
transition: all 0.2s ease;
|
|
|
|
i {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
&:hover {
|
|
background: linear-gradient(to bottom, #800000 5%, #3e0101 100%);
|
|
color: #ffffff;
|
|
box-shadow: 0 0 8px rgba(128, 0, 0, 0.6);
|
|
}
|
|
|
|
&:active {
|
|
position: relative;
|
|
top: 1px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.sheet-header h1.charname {
|
|
height: 50px;
|
|
padding: 0;
|
|
margin: 5px 0;
|
|
border-bottom: 0;
|
|
font-weight: bold;
|
|
font-size: 2rem;
|
|
font-family: "CentaurMT";
|
|
}
|
|
|
|
.sheet-header h1.charname input {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
font-weight: bold;
|
|
font-family: "CentaurMT";
|
|
font-size: 2rem;
|
|
text-align: left;
|
|
border: 0 none;
|
|
|
|
&:focus {
|
|
outline: 1px solid #ff6600;
|
|
}
|
|
}
|
|
|
|
/* Tabs - Modern style matching actor sheets */
|
|
nav.tabs {
|
|
display: flex;
|
|
border-bottom: 1px solid #7a7971;
|
|
margin: 0;
|
|
padding: 4px;
|
|
background-color: #1c1c1c;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
nav.tabs a.item {
|
|
padding: 6px 12px;
|
|
color: #d4af37;
|
|
text-decoration: none;
|
|
border: 1px solid transparent;
|
|
border-radius: 4px 4px 0 0;
|
|
margin-right: 4px;
|
|
transition: all 0.2s;
|
|
|
|
i {
|
|
display: none; // Hide icons to match actor sheets
|
|
}
|
|
|
|
&:hover {
|
|
background-color: rgba(212, 175, 55, 0.1);
|
|
}
|
|
|
|
&.active {
|
|
background-color: #2a2a2a;
|
|
border-bottom-color: #d4af37;
|
|
color: #f5f5f5;
|
|
}
|
|
}
|
|
|
|
/* Tab content */
|
|
.tab {
|
|
display: none;
|
|
padding: 4px 8px;
|
|
overflow-y: auto;
|
|
flex: 1 1 auto;
|
|
|
|
&.active {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
/* Item list in details tab */
|
|
.item-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
li.item {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 2px;
|
|
padding: 2px 4px;
|
|
min-height: 24px;
|
|
border-bottom: none;
|
|
|
|
&.flexrow {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* Labels */
|
|
.generic-label {
|
|
display: inline-block;
|
|
white-space: nowrap;
|
|
font-weight: 700;
|
|
color: #464331c4;
|
|
font-size: 0.9rem;
|
|
font-family: "CentaurMT", serif;
|
|
margin: 0;
|
|
padding: 0 4px 0 0;
|
|
}
|
|
|
|
/* Field labels */
|
|
.item-field-label-short {
|
|
flex: 0 0 60px;
|
|
max-width: 60px;
|
|
}
|
|
|
|
.item-field-label-medium {
|
|
flex: 0 0 100px;
|
|
max-width: 100px;
|
|
}
|
|
|
|
.item-field-label-long {
|
|
flex: 1;
|
|
min-width: 150px;
|
|
}
|
|
|
|
.item-field-label-long1 {
|
|
flex: 1;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.item-field-label-long2 {
|
|
flex: 1;
|
|
min-width: 250px;
|
|
max-width: 250px;
|
|
}
|
|
.item-field-label-long3 {
|
|
flex: 1;
|
|
min-width: 350px;
|
|
max-width: 350px;
|
|
}
|
|
|
|
.numeric-input {
|
|
text-align: center;
|
|
width: 60px;
|
|
}
|
|
|
|
/* Editor fields */
|
|
.editor {
|
|
height: 300px;
|
|
border: 1px solid #999;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
|
|
.editor-content {
|
|
height: 100%;
|
|
padding: 0.5rem;
|
|
color: #000;
|
|
}
|
|
}
|
|
}
|