Main/resources/[inventory]/qs-inventory/html/css/trade.css
2025-06-07 08:51:21 +02:00

263 lines
No EOL
5.7 KiB
CSS

@import url("https://fonts.googleapis.com/css2?family=Alegreya+Sans:wght@100;300;400&display=swap");
* {
font-weight: 900;
font-family: 'CabinetGrotesk-Bold';
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.trade-container {
position: absolute;
left: 50%;
top: 50%;
z-index: 99999999;
margin: 20px auto;
width: 1340px;
display: flex;
justify-content: center;
transform: translate(-50%,-50%);
}
.buttons-group {
display: flex;
justify-content: center;
}
.buttons {
margin: 0 0;
width: 100%;
text-align: center;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
color: white;
}
.gray-text {
color: white;
font-size: 14px;
background-color: rgba(255,255,255,0.125);
width: 100%;
padding: 5px;
background: radial-gradient(120.05% 120.05% at 50.14% -58.24%, rgba(18,121,211,0.2) 0%, rgb(14,21,27) 100%) padding-box padding-box, linear-gradient(rgba(18,121,211,0.2) 30%, rgba(0,163,255,0.6) 70%) border-box border-box;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
.btn {
padding: 5px 120px;
border-radius: 5px;
margin: 10px 5px;
transition: opacity 0.1s linear;
border-width: 1px;
border-style: solid;
border-color: rgba(18,121,211,0.2);
border-image-source: linear-gradient(rgb(14,21,27) 0%, rgb(255,255,255) 100%);
border-image-slice: initial;
border-image-width: initial;
border-image-outset: initial;
border-image-repeat: initial;
background: radial-gradient(120.05% 120.05% at 50.14% -58.24%, rgba(18,121,211,0.2) 0%, rgb(14,21,27) 100%) padding-box padding-box, linear-gradient(rgba(18,121,211,0.2) 30%, rgba(0,163,255,0.6) 70%) border-box border-box;
}
.btn:hover {
opacity: 0.8;
}
.btn-red {
background-color: #191e25;
}
.btn-green {
background-color: #191e25;
}
.btn i {
color: #6c757d;
}
.wrapper {
width: 51vh;
display: flex;
align-items: center;
background: radial-gradient(120.05% 120.05% at 50.14% -58.24%, rgba(18,121,211,0.2) 0%, rgb(14,21,27) 100%) padding-box padding-box, linear-gradient(rgba(18,121,211,0.2) 30%, rgba(0,163,255,0.6) 70%) border-box border-box;
border-width: 1px;
border-style: solid;
border-color: rgba(18,121,211,0.2);
border-image-source: linear-gradient(rgb(14,21,27) 0%, rgb(255,255,255) 100%);
border-radius: 8px;
color: #fff;
flex-direction: column;
overflow: hidden
}
.border {
width: 100%;
height: 2px;
margin: 10px 0;
border-bottom: 2px solid #222;
}
.offer-container {
width: 100%;
min-height: 430px;
max-height: 43px;
}
.offer-container.receiver {
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
}
.items {
min-height: 127px;
text-transform: capitalize;
max-height: 127px;
overflow: auto;
display: flex;
width: 100%;
padding: 0 10px;
margin: 0 auto;
justify-content: flex-start;
flex-wrap: wrap;
}
.items-header {
font-size: 18px;
color: #6c757d;
margin: 10px 20px;
}
.trade-item-slot {
position: relative;
height: 10.2vh;
margin: 5px;
width: 8.3vh;
transition: 0.1s opacity linear;
border-width: 1px;
border-style: solid;
border-color: rgba(18,121,211,0.2);
border-image-source: linear-gradient(rgb(14,21,27) 0%, rgb(255,255,255) 100%);
border-image-slice: initial;
border-image-width: initial;
border-image-outset: initial;
border-image-repeat: initial;
background: radial-gradient(120.05% 120.05% at 50.14% -58.24%, rgba(18,121,211,0.2) 0%, rgb(14,21,27) 100%) padding-box padding-box, linear-gradient(rgba(18,121,211,0.2) 30%, rgba(0,163,255,0.6) 70%) border-box border-box;
border-radius: 5px;
}
.item-slot:hover {
opacity: 0.7;
}
.item-infos {
color: white;
position: absolute;
display: flex;
width: 100%;
bottom: 0;
padding: 3px;
font-size: 14px;
justify-content: space-between;
}
.item-img {
position: absolute;
top: 45%;
left: 50%;
transform: translate(-50%,-50%);
width: 4.5vh;
}
.item-img img {
width: 100%;
height: auto;
}
.offer-items {
min-height: 127px;
max-height: 127px;
overflow: auto;
display: flex;
width: 100%;
padding: 0 10px;
margin: 0 auto;
justify-content: flex-start;
flex-wrap: wrap;
}
.header-wrapper {
padding: 10px;
margin-bottom: 10px;
color: white;
display: flex;
justify-content: space-evenly;
}
.header-wrapper h2 {
position: relative;
top: .1vh;
}
.header-wrapper input {
width: 13%;
text-align: right;
padding: 10px;
}
.item-trade-cut {
width: 38vh;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.amount {
background-color: #191e25;
outline: none;
border: none;
padding-left: 10px;
border-radius: 4px;
height: 4vh;
color: white;
border-width: 1px;
border-style: solid;
border-color: rgba(18,121,211,0.2);
border-image-source: linear-gradient(rgb(14,21,27) 0%, rgb(255,255,255) 100%);
border-image-slice: initial;
border-image-width: initial;
border-image-outset: initial;
border-image-repeat: initial;
background: radial-gradient(120.05% 120.05% at 50.14% -58.24%, rgba(18,121,211,0.2) 0%, rgb(14,21,27) 100%) padding-box padding-box, linear-gradient(rgba(18,121,211,0.2) 30%, rgba(0,163,255,0.6) 70%) border-box border-box;
}
.items, .offer-items {
width: 49vh;
}
.item-amount {
padding-right: 5px;
padding-top: 2px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
text-align: right;
font-size: 11px;
}
.item-label {
width: 100%;
text-align: center;
font-size: 11.8764px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
font-family: 'CabinetGrotesk-Extrabold';
text-transform: uppercase;
}