mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 05:18:28 -04:00
96 lines
1.5 KiB
SCSS
96 lines
1.5 KiB
SCSS
.form {
|
|
input[type="text"],
|
|
input[type="email"],
|
|
select,
|
|
textarea {
|
|
width: 100%;
|
|
padding: 0.8em;
|
|
margin: 0.6em 0;
|
|
border: 2px solid;
|
|
border-radius: 0.3em;
|
|
color: var(--text);
|
|
background-color: var(--super-duper-light);
|
|
border-color: var(--light);
|
|
|
|
&:focus {
|
|
outline: none; // disable browsers' outer border
|
|
border-color: var(--link);
|
|
}
|
|
}
|
|
|
|
textarea {
|
|
height: 12em;
|
|
min-height: 6em;
|
|
margin-bottom: 0;
|
|
line-height: 1.5;
|
|
|
|
// allow vertical resizing & disable horizontal
|
|
resize: vertical;
|
|
}
|
|
}
|
|
|
|
.markdown_tip {
|
|
font-size: 0.825em;
|
|
line-height: 1.75;
|
|
|
|
a {
|
|
background: none;
|
|
padding-bottom: 0;
|
|
|
|
&:first-of-type {
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
}
|
|
|
|
.captcha {
|
|
margin: 1em 0;
|
|
}
|
|
|
|
.action_row {
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: 3.75em;
|
|
}
|
|
|
|
.btn_submit {
|
|
flex-shrink: 0;
|
|
height: 3.25em;
|
|
padding: 1em 1.25em;
|
|
margin-right: 1.5em;
|
|
border: 0;
|
|
border-radius: 0.3em;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
color: var(--text);
|
|
background-color: var(--kinda-light);
|
|
|
|
&:hover {
|
|
color: var(--super-duper-light);
|
|
background-color: var(--link);
|
|
}
|
|
|
|
.send_icon {
|
|
height: 1.2em;
|
|
width: 1.2em;
|
|
vertical-align: -0.22em;
|
|
border: 0;
|
|
display: inline-block;
|
|
margin-right: 0.4em;
|
|
cursor: inherit;
|
|
}
|
|
}
|
|
|
|
.result_success,
|
|
.result_error {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.result_success {
|
|
color: var(--success);
|
|
}
|
|
|
|
.result_error {
|
|
color: var(--error);
|
|
}
|