This repository has been archived by the owner on Nov 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
select2.seven-overrides.css
82 lines (80 loc) · 2.5 KB
/
select2.seven-overrides.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
/* Overrides */
.select2-container--seven .select2-selection--single,
.select2-container--seven .select2-selection--single .select2-selection__arrow {
height: 31px;
}
.select2-container--seven .select2-selection--multiple {
height: auto;
}
.select2-container--seven .select2-selection--single,
.select2-container--seven .select2-selection--multiple {
border: 1px solid #b8b8b8;
border-top-color: #999;
border-radius: 2px;
box-sizing: border-box;
max-width: 100%;
background: #fcfcfa;
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.125);
font-size: 1em;
color: #595959;
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
transition: border linear 0.2s, box-shadow linear 0.2s;
}
.select2-container--seven .select2-selection--multiple .select2-selection__choice {
background-color: #ebeae4;
border: 1px solid #b8b8b8;
}
.select2-container--seven.select2-container--focus .select2-selection--multiple {
border: solid #b8b8b8 1px;
}
.select2-container--seven .select2-selection--single .select2-selection__placeholder {
color: #757575;
}
.select2-container--seven .select2-selection--single .select2-selection__rendered {
color: #595959;
padding-left: 6px;
line-height: 31px;
}
.select2-container--seven .select2-search--inline .select2-search__field {
padding-top: 3px;
}
.select2-container--seven ul li.select2-results__message {
color: #595959;
font-size: 0.95em;
}
.select2-container--seven ul li.select2-results__option {
padding: 3px 1em 3px .4em;
}
.select2-container--seven .select2-search--dropdown .select2-search__field {
border: 1px solid #b8b8b8;
}
.select2-container--seven .select2-results__option[aria-selected=true] {
background-color: #ebeae4;
}
.select2-container--seven .select2-results__option--highlighted[aria-selected] {
background-color: #0074bd;
}
/* New */
.select2-container--seven .select2-dropdown {
border-color: #b8b8b8;
border-radius: 2px;
}
.select2-container--seven .select2-dropdown--above {
border-bottom: 1px;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.select2-container--seven .select2-dropdown--below {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.select2-container--seven .select2-selection--multiple:focus,
.select2-container--seven .select2-selection--single:focus {
border-color: #40b6ff;
outline: 0;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 0 8px #40b6ff;
background-color: #fff;
}
.select2-container--seven .select2-selection--multiple .select2-selection__choice {
white-space: normal;
}