Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 79d2c10

Browse files
author
Brian Feister
committed
chore(build): v0.12.0
1 parent 559a9fa commit 79d2c10

File tree

5 files changed

+139
-28
lines changed

5 files changed

+139
-28
lines changed

dist/select.css

+42-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* ui-select
33
* http://github.com/angular-ui/ui-select
4-
* Version: 0.11.2 - 2015-03-17T04:08:46.478Z
4+
* Version: 0.12.0 - 2015-05-28T07:44:11.364Z
55
* License: MIT
66
*/
77

@@ -48,6 +48,31 @@ body > .select2-container.open {
4848
z-index: 9999; /* The z-index Select2 applies to the select2-drop */
4949
}
5050

51+
/* Handle up direction Select2 */
52+
.ui-select-container[theme="select2"].direction-up .ui-select-match {
53+
border-radius: 4px; /* FIXME hardcoded value :-/ */
54+
border-top-left-radius: 0;
55+
border-top-right-radius: 0;
56+
}
57+
.ui-select-container[theme="select2"].direction-up .ui-select-dropdown {
58+
border-radius: 4px; /* FIXME hardcoded value :-/ */
59+
border-bottom-left-radius: 0;
60+
border-bottom-right-radius: 0;
61+
62+
border-top-width: 1px; /* FIXME hardcoded value :-/ */
63+
border-top-style: solid;
64+
65+
box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.25);
66+
67+
margin-top: -4px; /* FIXME hardcoded value :-/ */
68+
}
69+
.ui-select-container[theme="select2"].direction-up .ui-select-dropdown .select2-search {
70+
margin-top: 4px; /* FIXME hardcoded value :-/ */
71+
}
72+
.ui-select-container[theme="select2"].direction-up.select2-dropdown-open .ui-select-match {
73+
border-bottom-color: #5897fb;
74+
}
75+
5176
/* Selectize theme */
5277

5378
/* Helper class to show styles when focus */
@@ -70,6 +95,12 @@ body > .select2-container.open {
7095
border-color: #D44950;
7196
}
7297

98+
/* Handle up direction Selectize */
99+
.ui-select-container[theme="selectize"].direction-up .ui-select-dropdown {
100+
box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.25);
101+
102+
margin-top: -2px; /* FIXME hardcoded value :-/ */
103+
}
73104

74105
/* Bootstrap theme */
75106

@@ -107,6 +138,11 @@ body > .select2-container.open {
107138
border-top-right-radius: 0;
108139
border-bottom-right-radius: 0;
109140
}
141+
.input-group > .ui-select-bootstrap > input.ui-select-search.form-control.direction-up {
142+
border-radius: 4px !important; /* FIXME hardcoded value :-/ */
143+
border-top-right-radius: 0 !important;
144+
border-bottom-right-radius: 0 !important;
145+
}
110146

111147
.ui-select-bootstrap > .ui-select-match > .btn{
112148
/* Instead of center because of .btn */
@@ -219,3 +255,8 @@ body > .ui-select-bootstrap.open {
219255
.ui-select-bootstrap.ng-dirty.ng-invalid > button.btn.ui-select-match {
220256
border-color: #D44950;
221257
}
258+
259+
/* Handle up direction Bootstrap */
260+
.ui-select-container[theme="bootstrap"].direction-up .ui-select-dropdown {
261+
box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.25);
262+
}

0 commit comments

Comments
 (0)