forked from patternfly/patternfly-3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap-select.less
More file actions
99 lines (98 loc) · 2.48 KB
/
Copy pathbootstrap-select.less
File metadata and controls
99 lines (98 loc) · 2.48 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
//
// Bootstrap-select
// --------------------------------------------------
.bootstrap-select.btn-group {
&.form-control {
margin-bottom: 0;
}
.btn {
&:hover {
border-color: @input-border-hover;
}
.caret {
margin-top: -4px;
}
.form-control-outline();
.has-error & {
border-color: @state-danger-text;
&:focus {
border-color: darken(@state-danger-text, 10%);
@shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@state-danger-text, 20%);
.box-shadow(@shadow);
}
}
.has-success & {
border-color: @state-success-text;
&:focus {
border-color: darken(@state-success-text, 10%);
@shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@state-success-text, 20%);
.box-shadow(@shadow);
}
}
.has-warning & {
border-color: @state-warning-text;
&:focus {
border-color: darken(@state-warning-text, 10%);
@shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@state-warning-text, 20%);
.box-shadow(@shadow);
}
}
.transition(~"border-color ease-in-out .15s, box-shadow ease-in-out .15s");
}
.dropdown-menu { // Also see navbar.less
> .active > a {
&, &:active {
background-color: @dropdown-link-hover-bg !important;
border-color: @dropdown-link-hover-border-color !important;
color: @gray-dark !important;
small {
color: @gray-light !important;
}
}
}
> .disabled > a {
color: @gray-light !important;
}
> .selected > a {
background-color: @dropdown-link-active-bg !important;
border-color: @dropdown-link-active-border-color !important;
color: #fff !important;
small {
color: #70c8e7 !important;
color:rgba(225, 255, 255, 0.5) !important;
}
}
.divider {
background: @dropdown-divider-bg !important;
margin: @dropdown-divider-margin !important;
}
dt {
color: #969696;
font-weight:normal;
padding: 1px 10px;
}
li {
& > a.opt {
padding: 1px 10px;
}
& a {
&:active small {
color: #70c8e7 !important;
color:rgba(225, 255, 255, 0.5) !important;
}
&:hover, &:focus {
small {
color: @gray-light;
}
}
}
&:not(.disabled) {
a:hover, a:focus {
small {
color: @gray-light;
}
}
}
}
}
}