alchemy_cms 2.2.4 → 2.3.rc5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -1
- data/.travis.yml +3 -4
- data/Gemfile +1 -0
- data/README.md +10 -6
- data/alchemy_cms.gemspec +5 -2
- data/app/assets/images/alchemy/icons.png +0 -0
- data/app/assets/images/sassy-ie-overlay.png +0 -0
- data/app/assets/javascripts/alchemy/alchemy.base.js +50 -59
- data/app/assets/javascripts/alchemy/alchemy.buttons.js +14 -4
- data/app/assets/javascripts/alchemy/alchemy.datepicker.js +8 -2
- data/app/assets/javascripts/alchemy/alchemy.elements_window.js +11 -3
- data/app/assets/javascripts/alchemy/alchemy.gui.js.coffee +1 -1
- data/app/assets/javascripts/alchemy/alchemy.link_overlay.js.coffee +14 -1
- data/app/assets/javascripts/alchemy/alchemy.preview.js +1 -1
- data/app/assets/javascripts/alchemy/alchemy.preview_window.js +12 -4
- data/app/assets/javascripts/alchemy/alchemy.uploader.js +4 -1
- data/app/assets/javascripts/alchemy/alchemy.windows.js +18 -8
- data/app/assets/stylesheets/alchemy/_defaults.scss +84 -120
- data/app/assets/stylesheets/alchemy/alchemy.css +2 -2
- data/app/assets/stylesheets/alchemy/archive.css.scss +288 -0
- data/app/assets/stylesheets/alchemy/base.css.scss +95 -390
- data/app/assets/stylesheets/alchemy/dashboard.css.scss +4 -4
- data/app/assets/stylesheets/alchemy/elements.css.scss +83 -118
- data/app/assets/stylesheets/alchemy/flash.css.scss +1 -1
- data/app/assets/stylesheets/alchemy/form_elements.css.scss +528 -0
- data/app/assets/stylesheets/alchemy/frame.css.scss +13 -39
- data/app/assets/stylesheets/alchemy/icons.css.scss +217 -228
- data/app/assets/stylesheets/alchemy/jquery-ui.alchemy.css.scss +48 -50
- data/app/assets/stylesheets/alchemy/jquery.Jcrop.css.scss +1 -1
- data/app/assets/stylesheets/alchemy/login.css.scss +1 -5
- data/app/assets/stylesheets/alchemy/menubar.css.scss +19 -29
- data/app/assets/stylesheets/alchemy/pagination.css.scss +3 -4
- data/app/assets/stylesheets/alchemy/sitemap.css.scss +81 -81
- data/app/assets/stylesheets/alchemy/tables.css.scss +63 -57
- data/app/assets/stylesheets/alchemy/tinymce_dialog.css.scss +57 -57
- data/app/assets/stylesheets/alchemy/upload.css.scss +6 -6
- data/app/assets/stylesheets/tiny_mce/plugins/inlinepopups/skins/alchemy/window.css.scss +6 -10
- data/app/controllers/alchemy/admin/attachments_controller.rb +5 -4
- data/app/controllers/alchemy/admin/base_controller.rb +1 -9
- data/app/controllers/alchemy/admin/contents_controller.rb +4 -6
- data/app/controllers/alchemy/admin/elements_controller.rb +2 -2
- data/app/controllers/alchemy/admin/pages_controller.rb +2 -2
- data/app/controllers/alchemy/admin/pictures_controller.rb +74 -15
- data/app/controllers/alchemy/attachments_controller.rb +8 -2
- data/app/controllers/alchemy/base_controller.rb +47 -5
- data/app/controllers/alchemy/elements_controller.rb +1 -1
- data/app/controllers/alchemy/messages_controller.rb +12 -12
- data/app/controllers/alchemy/pages_controller.rb +5 -1
- data/app/controllers/alchemy/pictures_controller.rb +9 -4
- data/app/controllers/alchemy/user_sessions_controller.rb +2 -4
- data/app/helpers/alchemy/admin/base_helper.rb +98 -19
- data/app/helpers/alchemy/admin/contents_helper.rb +2 -2
- data/app/helpers/alchemy/admin/elements_helper.rb +2 -3
- data/app/helpers/alchemy/base_helper.rb +6 -5
- data/app/helpers/alchemy/elements_helper.rb +2 -2
- data/app/helpers/alchemy/essences_helper.rb +4 -5
- data/app/helpers/alchemy/pages_helper.rb +15 -79
- data/app/helpers/alchemy/url_helper.rb +67 -0
- data/app/mailers/alchemy/messages.rb +1 -1
- data/app/mailers/alchemy/notifications.rb +1 -1
- data/app/models/alchemy/attachment.rb +11 -2
- data/app/models/alchemy/cell.rb +20 -10
- data/app/models/alchemy/content.rb +4 -3
- data/app/models/alchemy/element.rb +170 -178
- data/app/models/alchemy/language/code.rb +4 -1
- data/app/models/alchemy/message.rb +19 -3
- data/app/models/alchemy/page.rb +45 -40
- data/app/models/alchemy/picture.rb +24 -2
- data/app/models/alchemy/user.rb +2 -3
- data/app/views/alchemy/admin/attachments/_archive_overlay.html.erb +12 -12
- data/app/views/alchemy/admin/attachments/_attachment.html.erb +1 -1
- data/app/views/alchemy/admin/attachments/create.js.erb +1 -0
- data/app/views/alchemy/admin/attachments/edit.html.erb +9 -3
- data/app/views/alchemy/admin/attachments/index.html.erb +3 -2
- data/app/views/alchemy/admin/contents/_missing.html.erb +1 -1
- data/app/views/alchemy/admin/contents/create.js.erb +54 -0
- data/app/views/alchemy/admin/contents/new.html.erb +9 -4
- data/app/views/alchemy/admin/elements/{_add_content.html.erb → _add_picture.html.erb} +4 -4
- data/app/views/alchemy/admin/elements/_elements_select.html.erb +2 -1
- data/app/views/alchemy/admin/elements/_new_element_form.html.erb +1 -1
- data/app/views/alchemy/admin/elements/{_picture_editor.html.erb → _picture_gallery_editor.html.erb} +7 -11
- data/app/views/alchemy/admin/elements/fold.js.erb +46 -0
- data/app/views/alchemy/admin/elements/index.html.erb +24 -24
- data/app/views/alchemy/admin/elements/list.js.erb +11 -9
- data/app/views/alchemy/admin/essence_files/assign.js.erb +3 -1
- data/app/views/alchemy/admin/essence_pictures/destroy.js.erb +28 -0
- data/app/views/alchemy/admin/pages/_contactform_links.html.erb +8 -6
- data/app/views/alchemy/admin/pages/_external_link.html.erb +11 -9
- data/app/views/alchemy/admin/pages/_file_link.html.erb +10 -8
- data/app/views/alchemy/admin/pages/_internal_link.html.erb +14 -10
- data/app/views/alchemy/admin/pages/_new_page_form.html.erb +1 -1
- data/app/views/alchemy/admin/pages/_page.html.erb +1 -1
- data/app/views/alchemy/admin/pages/_page_for_links.html.erb +32 -21
- data/app/views/alchemy/admin/pages/configure.html.erb +2 -2
- data/app/views/alchemy/admin/pages/configure_external.html.erb +13 -13
- data/app/views/alchemy/admin/pages/edit.html.erb +2 -2
- data/app/views/alchemy/admin/pages/index.html.erb +26 -24
- data/app/views/alchemy/admin/pages/link.html.erb +2 -5
- data/app/views/alchemy/admin/partials/_upload_form.html.erb +28 -12
- data/app/views/alchemy/admin/pictures/_archive.html.erb +54 -0
- data/app/views/alchemy/admin/pictures/_archive_overlay.html.erb +10 -7
- data/app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb +21 -22
- data/app/views/alchemy/admin/pictures/_filter_bar.html.erb +31 -0
- data/app/views/alchemy/admin/pictures/_overlay_picture_list.html.erb +9 -0
- data/app/views/alchemy/admin/pictures/_picture.html.erb +36 -6
- data/app/views/alchemy/admin/pictures/_tag_list.html.erb +27 -0
- data/app/views/alchemy/admin/pictures/archive_overlay.js.erb +3 -1
- data/app/views/alchemy/admin/pictures/create.js.erb +4 -5
- data/app/views/alchemy/admin/pictures/edit.html.erb +26 -0
- data/app/views/alchemy/admin/pictures/edit_multiple.html.erb +39 -0
- data/app/views/alchemy/admin/pictures/index.html.erb +81 -70
- data/app/views/alchemy/admin/pictures/index.js.erb +3 -0
- data/app/views/alchemy/admin/pictures/new.html.erb +1 -0
- data/app/views/alchemy/admin/resources/index.html.erb +3 -1
- data/app/views/alchemy/admin/users/_table.html.erb +1 -1
- data/app/views/alchemy/admin/users/index.html.erb +27 -23
- data/app/views/alchemy/elements/_article_editor.html.erb +7 -2
- data/app/views/alchemy/elements/_bild_editor.html.erb +1 -1
- data/app/views/alchemy/elements/_bild_text_editor.html.erb +6 -1
- data/app/views/alchemy/elements/_bild_text_view.html.erb +3 -3
- data/app/views/alchemy/elements/_image_mosaic_editor.html.erb +1 -1
- data/app/views/alchemy/elements/_image_mosaic_view.html.erb +2 -2
- data/app/views/alchemy/elements/_intro_image_text_view.html.erb +4 -4
- data/app/views/alchemy/elements/_searchresult_editor.html.erb +4 -1
- data/app/views/alchemy/essences/_essence_boolean_editor.html.erb +1 -1
- data/app/views/alchemy/essences/_essence_picture_editor.html.erb +2 -3
- data/app/views/alchemy/essences/_essence_picture_tools.html.erb +1 -1
- data/app/views/alchemy/search/_form.html.erb +8 -0
- data/app/views/alchemy/search/_result.html.erb +3 -2
- data/app/views/alchemy/search/_results.html.erb +28 -0
- data/app/views/alchemy/user_sessions/leave.html.erb +4 -4
- data/app/views/alchemy/user_sessions/login.html.erb +1 -2
- data/app/views/layouts/alchemy/admin.html.erb +30 -10
- data/app/views/layouts/alchemy/login.html.erb +2 -39
- data/config/alchemy/elements.yml +1 -2
- data/config/alchemy/page_layouts.yml +8 -5
- data/config/authorization_rules.rb +27 -18
- data/config/initializers/localeapp.rb +9 -0
- data/config/locales/alchemy.de.yml +93 -56
- data/config/locales/alchemy.en.yml +73 -50
- data/config/routes.rb +3 -1
- data/db/migrate/20120704181529_add_upload_hash_to_alchemy_picture.rb +5 -0
- data/db/migrate/20120705214247_acts_as_taggable_on_migration.rb +28 -0
- data/db/migrate/20120728185830_add_cached_tag_list_to_alchemy_pictures.rb +5 -0
- data/db/migrate/20120831135441_set_alchemy_languages_country_code_default_to_empty_string.rb +9 -0
- data/lib/alchemy/capistrano.rb +2 -2
- data/lib/alchemy/essence.rb +14 -0
- data/lib/alchemy/page_layout.rb +0 -6
- data/lib/alchemy/resource.rb +9 -15
- data/lib/alchemy/upgrader.rb +18 -3
- data/lib/alchemy/version.rb +5 -1
- data/lib/alchemy_cms.rb +4 -1
- data/lib/rails/generators/alchemy/deploy_script/deploy_script_generator.rb +16 -6
- data/lib/rails/generators/alchemy/deploy_script/templates/deploy.rb.tt +17 -3
- data/lib/rails/generators/alchemy/elements/elements_generator.rb +6 -1
- data/lib/rails/generators/alchemy/elements/templates/editor.html.erb +10 -1
- data/lib/rails/generators/alchemy/elements/templates/view.html.erb +17 -18
- data/lib/rails/generators/alchemy/scaffold/files/pages.html.erb +4 -2
- data/lib/tasks/fleximage.rake +2 -2
- data/spec/controllers/admin/contents_controller_spec.rb +2 -2
- data/spec/controllers/admin/elements_controller_spec.rb +30 -1
- data/spec/controllers/admin/pages_controller_spec.rb +35 -18
- data/spec/controllers/admin/trash_controller_spec.rb +40 -16
- data/spec/controllers/attachments_controller_spec.rb +62 -0
- data/spec/controllers/base_controller_spec.rb +43 -42
- data/spec/controllers/elements_controller_spec.rb +30 -0
- data/spec/controllers/pages_controller_spec.rb +22 -5
- data/spec/controllers/pictures_controller_spec.rb +82 -0
- data/spec/dummy/app/models/event.rb +2 -1
- data/spec/dummy/config/database.yml +3 -2
- data/spec/dummy/db/schema.rb +51 -27
- data/spec/factories.rb +29 -8
- data/spec/helpers/admin/base_helper_spec.rb +134 -21
- data/spec/helpers/admin/contents_helper_spec.rb +2 -2
- data/spec/helpers/admin/elements_helper_spec.rb +17 -9
- data/spec/helpers/admin/essences_helper_spec.rb +7 -6
- data/spec/helpers/essences_helper_spec.rb +8 -7
- data/spec/helpers/pages_helper_spec.rb +208 -325
- data/spec/helpers/url_helper_spec.rb +171 -0
- data/spec/integration/admin/link_overlay_spec.rb +53 -0
- data/spec/integration/admin/modules_integration_spec.rb +22 -26
- data/spec/integration/admin/pages_controller_spec.rb +10 -19
- data/spec/integration/admin/picture_library_integration_spec.rb +52 -0
- data/spec/integration/admin/resources_integration_spec.rb +68 -75
- data/spec/integration/pages_controller_spec.rb +70 -61
- data/spec/integration/security_spec.rb +3 -5
- data/spec/integration/translation_integration_spec.rb +56 -0
- data/spec/libraries/essence_spec.rb +18 -0
- data/spec/libraries/resource_spec.rb +101 -79
- data/spec/libraries/resources_helper_spec.rb +3 -0
- data/spec/models/content_spec.rb +63 -60
- data/spec/models/element_spec.rb +203 -93
- data/spec/models/language_spec.rb +90 -65
- data/spec/models/page_layout_spec.rb +37 -0
- data/spec/models/page_spec.rb +181 -113
- data/spec/models/picture_spec.rb +73 -26
- data/spec/models/resource_spec.rb +52 -23
- data/spec/support/alchemy/specs_helpers.rb +2 -0
- data/spec/support/image.png +0 -0
- data/spec/{helpers/url_helpers_spec.rb → url_helpers_spec.rb} +0 -0
- data/vendor/assets/javascripts/jquery_plugins/jquery.selectBoxIt.js +1909 -0
- data/vendor/assets/javascripts/jquery_plugins/preloadCssImages.jQuery_v5.js +152 -0
- metadata +106 -33
- data/app/assets/stylesheets/alchemy/buttons.css.scss +0 -361
- data/app/assets/stylesheets/alchemy/jquery.sb.css.scss +0 -260
- data/app/views/alchemy/admin/contents/create.js.coffee +0 -49
- data/app/views/alchemy/admin/elements/fold.js.coffee +0 -37
- data/app/views/alchemy/admin/essence_pictures/destroy.js.coffee +0 -19
- data/app/views/alchemy/admin/pictures/_pictures_list.html.erb +0 -16
- data/app/views/alchemy/admin/pictures/update.js.erb +0 -3
- data/spec/dummy/config/locales/en.yml +0 -5
- data/spec/dummy/config/locales/fo.yml +0 -5
- data/spec/page_layout_spec.rb +0 -35
- data/vendor/assets/javascripts/jquery_plugins/jquery.in-place-edit.js +0 -172
- data/vendor/assets/javascripts/jquery_plugins/jquery.sb.min.js +0 -14
@@ -1,361 +0,0 @@
|
|
1
|
-
@import "alchemy/defaults";
|
2
|
-
|
3
|
-
a.button {
|
4
|
-
padding: 5px 8px;
|
5
|
-
text-decoration: none;
|
6
|
-
float: left;
|
7
|
-
line-height: 13px;
|
8
|
-
|
9
|
-
&.small {
|
10
|
-
height: 14px;
|
11
|
-
padding-top: 2px;
|
12
|
-
padding-bottom: 2px;
|
13
|
-
border-radius: 10px;
|
14
|
-
-o-border-radius: 10px;
|
15
|
-
-ms-border-radius: 10px;
|
16
|
-
-moz-border-radius: 10px;
|
17
|
-
-webkit-border-radius: 10px;
|
18
|
-
|
19
|
-
&.cloned-button img {
|
20
|
-
display: inline-block;
|
21
|
-
float: none;
|
22
|
-
position: relative;
|
23
|
-
height: 16px;
|
24
|
-
width: 16px;
|
25
|
-
top: -1px;
|
26
|
-
}
|
27
|
-
|
28
|
-
&.with_icon span.icon {
|
29
|
-
margin-top: -5px;
|
30
|
-
position: relative;
|
31
|
-
top: 3px;
|
32
|
-
left: -1px;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
span.icon {
|
37
|
-
vertical-align: -2px;
|
38
|
-
margin-bottom: -2px;
|
39
|
-
margin-left: -4px;
|
40
|
-
}
|
41
|
-
}
|
42
|
-
|
43
|
-
input.button,
|
44
|
-
a.button,
|
45
|
-
button.button {
|
46
|
-
@include button-styles;
|
47
|
-
@include disable-user-select;
|
48
|
-
}
|
49
|
-
|
50
|
-
#new_element button.button {
|
51
|
-
float: right;
|
52
|
-
}
|
53
|
-
|
54
|
-
input.button {
|
55
|
-
padding-left: 8px;
|
56
|
-
padding-right: 8px;
|
57
|
-
padding-bottom: 2px;
|
58
|
-
height: 25px;
|
59
|
-
}
|
60
|
-
|
61
|
-
button.button {
|
62
|
-
padding: 4px 8px;
|
63
|
-
}
|
64
|
-
|
65
|
-
.button img {
|
66
|
-
margin: 2px 0 0 0;
|
67
|
-
width: 16px;
|
68
|
-
height: 16px;
|
69
|
-
}
|
70
|
-
|
71
|
-
#new_page_form tbody tr td.second_row .button {
|
72
|
-
float: right;
|
73
|
-
}
|
74
|
-
|
75
|
-
input.button:hover,
|
76
|
-
input.button:focus,
|
77
|
-
a.button:hover,
|
78
|
-
a.button:focus,
|
79
|
-
button.button:hover,
|
80
|
-
button.button:focus {
|
81
|
-
@include button-hover-styles;
|
82
|
-
}
|
83
|
-
|
84
|
-
input.button:active,
|
85
|
-
a.button:active {
|
86
|
-
text-decoration: none;
|
87
|
-
text-shadow: none;
|
88
|
-
background-color: #e5e5e5;
|
89
|
-
}
|
90
|
-
|
91
|
-
a.button.cloned-button,
|
92
|
-
a.button.cloned-button:hover,
|
93
|
-
a.button.cloned-button:active,
|
94
|
-
input.button.cloned-button,
|
95
|
-
input.button.cloned-button:hover,
|
96
|
-
input.button.cloned-button:active,
|
97
|
-
button.button.cloned-button,
|
98
|
-
button.button.cloned-button:hover,
|
99
|
-
button.button.cloned-button:active {
|
100
|
-
color: $text-color;
|
101
|
-
text-shadow: none;
|
102
|
-
border-color: #ccc;
|
103
|
-
cursor: default;
|
104
|
-
background-image: none;
|
105
|
-
background-color: #f5f5f5;
|
106
|
-
padding: 1px 0 0;
|
107
|
-
line-height: 15px;
|
108
|
-
}
|
109
|
-
|
110
|
-
a.button.cloned-button,
|
111
|
-
a.button.cloned-button:hover,
|
112
|
-
a.button.cloned-button:active {
|
113
|
-
padding: 2px 0 !important;
|
114
|
-
line-height: 13px !important;
|
115
|
-
text-align: center;
|
116
|
-
}
|
117
|
-
|
118
|
-
a.button.cloned-button img {
|
119
|
-
display: inline-block;
|
120
|
-
float: none;
|
121
|
-
}
|
122
|
-
|
123
|
-
div.button_with_label {
|
124
|
-
text-align: center;
|
125
|
-
margin-right: 8px;
|
126
|
-
margin-left: 8px;
|
127
|
-
float: left;
|
128
|
-
min-width: 70px;
|
129
|
-
line-height: 0;
|
130
|
-
cursor: pointer;
|
131
|
-
|
132
|
-
&.active {
|
133
|
-
.icon_button {
|
134
|
-
background-color: #cdd6db;
|
135
|
-
border-style: inset;
|
136
|
-
border-color: #bfbfbf;
|
137
|
-
}
|
138
|
-
label {
|
139
|
-
color: black;
|
140
|
-
text-shadow: white 0 0 2px;
|
141
|
-
}
|
142
|
-
}
|
143
|
-
|
144
|
-
.disabledButton {
|
145
|
-
position: absolute;
|
146
|
-
top: 0;
|
147
|
-
left: 0;
|
148
|
-
width: 100%;
|
149
|
-
height: 100%;
|
150
|
-
z-index: 1;
|
151
|
-
}
|
152
|
-
|
153
|
-
a.icon_button {
|
154
|
-
float: none;
|
155
|
-
margin-right: auto;
|
156
|
-
margin-left: auto;
|
157
|
-
display: inline-block;
|
158
|
-
position: relative;
|
159
|
-
}
|
160
|
-
|
161
|
-
&.disabled {
|
162
|
-
position: relative;
|
163
|
-
@include opacity(50);
|
164
|
-
cursor: default;
|
165
|
-
|
166
|
-
a:hover, a:active {
|
167
|
-
cursor: default;
|
168
|
-
background-color: #f7f7f7;
|
169
|
-
border: 1px solid #9a9a9a;
|
170
|
-
}
|
171
|
-
|
172
|
-
&:before {
|
173
|
-
content: '';
|
174
|
-
position: absolute;
|
175
|
-
z-index: 1;
|
176
|
-
width: 100%;
|
177
|
-
height: 100%;
|
178
|
-
background-color: transparent;
|
179
|
-
@include opacity(50);
|
180
|
-
}
|
181
|
-
|
182
|
-
&:hover label {
|
183
|
-
color: $text-color;
|
184
|
-
cursor: default;
|
185
|
-
}
|
186
|
-
|
187
|
-
}
|
188
|
-
|
189
|
-
}
|
190
|
-
|
191
|
-
.icon_button.disabled span {
|
192
|
-
position: relative;
|
193
|
-
@include opacity(30);
|
194
|
-
cursor: default;
|
195
|
-
}
|
196
|
-
|
197
|
-
.icon_button.disabled:hover {
|
198
|
-
background-color: #f7f7f7;
|
199
|
-
border: 1px solid #9a9a9a;
|
200
|
-
cursor: default;
|
201
|
-
}
|
202
|
-
|
203
|
-
div#toolbar label, div#overlay_toolbar label {
|
204
|
-
font-size: 10px;
|
205
|
-
text-shadow: #fff 0 1px 2px;
|
206
|
-
margin-top: $default-margin;
|
207
|
-
display: block;
|
208
|
-
line-height: 13px;
|
209
|
-
@include disable-user-select;
|
210
|
-
}
|
211
|
-
|
212
|
-
div.button_with_label:hover label {
|
213
|
-
color: #000;
|
214
|
-
text-shadow: #fff 0 1px 4px;
|
215
|
-
}
|
216
|
-
|
217
|
-
div.search_field span.icon,
|
218
|
-
div.js_filter_field_box span.icon {
|
219
|
-
position: absolute;
|
220
|
-
left: 6px;
|
221
|
-
top: 4px;
|
222
|
-
}
|
223
|
-
|
224
|
-
button.icon_button {
|
225
|
-
@include button-styles;
|
226
|
-
padding: $default-padding;
|
227
|
-
height: 25px;
|
228
|
-
line-height: 19px;
|
229
|
-
font-size: 0;
|
230
|
-
width: 25px;
|
231
|
-
position: relative;
|
232
|
-
|
233
|
-
.icon {
|
234
|
-
position: static;
|
235
|
-
}
|
236
|
-
|
237
|
-
img {
|
238
|
-
margin: 0;
|
239
|
-
border-style: none;
|
240
|
-
border-width: 0;
|
241
|
-
}
|
242
|
-
|
243
|
-
&.small {
|
244
|
-
background: transparent;
|
245
|
-
padding: 0;
|
246
|
-
width: 17px;
|
247
|
-
height: 17px;
|
248
|
-
border: none;
|
249
|
-
line-height: 13px;
|
250
|
-
|
251
|
-
.icon {
|
252
|
-
position: relative;
|
253
|
-
right: 1px;
|
254
|
-
top: 2px;
|
255
|
-
}
|
256
|
-
|
257
|
-
&:hover {
|
258
|
-
background-color: #e6f0f5;
|
259
|
-
color: $dark-gray;
|
260
|
-
border: 1px solid #888;
|
261
|
-
text-shadow: 0 1px 4px #fff;
|
262
|
-
text-decoration: none;
|
263
|
-
}
|
264
|
-
}
|
265
|
-
|
266
|
-
&:hover {
|
267
|
-
background-color: #e6f0f5;
|
268
|
-
color: $dark-gray;
|
269
|
-
border: 1px solid #888;
|
270
|
-
text-shadow: 0 1px 4px #fff;
|
271
|
-
text-decoration: none;
|
272
|
-
}
|
273
|
-
|
274
|
-
&:active {
|
275
|
-
background-color: #cdd6db;
|
276
|
-
}
|
277
|
-
}
|
278
|
-
|
279
|
-
a.icon_button {
|
280
|
-
float: left;
|
281
|
-
width: 23px;
|
282
|
-
height: 23px;
|
283
|
-
background-color: #f7f7f7;
|
284
|
-
background-image: image-url('alchemy/shading.png');
|
285
|
-
background-repeat: repeat-x;
|
286
|
-
background-position: 0 -75px;
|
287
|
-
margin-right: 8px;
|
288
|
-
border: 1px solid #9a9a9a;
|
289
|
-
@include rounded-corner;
|
290
|
-
@include disable-user-select;
|
291
|
-
overflow: hidden;
|
292
|
-
position: relative;
|
293
|
-
|
294
|
-
.icon {
|
295
|
-
position: absolute;
|
296
|
-
left: 4px;
|
297
|
-
top: 4px;
|
298
|
-
}
|
299
|
-
|
300
|
-
.old_icon {
|
301
|
-
position: relative;
|
302
|
-
background-repeat: no-repeat;
|
303
|
-
width: 22px;
|
304
|
-
height: 20px;
|
305
|
-
display: inline-block;
|
306
|
-
top: -1px;
|
307
|
-
left: -1px;
|
308
|
-
}
|
309
|
-
|
310
|
-
img {
|
311
|
-
position: absolute;
|
312
|
-
top: 2px;
|
313
|
-
left: 3px;
|
314
|
-
}
|
315
|
-
|
316
|
-
&.small {
|
317
|
-
width: 11px;
|
318
|
-
height: 11px;
|
319
|
-
float: none;
|
320
|
-
display: inline-block;
|
321
|
-
background-position: 0 -8px;
|
322
|
-
vertical-align: -2px;
|
323
|
-
|
324
|
-
.icon {
|
325
|
-
height: 9px;
|
326
|
-
left: auto;
|
327
|
-
position: absolute;
|
328
|
-
right: 1px;
|
329
|
-
top: 1px;
|
330
|
-
width: 9px;
|
331
|
-
}
|
332
|
-
}
|
333
|
-
|
334
|
-
&.old_icon {
|
335
|
-
width: 20px;
|
336
|
-
height: 19px;
|
337
|
-
|
338
|
-
img {
|
339
|
-
top: 0;
|
340
|
-
left: 1px;
|
341
|
-
}
|
342
|
-
}
|
343
|
-
|
344
|
-
&:hover {
|
345
|
-
background-color: #e6f0f5;
|
346
|
-
color: $dark-gray;
|
347
|
-
border: 1px solid #888;
|
348
|
-
text-shadow: 0 1px 4px #fff;
|
349
|
-
text-decoration: none;
|
350
|
-
}
|
351
|
-
|
352
|
-
&:active {
|
353
|
-
background-color: #cdd6db;
|
354
|
-
border-style: inset;
|
355
|
-
border-color: #bfbfbf;
|
356
|
-
}
|
357
|
-
}
|
358
|
-
|
359
|
-
div.sitemap_right_tools .sitemap_sitetools a.icon_button {
|
360
|
-
margin-right: 4px;
|
361
|
-
}
|
@@ -1,260 +0,0 @@
|
|
1
|
-
@import "alchemy/defaults";
|
2
|
-
|
3
|
-
/* always visible styles */
|
4
|
-
|
5
|
-
#alchemy select.has_sb {
|
6
|
-
display: none !important;
|
7
|
-
}
|
8
|
-
|
9
|
-
#alchemy .selectbox {
|
10
|
-
display: inline-block;
|
11
|
-
*display: inline;
|
12
|
-
margin: 0;
|
13
|
-
position: relative;
|
14
|
-
zoom: 1;
|
15
|
-
font-size: 11px;
|
16
|
-
@include disable-user-select;
|
17
|
-
}
|
18
|
-
|
19
|
-
#alchemy .selectbox.full_width .display.full_width {
|
20
|
-
width: 402px;
|
21
|
-
}
|
22
|
-
|
23
|
-
#alchemy .selectbox .display {
|
24
|
-
border: 1px solid $button-border-color;
|
25
|
-
cursor: default;
|
26
|
-
display: block;
|
27
|
-
font-weight: normal;
|
28
|
-
height: 23px;
|
29
|
-
line-height: 23px;
|
30
|
-
padding: 0 23px 0 5px;
|
31
|
-
position: relative;
|
32
|
-
text-decoration: none;
|
33
|
-
overflow: hidden;
|
34
|
-
@include rounded-corner;
|
35
|
-
background: $button-bg-color image-url('alchemy/shading.png') repeat-x 0 -69px;
|
36
|
-
}
|
37
|
-
|
38
|
-
#alchemy .content_editor.validation_failed .selectbox .display {
|
39
|
-
border-color: #931f23;
|
40
|
-
}
|
41
|
-
|
42
|
-
#alchemy .selectbox .display .text {
|
43
|
-
text-shadow: $button-text-shadow;
|
44
|
-
}
|
45
|
-
|
46
|
-
#alchemy .selectbox .display {
|
47
|
-
width: 190px;
|
48
|
-
}
|
49
|
-
|
50
|
-
#alchemy .selectbox .display.short {
|
51
|
-
width: 60px;
|
52
|
-
}
|
53
|
-
|
54
|
-
#alchemy .selectbox .display.medium {
|
55
|
-
width: 100px;
|
56
|
-
}
|
57
|
-
|
58
|
-
#alchemy .selectbox .display.long {
|
59
|
-
width: 220px;
|
60
|
-
}
|
61
|
-
|
62
|
-
#alchemy .selectbox .display.very_long {
|
63
|
-
width: 280px;
|
64
|
-
}
|
65
|
-
|
66
|
-
#alchemy .selectbox.disabled .display {
|
67
|
-
color: #999;
|
68
|
-
}
|
69
|
-
|
70
|
-
#alchemy .selectbox.focused .display {
|
71
|
-
border: 1px solid $button-hover-border-color;
|
72
|
-
}
|
73
|
-
|
74
|
-
#alchemy .selectbox.focused .display .text {
|
75
|
-
text-shadow: none;
|
76
|
-
}
|
77
|
-
|
78
|
-
#alchemy .selectbox.focused .display .arrow_btn,
|
79
|
-
#alchemy .selectbox .display:hover .arrow_btn {
|
80
|
-
background: $button-hover-bg-color image-url('alchemy/shading.png') repeat-x 50% -75px;
|
81
|
-
}
|
82
|
-
|
83
|
-
#alchemy .selectbox .display:active .arrow_btn {
|
84
|
-
background-color: #e5e5e5;
|
85
|
-
}
|
86
|
-
|
87
|
-
#alchemy .selectbox .display:active .arrow_btn .interior {
|
88
|
-
background-color: #e5e5e5;
|
89
|
-
}
|
90
|
-
|
91
|
-
#alchemy .selectbox .display.hover {
|
92
|
-
cursor: pointer;
|
93
|
-
}
|
94
|
-
|
95
|
-
#alchemy .selectbox .display.hover .arrow_btn .interior {
|
96
|
-
background: #e6f0f5 image-url('alchemy/shading.png') repeat-x 0 -75px;
|
97
|
-
}
|
98
|
-
|
99
|
-
#alchemy .selectbox .display .arrow_btn {
|
100
|
-
background: #ededed image-url('alchemy/shading.png') repeat-x 0 -75px;
|
101
|
-
display: block;
|
102
|
-
height: 23px;
|
103
|
-
padding: 0;
|
104
|
-
position: absolute;
|
105
|
-
right: 0;
|
106
|
-
top: 0;
|
107
|
-
width: 19px;
|
108
|
-
}
|
109
|
-
|
110
|
-
#alchemy .selectbox .display .arrow_btn .interior {
|
111
|
-
display: block;
|
112
|
-
height: 23px;
|
113
|
-
width: 19px;
|
114
|
-
}
|
115
|
-
|
116
|
-
#alchemy .selectbox .display .arrow_btn .arrow {
|
117
|
-
background: image-url('alchemy/ui-icons_666666_256x240.png') no-repeat -63px -11px;
|
118
|
-
display: block;
|
119
|
-
height: 23px;
|
120
|
-
width: 19px;
|
121
|
-
}
|
122
|
-
|
123
|
-
#alchemy .selectbox .text {
|
124
|
-
line-height: 24px;
|
125
|
-
text-align: left;
|
126
|
-
}
|
127
|
-
|
128
|
-
#alchemy .selectbox .value {
|
129
|
-
display: none;
|
130
|
-
}
|
131
|
-
|
132
|
-
/* dropdown styles */
|
133
|
-
|
134
|
-
#alchemy ul.items {
|
135
|
-
background: $button-bg-color;
|
136
|
-
border: 1px solid $button-border-color;
|
137
|
-
display: block;
|
138
|
-
list-style-type: none;
|
139
|
-
margin: 0;
|
140
|
-
overflow-x: hidden;
|
141
|
-
overflow-y: auto;
|
142
|
-
z-index: 99999;
|
143
|
-
-moz-box-shadow: 0 3px 5px rgba(0, 0, 0, .5);
|
144
|
-
-webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .5);
|
145
|
-
box-shadow: 0 3px 5px rgba(0, 0, 0, .5);
|
146
|
-
@include rounded-corner;
|
147
|
-
padding: 0;
|
148
|
-
line-height: 15px;
|
149
|
-
font-size: 11px;
|
150
|
-
|
151
|
-
ul.items {
|
152
|
-
-moz-box-shadow: none;
|
153
|
-
-webkit-box-shadow: none;
|
154
|
-
box-shadow: none;
|
155
|
-
}
|
156
|
-
}
|
157
|
-
|
158
|
-
#alchemy .items.short {
|
159
|
-
width: 88px;
|
160
|
-
}
|
161
|
-
|
162
|
-
#alchemy .items.medium {
|
163
|
-
width: 128px;
|
164
|
-
}
|
165
|
-
|
166
|
-
#alchemy .items {
|
167
|
-
width: 218px;
|
168
|
-
}
|
169
|
-
|
170
|
-
#alchemy .items.long {
|
171
|
-
width: 248px;
|
172
|
-
}
|
173
|
-
|
174
|
-
#alchemy .items.very_long {
|
175
|
-
width: 308px;
|
176
|
-
}
|
177
|
-
|
178
|
-
#alchemy .items.full_width {
|
179
|
-
width: 431px;
|
180
|
-
}
|
181
|
-
|
182
|
-
#new_page_form tbody tr td.second_row div.selectbox .display {
|
183
|
-
width: 100px;
|
184
|
-
}
|
185
|
-
|
186
|
-
#alchemy .items.above {
|
187
|
-
|
188
|
-
}
|
189
|
-
|
190
|
-
#alchemy .items li {
|
191
|
-
display: block;
|
192
|
-
margin: 0;
|
193
|
-
padding: 0;
|
194
|
-
white-space: nowrap;
|
195
|
-
}
|
196
|
-
|
197
|
-
#alchemy .items li:first-child {
|
198
|
-
margin-top: 0;
|
199
|
-
}
|
200
|
-
|
201
|
-
#alchemy .items li .item {
|
202
|
-
color: $text-color;
|
203
|
-
cursor: default;
|
204
|
-
display: block;
|
205
|
-
text-decoration: none;
|
206
|
-
padding: 2px 12px 2px 6px;
|
207
|
-
}
|
208
|
-
|
209
|
-
#alchemy .items li.selected .item {
|
210
|
-
background-color: #e6f0f5;
|
211
|
-
color: $text-color;
|
212
|
-
}
|
213
|
-
|
214
|
-
#alchemy .items li.disabled .item {
|
215
|
-
color: #999;
|
216
|
-
}
|
217
|
-
|
218
|
-
#alchemy .items li.hover > .item {
|
219
|
-
background-color: #e6f0f5;
|
220
|
-
color: $text-color;
|
221
|
-
cursor: pointer;
|
222
|
-
}
|
223
|
-
|
224
|
-
#alchemy .items .value {
|
225
|
-
display: none;
|
226
|
-
}
|
227
|
-
|
228
|
-
/* optgroup styles */
|
229
|
-
|
230
|
-
#alchemy .items .optgroup .items {
|
231
|
-
border: none;
|
232
|
-
margin: 0;
|
233
|
-
padding: 0;
|
234
|
-
-moz-box-shadow: none;
|
235
|
-
-webkit-box-shadow: none;
|
236
|
-
}
|
237
|
-
|
238
|
-
#alchemy .items .optgroup>.label {
|
239
|
-
font-weight: bold;
|
240
|
-
line-height: 23px;
|
241
|
-
}
|
242
|
-
|
243
|
-
#alchemy .items .optgroup .items li .item {
|
244
|
-
padding-left: 1em;
|
245
|
-
}
|
246
|
-
|
247
|
-
#alchemy .items>li.first .item {
|
248
|
-
@include top-rounded-border;
|
249
|
-
}
|
250
|
-
|
251
|
-
#alchemy .items>li.last .item {
|
252
|
-
@include bottom-rounded-border;
|
253
|
-
}
|
254
|
-
|
255
|
-
/* for optgroups */
|
256
|
-
|
257
|
-
#alchemy .items>li>.label {
|
258
|
-
line-height: 27px;
|
259
|
-
padding: 4px 6px;
|
260
|
-
}
|