secajs/src/public/css/offers.css
2025-02-27 13:02:54 +01:00

227 lines
3.2 KiB
CSS

@media (max-width: 768px) {
#offers-root {
margin: 10px 10px;
}
#close-offer-controls-x {
width: 25px;
}
.button-group button {
max-width: 30%;
}
#premium-selector-area {
width: 80px;
}
#amount-area-content {
width: 50%;
}
.create-offer-step {
width: 100%;
}
.checkbox-row {
width: 90%;
}
.checkbox-row > input[type='checkbox'] {
flex-shrink: 0;
margin-left: 5%;
}
}
@media (min-width: 769px) {
#offers-root {
width: 75%;
margin: 20px auto;
}
#close-offer-controls-x {
width: 50px;
}
#premium-selector-area {
width: 100px;
}
#amount-area-content {
width: 33%;
}
.create-offer-step {
margin-left: auto;
margin-right: auto;
width: 70%;
}
.checkbox-row {
width: 60%;
}
.checkbox-row > input[type='checkbox'] {
flex-shrink: 0;
margin-left: 20%;
}
}
#create-offer-controls {
text-align: center;
}
.create-offer-step {
text-align: center;
border-radius: 20px;
box-shadow: 0 0 13px #ccc;
padding: 20px 0;
margin-top: 20px;
margin-bottom: 20px;
}
.create-offer-step h3 {
margin-top: 0;
}
#close-offer-controls-area {
display: flex;
justify-content: end;
}
#premium-area > * {
display: block;
}
#premium-content-area {
width: 80%;
height: 50px;
align-items: center;
margin-left: auto;
margin-right: auto;
display: flex;
}
#premium-selector-area {
margin-left: auto;
margin-right: 5%;
display: flex;
}
#premium-value {
border: 1px solid gray;
width: 50%;
align-content: center;
}
#premium-buttons-container {
width: 50%;
}
.premium-button {
background: white;
border: 2px solid #e1c300;
width: 100%;
height: 50%;
font-size: 1em;
}
.premium-button:hover {
background: #fff8ce;
}
#button-increase-premium {
border-top-right-radius: 10px;
}
#button-decrease-premium {
border-bottom-right-radius: 10px;
}
#premium-price-display-area {
margin-left: 0;
margin-right: auto;
font-size: 1em;
text-align: start;
}
#premium-price-display-area > * {
margin-top: 0;
margin-bottom: 0;
}
#market-price-paragraph {
color: gray;
font-size: 0.8em;
}
#amount-area-content {
margin-left: auto;
margin-right: auto;
}
.money-amount-input-area {
padding: 0;
width: 100%;
display: flex;
}
.money-amount-input-area > * {
display: inline-block;
font-size: 1em;
height: 2em;
vertical-align: middle;
}
.input-money-amount {
width: 75%;
margin: 0;
}
.money-amount-input-area .curr-symbol {
background-color: #d8d8d8;
width: 25%;
margin: 0;
border: 1px solid gray;
}
.money-amount-input-area .curr-symbol .curr-character {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
}
.place-and-time-box {
height: 100px;
width: 30%;
min-width: 200px;
resize: none;
}
.checkbox-row {
display: flex;
margin-left: auto;
margin-right: auto;
}
.checkbox-row > label {
text-align: start;
margin-right: auto;
margin-left: 0;
align-content: center;
}
.checkbox-row > input[type='checkbox'] {
flex-shrink: 0;
margin-right: 1em;
height: 2em;
width: 2em;
}
#submit-button-area {
margin-top: 1em;
margin-bottom: 1em;
}
#button-submit-offer {
width: 33%;
}