-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathvisualcaptcha.src.css
201 lines (200 loc) · 4.22 KB
/
visualcaptcha.src.css
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
/*! visualCaptcha - v0.0.8 - 2016-01-23
* http://visualcaptcha.net
* Copyright (c) 2016 emotionLoop; Licensed MIT */
/*---------------------------------------------------
LESS Elements 0.9
---------------------------------------------------
A set of useful LESS mixins
More info at: http://lesselements.com
---------------------------------------------------*/
.visualCaptcha {
margin-bottom: 20px;
min-height: 120px;
}
@media only screen and (min-width: 750px) {
.visualCaptcha {
margin-bottom: 50px;
}
}
.visualCaptcha * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.visualCaptcha .audioField {
font-size: 15px;
color: #495e62;
font-weight: 100;
padding: 5px;
border: 1px solid #3bb6e4;
height: 40px;
width: 100%;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
@media only screen and (max-width: 360px) {
.visualCaptcha .audioField {
margin-bottom: 15px;
}
}
@media only screen and (min-width: 360px) {
.visualCaptcha .audioField {
width: 240px;
float: left;
}
}
.accessibility-description,
.visualCaptcha-explanation,
.status.valid {
-webkit-border-radius: 7px;
-moz-border-radius: 7px;
border-radius: 7px;
background-color: #c1f7e8;
padding: 10px;
text-align: center;
font-family: 'Oxygen', sans-serif;
font-size: 18px;
color: #219589;
font-weight: 100;
margin: 20px 0 24px;
}
@media only screen and (max-width: 360px) {
.accessibility-description,
.visualCaptcha-explanation,
.status.valid {
font-size: 16px;
}
}
.visualCaptcha-possibilities,
.visualCaptcha-refresh-button,
.visualCaptcha-accessibility-button,
.visualCaptcha-button-group {
display: inline-block;
}
.visualCaptcha-possibilities {
vertical-align: middle;
}
@media only screen and (min-width: 750px) {
.visualCaptcha-possibilities {
margin-right: 15px;
}
}
.visualCaptcha-possibilities .img {
padding: 4px;
border: 1px solid #ffffff;
display: inline-block;
}
@media only screen and (min-width: 750px) {
.visualCaptcha-possibilities .img {
padding: 10px;
border: 3px solid #ffffff;
}
}
.visualCaptcha-possibilities img {
width: 32px;
height: 32px;
z-index: 5;
transition: all 200ms;
-webkit-transition: all 200ms;
}
.visualCaptcha-possibilities img:hover {
cursor: pointer;
}
@media only screen and (max-width: 360px) {
.visualCaptcha-possibilities .visualCaptcha-button-group {
text-align: center;
margin-top: 15px;
}
}
@media only screen and (min-width: 750px) {
.visualCaptcha-possibilities .visualCaptcha-button-group {
float: right;
}
}
.visualCaptcha-possibilities .visualCaptcha-selected {
background-color: #c1f7e8;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
padding: 4px;
border: 1px dashed #099a9f;
}
@media only screen and (min-width: 750px) {
.visualCaptcha-possibilities .visualCaptcha-selected {
padding: 10px;
border: 3px dashed #099a9f;
}
}
.visualCaptcha-refresh-button {
padding: 9px 10px 7px;
margin: 0 5px;
background-color: #f87056;
border: 1px solid #f87056;
-webkit-border-radius: 100px;
-moz-border-radius: 100px;
border-radius: 100px;
}
.visualCaptcha-refresh-button img {
width: 16px;
height: 16px;
}
.visualCaptcha-refresh-button:hover {
cursor: pointer;
}
.visualCaptcha-accessibility-button {
padding: 9px 10px 7px;
border: 1px solid black;
-webkit-border-radius: 100px;
-moz-border-radius: 100px;
border-radius: 100px;
}
.visualCaptcha-accessibility-button img {
width: 16px;
height: 16px;
}
.visualCaptcha-accessibility-button:hover {
cursor: pointer;
}
/* Animations for hiding/showing accessibility option and images */
@-webkit-keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@-webkit-keyframes fadeOut {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
@keyframes fadeOut {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
div.visualCaptcha .visualCaptcha-show {
-webkit-animation: fadeIn 300ms;
animation: fadeIn 300ms;
}
div.visualCaptcha .visualCaptcha-hide {
display: none !important;
-webkit-animation: fadeOut 300ms;
animation: fadeOut 300ms;
}