-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathselfs.css
More file actions
118 lines (103 loc) · 2.23 KB
/
selfs.css
File metadata and controls
118 lines (103 loc) · 2.23 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
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
@import url('https://fonts.googleapis.com/css?family=Raleway');
body{
background: #8BC34A;
font-family: 'Raleway', sans-serif;
}
.self_select{
width: 30%;
margin: auto;
/* background: #3F51B5; */
/* padding: 7px; */
position: relative;
display: block;
}
.self_select > .search {
transition: background 0.5s ease, box-shadow 0.5s ease;
height: 36px;
width: 100%;
/* border: 0; */
margin: auto;
padding-left: 14px;
display: block;
border: 1px solid gray;
box-sizing: border-box;
border-radius: 1px;
font-family: 'Raleway', sans-serif;
}
.self_select > .search.selected {
background: #5C6BC0;
color: white;
font-weight: bold;
font-size: 15px;
border: 0;
box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
/* transition: background 0.5s ease; */
}
.self_select > .box_result {
min-height: 32px;
width: 100%;
background: white;
box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
position: absolute;
left: 0;
top: 40px;
display: none;
/* padding: 13px; */
box-sizing: border-box;
max-height: 300px;
overflow: auto;
color: #7d7d7d;
}
.self_select > .box_result > .item{
padding: 7px 20px 7px 34px;
position: relative;
}
.self_select > .box_result > .divider{
background: #9E9E9E;
width: 84%;
height: 1px;
margin: auto;
/* border-radius: 92px; */
}
.self_select > .box_result > .item > .glyphicon{
display: block;
font-size: 13px;
position: absolute;
left: 9px;
top: 50%;
margin-top: -8.5px;
color: #ffffff;
opacity: 0;
transition: all 0.5s;
}
.self_select > .box_result > .item:hover > .glyphicon,
.self_select > .box_result > .item.selected > .glyphicon
{
opacity: 1;
}
.self_select > .box_result > .item > .glyphicon:hover
{
color: #f3cd00;
opacity: 1;
/* font-size: 16px; */
}
.self_select > .box_result > .item > .glyphicon.active
{
color: gold;
opacity: 1;
font-size: 16px;
}
.self_select > .box_result > .item.selected{
background: gray;
color: white;
}
.self_select > .box_result > .no_result{
padding: 7px 20px 7px 34px;
color: gray;
}
.self_select > .box_result > .item:hover{
background: #C5CAE9;
/* color: white; */
font-weight: 100;
cursor: pointer;
}