124 lines
2.0 KiB
SCSS
124 lines
2.0 KiB
SCSS
|
// Section Header
|
||
|
.items-header {
|
||
|
height: 28px;
|
||
|
margin: 2px 0;
|
||
|
padding: 0;
|
||
|
align-items: center;
|
||
|
background: rgba(0, 0, 0, 0.05);
|
||
|
border: $border-groove;
|
||
|
font-weight: bold;
|
||
|
|
||
|
> * {
|
||
|
font-size: 14px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.item-name {
|
||
|
font-weight: bold;
|
||
|
padding-left: 5px;
|
||
|
text-align: left;
|
||
|
display: flex;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Items Lists
|
||
|
.items-list {
|
||
|
list-style: none;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
overflow-y: auto;
|
||
|
scrollbar-width: thin;
|
||
|
color: $c-tan;
|
||
|
|
||
|
// Child lists
|
||
|
.item-list {
|
||
|
list-style: none;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
// Individual Item
|
||
|
.item {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
padding: 0 2px; // Align with the header border
|
||
|
border-bottom: 1px solid $c-faint;
|
||
|
|
||
|
&:last-child {
|
||
|
border-bottom: none;
|
||
|
}
|
||
|
|
||
|
// Item name and image
|
||
|
.item-name {
|
||
|
flex: 2;
|
||
|
margin: 0;
|
||
|
overflow: hidden;
|
||
|
font-size: 13px;
|
||
|
text-align: left;
|
||
|
display: flex;
|
||
|
color: $c-dark;
|
||
|
|
||
|
h3, h4 {
|
||
|
margin: 0;
|
||
|
white-space: nowrap;
|
||
|
overflow-x: hidden;
|
||
|
}
|
||
|
|
||
|
.item-image {
|
||
|
flex: 0 0 30px;
|
||
|
height: 30px;
|
||
|
background-size: 30px;
|
||
|
border: none;
|
||
|
margin-right: 5px;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Control Buttons
|
||
|
.item-controls {
|
||
|
display: flex;
|
||
|
flex: 0 0 100px;
|
||
|
justify-content: flex-end;
|
||
|
|
||
|
a {
|
||
|
font-size: 12px;
|
||
|
text-align: center;
|
||
|
margin: 0 6px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Item Properties (like stats or details)
|
||
|
.item-prop {
|
||
|
text-align: center;
|
||
|
border-left: 1px solid $c-faint;
|
||
|
border-right: 1px solid $c-faint;
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Section Header inside Items List
|
||
|
.items-list .items-header {
|
||
|
height: 28px;
|
||
|
margin: 2px 0;
|
||
|
padding: 0;
|
||
|
align-items: center;
|
||
|
background: rgba(0, 0, 0, 0.05);
|
||
|
border: $border-groove;
|
||
|
font-weight: bold;
|
||
|
|
||
|
> * {
|
||
|
font-size: 12px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.item-name {
|
||
|
padding-left: 5px;
|
||
|
text-align: left;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Optional item formula block
|
||
|
.item-formula {
|
||
|
flex: 0 0 200px;
|
||
|
padding: 0 8px;
|
||
|
}
|