9.1
15832144755
2021-09-01 c6d9be2aac4965e847fd958288170e26e79b219d
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
//  =================
//      Imports
//  =================
 
@import '../../base/base';    // Base Variables
 
 
.custom-file-container {
  box-sizing: border-box;
  position: relative;
  display: block;
 
  label {
    color: $m-color_14;
 
    .custom-file-container__image-clear {
      color: $m-color_3;
    }
  }
}
 
.custom-file-container__custom-file {
  box-sizing: border-box;
  position: relative;
  display: inline-block;
  width: 100%;
  height: calc(2.25rem + 2px);
  margin-bottom: 0;
  margin-top: 5px;
 
  &:hover {
    cursor: pointer;
  }
}
 
.custom-file-container__custom-file__custom-file-input {
  box-sizing: border-box;
  min-width: 14rem;
  max-width: 100%;
  height: calc(2.25rem + 2px);
  margin: 0;
  opacity: 0;
 
  &:focus ~ span {
    outline: 1px dotted $m-color_9;
    outline: 5px auto -webkit-focus-ring-color;
  }
}
 
.custom-file-container__custom-file__custom-file-control {
  box-sizing: border-box;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 5;
  height: auto;
  overflow: hidden;
  line-height: 1.5;
  user-select: none;
  background-clip: padding-box;
  border-radius: .25rem;
  height: auto;
  border: 1px solid $m-color_12;
  color: $m-color_14;
  font-size: 15px;
  padding: 8px 10px;
  letter-spacing: 1px;
  background-color: $m-color_12;
}
 
.custom-file-container__custom-file__custom-file-control__button {
  box-sizing: border-box;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 6;
  display: block;
  height: auto;
  padding: 10px 16px;
  line-height: 1.25;
  background-color: rgba(0, 150, 136, 0.1);
  color: $m-color_14;
  box-sizing: border-box;
 
  &:hover {}
}
 
.custom-file-container__image-preview {
  box-sizing: border-box;
  transition: all 0.2s ease;
  margin-top: 54px;
  margin-bottom: 40px;
  height: 250px;
  width: 100%;
  border-radius: 4px;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: transparent;
  overflow: auto;
  padding: 15px;
}
 
.custom-file-container__image-multi-preview {
  position: relative;
  box-sizing: border-box;
  transition: all 0.2s ease;
  border-radius: 6px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  float: left;
  margin: 1.858736%;
  width: 29.615861214%;
  height: 90px;
  box-shadow: 0 4px 10px 0 rgba(51, 51, 51, 0.25);
}
 
.custom-file-container__image-multi-preview__single-image-clear {
  left: -6px;
  background: #ffffff;
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  text-align: center;
  margin-top: -6px;
  box-shadow: 0 4px 10px 0 rgba(51, 51, 51, 0.25);
 
  &:hover {
    background: #cbcbbd;
    cursor: pointer;
  }
}
 
.custom-file-container__image-multi-preview__single-image-clear__icon {
  color: $primary;
  display: block;
  margin-top: -2px;
}