-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathslideInput.css
117 lines (105 loc) · 2.53 KB
/
slideInput.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
slide-input {
display: block; }
.slideInput-box {
overflow: hidden;
display: block;
position: relative; }
.slideInput-typeahead {
display: block;
position: relative;
font-size: 1.4em;
margin: 0 1em;
color: #666;
max-height: 9.6em;
overflow: auto;
transition: 0.5s; }
.slideInput-emptyTypeahead {
overflow: hidden;
display: block;
position: relative;
font-size: 1.4em;
margin: 0 1em;
padding: 0.5em 0;
border-top: 1px solid #666;
color: #999999; }
.slideInput-emptyTypeaheadText {
font-size: 0.6em; }
.slideInput-typeaheadItem {
padding: 0.2em 0em;
cursor: pointer;
border-top: 1px solid #666;
font-size: 1em;
opacity: 1;
background: #fff;
max-height: 100px;
transition: 0s; }
.slideInput-typeaheadItem.ng-enter {
opacity: 0;
max-height: 0;
transition: 0.4s; }
.slideInput-typeaheadItem.ng-enter-active {
opacity: 1;
max-height: 100px; }
.slideInput-typeaheadItem.ng-leave-active {
opacity: 0;
max-height: 0; }
.slideInput-typeaheadItem:hover {
color: #333333;
transition: 0s; }
.slideInput-typeaheadItem-active {
color: black;
transition: 0s; }
.slideInput {
display: block;
background: #fff;
border-radius: 4px;
border: 1px solid #666;
overflow: hidden;
position: relative;
webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d; }
.slideInput-input {
position: relative;
display: block;
background: none;
outline: none;
float: left;
width: 100%;
box-sizing: border-box;
font-size: 1.4em;
padding: 0.2em 1em;
color: #666;
border: 2px solid transparent;
background: transparent;
transition: 0.5s;
transition-timing-function: ease-in-out; }
.slideInput-input.suggest {
z-index: -1;
background: #fff;
position: absolute; }
.slideInput-button {
position: absolute;
top: 0;
right: 0;
outline: none;
box-sizing: border-box;
background: #666;
border-radius: 4px;
color: #fff;
font-size: 1.4em;
padding: 0.2em 1em;
display: block;
border: 2px solid #fff;
cursor: pointer;
width: 20%;
transform: translate(100%, 0);
transition: 0.5s;
transition-timing-function: ease-in-out; }
.slideInput.focus .slideInput-input, .slideInput.hasValue .slideInput-input {
width: 80%; }
.slideInput.focus .slideInput-button, .slideInput.hasValue .slideInput-button {
transform: translate(0%, 0); }
.slideInput.focus .slideInput-typeahead, .slideInput.hasValue .slideInput-typeahead {
margin-right: 2px; }
/*# sourceMappingURL=slideInput.css.map */