style: run format:apply
This commit is contained in:
@@ -2,163 +2,165 @@
|
||||
cards
|
||||
*/
|
||||
.card {
|
||||
background: #0d0d0d;
|
||||
border: 1px solid #1a1a1a;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 1rem 0.6rem 0.75rem;
|
||||
gap: 0.5rem;
|
||||
transition: border-color 0.15s ease, background 0.15s ease;
|
||||
user-select: none;
|
||||
background: #0d0d0d;
|
||||
border: 1px solid #1a1a1a;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 1rem 0.6rem 0.75rem;
|
||||
gap: 0.5rem;
|
||||
transition:
|
||||
border-color 0.15s ease,
|
||||
background 0.15s ease;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.cardActive {
|
||||
border-color: #a30000;
|
||||
background: #0d0000;
|
||||
border-color: #a30000;
|
||||
background: #0d0000;
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: 52px;
|
||||
height: 52px;
|
||||
object-fit: contain;
|
||||
filter: grayscale(1) brightness(0.3);
|
||||
transition: filter 0.15s ease;
|
||||
pointer-events: none;
|
||||
width: 52px;
|
||||
height: 52px;
|
||||
object-fit: contain;
|
||||
filter: grayscale(1) brightness(0.3);
|
||||
transition: filter 0.15s ease;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.cardActive .icon {
|
||||
filter: none;
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.name {
|
||||
font-size: 0.62rem;
|
||||
text-align: center;
|
||||
color: #3a3a3a;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
line-height: 1.3;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 0.62rem;
|
||||
text-align: center;
|
||||
color: #3a3a3a;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
line-height: 1.3;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.cardActive .name {
|
||||
color: #c9c9c9;
|
||||
color: #c9c9c9;
|
||||
}
|
||||
|
||||
/*
|
||||
quantity rows
|
||||
*/
|
||||
.qtyRow {
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
width: 100%;
|
||||
border: 1px solid #2a2a2a;
|
||||
background: #060606;
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
width: 100%;
|
||||
border: 1px solid #2a2a2a;
|
||||
background: #060606;
|
||||
}
|
||||
|
||||
.qtyBtn {
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: #555555;
|
||||
width: 22px;
|
||||
cursor: pointer;
|
||||
font-size: 1rem;
|
||||
line-height: 1;
|
||||
transition: all 0.1s ease;
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: #555555;
|
||||
width: 22px;
|
||||
cursor: pointer;
|
||||
font-size: 1rem;
|
||||
line-height: 1;
|
||||
transition: all 0.1s ease;
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.qtyBtn:hover {
|
||||
color: #ffffff;
|
||||
background: #1a0000;
|
||||
color: #ffffff;
|
||||
background: #1a0000;
|
||||
}
|
||||
|
||||
.qtyInput {
|
||||
flex: 1;
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: #a30000;
|
||||
font-family: 'Oswald', sans-serif;
|
||||
font-size: 0.82rem;
|
||||
text-align: center;
|
||||
width: 0;
|
||||
min-width: 0;
|
||||
padding: 0.3rem 0;
|
||||
flex: 1;
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: #a30000;
|
||||
font-family: 'Oswald', sans-serif;
|
||||
font-size: 0.82rem;
|
||||
text-align: center;
|
||||
width: 0;
|
||||
min-width: 0;
|
||||
padding: 0.3rem 0;
|
||||
}
|
||||
.qtyInput::-webkit-outer-spin-button,
|
||||
.qtyInput::-webkit-inner-spin-button {
|
||||
-webkit-appearance: none;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
.qtyInput:focus {
|
||||
outline: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/*
|
||||
quick actions
|
||||
*/
|
||||
.quickRow {
|
||||
display: flex;
|
||||
gap: 0.3rem;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
gap: 0.3rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.quickBtn {
|
||||
flex: 1;
|
||||
background: transparent;
|
||||
border: 1px solid #1e1e1e;
|
||||
color: #3a3a3a;
|
||||
padding: 0.25rem 0;
|
||||
font-family: 'Oswald', sans-serif;
|
||||
font-size: 0.65rem;
|
||||
text-transform: uppercase;
|
||||
cursor: pointer;
|
||||
transition: all 0.1s ease;
|
||||
text-align: center;
|
||||
flex: 1;
|
||||
background: transparent;
|
||||
border: 1px solid #1e1e1e;
|
||||
color: #3a3a3a;
|
||||
padding: 0.25rem 0;
|
||||
font-family: 'Oswald', sans-serif;
|
||||
font-size: 0.65rem;
|
||||
text-transform: uppercase;
|
||||
cursor: pointer;
|
||||
transition: all 0.1s ease;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.quickBtn:hover {
|
||||
color: #c9c9c9;
|
||||
border-color: #333333;
|
||||
color: #c9c9c9;
|
||||
border-color: #333333;
|
||||
}
|
||||
|
||||
.quickBtnRand:hover {
|
||||
color: #5599ff;
|
||||
border-color: #1a3a88;
|
||||
background: #05060d;
|
||||
color: #5599ff;
|
||||
border-color: #1a3a88;
|
||||
background: #05060d;
|
||||
}
|
||||
|
||||
.quickBtnRemove:hover {
|
||||
color: #ff4444;
|
||||
border-color: #661111;
|
||||
background: #0d0505;
|
||||
color: #ff4444;
|
||||
border-color: #661111;
|
||||
background: #0d0505;
|
||||
}
|
||||
|
||||
/*
|
||||
buttons
|
||||
*/
|
||||
.addBtn {
|
||||
width: 100%;
|
||||
background: transparent;
|
||||
border: 1px solid #1a1a1a;
|
||||
color: #2e2e2e;
|
||||
padding: 0.45rem;
|
||||
font-family: 'Oswald', sans-serif;
|
||||
font-size: 0.7rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
cursor: pointer;
|
||||
transition: all 0.15s ease;
|
||||
margin-top: auto;
|
||||
width: 100%;
|
||||
background: transparent;
|
||||
border: 1px solid #1a1a1a;
|
||||
color: #2e2e2e;
|
||||
padding: 0.45rem;
|
||||
font-family: 'Oswald', sans-serif;
|
||||
font-size: 0.7rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
cursor: pointer;
|
||||
transition: all 0.15s ease;
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.addBtn:hover {
|
||||
color: #c9c9c9;
|
||||
border-color: #4a0000;
|
||||
background: #0d0000;
|
||||
}
|
||||
color: #c9c9c9;
|
||||
border-color: #4a0000;
|
||||
background: #0d0000;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user