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