Files
openrouter/src/web/css/form.css
T
wt ec54166f8f
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Has been cancelled
bootstrap frontend
2025-04-23 17:54:48 +07:00

136 lines
2.1 KiB
CSS

.form {
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
pointer-events: none;
padding: 10px;
transform: scale(0.5);
opacity: 0;
transition: 0.3s;
position: absolute;
margin: auto;
}
.form.active {
pointer-events: all;
opacity: 1;
transform: scale(1);
}
.form.active>.formbody {
transform: scale(1);
}
.formbody {
width: 30%;
height: min-content;
display: flex;
flex-direction: column;
gap: 10px;
/* align-items: center; */
background-color: gray;
/* opacity: 0.7; */
/* border-radius: 20px; */
border-radius: var(--bs-border-radius);
padding: 10px;
}
.formheader {
width: 100%;
text-align: center;
}
.forminputbody {
width: 50%;
display: flex;
justify-content: space-between;
}
.forminputbody.confirmform {
display: flex;
flex-direction: row;
align-items: center;
gap: 10px;
}
/* .forminputbody.confirmform>button {
width: 100%;
}
.forminputlabel {
text-align: center;
font-style: normal;
font-size: 20px;
margin: 5px 0;
}
.forminput {
padding: 10px;
border-radius: 10px;
border: 2px solid;
transition: 0.2s;
background-color: inherit;
}
.forminput>option {
background-color: inherit;
color: black;
}
.forminput:focus {
border: 5px solid;
}
.formbutton {
padding: 10px;
border-radius: 10px;
border: none;
cursor: pointer;
transition: 0.3s;
width: 100%;
} */
@media screen and (max-width: 800px) {
.forminputbody {
width: 100%;
}
}
@media screen and (max-width: 800px) {
.formbody {
height: 60%;
}
}
@media screen and (max-width: 600px) {
.forminputbody {
flex-direction: column;
}
}
@media screen and (max-width: 500px) {
.formbody {
width: 100%;
}
}
@media screen and (max-width: 300px) {
.formbody {
height: 60%;
width: 100%;
}
}
@media screen and (max-width: 500px) {
.formheader {
font-size: 20px;
}
}