angular-ui-select-rails 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,175 @@
1
+ /*!
2
+ * ui-select
3
+ * http://github.com/angular-ui/ui-select
4
+ * Version: 0.9.5 - 2014-12-12T16:07:20.859Z
5
+ * License: MIT
6
+ */
7
+
8
+
9
+ /* Style when highlighting a search. */
10
+ .ui-select-highlight {
11
+ font-weight: bold;
12
+ }
13
+
14
+ .ui-select-offscreen {
15
+ clip: rect(0 0 0 0) !important;
16
+ width: 1px !important;
17
+ height: 1px !important;
18
+ border: 0 !important;
19
+ margin: 0 !important;
20
+ padding: 0 !important;
21
+ overflow: hidden !important;
22
+ position: absolute !important;
23
+ outline: 0 !important;
24
+ left: 0px !important;
25
+ top: 0px !important;
26
+ }
27
+
28
+ /* Select2 theme */
29
+
30
+ /* Mark invalid Select2 */
31
+ .ng-dirty.ng-invalid > a.select2-choice {
32
+ border-color: #D44950;
33
+ }
34
+
35
+ .select2-result-single {
36
+ padding-left: 0;
37
+ }
38
+
39
+ .select2-locked > .select2-search-choice-close{
40
+ display:none;
41
+ }
42
+
43
+ .select-locked > .ui-select-match-close{
44
+ display:none;
45
+ }
46
+
47
+ /* Selectize theme */
48
+
49
+ /* Helper class to show styles when focus */
50
+ .selectize-input.selectize-focus{
51
+ border-color: #007FBB !important;
52
+ }
53
+
54
+ /* Fix input width for Selectize theme */
55
+ .selectize-control > .selectize-input > input {
56
+ width: 100%;
57
+ }
58
+
59
+ /* Fix dropdown width for Selectize theme */
60
+ .selectize-control > .selectize-dropdown {
61
+ width: 100%;
62
+ }
63
+
64
+ /* Mark invalid Selectize */
65
+ .ng-dirty.ng-invalid > div.selectize-input {
66
+ border-color: #D44950;
67
+ }
68
+
69
+
70
+ /* Bootstrap theme */
71
+
72
+ /* Helper class to show styles when focus */
73
+ .btn-default-focus {
74
+ color: #333;
75
+ background-color: #EBEBEB;
76
+ border-color: #ADADAD;
77
+ text-decoration: none;
78
+ outline: 5px auto -webkit-focus-ring-color;
79
+ outline-offset: -2px;
80
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
81
+ }
82
+
83
+
84
+ /* Fix Bootstrap dropdown position when inside a input-group */
85
+ .input-group > .ui-select-bootstrap.dropdown {
86
+ /* Instead of relative */
87
+ position: static;
88
+ }
89
+
90
+ .input-group > .ui-select-bootstrap > input.ui-select-search.form-control {
91
+ border-radius: 4px; /* FIXME hardcoded value :-/ */
92
+ border-top-right-radius: 0;
93
+ border-bottom-right-radius: 0;
94
+ }
95
+
96
+ .ui-select-bootstrap > .ui-select-match {
97
+ /* Instead of center because of .btn */
98
+ text-align: left;
99
+ }
100
+
101
+ .ui-select-bootstrap > .ui-select-match > .caret {
102
+ position: absolute;
103
+ top: 45%;
104
+ right: 15px;
105
+ }
106
+
107
+ /* See Scrollable Menu with Bootstrap 3 http://stackoverflow.com/questions/19227496 */
108
+ .ui-select-bootstrap > .ui-select-choices {
109
+ width: 100%;
110
+ height: auto;
111
+ max-height: 200px;
112
+ overflow-x: hidden;
113
+ }
114
+
115
+ .ui-select-multiple.ui-select-bootstrap {
116
+ height: auto;
117
+ padding: .3em;
118
+ }
119
+
120
+ .ui-select-multiple.ui-select-bootstrap input.ui-select-search {
121
+ background-color: transparent !important; /* To prevent double background when disabled */
122
+ border: none;
123
+ outline: none;
124
+ height: 1.666666em;
125
+ }
126
+
127
+ .ui-select-multiple.ui-select-bootstrap .ui-select-match .close {
128
+ font-size: 1.6em;
129
+ line-height: 0.75;
130
+ }
131
+
132
+ .ui-select-multiple.ui-select-bootstrap .ui-select-match-item{
133
+ outline: 0;
134
+ }
135
+
136
+ .ui-select-bootstrap .ui-select-choices-row>a {
137
+ display: block;
138
+ padding: 3px 20px;
139
+ clear: both;
140
+ font-weight: 400;
141
+ line-height: 1.42857143;
142
+ color: #333;
143
+ white-space: nowrap;
144
+ }
145
+
146
+ .ui-select-bootstrap .ui-select-choices-row>a:hover, .ui-select-bootstrap .ui-select-choices-row>a:focus {
147
+ text-decoration: none;
148
+ color: #262626;
149
+ background-color: #f5f5f5;
150
+ }
151
+
152
+ .ui-select-bootstrap .ui-select-choices-row.active>a {
153
+ color: #fff;
154
+ text-decoration: none;
155
+ outline: 0;
156
+ background-color: #428bca;
157
+ }
158
+
159
+ .ui-select-bootstrap .ui-select-choices-row.disabled>a,
160
+ .ui-select-bootstrap .ui-select-choices-row.active.disabled>a {
161
+ color: #777;
162
+ cursor: not-allowed;
163
+ background-color: #fff;
164
+ }
165
+
166
+ /* fix hide/show angular animation */
167
+ .ui-select-match.ng-hide-add,
168
+ .ui-select-search.ng-hide-add {
169
+ display: none !important;
170
+ }
171
+
172
+ /* Mark invalid Bootstrap */
173
+ .ui-select-bootstrap.ng-dirty.ng-invalid > button.btn.ui-select-match {
174
+ border-color: #D44950;
175
+ }
metadata ADDED
@@ -0,0 +1,82 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: angular-ui-select-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.5
5
+ platform: ruby
6
+ authors:
7
+ - Steve Ellis
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-01-02 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.5'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.5'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: Asset pipeline compatible version of https://github.com/angular-ui/ui-select
42
+ email:
43
+ - email@steveell.is
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - .gitignore
49
+ - Gemfile
50
+ - LICENSE.txt
51
+ - README.md
52
+ - Rakefile
53
+ - angular-ui-select-rails.gemspec
54
+ - lib/angular-ui-select-rails.rb
55
+ - lib/angular-ui-select-rails/version.rb
56
+ - vendor/assets/javascripts/angular-ui-select.js
57
+ - vendor/assets/stylesheets/angular-ui-select.css
58
+ homepage: ''
59
+ licenses:
60
+ - MIT
61
+ metadata: {}
62
+ post_install_message:
63
+ rdoc_options: []
64
+ require_paths:
65
+ - '{lib,vendor}/**/*'
66
+ required_ruby_version: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - '>='
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ required_rubygems_version: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ requirements: []
77
+ rubyforge_project:
78
+ rubygems_version: 2.0.0
79
+ signing_key:
80
+ specification_version: 4
81
+ summary: Packaged version of AngularJS ui-select.
82
+ test_files: []