alchemy_cms 7.2.7 → 7.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +97 -14
- data/Gemfile +4 -3
- data/Rakefile +1 -0
- data/alchemy_cms.gemspec +7 -7
- data/app/assets/builds/alchemy/admin/print.css +1 -0
- data/app/assets/builds/alchemy/admin/print.css.map +1 -0
- data/app/assets/builds/alchemy/admin.css +1 -0
- data/app/assets/builds/alchemy/admin.css.map +1 -0
- data/app/assets/builds/alchemy/welcome.css +1 -0
- data/app/assets/builds/alchemy/welcome.css.map +1 -0
- data/app/assets/builds/tinymce/skins/content/alchemy/content.css +1 -0
- data/app/assets/builds/tinymce/skins/content/alchemy/content.css.map +1 -0
- data/app/assets/builds/tinymce/skins/content/alchemy/content.min.css +1 -0
- data/app/assets/builds/tinymce/skins/content/alchemy/content.min.css.map +1 -0
- data/app/assets/builds/tinymce/skins/ui/alchemy/skin.css +1 -0
- data/app/assets/builds/tinymce/skins/ui/alchemy/skin.css.map +1 -0
- data/app/assets/builds/tinymce/skins/ui/alchemy/skin.min.css +1 -0
- data/app/assets/builds/tinymce/skins/ui/alchemy/skin.min.css.map +1 -0
- data/app/assets/config/alchemy_manifest.js +1 -5
- data/app/assets/javascripts/alchemy/alchemy.dialog.js.coffee +4 -0
- data/app/assets/stylesheets/alchemy/{_custom-properties.scss → _custom-properties.css} +28 -25
- data/app/assets/stylesheets/alchemy/_deprecated_variables.scss +41 -0
- data/app/assets/stylesheets/alchemy/_deprecation.scss +17 -0
- data/app/assets/stylesheets/alchemy/_extends.scss +1 -1
- data/app/assets/stylesheets/alchemy/_mixins.scss +20 -23
- data/app/assets/stylesheets/alchemy/_variables.scss +98 -94
- data/app/assets/stylesheets/alchemy/{archive.scss → admin/archive.scss} +23 -23
- data/app/assets/stylesheets/alchemy/{attachment-select.scss → admin/attachment-select.scss} +2 -2
- data/app/assets/stylesheets/alchemy/{attachments.scss → admin/attachments.scss} +4 -4
- data/app/assets/stylesheets/alchemy/{base.scss → admin/base.scss} +9 -9
- data/app/assets/stylesheets/alchemy/{buttons.scss → admin/buttons.scss} +3 -3
- data/app/assets/stylesheets/alchemy/{clipboard.scss → admin/clipboard.scss} +9 -6
- data/app/assets/stylesheets/alchemy/{dashboard.scss → admin/dashboard.scss} +8 -8
- data/app/assets/stylesheets/alchemy/{dialogs.scss → admin/dialogs.scss} +20 -20
- data/app/assets/stylesheets/alchemy/{elements.scss → admin/elements.scss} +128 -88
- data/app/assets/stylesheets/alchemy/{errors.scss → admin/errors.scss} +22 -6
- data/app/assets/stylesheets/alchemy/{flash.scss → admin/flash.scss} +3 -3
- data/app/assets/stylesheets/alchemy/{flatpickr.scss → admin/flatpickr.scss} +55 -35
- data/app/assets/stylesheets/alchemy/{form_fields.scss → admin/form_fields.scss} +8 -6
- data/app/assets/stylesheets/alchemy/{forms.scss → admin/forms.scss} +20 -16
- data/app/assets/stylesheets/alchemy/{frame.scss → admin/frame.scss} +9 -9
- data/app/assets/stylesheets/alchemy/{image_library.scss → admin/image_library.scss} +34 -33
- data/app/assets/stylesheets/alchemy/admin/labels.scss +3 -0
- data/app/assets/stylesheets/alchemy/{list_filter.scss → admin/list_filter.scss} +4 -4
- data/app/assets/stylesheets/alchemy/{lists.scss → admin/lists.scss} +9 -7
- data/app/assets/stylesheets/alchemy/{navigation.scss → admin/navigation.scss} +17 -17
- data/app/assets/stylesheets/alchemy/{node-select.scss → admin/node-select.scss} +5 -5
- data/app/assets/stylesheets/alchemy/{nodes.scss → admin/nodes.scss} +11 -11
- data/app/assets/stylesheets/alchemy/{notices.scss → admin/notices.scss} +11 -7
- data/app/assets/stylesheets/alchemy/{page-select.scss → admin/page-select.scss} +10 -10
- data/app/assets/stylesheets/alchemy/{pagination.scss → admin/pagination.scss} +10 -10
- data/app/assets/stylesheets/alchemy/{print.scss → admin/print.scss} +2 -6
- data/app/assets/stylesheets/alchemy/{resource_info.scss → admin/resource_info.scss} +6 -7
- data/app/assets/stylesheets/alchemy/{search.scss → admin/search.scss} +6 -6
- data/app/assets/stylesheets/alchemy/{selects.scss → admin/selects.scss} +46 -39
- data/app/assets/stylesheets/alchemy/{shoelace.scss → admin/shoelace.scss} +10 -10
- data/app/assets/stylesheets/alchemy/{sitemap.scss → admin/sitemap.scss} +18 -19
- data/app/assets/stylesheets/alchemy/{tables.scss → admin/tables.scss} +26 -22
- data/app/assets/stylesheets/alchemy/admin/tags.scss +158 -0
- data/app/assets/stylesheets/alchemy/{toolbar.scss → admin/toolbar.scss} +10 -10
- data/app/assets/stylesheets/alchemy/{typography.scss → admin/typography.scss} +3 -3
- data/app/assets/stylesheets/alchemy/{upload.scss → admin/upload.scss} +1 -1
- data/app/assets/stylesheets/alchemy/admin.scss +40 -45
- data/app/assets/stylesheets/alchemy/welcome.scss +57 -0
- data/app/assets/stylesheets/tinymce/skins/content/alchemy/{content.min.scss → content.scss} +5 -4
- data/app/assets/stylesheets/tinymce/skins/ui/alchemy/{skin.min.scss → skin.scss} +40 -40
- data/app/components/alchemy/admin/resource/action.rb +46 -0
- data/app/components/alchemy/admin/resource/cell.rb +34 -0
- data/app/components/alchemy/admin/resource/header.rb +46 -0
- data/app/components/alchemy/admin/resource/table.rb +153 -0
- data/app/components/alchemy/ingredients/datetime_view.rb +2 -2
- data/app/controllers/alchemy/admin/base_controller.rb +2 -1
- data/app/controllers/alchemy/admin/elements_controller.rb +7 -3
- data/app/controllers/alchemy/admin/legacy_page_urls_controller.rb +1 -1
- data/app/controllers/alchemy/admin/pages_controller.rb +1 -1
- data/app/controllers/alchemy/admin/pictures_controller.rb +2 -2
- data/app/controllers/alchemy/admin/resources_controller.rb +2 -2
- data/app/controllers/alchemy/base_controller.rb +2 -0
- data/app/controllers/concerns/alchemy/admin/uploader_responses.rb +2 -11
- data/app/decorators/alchemy/ingredient_editor.rb +17 -0
- data/app/helpers/alchemy/admin/pages_helper.rb +6 -10
- data/app/helpers/alchemy/base_helper.rb +2 -2
- data/app/helpers/alchemy/elements_block_helper.rb +13 -1
- data/app/helpers/alchemy/pages_helper.rb +2 -2
- data/app/javascript/alchemy_admin/components/element_editor.js +23 -31
- data/app/javascript/alchemy_admin/components/preview_window.js +2 -3
- data/app/javascript/alchemy_admin/picture_selector.js +38 -10
- data/app/models/alchemy/attachment.rb +0 -8
- data/app/models/alchemy/element/dom_id.rb +1 -0
- data/app/models/alchemy/element/element_ingredients.rb +0 -73
- data/app/models/alchemy/element/presenters.rb +4 -1
- data/app/models/alchemy/element.rb +6 -0
- data/app/models/alchemy/elements_repository.rb +2 -2
- data/app/models/alchemy/ingredient_validator.rb +10 -0
- data/app/models/alchemy/page/page_scopes.rb +1 -1
- data/app/models/alchemy/picture.rb +0 -10
- data/app/views/alchemy/admin/attachments/_files_list.html.erb +74 -16
- data/app/views/alchemy/admin/clipboard/index.html.erb +38 -33
- data/app/views/alchemy/admin/dashboard/_dashboard.html.erb +3 -0
- data/app/views/alchemy/admin/dashboard/_left_column.html.erb +4 -0
- data/app/views/alchemy/admin/dashboard/_right_column.html.erb +9 -0
- data/app/views/alchemy/admin/dashboard/_top.html.erb +12 -0
- data/app/views/alchemy/admin/dashboard/index.html.erb +1 -25
- data/app/views/alchemy/admin/elements/_element.html.erb +1 -2
- data/app/views/alchemy/admin/elements/_form.html.erb +1 -1
- data/app/views/alchemy/admin/ingredients/_picture_fields.html.erb +10 -3
- data/app/views/alchemy/admin/ingredients/update.turbo_stream.erb +7 -0
- data/app/views/alchemy/admin/languages/_table.html.erb +16 -42
- data/app/views/alchemy/admin/nodes/_form.html.erb +1 -1
- data/app/views/alchemy/admin/pages/_table.html.erb +92 -27
- data/app/views/alchemy/admin/pages/edit.html.erb +6 -8
- data/app/views/alchemy/admin/pages/index.html.erb +0 -4
- data/app/views/alchemy/admin/pictures/_form.html.erb +14 -12
- data/app/views/alchemy/admin/pictures/index.html.erb +1 -11
- data/app/views/alchemy/admin/pictures/update.turbo_stream.erb +6 -0
- data/app/views/alchemy/admin/resources/_resource_table.html.erb +3 -0
- data/app/views/alchemy/admin/resources/_table.html.erb +2 -0
- data/app/views/alchemy/admin/resources/index.html.erb +1 -1
- data/app/views/alchemy/admin/sites/index.html.erb +1 -1
- data/app/views/alchemy/admin/styleguide/index.html.erb +0 -4
- data/app/views/alchemy/admin/tags/index.html.erb +15 -14
- data/app/views/alchemy/base/403.html.erb +6 -0
- data/app/views/alchemy/base/500.html.erb +14 -12
- data/app/views/alchemy/ingredients/_datetime_editor.html.erb +13 -11
- data/app/views/alchemy/ingredients/_headline_editor.html.erb +29 -22
- data/app/views/alchemy/ingredients/_link_editor.html.erb +17 -11
- data/app/views/alchemy/ingredients/_page_editor.html.erb +1 -0
- data/app/views/alchemy/ingredients/_picture_editor.html.erb +3 -4
- data/app/views/alchemy/ingredients/_richtext_editor.html.erb +5 -1
- data/app/views/alchemy/ingredients/_select_editor.html.erb +2 -1
- data/app/views/alchemy/ingredients/_text_editor.html.erb +20 -14
- data/app/views/alchemy/ingredients/shared/_picture_css_class.html.erb +6 -0
- data/app/views/layouts/alchemy/admin.html.erb +4 -2
- data/bin/setup +2 -0
- data/bin/start +1 -1
- data/bun.lockb +0 -0
- data/config/alchemy/config.yml +9 -0
- data/config/locales/alchemy.en.yml +8 -29
- data/config/routes.rb +22 -22
- data/lib/alchemy/config.rb +3 -3
- data/lib/alchemy/install/tasks.rb +5 -2
- data/lib/alchemy/resources_helper.rb +3 -1
- data/lib/alchemy/test_support/capybara_helpers.rb +8 -5
- data/lib/alchemy/test_support/shared_uploader_examples.rb +0 -1
- data/lib/alchemy/upgrader/seven_point_three.rb +52 -0
- data/lib/alchemy/version.rb +1 -1
- data/lib/alchemy_cms.rb +1 -1
- data/lib/generators/alchemy/install/files/article.css +25 -0
- data/lib/generators/alchemy/install/files/custom.css +4 -0
- data/lib/generators/alchemy/install/install_generator.rb +6 -6
- data/lib/tasks/alchemy/upgrade.rake +29 -1
- data/vendor/assets/stylesheets/alchemy_admin/select2.css +1 -0
- data/vendor/assets/stylesheets/jquery.Jcrop.min.css +2 -0
- data/vendor/javascript/shoelace.min.js +62 -63
- data/vendor/javascript/tinymce.min.js +1 -1
- metadata +132 -105
- data/app/assets/images/alchemy/lupe.cur +0 -0
- data/app/assets/stylesheets/alchemy/labels.scss +0 -3
- data/app/assets/stylesheets/alchemy/tags.scss +0 -155
- data/app/assets/stylesheets/alchemy/welcome.sass +0 -49
- data/app/views/alchemy/admin/attachments/_attachment.html.erb +0 -81
- data/app/views/alchemy/admin/languages/_language.html.erb +0 -50
- data/app/views/alchemy/admin/pages/_table_row.html.erb +0 -111
- data/app/views/alchemy/admin/pages/list/_table.html.erb +0 -31
- data/app/views/alchemy/admin/pictures/update.js.erb +0 -6
- data/app/views/alchemy/admin/tags/_tag.html.erb +0 -32
- data/app/views/alchemy/base/update.js.erb +0 -5
- data/lib/generators/alchemy/install/files/all.css +0 -11
- data/lib/generators/alchemy/install/files/article.scss +0 -30
- data/package.json +0 -52
- data/vendor/assets/stylesheets/alchemy_admin/select2.scss +0 -741
- data/vendor/assets/stylesheets/jquery.Jcrop.min.scss +0 -2
- /data/app/assets/stylesheets/alchemy/{fonts.scss → _fonts.scss} +0 -0
- /data/app/assets/stylesheets/alchemy/{hints.scss → admin/hints.scss} +0 -0
- /data/app/assets/stylesheets/alchemy/{icons.scss → admin/icons.scss} +0 -0
- /data/app/assets/stylesheets/alchemy/{images.scss → admin/images.scss} +0 -0
- /data/app/assets/stylesheets/alchemy/{preview_window.scss → admin/preview_window.scss} +0 -0
- /data/app/assets/stylesheets/alchemy/{spinner.scss → admin/spinner.scss} +0 -0
- /data/app/views/alchemy/admin/dashboard/{_locked_pages.html.erb → widgets/_locked_pages.html.erb} +0 -0
- /data/app/views/alchemy/admin/dashboard/{_recent_pages.html.erb → widgets/_recent_pages.html.erb} +0 -0
- /data/app/views/alchemy/admin/dashboard/{_sites.html.erb → widgets/_sites.html.erb} +0 -0
- /data/app/views/alchemy/admin/dashboard/{_users.html.erb → widgets/_users.html.erb} +0 -0
@@ -1,741 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Version: 3.5.4 Timestamp: Sun Aug 30 13:30:32 EDT 2015
|
3
|
-
*/
|
4
|
-
.select2-container {
|
5
|
-
margin: 0;
|
6
|
-
position: relative;
|
7
|
-
display: inline-block;
|
8
|
-
vertical-align: middle;
|
9
|
-
}
|
10
|
-
|
11
|
-
.select2-container,
|
12
|
-
.select2-drop,
|
13
|
-
.select2-search,
|
14
|
-
.select2-search input {
|
15
|
-
/*
|
16
|
-
Force border-box so that % widths fit the parent
|
17
|
-
container without overlap because of margin/padding.
|
18
|
-
More Info : http://www.quirksmode.org/css/box.html
|
19
|
-
*/
|
20
|
-
-webkit-box-sizing: border-box; /* webkit */
|
21
|
-
-moz-box-sizing: border-box; /* firefox */
|
22
|
-
box-sizing: border-box; /* css3 */
|
23
|
-
}
|
24
|
-
|
25
|
-
.select2-container .select2-choice {
|
26
|
-
display: block;
|
27
|
-
overflow: hidden;
|
28
|
-
position: relative;
|
29
|
-
|
30
|
-
white-space: nowrap;
|
31
|
-
text-decoration: none;
|
32
|
-
|
33
|
-
border-radius: 4px;
|
34
|
-
|
35
|
-
background-clip: padding-box;
|
36
|
-
|
37
|
-
-webkit-touch-callout: none;
|
38
|
-
-webkit-user-select: none;
|
39
|
-
-moz-user-select: none;
|
40
|
-
-ms-user-select: none;
|
41
|
-
user-select: none;
|
42
|
-
}
|
43
|
-
|
44
|
-
html[dir="rtl"] .select2-container .select2-choice {
|
45
|
-
padding: 0 8px 0 0;
|
46
|
-
}
|
47
|
-
|
48
|
-
.select2-container.select2-drop-above .select2-choice {
|
49
|
-
border-bottom-color: #aaa;
|
50
|
-
|
51
|
-
border-radius: 0 0 4px 4px;
|
52
|
-
|
53
|
-
background-image: -webkit-gradient(
|
54
|
-
linear,
|
55
|
-
left bottom,
|
56
|
-
left top,
|
57
|
-
color-stop(0, #eee),
|
58
|
-
color-stop(0.9, #fff)
|
59
|
-
);
|
60
|
-
background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 90%);
|
61
|
-
background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 90%);
|
62
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);
|
63
|
-
background-image: linear-gradient(to bottom, #eee 0%, #fff 90%);
|
64
|
-
}
|
65
|
-
|
66
|
-
.select2-container.select2-allowclear .select2-choice .select2-chosen {
|
67
|
-
margin-right: 38px;
|
68
|
-
}
|
69
|
-
|
70
|
-
.select2-container .select2-choice > .select2-chosen {
|
71
|
-
margin-right: 26px;
|
72
|
-
display: block;
|
73
|
-
overflow: hidden;
|
74
|
-
|
75
|
-
white-space: nowrap;
|
76
|
-
|
77
|
-
text-overflow: ellipsis;
|
78
|
-
float: none;
|
79
|
-
width: auto;
|
80
|
-
}
|
81
|
-
|
82
|
-
html[dir="rtl"] .select2-container .select2-choice > .select2-chosen {
|
83
|
-
margin-left: 26px;
|
84
|
-
margin-right: 0;
|
85
|
-
}
|
86
|
-
|
87
|
-
.select2-container .select2-choice abbr {
|
88
|
-
display: none;
|
89
|
-
width: 12px;
|
90
|
-
height: 12px;
|
91
|
-
position: absolute;
|
92
|
-
right: 24px;
|
93
|
-
top: 8px;
|
94
|
-
|
95
|
-
font-size: 1px;
|
96
|
-
text-decoration: none;
|
97
|
-
|
98
|
-
border: 0;
|
99
|
-
background: right top no-repeat;
|
100
|
-
cursor: pointer;
|
101
|
-
outline: 0;
|
102
|
-
}
|
103
|
-
|
104
|
-
.select2-container.select2-allowclear .select2-choice abbr {
|
105
|
-
display: inline-block;
|
106
|
-
}
|
107
|
-
|
108
|
-
.select2-container .select2-choice abbr:hover {
|
109
|
-
background-position: right -11px;
|
110
|
-
cursor: pointer;
|
111
|
-
}
|
112
|
-
|
113
|
-
.select2-drop-mask {
|
114
|
-
border: 0;
|
115
|
-
margin: 0;
|
116
|
-
padding: 0;
|
117
|
-
position: fixed;
|
118
|
-
left: 0;
|
119
|
-
top: 0;
|
120
|
-
min-height: 100%;
|
121
|
-
min-width: 100%;
|
122
|
-
height: auto;
|
123
|
-
width: auto;
|
124
|
-
opacity: 0;
|
125
|
-
z-index: 9998;
|
126
|
-
/* styles required for IE to work */
|
127
|
-
background-color: #fff;
|
128
|
-
filter: alpha(opacity=0);
|
129
|
-
}
|
130
|
-
|
131
|
-
.select2-drop {
|
132
|
-
width: 100%;
|
133
|
-
margin-top: -1px;
|
134
|
-
position: absolute;
|
135
|
-
z-index: 9999;
|
136
|
-
top: 100%;
|
137
|
-
|
138
|
-
background: #fff;
|
139
|
-
color: #000;
|
140
|
-
border: 1px solid #aaa;
|
141
|
-
border-top: 0;
|
142
|
-
|
143
|
-
border-radius: 0 0 4px 4px;
|
144
|
-
|
145
|
-
-webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
|
146
|
-
box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
|
147
|
-
}
|
148
|
-
|
149
|
-
.select2-drop.select2-drop-above {
|
150
|
-
margin-top: 1px;
|
151
|
-
border-top: 1px solid #aaa;
|
152
|
-
border-bottom: 0;
|
153
|
-
|
154
|
-
border-radius: 4px 4px 0 0;
|
155
|
-
|
156
|
-
-webkit-box-shadow: 0 -4px 5px rgba(0, 0, 0, 0.15);
|
157
|
-
box-shadow: 0 -4px 5px rgba(0, 0, 0, 0.15);
|
158
|
-
}
|
159
|
-
|
160
|
-
.select2-drop-active {
|
161
|
-
border: 1px solid #5897fb;
|
162
|
-
border-top: none;
|
163
|
-
}
|
164
|
-
|
165
|
-
.select2-drop.select2-drop-above.select2-drop-active {
|
166
|
-
border-top: 1px solid #5897fb;
|
167
|
-
}
|
168
|
-
|
169
|
-
.select2-drop-auto-width {
|
170
|
-
border-top: 1px solid #aaa;
|
171
|
-
width: auto;
|
172
|
-
}
|
173
|
-
|
174
|
-
.select2-container .select2-choice .select2-arrow {
|
175
|
-
display: inline-block;
|
176
|
-
position: absolute;
|
177
|
-
right: 0;
|
178
|
-
|
179
|
-
border-radius: 0 4px 4px 0;
|
180
|
-
}
|
181
|
-
|
182
|
-
html[dir="rtl"] .select2-container .select2-choice .select2-arrow {
|
183
|
-
left: 0;
|
184
|
-
right: auto;
|
185
|
-
|
186
|
-
border-left: none;
|
187
|
-
border-right: 1px solid #aaa;
|
188
|
-
border-radius: 4px 0 0 4px;
|
189
|
-
}
|
190
|
-
|
191
|
-
.select2-container .select2-choice .select2-arrow b {
|
192
|
-
display: block;
|
193
|
-
width: 100%;
|
194
|
-
height: 100%;
|
195
|
-
}
|
196
|
-
|
197
|
-
html[dir="rtl"] .select2-container .select2-choice .select2-arrow b {
|
198
|
-
background-position: 2px 1px;
|
199
|
-
}
|
200
|
-
|
201
|
-
.select2-search {
|
202
|
-
display: inline-block;
|
203
|
-
width: 100%;
|
204
|
-
min-height: 26px;
|
205
|
-
margin: 0;
|
206
|
-
padding: 4px 4px 0 4px;
|
207
|
-
|
208
|
-
position: relative;
|
209
|
-
z-index: 10000;
|
210
|
-
|
211
|
-
white-space: nowrap;
|
212
|
-
}
|
213
|
-
|
214
|
-
.select2-search input {
|
215
|
-
width: 100%;
|
216
|
-
height: auto !important;
|
217
|
-
min-height: 26px;
|
218
|
-
padding: 4px 20px 4px 5px;
|
219
|
-
margin: 0;
|
220
|
-
}
|
221
|
-
|
222
|
-
html[dir="rtl"] .select2-search input {
|
223
|
-
padding: 4px 5px 4px 20px;
|
224
|
-
|
225
|
-
background: #fff no-repeat -37px -22px;
|
226
|
-
background: no-repeat -37px -22px,
|
227
|
-
-webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
|
228
|
-
background: no-repeat -37px -22px,
|
229
|
-
-webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
230
|
-
background: no-repeat -37px -22px,
|
231
|
-
-moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
232
|
-
background: no-repeat -37px -22px,
|
233
|
-
linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;
|
234
|
-
}
|
235
|
-
|
236
|
-
.select2-search input.select2-active {
|
237
|
-
background: #fff no-repeat 100%;
|
238
|
-
background: no-repeat 100%,
|
239
|
-
-webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
|
240
|
-
background: no-repeat 100%,
|
241
|
-
-webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
242
|
-
background: no-repeat 100%,
|
243
|
-
-moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
244
|
-
background: no-repeat 100%, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;
|
245
|
-
}
|
246
|
-
|
247
|
-
.select2-container-active .select2-choice,
|
248
|
-
.select2-container-active .select2-choices {
|
249
|
-
border: 1px solid #5897fb;
|
250
|
-
outline: none;
|
251
|
-
|
252
|
-
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
|
253
|
-
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
|
254
|
-
}
|
255
|
-
|
256
|
-
.select2-dropdown-open .select2-choice {
|
257
|
-
border-bottom-color: transparent;
|
258
|
-
-webkit-box-shadow: 0 1px 0 #fff inset;
|
259
|
-
box-shadow: 0 1px 0 #fff inset;
|
260
|
-
|
261
|
-
border-bottom-left-radius: 0;
|
262
|
-
border-bottom-right-radius: 0;
|
263
|
-
|
264
|
-
background-color: #eee;
|
265
|
-
background-image: -webkit-gradient(
|
266
|
-
linear,
|
267
|
-
left bottom,
|
268
|
-
left top,
|
269
|
-
color-stop(0, #fff),
|
270
|
-
color-stop(0.5, #eee)
|
271
|
-
);
|
272
|
-
background-image: -webkit-linear-gradient(center bottom, #fff 0%, #eee 50%);
|
273
|
-
background-image: -moz-linear-gradient(center bottom, #fff 0%, #eee 50%);
|
274
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);
|
275
|
-
background-image: linear-gradient(to top, #fff 0%, #eee 50%);
|
276
|
-
}
|
277
|
-
|
278
|
-
.select2-dropdown-open.select2-drop-above .select2-choice,
|
279
|
-
.select2-dropdown-open.select2-drop-above .select2-choices {
|
280
|
-
border: 1px solid #5897fb;
|
281
|
-
border-top-color: transparent;
|
282
|
-
|
283
|
-
background-image: -webkit-gradient(
|
284
|
-
linear,
|
285
|
-
left top,
|
286
|
-
left bottom,
|
287
|
-
color-stop(0, #fff),
|
288
|
-
color-stop(0.5, #eee)
|
289
|
-
);
|
290
|
-
background-image: -webkit-linear-gradient(center top, #fff 0%, #eee 50%);
|
291
|
-
background-image: -moz-linear-gradient(center top, #fff 0%, #eee 50%);
|
292
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);
|
293
|
-
background-image: linear-gradient(to bottom, #fff 0%, #eee 50%);
|
294
|
-
}
|
295
|
-
|
296
|
-
.select2-dropdown-open .select2-choice .select2-arrow {
|
297
|
-
background: transparent;
|
298
|
-
border-left: none;
|
299
|
-
filter: none;
|
300
|
-
}
|
301
|
-
html[dir="rtl"] .select2-dropdown-open .select2-choice .select2-arrow {
|
302
|
-
border-right: none;
|
303
|
-
}
|
304
|
-
|
305
|
-
.select2-dropdown-open .select2-choice .select2-arrow b {
|
306
|
-
background-position: -18px 1px;
|
307
|
-
}
|
308
|
-
|
309
|
-
html[dir="rtl"] .select2-dropdown-open .select2-choice .select2-arrow b {
|
310
|
-
background-position: -16px 1px;
|
311
|
-
}
|
312
|
-
|
313
|
-
.select2-hidden-accessible {
|
314
|
-
border: 0;
|
315
|
-
clip: rect(0 0 0 0);
|
316
|
-
height: 1px;
|
317
|
-
margin: -1px;
|
318
|
-
overflow: hidden;
|
319
|
-
padding: 0;
|
320
|
-
position: absolute;
|
321
|
-
width: 1px;
|
322
|
-
}
|
323
|
-
|
324
|
-
/* results */
|
325
|
-
.select2-results {
|
326
|
-
max-height: 200px;
|
327
|
-
padding: 0 0 0 4px;
|
328
|
-
margin: 4px 4px 4px 0;
|
329
|
-
position: relative;
|
330
|
-
overflow-x: hidden;
|
331
|
-
overflow-y: auto;
|
332
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
333
|
-
}
|
334
|
-
|
335
|
-
html[dir="rtl"] .select2-results {
|
336
|
-
padding: 0 4px 0 0;
|
337
|
-
margin: 4px 0 4px 4px;
|
338
|
-
}
|
339
|
-
|
340
|
-
.select2-results ul.select2-result-sub {
|
341
|
-
margin: 0;
|
342
|
-
padding-left: 0;
|
343
|
-
}
|
344
|
-
|
345
|
-
.select2-results li {
|
346
|
-
list-style: none;
|
347
|
-
display: list-item;
|
348
|
-
background-image: none;
|
349
|
-
}
|
350
|
-
|
351
|
-
.select2-results li.select2-result-with-children > .select2-result-label {
|
352
|
-
font-weight: bold;
|
353
|
-
}
|
354
|
-
|
355
|
-
.select2-results .select2-result-label {
|
356
|
-
padding: 3px 7px 4px;
|
357
|
-
margin: 0;
|
358
|
-
cursor: pointer;
|
359
|
-
|
360
|
-
min-height: 1em;
|
361
|
-
|
362
|
-
-webkit-touch-callout: none;
|
363
|
-
-webkit-user-select: none;
|
364
|
-
-moz-user-select: none;
|
365
|
-
-ms-user-select: none;
|
366
|
-
user-select: none;
|
367
|
-
}
|
368
|
-
|
369
|
-
.select2-results-dept-1 .select2-result-label {
|
370
|
-
padding-left: 20px;
|
371
|
-
}
|
372
|
-
.select2-results-dept-2 .select2-result-label {
|
373
|
-
padding-left: 40px;
|
374
|
-
}
|
375
|
-
.select2-results-dept-3 .select2-result-label {
|
376
|
-
padding-left: 60px;
|
377
|
-
}
|
378
|
-
.select2-results-dept-4 .select2-result-label {
|
379
|
-
padding-left: 80px;
|
380
|
-
}
|
381
|
-
.select2-results-dept-5 .select2-result-label {
|
382
|
-
padding-left: 100px;
|
383
|
-
}
|
384
|
-
.select2-results-dept-6 .select2-result-label {
|
385
|
-
padding-left: 110px;
|
386
|
-
}
|
387
|
-
.select2-results-dept-7 .select2-result-label {
|
388
|
-
padding-left: 120px;
|
389
|
-
}
|
390
|
-
|
391
|
-
.select2-results .select2-highlighted {
|
392
|
-
background: #3875d7;
|
393
|
-
color: #fff;
|
394
|
-
}
|
395
|
-
|
396
|
-
.select2-results li em {
|
397
|
-
background: #feffde;
|
398
|
-
font-style: normal;
|
399
|
-
text-decoration: underline;
|
400
|
-
}
|
401
|
-
|
402
|
-
.select2-results .select2-highlighted em {
|
403
|
-
background: transparent;
|
404
|
-
}
|
405
|
-
|
406
|
-
.select2-results .select2-highlighted ul {
|
407
|
-
background: #fff;
|
408
|
-
color: #000;
|
409
|
-
}
|
410
|
-
|
411
|
-
.select2-results .select2-no-results,
|
412
|
-
.select2-results .select2-searching,
|
413
|
-
.select2-results .select2-ajax-error,
|
414
|
-
.select2-results .select2-selection-limit {
|
415
|
-
background: #f4f4f4;
|
416
|
-
display: list-item;
|
417
|
-
padding-left: 5px;
|
418
|
-
}
|
419
|
-
|
420
|
-
/*
|
421
|
-
disabled look for disabled choices in the results dropdown
|
422
|
-
*/
|
423
|
-
.select2-results .select2-disabled.select2-highlighted {
|
424
|
-
color: #666;
|
425
|
-
background: #f4f4f4;
|
426
|
-
display: list-item;
|
427
|
-
cursor: default;
|
428
|
-
}
|
429
|
-
.select2-results .select2-disabled {
|
430
|
-
background: #f4f4f4;
|
431
|
-
display: list-item;
|
432
|
-
cursor: default;
|
433
|
-
}
|
434
|
-
|
435
|
-
.select2-results .select2-selected {
|
436
|
-
display: none;
|
437
|
-
}
|
438
|
-
|
439
|
-
.select2-more-results.select2-active {
|
440
|
-
background: #f4f4f4 no-repeat 100%;
|
441
|
-
}
|
442
|
-
|
443
|
-
.select2-results .select2-ajax-error {
|
444
|
-
background: rgba(255, 50, 50, 0.2);
|
445
|
-
}
|
446
|
-
|
447
|
-
.select2-more-results {
|
448
|
-
background: #f4f4f4;
|
449
|
-
display: list-item;
|
450
|
-
}
|
451
|
-
|
452
|
-
/* disabled styles */
|
453
|
-
|
454
|
-
.select2-container.select2-container-disabled .select2-choice {
|
455
|
-
background-color: #f4f4f4;
|
456
|
-
background-image: none;
|
457
|
-
border: 1px solid #ddd;
|
458
|
-
cursor: default;
|
459
|
-
}
|
460
|
-
|
461
|
-
.select2-container.select2-container-disabled .select2-choice .select2-arrow {
|
462
|
-
background-color: #f4f4f4;
|
463
|
-
background-image: none;
|
464
|
-
border-left: 0;
|
465
|
-
}
|
466
|
-
|
467
|
-
.select2-container.select2-container-disabled .select2-choice abbr {
|
468
|
-
display: none;
|
469
|
-
}
|
470
|
-
|
471
|
-
/* multiselect */
|
472
|
-
|
473
|
-
.select2-container-multi .select2-choices {
|
474
|
-
height: auto !important;
|
475
|
-
height: 1%;
|
476
|
-
margin: 0;
|
477
|
-
padding: 0 5px 0 0;
|
478
|
-
position: relative;
|
479
|
-
|
480
|
-
border: 1px solid #aaa;
|
481
|
-
cursor: text;
|
482
|
-
overflow: hidden;
|
483
|
-
|
484
|
-
background-color: #fff;
|
485
|
-
background-image: -webkit-gradient(
|
486
|
-
linear,
|
487
|
-
0% 0%,
|
488
|
-
0% 100%,
|
489
|
-
color-stop(1%, #eee),
|
490
|
-
color-stop(15%, #fff)
|
491
|
-
);
|
492
|
-
background-image: -webkit-linear-gradient(top, #eee 1%, #fff 15%);
|
493
|
-
background-image: -moz-linear-gradient(top, #eee 1%, #fff 15%);
|
494
|
-
background-image: linear-gradient(to bottom, #eee 1%, #fff 15%);
|
495
|
-
}
|
496
|
-
|
497
|
-
html[dir="rtl"] .select2-container-multi .select2-choices {
|
498
|
-
padding: 0 0 0 5px;
|
499
|
-
}
|
500
|
-
|
501
|
-
.select2-locked {
|
502
|
-
padding: 3px 5px 3px 5px !important;
|
503
|
-
}
|
504
|
-
|
505
|
-
.select2-container-multi .select2-choices {
|
506
|
-
min-height: 26px;
|
507
|
-
}
|
508
|
-
|
509
|
-
.select2-container-multi.select2-container-active .select2-choices {
|
510
|
-
border: 1px solid #5897fb;
|
511
|
-
outline: none;
|
512
|
-
|
513
|
-
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
|
514
|
-
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
|
515
|
-
}
|
516
|
-
.select2-container-multi .select2-choices li {
|
517
|
-
float: left;
|
518
|
-
list-style: none;
|
519
|
-
}
|
520
|
-
html[dir="rtl"] .select2-container-multi .select2-choices li {
|
521
|
-
float: right;
|
522
|
-
}
|
523
|
-
.select2-container-multi .select2-choices .select2-search-field {
|
524
|
-
margin: 0;
|
525
|
-
padding: 0;
|
526
|
-
white-space: nowrap;
|
527
|
-
}
|
528
|
-
|
529
|
-
.select2-container-multi .select2-choices .select2-search-field input {
|
530
|
-
padding: 5px;
|
531
|
-
margin: 1px 0;
|
532
|
-
|
533
|
-
font-family: sans-serif;
|
534
|
-
font-size: 100%;
|
535
|
-
color: #666;
|
536
|
-
outline: 0;
|
537
|
-
border: 0;
|
538
|
-
-webkit-box-shadow: none;
|
539
|
-
box-shadow: none;
|
540
|
-
background: transparent !important;
|
541
|
-
}
|
542
|
-
|
543
|
-
.select2-container-multi
|
544
|
-
.select2-choices
|
545
|
-
.select2-search-field
|
546
|
-
input.select2-active {
|
547
|
-
background: #fff no-repeat 100% !important;
|
548
|
-
}
|
549
|
-
|
550
|
-
.select2-default {
|
551
|
-
color: #999 !important;
|
552
|
-
}
|
553
|
-
|
554
|
-
.select2-container-multi .select2-choices .select2-search-choice {
|
555
|
-
padding: 3px 5px 3px 18px;
|
556
|
-
margin: 3px 0 3px 5px;
|
557
|
-
position: relative;
|
558
|
-
|
559
|
-
line-height: 13px;
|
560
|
-
color: #333;
|
561
|
-
cursor: default;
|
562
|
-
border: 1px solid #aaaaaa;
|
563
|
-
|
564
|
-
border-radius: 3px;
|
565
|
-
|
566
|
-
-webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
|
567
|
-
box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
|
568
|
-
|
569
|
-
background-clip: padding-box;
|
570
|
-
|
571
|
-
-webkit-touch-callout: none;
|
572
|
-
-webkit-user-select: none;
|
573
|
-
-moz-user-select: none;
|
574
|
-
-ms-user-select: none;
|
575
|
-
user-select: none;
|
576
|
-
|
577
|
-
background-color: #e4e4e4;
|
578
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#f4f4f4', GradientType=0);
|
579
|
-
background-image: -webkit-gradient(
|
580
|
-
linear,
|
581
|
-
0% 0%,
|
582
|
-
0% 100%,
|
583
|
-
color-stop(20%, #f4f4f4),
|
584
|
-
color-stop(50%, #f0f0f0),
|
585
|
-
color-stop(52%, #e8e8e8),
|
586
|
-
color-stop(100%, #eee)
|
587
|
-
);
|
588
|
-
background-image: -webkit-linear-gradient(
|
589
|
-
top,
|
590
|
-
#f4f4f4 20%,
|
591
|
-
#f0f0f0 50%,
|
592
|
-
#e8e8e8 52%,
|
593
|
-
#eee 100%
|
594
|
-
);
|
595
|
-
background-image: -moz-linear-gradient(
|
596
|
-
top,
|
597
|
-
#f4f4f4 20%,
|
598
|
-
#f0f0f0 50%,
|
599
|
-
#e8e8e8 52%,
|
600
|
-
#eee 100%
|
601
|
-
);
|
602
|
-
background-image: linear-gradient(
|
603
|
-
to bottom,
|
604
|
-
#f4f4f4 20%,
|
605
|
-
#f0f0f0 50%,
|
606
|
-
#e8e8e8 52%,
|
607
|
-
#eee 100%
|
608
|
-
);
|
609
|
-
}
|
610
|
-
html[dir="rtl"]
|
611
|
-
.select2-container-multi
|
612
|
-
.select2-choices
|
613
|
-
.select2-search-choice {
|
614
|
-
margin: 3px 5px 3px 0;
|
615
|
-
padding: 3px 18px 3px 5px;
|
616
|
-
}
|
617
|
-
.select2-container-multi
|
618
|
-
.select2-choices
|
619
|
-
.select2-search-choice
|
620
|
-
.select2-chosen {
|
621
|
-
cursor: default;
|
622
|
-
}
|
623
|
-
.select2-container-multi .select2-choices .select2-search-choice-focus {
|
624
|
-
background: #d4d4d4;
|
625
|
-
}
|
626
|
-
|
627
|
-
.select2-search-choice-close {
|
628
|
-
display: block;
|
629
|
-
width: 12px;
|
630
|
-
height: 13px;
|
631
|
-
position: absolute;
|
632
|
-
right: 3px;
|
633
|
-
top: 4px;
|
634
|
-
|
635
|
-
font-size: 1px;
|
636
|
-
outline: none;
|
637
|
-
background: right top no-repeat;
|
638
|
-
}
|
639
|
-
html[dir="rtl"] .select2-search-choice-close {
|
640
|
-
right: auto;
|
641
|
-
left: 3px;
|
642
|
-
}
|
643
|
-
|
644
|
-
.select2-container-multi .select2-search-choice-close {
|
645
|
-
left: 3px;
|
646
|
-
}
|
647
|
-
|
648
|
-
html[dir="rtl"] .select2-container-multi .select2-search-choice-close {
|
649
|
-
left: auto;
|
650
|
-
right: 2px;
|
651
|
-
}
|
652
|
-
|
653
|
-
.select2-container-multi
|
654
|
-
.select2-choices
|
655
|
-
.select2-search-choice
|
656
|
-
.select2-search-choice-close:hover {
|
657
|
-
background-position: right -11px;
|
658
|
-
}
|
659
|
-
.select2-container-multi
|
660
|
-
.select2-choices
|
661
|
-
.select2-search-choice-focus
|
662
|
-
.select2-search-choice-close {
|
663
|
-
background-position: right -11px;
|
664
|
-
}
|
665
|
-
|
666
|
-
/* disabled styles */
|
667
|
-
.select2-container-multi.select2-container-disabled .select2-choices {
|
668
|
-
background-color: #f4f4f4;
|
669
|
-
background-image: none;
|
670
|
-
border: 1px solid #ddd;
|
671
|
-
cursor: default;
|
672
|
-
}
|
673
|
-
|
674
|
-
.select2-container-multi.select2-container-disabled
|
675
|
-
.select2-choices
|
676
|
-
.select2-search-choice {
|
677
|
-
padding: 3px 5px 3px 5px;
|
678
|
-
border: 1px solid #ddd;
|
679
|
-
background-image: none;
|
680
|
-
background-color: #f4f4f4;
|
681
|
-
}
|
682
|
-
|
683
|
-
.select2-container-multi.select2-container-disabled
|
684
|
-
.select2-choices
|
685
|
-
.select2-search-choice
|
686
|
-
.select2-search-choice-close {
|
687
|
-
display: none;
|
688
|
-
background: none;
|
689
|
-
}
|
690
|
-
/* end multiselect */
|
691
|
-
|
692
|
-
.select2-result-selectable .select2-match,
|
693
|
-
.select2-result-unselectable .select2-match {
|
694
|
-
text-decoration: underline;
|
695
|
-
}
|
696
|
-
|
697
|
-
.select2-offscreen,
|
698
|
-
.select2-offscreen:focus {
|
699
|
-
clip: rect(0 0 0 0) !important;
|
700
|
-
width: 1px !important;
|
701
|
-
height: 1px !important;
|
702
|
-
border: 0 !important;
|
703
|
-
margin: 0 !important;
|
704
|
-
padding: 0 !important;
|
705
|
-
overflow: hidden !important;
|
706
|
-
position: absolute !important;
|
707
|
-
outline: 0 !important;
|
708
|
-
left: 0px !important;
|
709
|
-
top: 0px !important;
|
710
|
-
}
|
711
|
-
|
712
|
-
.select2-display-none {
|
713
|
-
display: none;
|
714
|
-
}
|
715
|
-
|
716
|
-
.select2-measure-scrollbar {
|
717
|
-
position: absolute;
|
718
|
-
top: -10000px;
|
719
|
-
left: -10000px;
|
720
|
-
width: 100px;
|
721
|
-
height: 100px;
|
722
|
-
overflow: scroll;
|
723
|
-
}
|
724
|
-
|
725
|
-
/* Retina-ize icons */
|
726
|
-
|
727
|
-
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
728
|
-
only screen and (min-resolution: 2dppx) {
|
729
|
-
.select2-search input,
|
730
|
-
.select2-search-choice-close,
|
731
|
-
.select2-container .select2-choice abbr,
|
732
|
-
.select2-container .select2-choice .select2-arrow b {
|
733
|
-
background-image: image-url("select2x2.png") !important;
|
734
|
-
background-repeat: no-repeat !important;
|
735
|
-
background-size: 60px 40px !important;
|
736
|
-
}
|
737
|
-
|
738
|
-
.select2-search input {
|
739
|
-
background-position: 100% -21px !important;
|
740
|
-
}
|
741
|
-
}
|