liuxiaolong
2019-05-06 acc45d2ece02563964d7b8a22ff0c40bd8358889
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
@import '~@/vendor/styles/_custom-variables/libs';
 
$pwd-strength-meter-spacer: 6px !default;
 
div.Password {
  max-width: 100%;
}
 
div.Password .Password__strength-meter {
  &::before,
  &::after {
    width: calc(25% + #{$pwd-strength-meter-spacer});
  }
 
  &::before {
    left: calc(25% - #{$pwd-strength-meter-spacer / 2});
  }
 
  &::after {
    right: calc(25% - #{$pwd-strength-meter-spacer / 2});
  }
}
 
div.Password .Password__badge {
  position: absolute;
  top: 50%;
  right: 10px;
  bottom: auto;
  padding: .25rem 0;
  width: 1.5rem;
  height: auto;
  border-radius: .125rem;
  text-align: center;
  font-weight: bold;
  font-size: .75rem;
  line-height: 1;
  transform: translateY(-50%);
 
  [dir=rtl] & {
    right: auto;
    left: 10px;
  }
 
  .material-style & {
    right: 0;
  }
 
  .material-style[dir=rtl] & {
    left: 0;
  }
}
 
.default-style {
  @import "~@/vendor/styles/_appwork/include";
 
  .Password .Password__strength-meter {
    background: $border-color;
  }
}
 
.material-style {
  @import "~@/vendor/styles/_appwork/include-material";
 
  .Password .Password__strength-meter {
    background: $border-color;
  }
}