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