move public

This commit is contained in:
counterweight 2025-03-12 16:28:44 +01:00
parent 7fcf62e647
commit e81533db4c
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
51 changed files with 698 additions and 686 deletions

View file

@ -0,0 +1,64 @@
@media (max-width: 768px) {
.over-background > *:first-child {
margin-bottom: 5px;
}
.over-background > *:last-child {
margin-top: 5px;
}
.over-background > * {
margin-bottom: 5px;
margin-top: 5px;
}
}
@media (min-width: 769px) {
.over-background > *:first-child {
margin-bottom: 10px;
}
.over-background > *:last-child {
margin-top: 10px;
}
.over-background > * {
margin-bottom: 10px;
margin-top: 10px;
}
}
.badges {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(3, 1fr);
}
.badge {
border: 2px solid #e1c300;
border-radius: 10px;
padding: 2%;
margin: 1%;
}
.badge input {
max-width: 80%;
}
.create-profile-card-section > * {
text-align: center;
margin-bottom: 10px;
margin-right: auto;
margin-left: auto;
display: block;
max-width: 1000px;
}
.create-profile-card-section .badge img {
width: 10%;
}
h2 {
margin-top: 0;
margin-bottom: 5px;
}

39
public/css/invite.css Normal file
View file

@ -0,0 +1,39 @@
@media (max-width: 768px) {
#nostr-signup-button {
width: 200px;
}
#invite-card-content {
width: 100%;
}
}
@media (min-width: 769px) {
#nostr-signup-button {
width: 300px;
}
#invite-card-content {
width: 40%;
min-width: min-content;
}
}
#laseca-logo {
width: 200px;
}
#nostr-signup-button p {
font-size: 1.5rem;
}
#invite-card-content {
margin-right: auto;
margin-left: auto;
padding: 20px;
}
#invite-card-content > * {
margin: 1vh auto;
text-align: center;
}

392
public/css/offers.css Normal file
View file

@ -0,0 +1,392 @@
@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: 95%;
}
.checkbox-row {
width: 90%;
}
.checkbox-row > input[type='checkbox'] {
flex-shrink: 0;
margin-left: 5%;
}
.myoffer-card {
width: 100%;
height: 500px;
margin: 5px 5px;
padding: 10px;
}
}
@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%;
min-width: 500px;
max-width: 95%;
}
.checkbox-row {
width: 60%;
}
.checkbox-row > input[type='checkbox'] {
flex-shrink: 0;
margin-left: 20%;
}
.myoffer-card {
width: 23%;
min-width: 339px;
height: 500px;
margin: 10px 10px;
padding: 10px;
}
}
#view-my-offers-root {
display: none;
text-align: center;
}
#view-my-offers-root > * {
margin-left: auto;
margin-right: auto;
}
#own-offers-container {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
}
.myoffer-card {
display: grid;
grid-template-columns: 48% 4% 48%;
grid-template-rows: 25% 1% 30% 1% 18% 1% 14% 1% 10%;
}
.myoffer-card > div {
padding: 5px;
}
.myoffer-card p {
margin: 0;
}
.trade-desc {
grid-column: 1;
grid-row: 1;
text-align: left;
}
.left-icon-checkboxed-field {
display: flex;
align-items: center;
margin-bottom: 2px;
font-size: 0.9em;
}
.left-icon-checkboxed-field > * {
margin-right: 2px;
margin-left: 2px;
}
.left-icon-checkboxed-field img {
height: 1.1em;
}
.right-icon-checkboxed-field {
display: flex;
align-items: center;
justify-content: end;
margin-bottom: 2px;
font-size: 0.9em;
}
.right-icon-checkboxed-field > * {
margin-right: 2px;
margin-left: 2px;
}
.right-icon-checkboxed-field img {
height: 1.2em;
}
.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;
overflow-y: auto;
overflow-x: hidden;
}
.when-desc {
grid-column: 3;
grid-row: 3;
text-align: right;
overflow-y: auto;
overflow-x: hidden;
}
.bitcoin-methods-desc {
grid-column: 1;
grid-row: 5;
text-align: left;
}
.visibility-desc {
grid-column: 3;
grid-row: 5;
text-align: right;
}
.other-desc {
grid-column: 1;
grid-row: 7;
text-align: left;
}
.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;
padding: 3px;
}
.offer-long-text {
font-size: 0.9em;
}
#create-offer-controls {
text-align: center;
overflow-y: auto;
max-height: 800px;
padding: 20px;
}
.create-offer-step {
text-align: center;
border-radius: 20px;
box-shadow: 0 0 13px #ccc;
padding: 20px 0;
margin-top: 10px;
margin-bottom: 10px;
margin-left: auto;
margin-right: auto;
}
.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%;
}
#close-offer {
margin-left: auto;
margin-right: auto;
}

277
public/css/seca.css Normal file
View file

@ -0,0 +1,277 @@
* {
font-family: Arial, Helvetica, sans-serif;
box-sizing: border-box;
}
@media (max-width: 768px) {
html {
font-size: 16px;
}
.font-medium {
font-size: 0.7rem;
}
.button-medium {
padding: 0.5em 1em;
border-radius: 10px;
}
.top-notification-good {
top: 25px;
}
#app-nav-bar > #laseca-logo {
height: 30px;
}
}
@media (min-width: 769px) {
html {
font-size: 16px;
}
.font-medium {
font-size: 0.9rem;
}
.button-medium {
padding: 1em;
border-radius: 10px;
}
.top-notification-good {
top: 50px;
}
#app-nav-bar > #laseca-logo {
height: 30px;
}
}
#app-nav-bar > #laseca-logo {
margin-top: 0;
transform: translateY(20%);
}
body {
background-color: #bdd5ea;
}
h1 {
color: #e1c300;
}
.clickable {
cursor: pointer;
}
.money-input {
text-align: end;
}
.input-is-valid {
border: 1px solid green;
}
.input-is-invalid {
border: 2px solid red;
}
.max-size-zero {
max-width: 0;
max-height: 0;
}
.top-notification-good {
border-radius: 10px;
background-color: rgb(9, 165, 9);
color: white;
font-weight: 800;
opacity: 0.8;
position: fixed;
padding: 20px;
display: flex;
justify-content: space-evenly;
align-items: center;
left: 50%;
transform: translate(-50%, -500px);
transition: transform 1s ease-in-out;
}
.top-notification-good.revealed {
transform: translate(-50%, 0%);
}
.top-notification-good > * {
margin: 0 20px;
}
.top-notification-good > *:first-child {
margin-left: 0;
}
.top-notification-good > *:last-child {
margin-right: 0;
}
.top-notification-good img {
height: 50px;
}
.full-screen-modal-background {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.75);
transition: all 0.5s ease-in-out;
opacity: 0;
visibility: hidden;
pointer-events: none;
}
.full-screen-modal-background.shown {
opacity: 1;
visibility: visible;
pointer-events: all;
}
.full-screen-modal {
background-color: white;
border-radius: 20px;
padding: 10px;
width: fit-content;
max-width: 95%;
margin: 20px auto;
}
.button-group button {
border: 0;
padding: 1em;
cursor: pointer;
}
.button-group button.selected {
border: 0;
padding: 1em;
background: #e1c300;
}
.button-group button.unselected {
border: 0;
padding: 1em;
background: #e1c300;
font-weight: bold;
color: white;
}
.button-group button:first-of-type {
border-top-left-radius: 1em;
border-bottom-left-radius: 1em;
margin-right: 0;
}
.button-group button:last-of-type {
border-top-right-radius: 1em;
border-bottom-right-radius: 1em;
margin-left: 0;
}
.over-background {
background-color: white;
border-radius: 1vw;
padding: 10px;
margin: 1%;
}
.shadowed-round-area {
border-radius: 20px;
box-shadow: 0 0 13px #ccc;
padding: 20px;
}
.subtle-box {
border-radius: 10px;
border: 1px solid rgb(202, 202, 202);
}
#login-card > * {
text-align: center;
margin-right: auto;
margin-left: auto;
display: block;
margin-bottom: 1vh;
}
.text-warning {
color: red;
font-weight: 800;
}
.button-primary {
background: #e1c300;
border: 0;
color: white;
cursor: pointer;
}
.button-primary:hover {
background-color: #dfca41;
}
.button-primary:disabled {
background-color: #d8d8d8;
cursor: default;
}
.button-secondary {
background: white;
border: 0;
color: #e1c300;
cursor: pointer;
border: 3px solid #e1c300;
transition: all 0.5 ease-in-out;
}
.button-secondary:hover {
font-weight: bold;
}
.button-large {
font-weight: bold;
font-size: 1.5em;
padding: 0.5em;
}
.card-secondary {
background-color: #369;
border-radius: 1vw;
padding: 1vw;
color: white;
}
.card-secondary a {
color: white;
}
.card-secondarya:hover {
color: #e1c300;
}
.button-nostr {
background: #a915ff;
border-radius: 1vw;
color: white;
padding: 1%;
cursor: pointer;
border: 0;
}
.button-nostr:hover {
background-color: #b941ff;
}
.button-nostr:disabled {
background-color: #d8d8d8;
cursor: default;
border: 0;
}