alchemy_cms 2.6.0.rc5 → 2.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. data/.travis.yml +1 -1
  2. data/Gemfile +2 -1
  3. data/README.md +2 -4
  4. data/alchemy_cms.gemspec +1 -1
  5. data/app/assets/fonts/alchemy/icons.eot +0 -0
  6. data/app/assets/fonts/alchemy/icons.svg +71 -0
  7. data/app/assets/fonts/alchemy/icons.ttf +0 -0
  8. data/app/assets/fonts/alchemy/icons.woff +0 -0
  9. data/app/assets/javascripts/alchemy/alchemy.elements_window.js.coffee +6 -8
  10. data/app/assets/javascripts/alchemy/alchemy.hotkeys.js.coffee +2 -3
  11. data/app/assets/javascripts/alchemy/alchemy.image_cropper.js.coffee +3 -8
  12. data/app/assets/javascripts/alchemy/alchemy.link_overlay.js.coffee +3 -3
  13. data/app/assets/javascripts/alchemy/alchemy.preview_window.js.coffee +19 -9
  14. data/app/assets/javascripts/tiny_mce/plugins/alchemy_link/editor_plugin.js +6 -7
  15. data/app/assets/stylesheets/alchemy/admin.css.scss +0 -1
  16. data/app/assets/stylesheets/alchemy/archive.scss +55 -7
  17. data/app/assets/stylesheets/alchemy/base.scss +8 -144
  18. data/app/assets/stylesheets/alchemy/defaults.scss +1 -1
  19. data/app/assets/stylesheets/alchemy/elements.scss +20 -16
  20. data/app/assets/stylesheets/alchemy/flash.scss +1 -1
  21. data/app/assets/stylesheets/alchemy/form_elements.scss +49 -42
  22. data/app/assets/stylesheets/alchemy/icon-font.css.scss +67 -0
  23. data/app/assets/stylesheets/alchemy/icons.scss +16 -4
  24. data/app/assets/stylesheets/alchemy/jquery-ui.scss +40 -26
  25. data/app/assets/stylesheets/alchemy/menubar.css.scss +1 -1
  26. data/app/assets/stylesheets/alchemy/notices.scss +6 -1
  27. data/app/assets/stylesheets/alchemy/search.scss +3 -2
  28. data/app/assets/stylesheets/alchemy/sitemap.scss +72 -13
  29. data/app/assets/stylesheets/alchemy/tables.scss +31 -24
  30. data/app/assets/stylesheets/alchemy/upload.scss +1 -1
  31. data/app/assets/stylesheets/alchemy/variables.scss +2 -1
  32. data/app/assets/stylesheets/tiny_mce/plugins/inlinepopups/skins/{alchemy → alchemy-tinymce-dialog}/window.css.scss +70 -65
  33. data/app/controllers/alchemy/admin/base_controller.rb +7 -4
  34. data/app/controllers/alchemy/admin/pictures_controller.rb +2 -0
  35. data/app/controllers/alchemy/admin/users_controller.rb +1 -1
  36. data/app/controllers/alchemy/user_sessions_controller.rb +1 -1
  37. data/app/helpers/alchemy/admin/base_helper.rb +161 -60
  38. data/app/helpers/alchemy/admin/pages_helper.rb +4 -1
  39. data/app/helpers/alchemy/elements_block_helper.rb +1 -1
  40. data/app/helpers/alchemy/elements_helper.rb +119 -31
  41. data/app/helpers/alchemy/pages_helper.rb +29 -72
  42. data/app/models/alchemy/attachment.rb +0 -2
  43. data/app/models/alchemy/content.rb +1 -1
  44. data/app/models/alchemy/language.rb +1 -0
  45. data/app/models/alchemy/page.rb +8 -8
  46. data/app/views/alchemy/admin/attachments/_archive_overlay.html.erb +3 -1
  47. data/app/views/alchemy/admin/attachments/_overlay_file_list.html.erb +1 -1
  48. data/app/views/alchemy/admin/attachments/_tag_list.html.erb +25 -27
  49. data/app/views/alchemy/admin/attachments/index.html.erb +4 -1
  50. data/app/views/alchemy/admin/elements/_elements_select.html.erb +6 -6
  51. data/app/views/alchemy/admin/elements/list.js.erb +1 -1
  52. data/app/views/alchemy/admin/pages/_page.html.erb +1 -1
  53. data/app/views/alchemy/admin/pages/_page_for_links.html.erb +1 -1
  54. data/app/views/alchemy/admin/pages/edit.html.erb +4 -2
  55. data/app/views/alchemy/admin/pictures/_archive.html.erb +0 -1
  56. data/app/views/alchemy/admin/pictures/_filter_bar.html.erb +2 -1
  57. data/app/views/alchemy/admin/pictures/_picture.html.erb +5 -0
  58. data/app/views/alchemy/admin/pictures/index.html.erb +1 -0
  59. data/app/views/alchemy/base/500.html.erb +26 -5
  60. data/app/views/alchemy/essences/_essence_picture_tools.html.erb +1 -1
  61. data/app/views/alchemy/essences/_linkable_essence_tools.html.erb +1 -1
  62. data/app/views/alchemy/language_links/_language.html.erb +12 -0
  63. data/app/views/alchemy/language_links/_spacer.html.erb +1 -0
  64. data/config/locales/alchemy.de.yml +7 -3
  65. data/config/locales/alchemy.en.yml +8 -3
  66. data/lib/alchemy/page_layout.rb +1 -1
  67. data/lib/alchemy/tinymce.rb +1 -1
  68. data/lib/alchemy/upgrader.rb +26 -0
  69. data/lib/alchemy/version.rb +1 -1
  70. data/lib/rails/generators/alchemy/scaffold/scaffold_generator.rb +4 -1
  71. data/lib/tasks/ferret.rake +1 -0
  72. data/spec/controllers/admin/users_controller_spec.rb +5 -5
  73. data/spec/features/admin/pages_controller_spec.rb +1 -1
  74. data/spec/helpers/admin/pages_helper_spec.rb +31 -0
  75. data/spec/helpers/pages_helper_spec.rb +60 -72
  76. data/spec/models/content_spec.rb +2 -1
  77. data/spec/models/page_layout_spec.rb +29 -0
  78. data/spec/models/page_spec.rb +33 -1
  79. data/spec/support/alchemy/test_tweaks.rb +2 -6
  80. metadata +34 -12
  81. data/app/assets/fonts/alchemy-icons.eot +0 -0
  82. data/app/assets/fonts/alchemy-icons.svg +0 -54
  83. data/app/assets/fonts/alchemy-icons.ttf +0 -0
  84. data/app/assets/fonts/alchemy-icons.woff +0 -0
  85. data/app/assets/images/alchemy/placeholder.png +0 -0
  86. data/app/assets/stylesheets/alchemy/fonts.scss +0 -46
@@ -79,7 +79,7 @@
79
79
  position: absolute;
80
80
  right: 10px;
81
81
  top: 9px;
82
- background: url('icons.png') -240px 0;
82
+ background: image-url('alchemy/icons.png') -240px 0;
83
83
  }
84
84
 
85
85
  ul {
@@ -8,7 +8,12 @@
8
8
  margin-bottom: 8px;
9
9
  text-align: left;
10
10
 
11
- h2 { margin-top: 0 }
11
+ h1 {
12
+ font-size: 14px;
13
+ margin: 8px 0;
14
+ }
15
+
16
+ h1, h2 { margin-top: 0 }
12
17
 
13
18
  span.icon {
14
19
  position: absolute;
@@ -7,11 +7,12 @@
7
7
  display: none;
8
8
  width: 16px;
9
9
  height: 16px;
10
- @extend .icon-cancel;
10
+ line-height: 16px;
11
+ @extend .icon-cross;
11
12
  position: absolute;
12
13
  right: 8px;
13
14
  top: 7px;
14
- text-decoration: none;
15
+ text-decoration: none !important;
15
16
  }
16
17
 
17
18
  td#tags_tag_list {
@@ -19,7 +19,7 @@ div#sort_panel {
19
19
  }
20
20
 
21
21
  .sitemap_pagename_link {
22
- background-color: #FFFFFF;
22
+ background-color: #fff;
23
23
  color: black;
24
24
  display: block;
25
25
  padding-left: 4px;
@@ -30,10 +30,6 @@ div#sort_panel {
30
30
  color: #656565;
31
31
  }
32
32
 
33
- &.odd {
34
- background-color: #fff;
35
- }
36
-
37
33
  :hover {
38
34
  text-decoration: underline;
39
35
 
@@ -43,7 +39,7 @@ div#sort_panel {
43
39
  height: 16px;
44
40
  float: left;
45
41
  margin-right: 4px;
46
- background: url('icons.png') -160px -168px;
42
+ background: image-url('alchemy/icons.png') -160px -168px;
47
43
  margin-top: 4px;
48
44
  }
49
45
  }
@@ -97,7 +93,7 @@ div#sort_panel {
97
93
  }
98
94
 
99
95
  &:hover .sitemap_pagename_link {
100
- background-color: #fdffdf;
96
+ background-color: $light_yellow;
101
97
  }
102
98
  }
103
99
 
@@ -179,6 +175,11 @@ ul#sitemap {
179
175
  li {
180
176
  padding-left: 0;
181
177
 
178
+ .selected_page a {
179
+ background-color: $linked-color;
180
+ color: $dark-gray;
181
+ }
182
+
182
183
  li {
183
184
  padding-left: 22px;
184
185
  padding-right: 0;
@@ -204,16 +205,15 @@ ul.list li .sitemap_toolrow {
204
205
 
205
206
  ul#sitemap .sitemap_sitename,
206
207
  ul.list .sitemap_sitename {
207
- background-color: #EDEDED;
208
208
  height: 22px;
209
209
  line-height: 22px;
210
210
  overflow: hidden;
211
211
  }
212
212
 
213
213
  div.page_infos {
214
- @extend .top-rounded-border;
215
- background-color: #FFFFFF;
216
- border-left: 1px solid #EDEDED;
214
+ @extend .right-rounded-border;
215
+ background-color: #fff;
216
+ border-left: 1px solid $light-gray;
217
217
  float: right;
218
218
  height: 20px;
219
219
  padding: 1px;
@@ -231,7 +231,7 @@ div.page_infos {
231
231
  span.page_status {
232
232
  width: 16px;
233
233
  height: 16px;
234
- background-image: url('icons.png');
234
+ background-image: image-url('alchemy/icons.png');
235
235
  background-repeat: no-repeat;
236
236
  float: left;
237
237
  margin: 2px 2px 0 4px;
@@ -268,7 +268,7 @@ span.page_status {
268
268
  float: left;
269
269
  width: 16px;
270
270
  height: 16px;
271
- background: url('icons.png') no-repeat 0 -40px;
271
+ background: image-url('alchemy/icons.png') no-repeat 0 -40px;
272
272
  position: relative;
273
273
  cursor: help;
274
274
  }
@@ -368,3 +368,62 @@ select#language_tree_select {
368
368
  display: none;
369
369
  padding-left: 4*$default-padding;
370
370
  }
371
+
372
+ .ui-dialog-content ul#sitemap {
373
+ margin: 0;
374
+ padding: 0 8px 8px 0;
375
+
376
+ .site_status { cursor: default }
377
+
378
+ li li.selectboxit-option {
379
+ padding-left: 8px;
380
+ padding-right: 8px;
381
+ }
382
+
383
+ .selectboxit-options {
384
+ right: 0;
385
+ }
386
+
387
+ .close_elements_from_page_selector {
388
+ position: absolute;
389
+ right: 4px;
390
+ top: 12px;
391
+ font-size: 16px;
392
+ width: 16px;
393
+ height: 16px;
394
+ cursor: pointer;
395
+ @extend .icon-cross;
396
+ }
397
+ }
398
+
399
+ .show_elements_to_link {
400
+ background: image-url('alchemy/icons.png') no-repeat -510px -69px;
401
+ }
402
+
403
+ .elements_from_page_selector {
404
+ width: 154px;
405
+ }
406
+
407
+ .elements_for_page {
408
+ position: absolute;
409
+ right: 32px;
410
+ top: -7px;
411
+ z-index: 15;
412
+ background-color: white;
413
+ width: 280px;
414
+ height: 33px;
415
+ padding: $default-padding;
416
+ border: $default-border;
417
+ @include box-shadow(#9ea09f 0px 0px 4px);
418
+ @extend .rounded-border;
419
+
420
+ .spinner {
421
+ top: 17px !important;
422
+ left: 50% !important;
423
+ margin-left: 4px;
424
+ }
425
+
426
+ .alchemy_selectbox {
427
+ width: 252px;
428
+ }
429
+ }
@@ -192,18 +192,6 @@ td.heading {
192
192
  background-color: $light_yellow;
193
193
  }
194
194
 
195
- td.file_type {
196
- width: 130px;
197
- }
198
-
199
- td.file_size {
200
- width: 80px;
201
- }
202
-
203
- td.date {
204
- width: 150px;
205
- }
206
-
207
195
  td, th {
208
196
 
209
197
  &.center, &.boolean {
@@ -215,16 +203,39 @@ td, th {
215
203
  }
216
204
  }
217
205
 
218
- td.login {
219
- width: 100px;
220
- }
206
+ td {
221
207
 
222
- td.email {
223
- width: 270px;
224
- }
208
+ &.file_name {
209
+ word-break: break-all;
210
+ }
211
+
212
+ &.file_type {
213
+ width: 130px;
214
+ }
215
+
216
+ &.file_size {
217
+ width: 80px;
218
+ }
225
219
 
226
- td.role {
227
- width: 10%;
220
+ &.date {
221
+ width: 150px;
222
+ }
223
+
224
+ &.login {
225
+ width: 100px;
226
+ }
227
+
228
+ &.email {
229
+ width: 270px;
230
+ }
231
+
232
+ &.role {
233
+ width: 10%;
234
+ }
235
+
236
+ &.rights {
237
+ width: 60px;
238
+ }
228
239
  }
229
240
 
230
241
  th.count, td.count {
@@ -233,10 +244,6 @@ th.count, td.count {
233
244
  padding-right: 16px;
234
245
  }
235
246
 
236
- td.rights {
237
- width: 60px;
238
- }
239
-
240
247
  table.window_form {
241
248
  width: 100%;
242
249
  }
@@ -69,7 +69,7 @@ a#uploadswitcher, a.underline {
69
69
  }
70
70
 
71
71
  #uploadProgressContainer .progressCancel {
72
- background: #f1f1f1 url('icons.png') no-repeat -1px -72px;
72
+ background: #f1f1f1 image-url('alchemy/icons.png') no-repeat -1px -72px;
73
73
  border: 1px solid #9e9e9e;
74
74
  @extend .rounded-border;
75
75
  width: 15px;
@@ -7,6 +7,7 @@ $medium-gray: #E3E3E3;
7
7
  $dark-gray: #666666;
8
8
  $light_yellow: #ffffdc;
9
9
  $linked-color: #ffd77a;
10
+ $white: #f2f2f2;
10
11
 
11
12
  $default-padding: 4px;
12
13
  $default-margin: $default-padding;
@@ -26,7 +27,7 @@ $button-bg-color: #F7F7F7;
26
27
  $button-hover-bg-color: #e6f0f5;
27
28
  $button-border-color: #9A9A9A;
28
29
  $button-hover-border-color: #888888;
29
- $button-text-shadow: #f2f2f2 1px 1px 0;
30
+ $button-text-shadow: $white 1px 1px 0;
30
31
 
31
32
  $sb-base-color: $light-gray;
32
33
  $sb-border-radius: $default-border-radius;
@@ -2,7 +2,7 @@
2
2
 
3
3
  /* Reset */
4
4
 
5
- .alchemy, .alchemy div, .alchemy span, .alchemy a {
5
+ .alchemy-tinymce-dialog, .alchemy-tinymce-dialog div, .alchemy-tinymce-dialog span, .alchemy-tinymce-dialog a {
6
6
  vertical-align: baseline;
7
7
  text-align: left;
8
8
  position: absolute;
@@ -22,14 +22,14 @@
22
22
 
23
23
  /* General */
24
24
 
25
- .alchemy {
25
+ .alchemy-tinymce-dialog {
26
26
  position: absolute;
27
27
  direction: ltr;
28
28
  border: $default-border;
29
29
  @extend .rounded-border;
30
30
  }
31
31
 
32
- .alchemy .mceWrapper {
32
+ .alchemy-tinymce-dialog .mceWrapper {
33
33
  position: static;
34
34
  }
35
35
 
@@ -41,7 +41,7 @@
41
41
  height: 100%
42
42
  }
43
43
 
44
- .alchemy .mcePlaceHolder {
44
+ .alchemy-tinymce-dialog .mcePlaceHolder {
45
45
  border: 1px solid #000;
46
46
  background: #888;
47
47
  top: 0;
@@ -49,7 +49,7 @@
49
49
  @include opacity(0.5);
50
50
  }
51
51
 
52
- .alchemy_modalBlocker {
52
+ .alchemy-tinymce-dialog_modalBlocker {
53
53
  position: fixed;
54
54
  left: 0;
55
55
  top: 0;
@@ -62,17 +62,17 @@
62
62
 
63
63
  /* Top */
64
64
 
65
- .alchemy .mceTop, .alchemy .mceTop div {
65
+ .alchemy-tinymce-dialog .mceTop, .alchemy-tinymce-dialog .mceTop div {
66
66
  top: 0;
67
67
  width: 100%;
68
68
  height: 31px;
69
69
  }
70
70
 
71
- .alchemy .mceTop .mceLeft {
71
+ .alchemy-tinymce-dialog .mceTop .mceLeft {
72
72
  width: 0px;
73
73
  }
74
74
 
75
- .alchemy .mceTop .mceCenter,
75
+ .alchemy-tinymce-dialog .mceTop .mceCenter,
76
76
  a.mceMove {
77
77
  width: 100%;
78
78
  height: 31px;
@@ -80,13 +80,13 @@ a.mceMove {
80
80
  color: $text-color;
81
81
  }
82
82
 
83
- .alchemy .mceTop .mceRight {
83
+ .alchemy-tinymce-dialog .mceTop .mceRight {
84
84
  right: 0;
85
85
  width: 0px;
86
86
  height: 32px;
87
87
  }
88
88
 
89
- .alchemy .mceTop span {
89
+ .alchemy-tinymce-dialog .mceTop span {
90
90
  width: 100%;
91
91
  text-align: left;
92
92
  vertical-align: middle;
@@ -98,17 +98,17 @@ a.mceMove {
98
98
 
99
99
  /* Middle */
100
100
 
101
- .alchemy .mceMiddle, .alchemy .mceMiddle div {
101
+ .alchemy-tinymce-dialog .mceMiddle, .alchemy-tinymce-dialog .mceMiddle div {
102
102
  top: 0
103
103
  }
104
104
 
105
- .alchemy .mceMiddle {
105
+ .alchemy-tinymce-dialog .mceMiddle {
106
106
  width: 100%;
107
107
  height: 100%;
108
108
  /*clip: rect(23px auto auto auto)*/
109
109
  }
110
110
 
111
- .alchemy .mceMiddle .mceLeft {
111
+ .alchemy-tinymce-dialog .mceMiddle .mceLeft {
112
112
  left: 0;
113
113
  width: 0;
114
114
  height: 100%;
@@ -116,7 +116,7 @@ a.mceMove {
116
116
  z-index: 1;
117
117
  }
118
118
 
119
- .alchemy .mceMiddle span {
119
+ .alchemy-tinymce-dialog .mceMiddle span {
120
120
  top: 31px;
121
121
  left: 0px;
122
122
  width: 100%;
@@ -124,7 +124,7 @@ a.mceMove {
124
124
  background: #FFF
125
125
  }
126
126
 
127
- .alchemy .mceMiddle .mceRight {
127
+ .alchemy-tinymce-dialog .mceMiddle .mceRight {
128
128
  right: 0;
129
129
  width: 0px;
130
130
  height: 100%;
@@ -134,57 +134,57 @@ a.mceMove {
134
134
 
135
135
  /* Bottom */
136
136
 
137
- .alchemy .mceBottom, .alchemy .mceBottom div {
137
+ .alchemy-tinymce-dialog .mceBottom, .alchemy-tinymce-dialog .mceBottom div {
138
138
  height: 0
139
139
  }
140
140
 
141
- .alchemy .mceBottom {
141
+ .alchemy-tinymce-dialog .mceBottom {
142
142
  left: 0;
143
143
  bottom: 0;
144
144
  width: 100%
145
145
  }
146
146
 
147
- .alchemy .mceBottom div {
147
+ .alchemy-tinymce-dialog .mceBottom div {
148
148
  top: 0
149
149
  }
150
150
 
151
- .alchemy .mceBottom .mceLeft {
151
+ .alchemy-tinymce-dialog .mceBottom .mceLeft {
152
152
  left: 0;
153
153
  width: 0px;
154
154
  }
155
155
 
156
- .alchemy .mceBottom .mceCenter {
156
+ .alchemy-tinymce-dialog .mceBottom .mceCenter {
157
157
  width: 100%;
158
158
  left: 0;
159
159
  background-color: white;
160
160
  }
161
161
 
162
- .alchemy .mceBottom .mceRight {
162
+ .alchemy-tinymce-dialog .mceBottom .mceRight {
163
163
  right: 0;
164
164
  width: 0px;
165
165
  }
166
166
 
167
- .alchemy .mceBottom span {
167
+ .alchemy-tinymce-dialog .mceBottom span {
168
168
  display: none
169
169
  }
170
170
 
171
- .alchemy .mceStatusbar .mceBottom, .alchemy .mceStatusbar .mceBottom div {
171
+ .alchemy-tinymce-dialog .mceStatusbar .mceBottom, .alchemy-tinymce-dialog .mceStatusbar .mceBottom div {
172
172
  height: 23px
173
173
  }
174
174
 
175
- .alchemy .mceStatusbar .mceBottom .mceLeft {
175
+ .alchemy-tinymce-dialog .mceStatusbar .mceBottom .mceLeft {
176
176
 
177
177
  }
178
178
 
179
- .alchemy .mceStatusbar .mceBottom .mceCenter {
179
+ .alchemy-tinymce-dialog .mceStatusbar .mceBottom .mceCenter {
180
180
 
181
181
  }
182
182
 
183
- .alchemy .mceStatusbar .mceBottom .mceRight {
183
+ .alchemy-tinymce-dialog .mceStatusbar .mceBottom .mceRight {
184
184
 
185
185
  }
186
186
 
187
- .alchemy .mceStatusbar .mceBottom span {
187
+ .alchemy-tinymce-dialog .mceStatusbar .mceBottom span {
188
188
  display: block;
189
189
  left: 7px;
190
190
  font: $default-font-style;
@@ -193,37 +193,42 @@ a.mceMove {
193
193
 
194
194
  /* Actions */
195
195
 
196
- .alchemy a {
196
+ .alchemy-tinymce-dialog a {
197
197
  width: 29px;
198
198
  height: 16px;
199
199
  }
200
200
 
201
- .alchemy .mceClose {
202
- @extend .icon-cancel;
201
+ .alchemy-tinymce-dialog .mceClose {
202
+ @extend .icon-cross;
203
203
  width: 16px;
204
204
  height: 16px;
205
205
  top: 7px;
206
206
  right: 8px;
207
207
  text-align: center;
208
- &:before { font-size: 16px }
208
+
209
+ &:before {
210
+ font-size: 16px;
211
+ position: relative;
212
+ top: 2px;
213
+ }
209
214
  }
210
215
 
211
- .alchemy .mceMin {
216
+ .alchemy-tinymce-dialog .mceMin {
212
217
  display: none;
213
218
  right: 68px;
214
219
  }
215
220
 
216
- .alchemy .mceMed {
221
+ .alchemy-tinymce-dialog .mceMed {
217
222
  display: none;
218
223
  right: 28px;
219
224
  width: 16px;
220
225
  height: 16px;
221
- @extend .icon-exit-fullscreen;
226
+ @extend .icon-fullscreen-exit;
222
227
  top: 6px;
223
228
  padding-top: 3px;
224
229
  }
225
230
 
226
- .alchemy .mceMax {
231
+ .alchemy-tinymce-dialog .mceMax {
227
232
  display: none;
228
233
  right: 28px;
229
234
  width: 16px;
@@ -233,7 +238,7 @@ a.mceMove {
233
238
  padding-top: 3px;
234
239
  }
235
240
 
236
- .alchemy .mceClose, .alchemy .mceMin, .alchemy .mceMed, .alchemy .mceMax {
241
+ .alchemy-tinymce-dialog .mceClose, .alchemy-tinymce-dialog .mceMin, .alchemy-tinymce-dialog .mceMed, .alchemy-tinymce-dialog .mceMax {
237
242
 
238
243
  &:hover {
239
244
  border: 1px solid $button-hover-border-color;
@@ -244,35 +249,35 @@ a.mceMove {
244
249
  }
245
250
  }
246
251
 
247
- .alchemy .mceClose {
252
+ .alchemy-tinymce-dialog .mceClose {
248
253
  &:hover {
249
254
  top: 6px;
250
255
  right: 7px;
251
256
  }
252
257
  }
253
258
 
254
- .alchemy .mceMax, .alchemy .mceMed {
259
+ .alchemy-tinymce-dialog .mceMax, .alchemy-tinymce-dialog .mceMed {
255
260
  &:hover {
256
261
  top: 5px;
257
262
  right: 27px;
258
263
  }
259
264
  }
260
265
 
261
- .alchemy .mceMove {
266
+ .alchemy-tinymce-dialog .mceMove {
262
267
  display: none;
263
268
  cursor: move;
264
269
  height: 31px;
265
270
  width: 100%;
266
271
  }
267
272
 
268
- .alchemy .mceMovable .mceMove {
273
+ .alchemy-tinymce-dialog .mceMovable .mceMove {
269
274
  display: block;
270
275
  right: 0;
271
276
  }
272
277
 
273
278
  /* Resize */
274
279
 
275
- .alchemy .mceResize {
280
+ .alchemy-tinymce-dialog .mceResize {
276
281
  top: auto;
277
282
  left: auto;
278
283
  display: none;
@@ -281,31 +286,31 @@ a.mceMove {
281
286
  background: transparent no-repeat 0 -75px;
282
287
  }
283
288
 
284
- .alchemy .mceResizable .mceResize {
289
+ .alchemy-tinymce-dialog .mceResizable .mceResize {
285
290
  display: block
286
291
  }
287
292
 
288
- .alchemy .mceResizable .mceMin, .alchemy .mceMax {
293
+ .alchemy-tinymce-dialog .mceResizable .mceMin, .alchemy-tinymce-dialog .mceMax {
289
294
  display: none
290
295
  }
291
296
 
292
- .alchemy .mceMinimizable .mceMin {
297
+ .alchemy-tinymce-dialog .mceMinimizable .mceMin {
293
298
  display: block
294
299
  }
295
300
 
296
- .alchemy .mceMaximizable .mceMax {
301
+ .alchemy-tinymce-dialog .mceMaximizable .mceMax {
297
302
  display: block
298
303
  }
299
304
 
300
- .alchemy .mceMaximized .mceMed {
305
+ .alchemy-tinymce-dialog .mceMaximized .mceMed {
301
306
  display: block
302
307
  }
303
308
 
304
- .alchemy .mceMaximized .mceMax {
309
+ .alchemy-tinymce-dialog .mceMaximized .mceMax {
305
310
  display: none
306
311
  }
307
312
 
308
- .alchemy a.mceResizeN {
313
+ .alchemy-tinymce-dialog a.mceResizeN {
309
314
  top: 0;
310
315
  left: 0;
311
316
  width: 100%;
@@ -313,19 +318,19 @@ a.mceMove {
313
318
  height: 4px;
314
319
  }
315
320
 
316
- .alchemy a.mceResizeNW {
321
+ .alchemy-tinymce-dialog a.mceResizeNW {
317
322
  top: 0;
318
323
  left: 0;
319
324
  cursor: nw-resize
320
325
  }
321
326
 
322
- .alchemy a.mceResizeNE {
327
+ .alchemy-tinymce-dialog a.mceResizeNE {
323
328
  top: 0;
324
329
  right: 0;
325
330
  cursor: ne-resize
326
331
  }
327
332
 
328
- .alchemy a.mceResizeW {
333
+ .alchemy-tinymce-dialog a.mceResizeW {
329
334
  top: 0;
330
335
  left: 0;
331
336
  height: 100%;
@@ -333,7 +338,7 @@ a.mceMove {
333
338
  width: 4px;
334
339
  }
335
340
 
336
- .alchemy a.mceResizeE {
341
+ .alchemy-tinymce-dialog a.mceResizeE {
337
342
  top: 0;
338
343
  right: 0;
339
344
  height: 100%;
@@ -341,7 +346,7 @@ a.mceMove {
341
346
  width: 4px;
342
347
  }
343
348
 
344
- .alchemy a.mceResizeS {
349
+ .alchemy-tinymce-dialog a.mceResizeS {
345
350
  bottom: 0;
346
351
  left: 0;
347
352
  width: 100%;
@@ -349,13 +354,13 @@ a.mceMove {
349
354
  height: 4px;
350
355
  }
351
356
 
352
- .alchemy a.mceResizeSW {
357
+ .alchemy-tinymce-dialog a.mceResizeSW {
353
358
  bottom: 0;
354
359
  left: 0;
355
360
  cursor: sw-resize
356
361
  }
357
362
 
358
- .alchemy a.mceResizeSE {
363
+ .alchemy-tinymce-dialog a.mceResizeSE {
359
364
  bottom: 1px;
360
365
  right: 1px;
361
366
  cursor: se-resize;
@@ -366,7 +371,7 @@ a.mceMove {
366
371
 
367
372
  /* Alert/Confirm */
368
373
 
369
- .alchemy .mceButton {
374
+ .alchemy-tinymce-dialog .mceButton {
370
375
  @extend %button-defaults;
371
376
  bottom: 10px;
372
377
  // width: 80px;
@@ -377,14 +382,14 @@ a.mceMove {
377
382
  outline: 0;
378
383
  }
379
384
 
380
- .alchemy .mceMiddle .mceIcon {
385
+ .alchemy-tinymce-dialog .mceMiddle .mceIcon {
381
386
  left: 15px;
382
387
  top: 35px;
383
388
  width: 16px;
384
389
  height: 16px;
385
390
  }
386
391
 
387
- .alchemy .mceAlert .mceMiddle span, .alchemy .mceConfirm .mceMiddle span {
392
+ .alchemy-tinymce-dialog .mceAlert .mceMiddle span, .alchemy-tinymce-dialog .mceConfirm .mceMiddle span {
388
393
  background: transparent;
389
394
  left: 8px;
390
395
  top: 35px;
@@ -395,35 +400,35 @@ a.mceMove {
395
400
  white-space: normal
396
401
  }
397
402
 
398
- .alchemy a:hover {
403
+ .alchemy-tinymce-dialog a:hover {
399
404
  font-weight: normal;
400
405
  }
401
406
 
402
- .alchemy .mceAlert .mceMiddle, .alchemy .mceConfirm .mceMiddle {
407
+ .alchemy-tinymce-dialog .mceAlert .mceMiddle, .alchemy-tinymce-dialog .mceConfirm .mceMiddle {
403
408
  background: $light-gray;
404
409
  }
405
410
 
406
- .alchemy .mceAlert .mceOk {
411
+ .alchemy-tinymce-dialog .mceAlert .mceOk {
407
412
  left: 50%;
408
413
  top: auto;
409
414
  margin-left: -40px
410
415
  }
411
416
 
412
- .alchemy .mceAlert .mceIcon {
417
+ .alchemy-tinymce-dialog .mceAlert .mceIcon {
413
418
  background: image-url("alchemy/icons.png") 0 -88px;
414
419
  }
415
420
 
416
- .alchemy .mceConfirm .mceOk {
421
+ .alchemy-tinymce-dialog .mceConfirm .mceOk {
417
422
  left: 50%;
418
423
  top: auto;
419
424
  margin-left: -90px
420
425
  }
421
426
 
422
- .alchemy .mceConfirm .mceCancel {
427
+ .alchemy-tinymce-dialog .mceConfirm .mceCancel {
423
428
  left: 50%;
424
429
  top: auto
425
430
  }
426
431
 
427
- .alchemy .mceConfirm .mceIcon {
432
+ .alchemy-tinymce-dialog .mceConfirm .mceIcon {
428
433
  background: image-url("alchemy/icons.png") 0 -88px;
429
434
  }