Add effects and tabs
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
@import "class.less";
|
||||
@import "character-path.less";
|
||||
@import "effects.less";
|
||||
@import "weapon-types-config.less";
|
||||
}
|
||||
|
||||
@import "roll.less";
|
||||
|
||||
@@ -0,0 +1,149 @@
|
||||
/* Weapon Types Configuration Dialog */
|
||||
.weapon-types-config {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.weapon-types-config .sheet-tabs {
|
||||
margin: 0;
|
||||
border-bottom: 2px solid #444;
|
||||
}
|
||||
|
||||
.weapon-types-config .content {
|
||||
padding: 0.5rem;
|
||||
max-height: 60vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.weapon-types-config .section-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
font-size: 1em;
|
||||
font-weight: bold;
|
||||
margin-bottom: 0.5rem;
|
||||
padding-bottom: 0.25rem;
|
||||
border-bottom: 1px solid #666;
|
||||
}
|
||||
|
||||
.weapon-types-config .weapon-type-entry,
|
||||
.weapon-types-config .weapon-group-entry {
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
padding: 0.75rem;
|
||||
margin-bottom: 0.75rem;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #555;
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.weapon-types-config .weapon-type-entry .form-fields {
|
||||
display: grid;
|
||||
grid-template-columns: 100px 3fr 70px 70px;
|
||||
gap: 0.75rem;
|
||||
flex: 1;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.weapon-types-config .weapon-group-entry .form-fields {
|
||||
display: grid;
|
||||
grid-template-columns: 120px 2fr 120px 150px 3fr;
|
||||
gap: 0.75rem;
|
||||
flex: 1;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.weapon-types-config .form-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.15rem;
|
||||
}
|
||||
|
||||
.weapon-types-config .form-group label {
|
||||
font-size: 0.75em;
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
white-space: nowrap;
|
||||
text-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
|
||||
.weapon-types-config input[type="text"],
|
||||
.weapon-types-config input[type="number"],
|
||||
.weapon-types-config textarea {
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
border: 1px solid #666;
|
||||
color: #fff;
|
||||
padding: 0.2rem 0.4rem;
|
||||
border-radius: 3px;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.weapon-types-config input[readonly] {
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
color: #999;
|
||||
cursor: not-allowed;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.weapon-types-config textarea {
|
||||
resize: vertical;
|
||||
min-height: 40px;
|
||||
font-size: 0.85em;
|
||||
}
|
||||
|
||||
.weapon-types-config button[data-action] {
|
||||
background: rgba(100, 100, 100, 0.5);
|
||||
border: 1px solid #666;
|
||||
color: #fff;
|
||||
padding: 0.2rem 0.4rem;
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.weapon-types-config button[data-action]:hover {
|
||||
background: rgba(150, 150, 150, 0.5);
|
||||
border-color: #888;
|
||||
}
|
||||
|
||||
.weapon-types-config button[data-action="delete-weapon-type"],
|
||||
.weapon-types-config button[data-action="delete-weapon-group"] {
|
||||
background: rgba(139, 0, 0, 0.5);
|
||||
align-self: center;
|
||||
padding: 0.25rem;
|
||||
min-width: auto;
|
||||
width: auto;
|
||||
font-size: 0.9em;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.weapon-types-config button[data-action="delete-weapon-type"]:hover,
|
||||
.weapon-types-config button[data-action="delete-weapon-group"]:hover {
|
||||
background: rgba(200, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
.weapon-types-config .sheet-footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 1rem;
|
||||
border-top: 2px solid #444;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.weapon-types-config .sheet-footer button {
|
||||
padding: 0.5rem 1rem;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.weapon-types-config .weapon-types-list,
|
||||
.weapon-types-config .weapon-groups-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.weapon-types-config .flexrow {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
align-items: flex-start;
|
||||
}
|
||||
Reference in New Issue
Block a user