2016-10-23 03:05:55 -07:00
|
|
|
code {
|
|
|
|
font-family: 'Roboto Mono', monospace;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
2016-10-18 07:37:15 -07:00
|
|
|
.form-container {
|
|
|
|
max-width: 400px;
|
|
|
|
padding: 20px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.simple_form {
|
|
|
|
.input {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
2016-12-22 14:03:57 -08:00
|
|
|
.hint {
|
|
|
|
display: block;
|
2017-01-23 07:01:46 -08:00
|
|
|
color: rgba($color5, 0.8);
|
2016-12-22 14:03:57 -08:00
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
2016-11-16 08:51:02 -08:00
|
|
|
.input.file, .input.select {
|
2016-10-18 07:37:15 -07:00
|
|
|
padding: 15px 0;
|
|
|
|
margin-bottom: 0;
|
2016-11-16 08:51:02 -08:00
|
|
|
display: flex;
|
2016-10-18 07:37:15 -07:00
|
|
|
|
|
|
|
label {
|
2017-01-04 20:24:27 -08:00
|
|
|
font-family: inherit;
|
2016-10-18 07:37:15 -07:00
|
|
|
font-size: 16px;
|
2017-01-23 07:01:46 -08:00
|
|
|
color: $color5;
|
2016-10-18 07:37:15 -07:00
|
|
|
width: 100px;
|
2016-11-16 08:51:02 -08:00
|
|
|
display: block;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
padding-top: 5px;
|
2016-10-18 07:37:15 -07:00
|
|
|
}
|
|
|
|
|
2016-11-16 08:51:02 -08:00
|
|
|
input[type=file], select {
|
|
|
|
flex: 1 1 auto;
|
2016-10-18 07:37:15 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fields-group {
|
|
|
|
margin-bottom: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input.boolean {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
|
|
|
label {
|
2017-01-04 20:24:27 -08:00
|
|
|
font-family: inherit;
|
2016-10-18 07:37:15 -07:00
|
|
|
font-size: 14px;
|
2016-11-23 09:36:35 -08:00
|
|
|
color: white;
|
2016-11-16 08:51:02 -08:00
|
|
|
display: block;
|
2016-10-18 07:37:15 -07:00
|
|
|
}
|
2016-11-25 05:01:14 -08:00
|
|
|
|
2016-11-23 07:26:53 -08:00
|
|
|
label.checkbox {
|
|
|
|
position: relative;
|
|
|
|
padding-left: 25px;
|
|
|
|
}
|
2016-10-18 07:37:15 -07:00
|
|
|
|
|
|
|
input[type=checkbox] {
|
2016-11-23 07:26:53 -08:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
2016-11-25 05:01:14 -08:00
|
|
|
top: 1px;
|
|
|
|
margin: 0;
|
2016-10-18 07:37:15 -07:00
|
|
|
}
|
2016-12-22 14:03:57 -08:00
|
|
|
|
|
|
|
.hint {
|
|
|
|
padding-left: 25px;
|
|
|
|
}
|
2016-10-18 07:37:15 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type=text], input[type=email], input[type=password], textarea {
|
|
|
|
background: transparent;
|
2016-11-07 09:45:44 -08:00
|
|
|
box-sizing: border-box;
|
2016-10-18 07:37:15 -07:00
|
|
|
border: 0;
|
2017-01-23 07:01:46 -08:00
|
|
|
border-bottom: 2px solid $color3;
|
2016-11-07 09:45:44 -08:00
|
|
|
border-radius: 2px 2px 0 0;
|
|
|
|
padding: 7px 4px;
|
2016-10-18 07:37:15 -07:00
|
|
|
font-size: 16px;
|
2017-01-23 07:01:46 -08:00
|
|
|
color: $color5;
|
2016-10-18 07:37:15 -07:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
outline: 0;
|
2017-01-04 20:24:27 -08:00
|
|
|
font-family: inherit;
|
2016-10-18 07:37:15 -07:00
|
|
|
|
|
|
|
&:invalid {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus:invalid {
|
2017-01-23 07:01:46 -08:00
|
|
|
border-bottom-color: $color6;
|
2016-10-18 07:37:15 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
&:required:valid {
|
2017-01-23 07:01:46 -08:00
|
|
|
border-bottom-color: $color7;
|
2016-10-18 07:37:15 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active, &:focus {
|
2017-01-23 07:01:46 -08:00
|
|
|
border-bottom-color: $color4;
|
|
|
|
background: rgba($color8, 0.1);
|
2016-10-18 07:37:15 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.input.field_with_errors {
|
|
|
|
input[type=text], input[type=email], input[type=password] {
|
2017-01-23 07:01:46 -08:00
|
|
|
border-bottom-color: $color6;
|
2016-10-18 07:37:15 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.error {
|
|
|
|
font-weight: 500;
|
2017-01-23 07:01:46 -08:00
|
|
|
color: $color6;
|
2016-10-18 07:37:15 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions {
|
|
|
|
margin-top: 30px;
|
2016-10-22 10:38:47 -07:00
|
|
|
}
|
2016-10-18 07:37:15 -07:00
|
|
|
|
2016-10-22 10:38:47 -07:00
|
|
|
button {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
border: 0;
|
|
|
|
border-radius: 4px;
|
2017-01-23 07:01:46 -08:00
|
|
|
background: $color4;
|
|
|
|
color: $color5;
|
2016-10-22 10:38:47 -07:00
|
|
|
font-size: 18px;
|
|
|
|
padding: 10px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
cursor: pointer;
|
|
|
|
font-weight: 500;
|
|
|
|
outline: 0;
|
|
|
|
margin-bottom: 10px;
|
2016-10-18 07:37:15 -07:00
|
|
|
|
2016-10-22 10:38:47 -07:00
|
|
|
&:hover {
|
2017-01-23 07:01:46 -08:00
|
|
|
background-color: lighten($color4, 5%);
|
2016-10-22 10:38:47 -07:00
|
|
|
}
|
2016-10-18 07:37:15 -07:00
|
|
|
|
2016-10-22 10:38:47 -07:00
|
|
|
&:active, &:focus {
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
2017-01-23 07:01:46 -08:00
|
|
|
background-color: darken($color4, 5%);
|
2016-10-22 10:38:47 -07:00
|
|
|
}
|
2016-10-18 07:37:15 -07:00
|
|
|
|
2016-10-22 10:38:47 -07:00
|
|
|
&.negative {
|
2017-01-23 07:01:46 -08:00
|
|
|
background: $color6;
|
2016-10-18 07:37:15 -07:00
|
|
|
|
2016-10-22 10:38:47 -07:00
|
|
|
&:hover {
|
2017-01-23 07:01:46 -08:00
|
|
|
background-color: lighten($color6, 5%);
|
2016-10-22 10:38:47 -07:00
|
|
|
}
|
2016-10-18 07:37:15 -07:00
|
|
|
|
2016-10-22 10:38:47 -07:00
|
|
|
&:active, &:focus {
|
2017-01-23 07:01:46 -08:00
|
|
|
background-color: darken($color6, 5%);
|
2016-10-18 07:37:15 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.flash-message {
|
2017-01-23 07:01:46 -08:00
|
|
|
background: $color1;
|
|
|
|
color: $color3;
|
2016-10-18 07:37:15 -07:00
|
|
|
border-radius: 4px;
|
|
|
|
padding: 15px 10px;
|
|
|
|
margin-bottom: 30px;
|
2017-01-23 07:01:46 -08:00
|
|
|
box-shadow: 0 0 5px rgba($color8, 0.2);
|
2016-10-18 07:37:15 -07:00
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-footer {
|
|
|
|
margin-top: 30px;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
a {
|
2016-11-23 09:36:35 -08:00
|
|
|
color: white;
|
2016-10-18 07:37:15 -07:00
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-29 07:54:54 -08:00
|
|
|
.oauth-prompt, .follow-prompt {
|
2016-10-22 10:38:47 -07:00
|
|
|
margin-bottom: 30px;
|
|
|
|
text-align: center;
|
2017-01-23 07:01:46 -08:00
|
|
|
color: $color3;
|
2016-10-22 10:38:47 -07:00
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 16px;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
strong {
|
2017-01-23 07:01:46 -08:00
|
|
|
color: $color2;
|
2016-10-22 10:38:47 -07:00
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
}
|