You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nostrweb/src/form.css

106 lines
1.5 KiB
CSS

form {
}
input,
textarea {
color: var(--color);
font-size: 1.6rem;
margin-bottom: 1.2rem;
padding: 1.3rem 1.8rem;
}
button,
label {
cursor: pointer;
display: block;
font-size: 1.6rem;
margin-bottom: 0;
padding: 1.3rem 1.8rem;
text-indent: 0;
}
label {
color: var(--color-accent);
}
input[type="password"],
input[type="text"] {
border: .2rem solid #b7b7b7;
border-radius: .2rem;
display: block;
margin: 0;
width: 100%;
}
input[type="password"]:focus,
input[type="text"]:focus {
border-color: var(--focus-border-color);
outline-offset: 2px;
}
.buttons {
align-items: center;
display: flex;
justify-content: flex-end;
margin-top: 2rem;
min-height: 3.2rem;
}
button {
background-color: var(--bgcolor-accent);
border: none;
border-radius: .2rem;
cursor: pointer;
outline-offset: 1px;
word-break: normal;
}
button:focus {
}
.btn-inline {
align-items: center;
background: transparent;
color: var(--color);
display: inline-flex;
gap: .5ch;
line-height: 1;
padding: .6rem;
}
.btn-inline img {
max-height: 18px;
max-width: 18px;
}
button:disabled {
background-color: var(--bgcolor-inactive);
cursor: default;
}
.inline-text {
display: inline-block;
padding: 0 1ch;
}
.form-status {
flex-grow: 1;
padding: 1rem 1.8rem;
}
.form-inline {
display: flex;
flex-grow: 1;
gap: 1rem;
}
.form-inline input[type=text] {
flex-grow: 1;
}
.form-inline button {
flex-grow: 0;
}
.focus-active {
}