1
|
@font-face {
|
2
|
font-weight: normal;
|
3
|
font-style: normal;
|
4
|
font-family: 'codropsicons';
|
5
|
src: url('../fonts/codropsicons/codropsicons.eot');
|
6
|
src: url('../fonts/codropsicons/codropsicons.eot?#iefix') format('embedded-opentype'), url('../fonts/codropsicons/codropsicons.woff') format('woff'), url('../fonts/codropsicons/codropsicons.ttf') format('truetype'), url('../fonts/codropsicons/codropsicons.svg#codropsicons') format('svg');
|
7
|
}
|
8
|
|
9
|
*,
|
10
|
*:after,
|
11
|
*:before {
|
12
|
-webkit-box-sizing: border-box;
|
13
|
box-sizing: border-box;
|
14
|
}
|
15
|
|
16
|
.clearfix:before,
|
17
|
.clearfix:after {
|
18
|
display: table;
|
19
|
content: '';
|
20
|
}
|
21
|
|
22
|
.clearfix:after {
|
23
|
clear: both;
|
24
|
}
|
25
|
|
26
|
.inputfile {
|
27
|
width: 0.1px;
|
28
|
height: 0.1px;
|
29
|
opacity: 0;
|
30
|
overflow: hidden;
|
31
|
position: absolute;
|
32
|
z-index: -1;
|
33
|
}
|
34
|
|
35
|
.input-file {
|
36
|
opacity: 1;
|
37
|
overflow: hidden;
|
38
|
height: 2.625em;
|
39
|
right: 11.225em;
|
40
|
margin-top: -2.825em;
|
41
|
}
|
42
|
|
43
|
.js .inputfile {
|
44
|
width: 0.1px;
|
45
|
height: 0.1px;
|
46
|
opacity: 0;
|
47
|
overflow: hidden;
|
48
|
position: absolute;
|
49
|
z-index: -1;
|
50
|
}
|
51
|
|
52
|
.inputfile + label {
|
53
|
max-width: 80%;
|
54
|
font-size: 1.125rem;
|
55
|
text-overflow: ellipsis;
|
56
|
white-space: nowrap;
|
57
|
cursor: pointer;
|
58
|
display: inline-block;
|
59
|
overflow: hidden;
|
60
|
padding: 0.625rem 1.25rem;
|
61
|
/* 10px 20px */
|
62
|
}
|
63
|
|
64
|
.no-js .inputfile + label {
|
65
|
display: none;
|
66
|
}
|
67
|
|
68
|
.inputfile:focus + label,
|
69
|
.inputfile.has-focus + label {
|
70
|
outline: 1px dotted #000;
|
71
|
outline: -webkit-focus-ring-color auto 5px;
|
72
|
}
|
73
|
|
74
|
.inputfile + label * {
|
75
|
/* pointer-events: none; */
|
76
|
/* in case of FastClick lib use */
|
77
|
}
|
78
|
|
79
|
.inputfile + label svg {
|
80
|
width: 1em;
|
81
|
height: 1em;
|
82
|
vertical-align: middle;
|
83
|
fill: currentColor;
|
84
|
margin-top: -0.25em;
|
85
|
/* 4px */
|
86
|
margin-right: 0.25em;
|
87
|
/* 4px */
|
88
|
}
|
89
|
|
90
|
/* style 6 */
|
91
|
|
92
|
.inputfile-6 + label {
|
93
|
color: #d3394c;
|
94
|
}
|
95
|
|
96
|
.inputfile-6 + label {
|
97
|
border: 1px solid #d3394c;
|
98
|
background-color: #f1e5e6;
|
99
|
height: 2.125em;
|
100
|
padding: 0;
|
101
|
}
|
102
|
|
103
|
.inputfile-6:focus + label,
|
104
|
.inputfile-6.has-focus + label,
|
105
|
.inputfile-6 + label:hover {
|
106
|
border-color: #722040;
|
107
|
}
|
108
|
|
109
|
.inputfile-6 + label span,
|
110
|
.inputfile-6 + label strong {
|
111
|
padding: 0.425rem 0.25rem;
|
112
|
font-weight: normal;
|
113
|
font-size: 0.925em;
|
114
|
/* 10px 20px */
|
115
|
}
|
116
|
|
117
|
.inputfile-6 + label span {
|
118
|
width: 14.225em;
|
119
|
min-height: 2.525em;
|
120
|
display: inline-block;
|
121
|
text-overflow: ellipsis;
|
122
|
white-space: nowrap;
|
123
|
overflow: hidden;
|
124
|
vertical-align: top;
|
125
|
border-radius: 0.125em;
|
126
|
}
|
127
|
|
128
|
.inputfile-6 + label strong {
|
129
|
height: 100%;
|
130
|
color: #f1e5e6;
|
131
|
background-color: #d3394c;
|
132
|
display: inline-block;
|
133
|
}
|
134
|
|
135
|
.inputfile-6:focus + label strong,
|
136
|
.inputfile-6.has-focus + label strong,
|
137
|
.inputfile-6 + label:hover strong {
|
138
|
background-color: #722040;
|
139
|
}
|
140
|
|
141
|
div.file-select-box span select {
|
142
|
width: 35%;
|
143
|
height: 2.125em;
|
144
|
border-radius: 0.125em;
|
145
|
font-size: 1.225em;
|
146
|
font-weight: bold;
|
147
|
text-overflow: ellipsis;
|
148
|
border: 1px solid #d3394c;
|
149
|
color: #d3394c;
|
150
|
background-color: #f1e5e6;
|
151
|
}
|
152
|
div.file-select-box span select option{
|
153
|
color: #000;
|
154
|
background-color: #fff;
|
155
|
font-weight: normal;
|
156
|
font-size: 0.925em;
|
157
|
}
|
158
|
div.file-box { padding-top: 1.525em !important; white-space: nowrap;}
|
159
|
div.file-box span button { margin: -1.925em auto; }
|
160
|
|
161
|
@media screen and (max-width: 50em) {
|
162
|
.inputfile-6 + label strong {
|
163
|
display: block;
|
164
|
}
|
165
|
}
|
166
|
|