secajs/src/public/css/offers.css

391 lines
5.5 KiB
CSS
Raw Normal View History

2025-02-24 16:04:22 +01:00
@media (max-width: 768px) {
#offers-root {
margin: 10px 10px;
}
#close-offer-controls-x {
width: 25px;
}
2025-02-24 16:46:26 +01:00
2025-02-24 23:58:58 +01:00
.button-group button {
max-width: 30%;
}
2025-02-24 16:46:26 +01:00
#premium-selector-area {
2025-02-25 14:47:27 +01:00
width: 80px;
2025-02-24 16:46:26 +01:00
}
2025-02-24 23:47:01 +01:00
2025-02-24 23:58:58 +01:00
#amount-area-content {
width: 50%;
}
2025-02-27 12:51:32 +01:00
.create-offer-step {
2025-03-04 17:32:03 +01:00
width: 95%;
2025-02-24 23:47:01 +01:00
}
.checkbox-row {
width: 90%;
}
.checkbox-row > input[type='checkbox'] {
flex-shrink: 0;
margin-left: 5%;
}
2025-03-03 12:25:15 +01:00
.myoffer-card {
width: 100%;
height: 500px;
margin: 5px 5px;
2025-03-04 02:17:26 +01:00
padding: 10px;
2025-03-03 12:25:15 +01:00
}
2025-02-24 16:04:22 +01:00
}
@media (min-width: 769px) {
#offers-root {
width: 75%;
margin: 20px auto;
}
#close-offer-controls-x {
width: 50px;
}
2025-02-24 16:46:26 +01:00
#premium-selector-area {
width: 100px;
}
2025-02-24 23:47:01 +01:00
2025-02-24 23:58:58 +01:00
#amount-area-content {
width: 33%;
}
2025-02-27 12:51:32 +01:00
.create-offer-step {
2025-02-24 23:58:58 +01:00
margin-left: auto;
margin-right: auto;
2025-02-24 23:47:01 +01:00
width: 70%;
2025-03-04 17:32:03 +01:00
min-width: 500px;
max-width: 95%;
2025-02-24 23:47:01 +01:00
}
.checkbox-row {
width: 60%;
}
.checkbox-row > input[type='checkbox'] {
flex-shrink: 0;
margin-left: 20%;
}
2025-03-03 12:25:15 +01:00
.myoffer-card {
width: 23%;
2025-03-04 02:17:26 +01:00
min-width: 339px;
2025-03-03 12:25:15 +01:00
height: 500px;
margin: 10px 10px;
2025-03-03 12:34:36 +01:00
padding: 10px;
2025-03-03 12:25:15 +01:00
}
2025-02-28 15:53:40 +01:00
}
2025-02-28 16:14:39 +01:00
#view-my-offers-root {
display: none;
text-align: center;
}
#view-my-offers-root > * {
2025-02-28 16:15:18 +01:00
margin-left: auto;
2025-02-28 16:14:39 +01:00
margin-right: auto;
2025-02-28 16:15:18 +01:00
}
2025-02-28 16:14:39 +01:00
2025-03-03 12:25:15 +01:00
#own-offers-container {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
}
2025-03-03 10:32:57 +01:00
.myoffer-card {
2025-03-03 12:25:15 +01:00
display: grid;
2025-03-03 12:34:36 +01:00
grid-template-columns: 48% 4% 48%;
2025-03-04 17:32:03 +01:00
grid-template-rows: 25% 1% 30% 1% 18% 1% 14% 1% 10%;
2025-03-03 12:25:15 +01:00
}
2025-03-03 12:34:36 +01:00
.myoffer-card > div {
padding: 5px;
}
.myoffer-card p {
margin: 0;
}
2025-03-03 12:25:15 +01:00
.trade-desc {
grid-column: 1;
grid-row: 1;
text-align: left;
}
2025-03-03 16:03:47 +01:00
.left-icon-checkboxed-field {
2025-03-03 15:34:56 +01:00
display: flex;
align-items: center;
2025-03-03 16:03:47 +01:00
margin-bottom: 2px;
font-size: 0.9em;
2025-03-03 15:34:56 +01:00
}
2025-03-03 16:03:47 +01:00
.left-icon-checkboxed-field > * {
2025-03-03 15:34:56 +01:00
margin-right: 2px;
margin-left: 2px;
2025-03-03 16:03:47 +01:00
}
.left-icon-checkboxed-field img {
2025-03-04 02:17:26 +01:00
height: 1.1em;
2025-03-03 16:03:47 +01:00
}
.right-icon-checkboxed-field {
display: flex;
2025-03-03 15:34:56 +01:00
align-items: center;
2025-03-03 16:03:47 +01:00
justify-content: end;
margin-bottom: 2px;
font-size: 0.9em;
}
.right-icon-checkboxed-field > * {
margin-right: 2px;
margin-left: 2px;
2025-03-03 15:34:56 +01:00
}
2025-03-03 16:03:47 +01:00
.right-icon-checkboxed-field img {
2025-03-03 15:34:56 +01:00
height: 1.2em;
}
2025-03-03 12:25:15 +01:00
.offer-card-content-title {
color: gray;
font-size: 0.8em;
font-weight: 100;
}
.offer-card-content-data {
font-size: 1.1em;
font-weight: bold;
}
.premium-desc {
grid-column: 3;
grid-row: 1;
text-align: right;
}
.where-desc {
grid-column: 1;
grid-row: 3;
text-align: left;
2025-03-03 12:34:36 +01:00
overflow-y: auto;
2025-03-04 17:32:03 +01:00
overflow-x: hidden;
2025-03-03 12:34:36 +01:00
}
.when-desc {
grid-column: 3;
grid-row: 3;
text-align: right;
overflow-y: auto;
2025-03-04 17:32:03 +01:00
overflow-x: hidden;
2025-03-03 10:53:18 +01:00
}
2025-03-03 15:34:56 +01:00
.bitcoin-methods-desc {
grid-column: 1;
grid-row: 5;
text-align: left;
}
2025-03-03 16:03:47 +01:00
.visibility-desc {
grid-column: 3;
grid-row: 5;
text-align: right;
}
2025-03-03 17:09:07 +01:00
.other-desc {
grid-column: 1;
grid-row: 7;
text-align: left;
}
2025-03-04 02:17:26 +01:00
.offer-action-buttons-area {
grid-column-start: 1;
grid-column-end: 4;
grid-row: 9;
display: flex;
align-items: center;
justify-content: flex-end;
}
.offer-action-area {
cursor: pointer;
margin-right: 20px;
}
2025-03-03 15:34:56 +01:00
.offer-long-text {
font-size: 0.9em;
}
2025-02-27 12:51:32 +01:00
#create-offer-controls {
text-align: center;
2025-03-04 17:32:03 +01:00
overflow-y: auto;
max-height: 800px;
padding: 20px;
2025-02-27 12:51:32 +01:00
}
2025-03-04 17:32:03 +01:00
2025-02-27 12:51:32 +01:00
.create-offer-step {
2025-02-24 16:04:22 +01:00
text-align: center;
2025-02-27 13:02:54 +01:00
border-radius: 20px;
box-shadow: 0 0 13px #ccc;
padding: 20px 0;
2025-03-04 17:32:03 +01:00
margin-top: 10px;
margin-bottom: 10px;
margin-left: auto;
margin-right: auto;
2025-02-24 16:04:22 +01:00
}
2025-02-27 13:02:54 +01:00
.create-offer-step h3 {
margin-top: 0;
}
2025-02-24 16:04:22 +01:00
#close-offer-controls-area {
display: flex;
justify-content: end;
}
2025-02-24 16:46:26 +01:00
#premium-area > * {
display: block;
}
#premium-content-area {
width: 80%;
2025-02-25 00:38:13 +01:00
height: 50px;
align-items: center;
2025-02-24 16:46:26 +01:00
margin-left: auto;
margin-right: auto;
2025-02-24 17:20:35 +01:00
display: flex;
2025-02-24 16:46:26 +01:00
}
#premium-selector-area {
2025-02-25 00:38:13 +01:00
margin-left: auto;
2025-02-24 16:46:26 +01:00
margin-right: 5%;
2025-02-24 17:20:35 +01:00
display: flex;
2025-02-24 16:46:26 +01:00
}
#premium-value {
border: 1px solid gray;
2025-02-24 17:20:35 +01:00
width: 50%;
align-content: center;
}
#premium-buttons-container {
2025-02-24 17:39:09 +01:00
width: 50%;
2025-02-24 16:46:26 +01:00
}
2025-02-25 00:11:20 +01:00
.premium-button {
background: white;
border: 2px solid #e1c300;
2025-02-27 12:51:32 +01:00
width: 100%;
height: 50%;
font-size: 1em;
2025-02-25 00:11:20 +01:00
}
.premium-button:hover {
background: #fff8ce;
}
#button-increase-premium {
2025-02-26 00:48:16 +01:00
border-top-right-radius: 10px;
2025-02-25 00:11:20 +01:00
}
#button-decrease-premium {
2025-02-26 00:48:16 +01:00
border-bottom-right-radius: 10px;
2025-02-25 00:11:20 +01:00
}
2025-02-24 16:46:26 +01:00
#premium-price-display-area {
margin-left: 0;
2025-02-25 00:38:13 +01:00
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;
2025-02-24 16:46:26 +01:00
}
2025-02-24 17:11:02 +01:00
#amount-area-content {
margin-left: auto;
margin-right: auto;
}
2025-02-24 11:20:24 +01:00
.money-amount-input-area {
2025-02-24 00:31:17 +01:00
padding: 0;
2025-02-24 17:11:02 +01:00
width: 100%;
display: flex;
2025-02-24 00:31:17 +01:00
}
2025-02-24 11:20:24 +01:00
.money-amount-input-area > * {
2025-02-24 00:31:17 +01:00
display: inline-block;
font-size: 1em;
height: 2em;
vertical-align: middle;
}
2025-02-24 11:20:24 +01:00
.input-money-amount {
width: 75%;
2025-02-24 17:11:02 +01:00
margin: 0;
2025-02-24 00:31:17 +01:00
}
2025-02-24 11:20:24 +01:00
.money-amount-input-area .curr-symbol {
2025-02-24 00:31:17 +01:00
background-color: #d8d8d8;
2025-02-24 17:11:02 +01:00
width: 25%;
margin: 0;
border: 1px solid gray;
2025-02-24 00:31:17 +01:00
}
2025-02-24 11:20:24 +01:00
.money-amount-input-area .curr-symbol .curr-character {
2025-02-24 00:31:17 +01:00
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
}
2025-02-24 17:39:09 +01:00
2025-02-25 14:47:27 +01:00
.place-and-time-box {
2025-02-26 00:48:16 +01:00
height: 100px;
width: 30%;
min-width: 200px;
resize: none;
2025-02-25 14:47:27 +01:00
}
2025-02-24 17:39:09 +01:00
.checkbox-row {
display: flex;
margin-left: auto;
margin-right: auto;
}
.checkbox-row > label {
text-align: start;
2025-02-24 23:47:01 +01:00
margin-right: auto;
2025-02-24 17:39:09 +01:00
margin-left: 0;
align-content: center;
}
.checkbox-row > input[type='checkbox'] {
2025-02-24 23:47:01 +01:00
flex-shrink: 0;
margin-right: 1em;
2025-02-24 17:39:09 +01:00
height: 2em;
width: 2em;
}
2025-02-24 23:47:01 +01:00
2025-02-24 23:58:58 +01:00
#submit-button-area {
margin-top: 1em;
margin-bottom: 1em;
}
#button-submit-offer {
width: 33%;
}
2025-03-04 17:32:03 +01:00
#close-offer {
margin-left: auto;
margin-right:auto;
}