form, .form { display: flex; flex-direction: column; } 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; transition: background-color .25s; } label { color: var(--color-accent); } input[type="password"], input[type="text"], textarea { background: var(--bgcolor-textinput); border: .2rem solid #b7b7b7; border-radius: .2rem; display: block; margin: 0; } input[type="password"]:focus, input[type="text"]:focus, textarea:focus { border-color: var(--focus-border-color); outline-offset: var(--focus-outline-offset); outline: var(--focus-outline); } textarea { max-height: 50vh; min-height: 20px; resize: none; transition: min-height .1s ease-out, height .1s ease-out; } textarea:focus { min-height: 3.5rem; } .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; } .btn-inline img[alt] { color: #7f7f7f; line-height: 1px; } .btn-inline img[alt]::before { font-size: 3.4rem; } .btn-danger { background: var(--bgcolor-danger); } 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-direction: row; flex-grow: 1; gap: 1rem; } .cards .form-inline button, .cards .form-inline input[type="text"], .cards .form-inline textarea { margin: .4rem 0; } .form-inline input[type="text"], .form-inline textarea { flex-grow: 1; margin-bottom: 0; } .form-inline button { flex-grow: 0; } .form-inline button#publish { align-self: end; } .focus-active { }