blob: 814dce5f8e9d3e3701c86e3e37bde20c5c6a2a65 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
@import './config.scss';
@import './mixins.scss';
.franz-form {
.franz-form__field {
display: flex;
flex: 1;
flex-direction: column;
margin-bottom: 20px;
&.has-error {
.franz-form__input-wrapper {
border-color: $theme-brand-danger;
}
.franz-form__input-modifier {
border-color: $theme-brand-danger;
}
}
}
.franz-form__label {
@include formLabel();
}
.franz-form__error {
color: $theme-brand-danger;
margin-top: 10px;
order: 2;
}
.franz-form__input-wrapper {
display: flex;
width: 100%;
order: 1;
border-radius: $theme-border-radius-small;
background: $theme-gray-lightest;
border: 1px solid $theme-gray-lighter;
flex-wrap: wrap;
}
.franz-form__input {
flex: 1;
border: 0;
background: none;
width: 100%;
padding: 8px;
// font-size: 18px;
color: $theme-gray;
}
.franz-form__input-prefix,
.franz-form__input-suffix {
padding: 0 10px;
background: $theme-gray-lighter;
color: $theme-gray-light;
line-height: 35px;
}
.franz-form__input-modifier {
padding: 0 20px;
border-left: 1px solid $theme-gray-lighter;
color: $theme-gray-light;
font-size: 20px;
}
.franz-form__password-score {
background: $theme-gray-lighter;
height: 5px;
flex-basis: 100%;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
meter {
width: 100%;
height: 100%;
display: block;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
overflow: hidden;
&::-webkit-meter-bar {
background: none;
}
&::-webkit-meter-even-less-good-value {
background: $theme-brand-danger;
}
&::-webkit-meter-suboptimum-value {
background: $theme-brand-warning;
}
&::-webkit-meter-optimum-value {
background: $theme-brand-success;
}
}
}
}
|