Iteam cleanup + less migration
This commit is contained in:
67
less/item-list.less
Normal file
67
less/item-list.less
Normal file
@@ -0,0 +1,67 @@
|
||||
// ============================================================
|
||||
// ITEM LIST — Used in actor sheet tabs (weapons, spells, etc.)
|
||||
// ============================================================
|
||||
|
||||
.oathhammer {
|
||||
|
||||
.item-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.item-entry {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 3px 4px;
|
||||
border-bottom: 1px solid @color-olive-faint;
|
||||
|
||||
&:hover { background-color: @color-blue-hover; }
|
||||
|
||||
.item-img {
|
||||
height: @item-img-size;
|
||||
width: @item-img-size;
|
||||
border: 1px solid @color-olive;
|
||||
border-radius: 2px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.item-name {
|
||||
flex: 1;
|
||||
font-family: @font-body;
|
||||
font-size: @font-size-base;
|
||||
}
|
||||
|
||||
.item-detail {
|
||||
font-size: @font-size-xs;
|
||||
color: @color-olive;
|
||||
min-width: 4rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.item-type {
|
||||
font-size: @font-size-sm;
|
||||
color: @color-blue;
|
||||
min-width: 6rem;
|
||||
}
|
||||
|
||||
a {
|
||||
.transition-opacity();
|
||||
&:hover { color: @color-blue; }
|
||||
}
|
||||
}
|
||||
|
||||
.no-items {
|
||||
color: var(--color-dark-5);
|
||||
font-style: italic;
|
||||
font-size: @font-size-xs;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.create-btn {
|
||||
margin-left: 6px;
|
||||
color: @color-blue;
|
||||
.transition-opacity();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user