alchemy_cms 2.8.3 → 2.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -2
- data/README.md +108 -25
- data/alchemy_cms.gemspec +0 -1
- data/app/assets/stylesheets/alchemy/archive.scss +2 -2
- data/app/assets/stylesheets/alchemy/base.scss +0 -37
- data/app/assets/stylesheets/alchemy/elements.scss +1 -1
- data/app/assets/stylesheets/alchemy/flash.scss +1 -1
- data/app/assets/stylesheets/alchemy/form_elements.scss +1 -1
- data/app/assets/stylesheets/alchemy/icon-font.css.scss +40 -40
- data/app/assets/stylesheets/alchemy/icons.scss +4 -32
- data/app/assets/stylesheets/alchemy/jquery-ui.scss +4 -4
- data/app/assets/stylesheets/alchemy/menubar.css.scss +20 -12
- data/app/assets/stylesheets/alchemy/modules.scss +0 -4
- data/app/assets/stylesheets/alchemy/search.scss +1 -1
- data/app/assets/stylesheets/alchemy/sitemap.scss +1 -1
- data/app/assets/stylesheets/tiny_mce/plugins/inlinepopups/skins/alchemy-tinymce-dialog/window.css.scss +3 -3
- data/app/controllers/alchemy/admin/base_controller.rb +12 -8
- data/app/controllers/alchemy/admin/dashboard_controller.rb +10 -5
- data/app/controllers/alchemy/admin/elements_controller.rb +1 -1
- data/app/controllers/alchemy/admin/essence_pictures_controller.rb +8 -1
- data/app/controllers/alchemy/admin/layoutpages_controller.rb +1 -1
- data/app/controllers/alchemy/admin/pages_controller.rb +11 -6
- data/app/controllers/alchemy/admin/resources_controller.rb +2 -2
- data/app/controllers/alchemy/admin/users_controller.rb +1 -1
- data/app/controllers/alchemy/base_controller.rb +71 -37
- data/app/controllers/alchemy/elements_controller.rb +1 -1
- data/app/controllers/alchemy/pages_controller.rb +9 -3
- data/app/controllers/alchemy/pictures_controller.rb +1 -0
- data/app/helpers/alchemy/admin/base_helper.rb +2 -10
- data/app/helpers/alchemy/admin/pages_helper.rb +1 -1
- data/app/helpers/alchemy/base_helper.rb +1 -1
- data/app/helpers/alchemy/pages_helper.rb +1 -1
- data/app/models/alchemy/attachment.rb +3 -4
- data/app/models/alchemy/cell.rb +1 -1
- data/app/models/alchemy/content.rb +3 -4
- data/app/models/alchemy/element.rb +5 -6
- data/app/models/alchemy/folded_page.rb +1 -1
- data/app/models/alchemy/language.rb +1 -1
- data/app/models/alchemy/message.rb +1 -7
- data/app/models/alchemy/page.rb +12 -10
- data/app/models/alchemy/page/{cells.rb → page_cells.rb} +2 -2
- data/app/models/alchemy/page/{elements.rb → page_elements.rb} +2 -2
- data/app/models/alchemy/page/{naming.rb → page_naming.rb} +1 -1
- data/app/models/alchemy/page/{natures.rb → page_natures.rb} +3 -3
- data/app/models/alchemy/page/{scopes.rb → page_scopes.rb} +3 -3
- data/app/models/alchemy/page/page_users.rb +33 -0
- data/app/models/alchemy/picture.rb +3 -3
- data/app/models/alchemy/site.rb +2 -2
- data/app/views/alchemy/admin/dashboard/_locked_pages.html.erb +1 -1
- data/app/views/alchemy/admin/dashboard/_recent_pages.html.erb +1 -1
- data/app/views/alchemy/admin/dashboard/_sites.html.erb +1 -1
- data/app/views/alchemy/admin/dashboard/index.html.erb +10 -4
- data/app/views/alchemy/admin/pages/_page.html.erb +1 -1
- data/app/views/alchemy/admin/pages/update.js.erb +1 -1
- data/app/views/alchemy/{user_sessions → base}/leave.html.erb +2 -2
- data/app/views/alchemy/base/permission_denied.js.erb +3 -2
- data/app/views/layouts/alchemy/admin.html.erb +6 -3
- data/config/alchemy/config.yml +1 -11
- data/config/alchemy/modules.yml +0 -12
- data/config/locales/alchemy.de.yml +3 -40
- data/config/locales/alchemy.en.yml +2 -22
- data/config/routes.rb +2 -27
- data/db/migrate/20130827094554_alchemy_two_point_six.rb +0 -31
- data/lib/alchemy/auth_accessors.rb +54 -0
- data/lib/alchemy/capistrano.rb +5 -17
- data/lib/alchemy/engine.rb +7 -7
- data/lib/alchemy/errors.rb +6 -0
- data/lib/alchemy/essence.rb +2 -2
- data/lib/alchemy/seeder.rb +1 -1
- data/lib/alchemy/tasks/helpers.rb +83 -0
- data/lib/alchemy/test_support/auth_helpers.rb +35 -0
- data/lib/alchemy/test_support/controller_requests.rb +37 -0
- data/{spec/support → lib/alchemy/test_support}/factories.rb +7 -28
- data/{spec/support/alchemy → lib/alchemy/test_support}/integration_helpers.rb +9 -36
- data/lib/alchemy/upgrader.rb +8 -7
- data/lib/alchemy/upgrader/two_point_nine.rb +33 -0
- data/lib/alchemy/userstamp.rb +10 -0
- data/lib/alchemy/version.rb +1 -3
- data/lib/rails/templates/alchemy.rb +1 -0
- data/lib/tasks/alchemy/db.rake +5 -5
- data/spec/controllers/admin/attachments_controller_spec.rb +3 -3
- data/spec/controllers/admin/dashboard_controller_spec.rb +55 -34
- data/spec/controllers/admin/elements_controller_spec.rb +1 -1
- data/spec/controllers/admin/essence_pictures_controller_spec.rb +22 -6
- data/spec/controllers/admin/pages_controller_spec.rb +41 -58
- data/spec/controllers/admin/resources_controller_spec.rb +30 -5
- data/spec/controllers/admin/trash_controller_spec.rb +1 -1
- data/spec/controllers/attachments_controller_spec.rb +26 -44
- data/spec/controllers/base_controller_spec.rb +8 -33
- data/spec/controllers/elements_controller_spec.rb +1 -1
- data/spec/controllers/pages_controller_spec.rb +7 -15
- data/spec/controllers/pictures_controller_spec.rb +44 -5
- data/spec/dummy/app/controllers/application_controller.rb +9 -1
- data/spec/dummy/app/models/user.rb +14 -0
- data/spec/dummy/db/migrate/20130827094554_alchemy_two_point_six.rb +0 -31
- data/spec/dummy/db/schema.rb +0 -31
- data/spec/features/admin/language_tree_feature_spec.rb +34 -0
- data/spec/features/admin/pages_controller_spec.rb +1 -1
- data/spec/features/pages_controller_spec.rb +5 -12
- data/spec/features/picture_security_spec.rb +2 -2
- data/spec/features/security_spec.rb +6 -45
- data/spec/features/translation_integration_spec.rb +11 -20
- data/spec/{support → fixtures}/80x60.png +0 -0
- data/spec/support/image with spaces.png b/data/spec/fixtures/image with → spaces.png +0 -0
- data/spec/{support → fixtures}/image.png +0 -0
- data/spec/{support → fixtures}/image2.PNG +0 -0
- data/spec/{support → fixtures}/image3.jpeg +0 -0
- data/spec/helpers/admin/base_helper_spec.rb +31 -43
- data/spec/helpers/admin/pages_helper_spec.rb +4 -2
- data/spec/helpers/base_helper_spec.rb +10 -3
- data/spec/helpers/pages_helper_spec.rb +32 -22
- data/spec/models/attachment_spec.rb +1 -1
- data/spec/models/element_spec.rb +33 -57
- data/spec/models/message_spec.rb +0 -16
- data/spec/models/page_spec.rb +62 -26
- data/spec/models/picture_spec.rb +5 -5
- data/spec/spec_helper.rb +13 -4
- data/spec/tasks/helpers_spec.rb +213 -0
- metadata +33 -75
- data/app/controllers/alchemy/passwords_controller.rb +0 -35
- data/app/controllers/alchemy/user_sessions_controller.rb +0 -67
- data/app/controllers/alchemy/users_controller.rb +0 -46
- data/app/mailers/alchemy/notifications.rb +0 -33
- data/app/models/alchemy/page/users.rb +0 -25
- data/app/models/alchemy/user.rb +0 -183
- data/app/views/alchemy/admin/users/_table.html.erb +0 -69
- data/app/views/alchemy/admin/users/_user.html.erb +0 -39
- data/app/views/alchemy/admin/users/edit.html.erb +0 -6
- data/app/views/alchemy/admin/users/index.html.erb +0 -58
- data/app/views/alchemy/admin/users/new.html.erb +0 -6
- data/app/views/alchemy/notifications/admin_user_created.de.text.erb +0 -15
- data/app/views/alchemy/notifications/admin_user_created.en.text.erb +0 -15
- data/app/views/alchemy/notifications/registered_user_created.de.text.erb +0 -13
- data/app/views/alchemy/notifications/registered_user_created.en.text.erb +0 -13
- data/app/views/alchemy/notifications/reset_password_instructions.de.text.erb +0 -8
- data/app/views/alchemy/notifications/reset_password_instructions.en.text.erb +0 -8
- data/app/views/alchemy/passwords/edit.html.erb +0 -35
- data/app/views/alchemy/passwords/new.html.erb +0 -30
- data/app/views/alchemy/user_sessions/new.html.erb +0 -48
- data/app/views/alchemy/users/new.html.erb +0 -14
- data/config/initializers/devise.rb +0 -242
- data/config/locales/devise.de.yml +0 -58
- data/config/locales/devise.en.yml +0 -60
- data/lib/rails/generators/alchemy/devise/devise_generator.rb +0 -29
- data/spec/controllers/admin/users_controller_spec.rb +0 -132
- data/spec/controllers/passwords_controller_spec.rb +0 -16
- data/spec/controllers/user_sessions_controller_spec.rb +0 -22
- data/spec/controllers/users_controller_spec.rb +0 -66
- data/spec/mailers/notifications_spec.rb +0 -67
- data/spec/models/user_spec.rb +0 -252
- data/spec/support/alchemy/controller_helpers.rb +0 -35
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b424447a096b31e81ed5a0d290b0ad668337b5b8
|
4
|
+
data.tar.gz: a7eefe0821effccdd65312b9ac99573ad0784f7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2b2833ceef66d2a76b6512430f076f6133da8472e9456712d69b3c7f7b0c1531f76f9babbf3d516cbc0e0dd3318aa770ea233099ff20f5b73787ce9bb8587d0
|
7
|
+
data.tar.gz: 4eed6223c08ea0903cd629998c681c5d9117098e69866fccab2e92ff6354663c0b6dbdb68281c38f4c953712b940f2e42557df745b3363c063631fd06035f4d0
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
|
-
![Alchemy CMS](http://alchemy-cms.com/assets/alchemy_logo.
|
1
|
+
![Alchemy CMS](http://alchemy-cms.com/assets/alchemy_logo.svg)
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/alchemy_cms.png)](http://badge.fury.io/rb/alchemy_cms)
|
4
|
-
[![Build Status](https://
|
4
|
+
[![Build Status](https://travis-ci.org/magiclabs/alchemy_cms.svg?branch=2.9-stable)](https://travis-ci.org/magiclabs/alchemy_cms) [![Code Climate](https://codeclimate.com/github/magiclabs/alchemy_cms.png)](https://codeclimate.com/github/magiclabs/alchemy_cms) [![Coverage Status](https://coveralls.io/repos/magiclabs/alchemy_cms/badge.png?branch=2.9-stable)](https://coveralls.io/r/magiclabs/alchemy_cms?branch=2.9-stable)
|
5
5
|
|
6
6
|
About
|
7
7
|
-----
|
8
|
-
|
8
|
+
|
9
|
+
Alchemy is the most powerful, userfriendly and flexible Rails CMS.
|
9
10
|
|
10
11
|
Read more on the [website](http://alchemy-cms.com) and in the [guidelines](http://guides.alchemy-cms.com).
|
11
12
|
|
@@ -32,7 +33,9 @@ Features
|
|
32
33
|
Rails Version
|
33
34
|
-------------
|
34
35
|
|
35
|
-
This version of Alchemy runs with Rails 3.2
|
36
|
+
**This version of Alchemy CMS runs with Rails 3.2**
|
37
|
+
|
38
|
+
If you are looking for a Rails 4 compatible version check the [3.0-stable branch](https://github.com/magiclabs/alchemy_cms/tree/3.0-stable).
|
36
39
|
|
37
40
|
If you are looking for a Rails 3.1 compatible version check the [2.1-stable branch](https://github.com/magiclabs/alchemy_cms/tree/2.1-stable).
|
38
41
|
|
@@ -43,57 +46,137 @@ If you are looking for a Rails 2.3 compatible version check the [1.6-stable bran
|
|
43
46
|
Ruby Version
|
44
47
|
------------
|
45
48
|
|
46
|
-
Alchemy runs with Ruby >= 1.9.3 (including Ruby 2.0.
|
49
|
+
Alchemy runs with Ruby >= 1.9.3 (including Ruby 2.0 and 2.1).
|
47
50
|
|
48
51
|
For a Ruby 1.8.7 compatible version use the [2.3-stable branch](https://github.com/magiclabs/alchemy_cms/tree/2.3-stable).
|
49
52
|
|
53
|
+
|
50
54
|
Installation
|
51
55
|
------------
|
52
56
|
|
53
|
-
|
57
|
+
### As a standalone project
|
58
|
+
|
59
|
+
#### 1. Use the installer:
|
54
60
|
|
55
61
|
gem install alchemy_cms
|
56
62
|
alchemy new my_magicpage
|
57
63
|
cd my_magicpage
|
58
64
|
|
59
|
-
|
65
|
+
Run
|
66
|
+
|
67
|
+
bundle install
|
68
|
+
|
69
|
+
to finish installation process.
|
70
|
+
|
71
|
+
#### 2. Start the local server:
|
72
|
+
|
73
|
+
bundle exec rails server
|
74
|
+
|
75
|
+
#### 3. Switch to your browser:
|
76
|
+
|
77
|
+
Open `http://localhost:3000` and follow the on screen instructions.
|
60
78
|
|
61
|
-
|
79
|
+
### Into an existing Rails project
|
62
80
|
|
63
|
-
|
81
|
+
#### 1. Add the Alchemy gem:
|
64
82
|
|
65
|
-
|
66
|
-
-----------------------------
|
83
|
+
In your App's Gemfile:
|
67
84
|
|
68
|
-
|
85
|
+
gem 'alchemy_cms', github: 'magiclabs/alchemy_cms', branch: '2.9-stable'
|
69
86
|
|
70
|
-
|
87
|
+
#### 2. Install Alchemy into your app:
|
71
88
|
|
72
89
|
Run in terminal:
|
73
90
|
|
74
91
|
bundle install
|
75
|
-
bundle exec
|
92
|
+
bundle exec alchemy:install
|
93
|
+
|
94
|
+
### Authentication User Model
|
95
|
+
|
96
|
+
With Version 2.9 we extracted the Alchemy user model [into its own gem](https://github.com/magiclabs/alchemy-devise).
|
97
|
+
|
98
|
+
In order to get the former Alchemy user model back, add the following gem into your Gemfile:
|
99
|
+
|
100
|
+
gem 'alchemy-devise', github: 'magiclabs/alchemy-devise', branch: '1.1-stable'
|
101
|
+
|
102
|
+
Run in terminal:
|
103
|
+
|
104
|
+
bundle install
|
105
|
+
bundle exec alchemy_devise:install:migrations db:migrate
|
106
|
+
|
107
|
+
**In order to use your own user model, you can add e.g.**
|
108
|
+
|
109
|
+
# config/initializers/alchemy.rb
|
110
|
+
Alchemy.user_class_name = 'YourUserClass'
|
111
|
+
Alchemy.login_path = '/your/login/path'
|
112
|
+
Alchemy.logout_path = '/your/logout/path'
|
113
|
+
|
114
|
+
The only thing Alchemy needs to know from your user model is the `alchemy_roles` method.
|
115
|
+
|
116
|
+
This method has to return an `Array` or `ActiveRecord::Relation` with at least one of the following roles:
|
117
|
+
|
118
|
+
* `member`
|
119
|
+
* `author`
|
120
|
+
* `editor`
|
121
|
+
* `admin`
|
122
|
+
|
123
|
+
Example:
|
124
|
+
|
125
|
+
def alchemy_roles
|
126
|
+
self.admin?
|
127
|
+
%w(admin)
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
Testing
|
132
|
+
-------
|
133
|
+
|
134
|
+
Before running tests (which refer to Alchemy), please make sure to run the rake task
|
135
|
+
|
136
|
+
bundle exec rake alchemy:spec:prepare
|
137
|
+
|
138
|
+
to set up the database for testing.
|
139
|
+
|
140
|
+
Now you can run your tests, e. g. with RSpec:
|
141
|
+
|
142
|
+
bundle exec rspec spec/...
|
143
|
+
|
144
|
+
**Alternatively** you can just run:
|
145
|
+
|
146
|
+
bundle exec rake
|
147
|
+
|
148
|
+
This default task executes the database preparations and runs all defined test cases.
|
149
|
+
|
150
|
+
Deployment
|
151
|
+
----------
|
152
|
+
|
153
|
+
Alchemy ships with a generator that creates a Capistrano `config/deploy.rb` file, which
|
154
|
+
takes care of everything you need to deploy an Alchemy site.
|
155
|
+
|
156
|
+
So, if you don't have your own deploy file, we encourage you to use this generator:
|
157
|
+
|
158
|
+
$ bundle exec rails g alchemy:deploy_script
|
159
|
+
|
160
|
+
If you have your own Capistrano receipts, you should require the Alchemy tasks in your app's `config/deploy.rb` file:
|
76
161
|
|
77
|
-
|
78
|
-
|
162
|
+
# deploy.rb
|
163
|
+
require 'alchemy/capistrano'
|
79
164
|
|
80
|
-
|
165
|
+
If you don't use Capistrano you have to **make shure that the `uploads`, `tmp/cache/assets`, `public/assets` and `public/pictures` cache folders get shared** between deployments, otherwise you **will loose data**.
|
81
166
|
|
82
|
-
|
83
|
-
helper Alchemy::PagesHelper
|
84
|
-
```
|
167
|
+
Please take a look into the `lib/alchemy/capistrano.rb` file, to see how to achieve this.
|
85
168
|
|
86
169
|
Upgrading
|
87
170
|
---------
|
88
171
|
|
89
|
-
After updating Alchemy you should run the upgrader.
|
172
|
+
After updating the Alchemy gem in your App, you should run the upgrader.
|
90
173
|
|
91
174
|
Run in terminal:
|
92
175
|
|
93
|
-
bundle exec
|
176
|
+
bundle exec alchemy:upgrade
|
94
177
|
|
95
178
|
|
96
|
-
|
179
|
+
Tips
|
97
180
|
-----
|
98
181
|
|
99
182
|
- Read the guidelines: http://guides.alchemy-cms.com.
|
@@ -113,7 +196,7 @@ Resources
|
|
113
196
|
---------
|
114
197
|
|
115
198
|
* Homepage: <http://alchemy-cms.com>
|
116
|
-
* Live-Demo: <http://demo.alchemy-cms.com> (user: demo, password:
|
199
|
+
* Live-Demo: <http://demo.alchemy-cms.com> (user: demo, password: demo123)
|
117
200
|
* API Documentation: <http://rubydoc.info/github/magiclabs/alchemy_cms>
|
118
201
|
* Issue-Tracker: <https://github.com/magiclabs/alchemy_cms/issues>
|
119
202
|
* Sourcecode: <https://github.com/magiclabs/alchemy_cms>
|
@@ -133,4 +216,4 @@ Authors
|
|
133
216
|
License
|
134
217
|
-------
|
135
218
|
|
136
|
-
* BSD: <https://raw.github.com/magiclabs/alchemy_cms/2.
|
219
|
+
* BSD: <https://raw.github.com/magiclabs/alchemy_cms/2.9-stable/LICENSE>
|
data/alchemy_cms.gemspec
CHANGED
@@ -33,7 +33,6 @@ POST_INSTALL
|
|
33
33
|
s.require_paths = ["lib"]
|
34
34
|
|
35
35
|
s.add_runtime_dependency %q<rails>, ["~> 3.2.13"]
|
36
|
-
s.add_runtime_dependency %q<devise>, ["~> 2.2.3"]
|
37
36
|
s.add_runtime_dependency %q<awesome_nested_set>, ["~> 2.0"]
|
38
37
|
s.add_runtime_dependency %q<acts-as-taggable-on>, ["~> 2.1"]
|
39
38
|
s.add_runtime_dependency %q<declarative_authorization>, ["~> 0.5.7"]
|
@@ -291,7 +291,7 @@ div#filter_bar {
|
|
291
291
|
left: 8px;
|
292
292
|
top: 8px;
|
293
293
|
font-family: 'Alchemy Icons';
|
294
|
-
@extend .icon-tag:before;
|
294
|
+
@extend .alchemy-icon-tag:before;
|
295
295
|
line-height: 8px;
|
296
296
|
}
|
297
297
|
|
@@ -431,7 +431,7 @@ div#pictures_page_list {
|
|
431
431
|
left: $default-padding;
|
432
432
|
top: 2*$default-padding;
|
433
433
|
font-family: 'Alchemy Icons';
|
434
|
-
@extend .icon-tag:before;
|
434
|
+
@extend .alchemy-icon-tag:before;
|
435
435
|
line-height: 6px;
|
436
436
|
}
|
437
437
|
}
|
@@ -199,25 +199,6 @@ div#page_editing_menu {
|
|
199
199
|
padding-right: 1px;
|
200
200
|
}
|
201
201
|
|
202
|
-
div#userinfo {
|
203
|
-
text-align: right;
|
204
|
-
float: right;
|
205
|
-
margin-right: 8px;
|
206
|
-
}
|
207
|
-
|
208
|
-
#userinfo img {
|
209
|
-
position: relative;
|
210
|
-
top: 1px;
|
211
|
-
}
|
212
|
-
|
213
|
-
div#user_list_legend {
|
214
|
-
overflow: auto;
|
215
|
-
padding: 1px 1px 4px;
|
216
|
-
margin-bottom: 5px;
|
217
|
-
border-bottom: 1px solid black;
|
218
|
-
width: 370px;
|
219
|
-
}
|
220
|
-
|
221
202
|
#page_sorting_panel p {
|
222
203
|
margin-top: 1em;
|
223
204
|
}
|
@@ -226,11 +207,6 @@ div.table_right span.tools a.icon_button img {
|
|
226
207
|
left: -1px;
|
227
208
|
}
|
228
209
|
|
229
|
-
#user_edit form {
|
230
|
-
margin: 0;
|
231
|
-
padding: 2*$default-padding;
|
232
|
-
}
|
233
|
-
|
234
210
|
li.even {
|
235
211
|
background-color: #fff;
|
236
212
|
}
|
@@ -277,12 +253,6 @@ ul.list span.right {
|
|
277
253
|
cursor: move;
|
278
254
|
}
|
279
255
|
|
280
|
-
#userinfo p {
|
281
|
-
padding: 0;
|
282
|
-
margin: 0;
|
283
|
-
font-weight: bold;
|
284
|
-
}
|
285
|
-
|
286
256
|
.headline_text_editor {
|
287
257
|
overflow: auto;
|
288
258
|
width: 374px;
|
@@ -498,13 +468,6 @@ input.with_border {
|
|
498
468
|
border: 1px solid silver;
|
499
469
|
}
|
500
470
|
|
501
|
-
input#user_admin {
|
502
|
-
margin: 0 0 0 1px;
|
503
|
-
padding: 0;
|
504
|
-
border-width: 0;
|
505
|
-
border-style: none;
|
506
|
-
}
|
507
|
-
|
508
471
|
#image_edit div {
|
509
472
|
height: 25px;
|
510
473
|
}
|
@@ -433,7 +433,7 @@ div.essence_picture_editor {
|
|
433
433
|
|
434
434
|
.thumbnail_background.missing:before {
|
435
435
|
font-family: 'Alchemy Icons';
|
436
|
-
@extend .icon-pictures:before;
|
436
|
+
@extend .alchemy-icon-pictures:before;
|
437
437
|
font-size: 48px;
|
438
438
|
color: $medium-gray;
|
439
439
|
vertical-align: top;
|
@@ -9,26 +9,26 @@
|
|
9
9
|
font-style: normal;
|
10
10
|
}
|
11
11
|
|
12
|
-
.icon-plus,
|
13
|
-
.icon-minus,
|
14
|
-
.icon-cross,
|
15
|
-
.icon-plus-2,
|
16
|
-
.icon-minus-2,
|
17
|
-
.icon-pencil,
|
18
|
-
.icon-tag,
|
19
|
-
.icon-info,
|
20
|
-
.icon-warning,
|
21
|
-
.icon-checkmark,
|
22
|
-
.icon-ccw,
|
23
|
-
.icon-trash,
|
24
|
-
.icon-cross-2,
|
25
|
-
.icon-pictures,
|
26
|
-
.icon-menu,
|
27
|
-
.icon-magnifying-glass,
|
28
|
-
.icon-fullscreen-exit,
|
29
|
-
.icon-help,
|
30
|
-
.icon-fullscreen,
|
31
|
-
.icon-cog {
|
12
|
+
.alchemy-icon-plus,
|
13
|
+
.alchemy-icon-minus,
|
14
|
+
.alchemy-icon-cross,
|
15
|
+
.alchemy-icon-plus-2,
|
16
|
+
.alchemy-icon-minus-2,
|
17
|
+
.alchemy-icon-pencil,
|
18
|
+
.alchemy-icon-tag,
|
19
|
+
.alchemy-icon-info,
|
20
|
+
.alchemy-icon-warning,
|
21
|
+
.alchemy-icon-checkmark,
|
22
|
+
.alchemy-icon-ccw,
|
23
|
+
.alchemy-icon-trash,
|
24
|
+
.alchemy-icon-cross-2,
|
25
|
+
.alchemy-icon-pictures,
|
26
|
+
.alchemy-icon-menu,
|
27
|
+
.alchemy-icon-magnifying-glass,
|
28
|
+
.alchemy-icon-fullscreen-exit,
|
29
|
+
.alchemy-icon-help,
|
30
|
+
.alchemy-icon-fullscreen,
|
31
|
+
.alchemy-icon-cog {
|
32
32
|
font-family: 'Alchemy Icons';
|
33
33
|
speak: none;
|
34
34
|
font-size: 12px;
|
@@ -45,23 +45,23 @@
|
|
45
45
|
@include inline-block;
|
46
46
|
}
|
47
47
|
|
48
|
-
.icon-plus:before { content: "\e000" }
|
49
|
-
.icon-minus:before { content: "\e001" }
|
50
|
-
.icon-cross:before { content: "\e004" }
|
51
|
-
.icon-plus-2:before { content: "\e005" }
|
52
|
-
.icon-minus-2:before { content: "\e006" }
|
53
|
-
.icon-pencil:before { content: "\e007" }
|
54
|
-
.icon-tag:before { content: "\e034" }
|
55
|
-
.icon-info:before { content: "\e008" }
|
56
|
-
.icon-warning:before { content: "\e009" }
|
57
|
-
.icon-checkmark:before { content: "\e00a" }
|
58
|
-
.icon-ccw:before { content: "\e00b" }
|
59
|
-
.icon-trash:before { content: "\f014" }
|
60
|
-
.icon-cross-2:before { content: "\e00e" }
|
61
|
-
.icon-pictures:before { content: "\e00f" }
|
62
|
-
.icon-menu:before { content: "\e010" }
|
63
|
-
.icon-magnifying-glass:before { content: "\e011" }
|
64
|
-
.icon-fullscreen-exit:before { content: "\e01e" }
|
65
|
-
.icon-help:before { content: "\e00c" }
|
66
|
-
.icon-fullscreen:before { content: "\e01d" }
|
67
|
-
.icon-cog:before { content: "\f013" }
|
48
|
+
.alchemy-icon-plus:before { content: "\e000" }
|
49
|
+
.alchemy-icon-minus:before { content: "\e001" }
|
50
|
+
.alchemy-icon-cross:before { content: "\e004" }
|
51
|
+
.alchemy-icon-plus-2:before { content: "\e005" }
|
52
|
+
.alchemy-icon-minus-2:before { content: "\e006" }
|
53
|
+
.alchemy-icon-pencil:before { content: "\e007" }
|
54
|
+
.alchemy-icon-tag:before { content: "\e034" }
|
55
|
+
.alchemy-icon-info:before { content: "\e008" }
|
56
|
+
.alchemy-icon-warning:before { content: "\e009" }
|
57
|
+
.alchemy-icon-checkmark:before { content: "\e00a" }
|
58
|
+
.alchemy-icon-ccw:before { content: "\e00b" }
|
59
|
+
.alchemy-icon-trash:before { content: "\f014" }
|
60
|
+
.alchemy-icon-cross-2:before { content: "\e00e" }
|
61
|
+
.alchemy-icon-pictures:before { content: "\e00f" }
|
62
|
+
.alchemy-icon-menu:before { content: "\e010" }
|
63
|
+
.alchemy-icon-magnifying-glass:before { content: "\e011" }
|
64
|
+
.alchemy-icon-fullscreen-exit:before { content: "\e01e" }
|
65
|
+
.alchemy-icon-help:before { content: "\e00c" }
|
66
|
+
.alchemy-icon-fullscreen:before { content: "\e01d" }
|
67
|
+
.alchemy-icon-cog:before { content: "\f013" }
|
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
&.add {
|
8
8
|
background: none;
|
9
|
-
@extend .icon-plus-2;
|
9
|
+
@extend .alchemy-icon-plus-2;
|
10
10
|
line-height: 1em;
|
11
11
|
font-size: 19px;
|
12
12
|
}
|
@@ -52,7 +52,7 @@
|
|
52
52
|
|
53
53
|
&.small {
|
54
54
|
background: none;
|
55
|
-
@extend .icon-cross;
|
55
|
+
@extend .alchemy-icon-cross;
|
56
56
|
line-height: 0;
|
57
57
|
}
|
58
58
|
}
|
@@ -212,7 +212,7 @@
|
|
212
212
|
&.search {
|
213
213
|
background: none;
|
214
214
|
padding-top: 2px;
|
215
|
-
@extend .icon-magnifying-glass;
|
215
|
+
@extend .alchemy-icon-magnifying-glass;
|
216
216
|
}
|
217
217
|
|
218
218
|
&.select_all {
|
@@ -245,7 +245,7 @@
|
|
245
245
|
|
246
246
|
&.tag_label {
|
247
247
|
background: none;
|
248
|
-
@extend .icon-tag;
|
248
|
+
@extend .alchemy-icon-tag;
|
249
249
|
}
|
250
250
|
|
251
251
|
&.tag_edit {
|
@@ -280,34 +280,6 @@
|
|
280
280
|
background-position: 0 -136px;
|
281
281
|
}
|
282
282
|
|
283
|
-
&.user {
|
284
|
-
background-position: 0 -104px;
|
285
|
-
|
286
|
-
&.female {
|
287
|
-
background-position: -128px -104px;
|
288
|
-
}
|
289
|
-
}
|
290
|
-
|
291
|
-
&.user_add {
|
292
|
-
background-position: -96px -104px;
|
293
|
-
}
|
294
|
-
|
295
|
-
&.user_delete {
|
296
|
-
background-position: -32px -104px;
|
297
|
-
|
298
|
-
&.female {
|
299
|
-
background-position: -160px -104px;
|
300
|
-
}
|
301
|
-
}
|
302
|
-
|
303
|
-
&.user_edit {
|
304
|
-
background-position: -64px -104px;
|
305
|
-
|
306
|
-
&.female {
|
307
|
-
background-position: -192px -104px;
|
308
|
-
}
|
309
|
-
}
|
310
|
-
|
311
283
|
&.vcard {
|
312
284
|
background-position: -416px -104px;
|
313
285
|
}
|