Files
kopparhavet/styles/items.css
erebus 2e389704ea v0.0.3
Finishing v0.0.3

Layout fixes
Added support for rolling skill on spells
Fixed migration
Cleaned up the code
Fixed Hjältarnas Tid skill error, updated layout, fixed buttons not working
Fixed right click menu for weapons
Added roll dialog and exceptional rolls
Updated skills styling
Co-Authored-By: erebus <erebus@rikspolisen.se>
Co-Committed-By: erebus <erebus@rikspolisen.se>
2020-12-01 16:30:39 +00:00

121 lines
2.1 KiB
CSS

.item-avatar-img {
max-width: 200px;
display: block;
margin-left: auto;
margin-right: auto;
}
.item-weapon-cat-select {
width: calc(100% - 2px);
min-width: 20px;
}
.chat-item h2,
.chat-item h4 {
text-align: center;
}
.modification-value {
text-align: center;
}
.kopparhavet .gear-tab h1 {
margin-bottom: 0;
grid-column: 1/4;
font-family: var(--font-special);
font-size: 14px;
font-weight: bold;
line-height: initial;
margin: 0;
padding: 4px 4px;
text-align: center;
text-transform: uppercase;
}
.items {
margin: 0 0 10px 0;
padding: 0;
border: 0;
}
.items .items-header {
text-align: center;
padding: 3px;
/* border-bottom: 1px solid rgba(0, 0, 0, 0.25); */
/* background-color: #490c0b; */
/* color: white; */
/* font-size: 12px; */
border-bottom: 2px solid #782e22;
/* font-weight: normal; */
}
.items .items-header .header-name {
flex: 1 0 100px;
text-align: left;
}
.items .items-list {
padding: 0;
}
.items .items-list .item-name {
margin: 0;
/* cursor: pointer; */
flex: 1 0 100px;
text-align: left;
}
.item-quantity {
position: relative;
}
.quantity.increase {
right: 25%;
cursor: pointer;
}
.quantity.decrease {
left: 25%;
cursor: pointer;
}
.quantity {
position: absolute;
top: 0;
}
.item-weapon-skill-select {
width: calc(100% - 2px);
min-width: 20px;
text-align: center !important;
}
.items .items-list .item-controls {
z-index: 500;
width: 20px;
text-align: end;
margin: auto;
}
.items .items-list .item,
.items .items-list .item-spell,
.items .items-list .item-weapon,
.items .items-list .item-skill,
.items .items-list .item-nor,
.items .items-list .item-defence {
line-height: 24px;
padding: 3px 0;
border-bottom: 1px solid #bbb;
text-align: center;
}
.items .items-list .item .toggle-equipped,
.items .items-list .item-weapon .toggle-equipped {
color: #888;
}
.items .items-list .item .toggle-equipped.active,
.items .items-list .item-weapon .toggle-equipped.active{
color: #191813;
}