inputmask.css
1.57 KB
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
span.im-caret {
-webkit-animation: 1s blink step-end infinite;
-moz-animation: 1s blink step-end infinite;
-ms-animation: 1s blink step-end infinite;
-o-animation: 1s blink step-end infinite;
animation: 1s blink step-end infinite;
}
@keyframes blink {
from, to {
border-right-color: black;
}
50% {
border-right-color: transparent;
}
}
@-moz-keyframes blink {
from, to {
border-right-color: black;
}
50% {
border-right-color: transparent;
}
}
@-webkit-keyframes blink {
from, to {
border-right-color: black;
}
50% {
border-right-color: transparent;
}
}
@-ms-keyframes blink {
from, to {
border-right-color: black;
}
50% {
border-right-color: transparent;
}
}
@-o-keyframes blink {
from, to {
border-right-color: black;
}
50% {
border-right-color: transparent;
}
}
span.im-static {
color: grey;
}
div.im-colormask {
display: inline-block;
border-style: inset;
border-width: 2px;
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
div.im-colormask > input {
position: absolute;
display: inline-block;
background-color: transparent;
color: transparent;
-webkit-appearance: caret;
-moz-appearance: caret;
appearance: caret;
border-style: none;
left: 0; /*calculated*/
}
div.im-colormask > input:focus {
outline: none;
}
div.im-colormask > div {
color: black;
display: inline-block;
width: 100px; /*calculated*/
}