alchemy_cms 2.3.2 → 2.4.beta2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. data/.gitignore +1 -2
  2. data/.travis.yml +1 -5
  3. data/Gemfile +4 -4
  4. data/README.md +22 -15
  5. data/alchemy_cms.gemspec +38 -38
  6. data/app/assets/javascripts/alchemy/alchemy.base.js +2 -2
  7. data/app/assets/javascripts/alchemy/alchemy.buttons.js.coffee +31 -0
  8. data/app/assets/javascripts/alchemy/alchemy.dragndrop.js +1 -1
  9. data/app/assets/javascripts/alchemy/alchemy.elements_window.js +24 -15
  10. data/app/assets/javascripts/alchemy/alchemy.gui.js.coffee +9 -3
  11. data/app/assets/javascripts/alchemy/alchemy.jquery_loader.js +2 -2
  12. data/app/assets/javascripts/alchemy/alchemy.js +1 -0
  13. data/app/assets/javascripts/alchemy/alchemy.menubar.js +4 -12
  14. data/app/assets/javascripts/alchemy/alchemy.onload.js.coffee +32 -0
  15. data/app/assets/javascripts/alchemy/alchemy.windows.js +4 -4
  16. data/app/assets/stylesheets/alchemy/_defaults.scss +0 -1
  17. data/app/assets/stylesheets/alchemy/alchemy.css +2 -1
  18. data/app/assets/stylesheets/alchemy/base.css.scss +2 -54
  19. data/app/assets/stylesheets/alchemy/elements.css.scss +8 -5
  20. data/app/assets/stylesheets/alchemy/errors.css.scss +51 -0
  21. data/app/assets/stylesheets/alchemy/flash.css.scss +0 -2
  22. data/app/assets/stylesheets/alchemy/form_elements.css.scss +31 -75
  23. data/app/assets/stylesheets/alchemy/icons.css.scss +5 -5
  24. data/app/assets/stylesheets/alchemy/menubar.css.scss +0 -2
  25. data/app/assets/stylesheets/alchemy/sitemap.css.scss +0 -1
  26. data/app/assets/stylesheets/alchemy/tables.css.scss +3 -1
  27. data/app/controllers/alchemy/admin/base_controller.rb +19 -12
  28. data/app/controllers/alchemy/admin/elements_controller.rb +52 -24
  29. data/app/controllers/alchemy/admin/pages_controller.rb +11 -5
  30. data/app/controllers/alchemy/admin/resources_controller.rb +3 -4
  31. data/app/controllers/alchemy/admin/users_controller.rb +1 -0
  32. data/app/controllers/alchemy/base_controller.rb +34 -8
  33. data/app/controllers/alchemy/pictures_controller.rb +16 -1
  34. data/app/controllers/alchemy/user_sessions_controller.rb +6 -1
  35. data/app/helpers/alchemy/base_helper.rb +14 -0
  36. data/app/helpers/alchemy/elements_helper.rb +10 -5
  37. data/app/helpers/alchemy/pages_helper.rb +1 -2
  38. data/app/helpers/alchemy/url_helper.rb +43 -24
  39. data/app/models/alchemy/element.rb +23 -16
  40. data/app/models/alchemy/page.rb +25 -14
  41. data/app/models/alchemy/picture.rb +24 -0
  42. data/app/views/alchemy/admin/contents/create.js.erb +1 -1
  43. data/app/views/alchemy/admin/elements/_new_element_form.html.erb +1 -1
  44. data/app/views/alchemy/admin/elements/create.js.erb +11 -3
  45. data/app/views/alchemy/admin/elements/fold.js.erb +1 -1
  46. data/app/views/alchemy/admin/elements/new.html.erb +1 -1
  47. data/app/views/alchemy/admin/elements/update.js.erb +1 -1
  48. data/app/views/alchemy/admin/essence_pictures/crop.html.erb +1 -1
  49. data/app/views/alchemy/admin/languages/_form.html.erb +1 -1
  50. data/app/views/alchemy/admin/pages/_new_page_form.html.erb +1 -1
  51. data/app/views/alchemy/admin/pages/_page.html.erb +1 -1
  52. data/app/views/alchemy/admin/pages/configure.html.erb +10 -6
  53. data/app/views/alchemy/admin/pages/configure_external.html.erb +1 -1
  54. data/app/views/alchemy/admin/pages/edit.html.erb +1 -2
  55. data/app/views/alchemy/admin/pages/new.html.erb +2 -2
  56. data/app/views/alchemy/admin/pages/update.js.erb +10 -2
  57. data/app/views/alchemy/admin/partials/_sub_navigation_tab.html.erb +5 -5
  58. data/app/views/alchemy/admin/pictures/_filter_bar.html.erb +2 -1
  59. data/app/views/alchemy/admin/pictures/_picture.html.erb +2 -2
  60. data/app/views/alchemy/admin/pictures/_picture_to_assign.html.erb +2 -1
  61. data/app/views/alchemy/admin/pictures/show_in_window.html.erb +3 -2
  62. data/app/views/alchemy/admin/resources/_form.html.erb +1 -1
  63. data/app/views/alchemy/admin/users/_table.html.erb +4 -4
  64. data/app/views/alchemy/admin/users/edit.html.erb +1 -1
  65. data/app/views/alchemy/admin/users/new.html.erb +1 -1
  66. data/app/views/alchemy/base/error_notice.js.erb +1 -1
  67. data/app/views/alchemy/base/remote_errors.js.erb +2 -3
  68. data/app/views/alchemy/essences/_essence_picture_editor.html.erb +10 -7
  69. data/app/views/alchemy/essences/_essence_picture_view.html.erb +24 -21
  70. data/app/views/layouts/alchemy/admin.html.erb +9 -31
  71. data/bin/alchemy +20 -24
  72. data/config/alchemy/config.yml +6 -0
  73. data/config/alchemy/page_layouts.yml +2 -0
  74. data/config/authorization_rules.rb +1 -1
  75. data/config/locales/alchemy.de.yml +3 -0
  76. data/config/locales/alchemy.en.yml +4 -1
  77. data/db/migrate/20121026100815_alchemy_two_point_three.rb +312 -0
  78. data/lib/alchemy/mount_point.rb +9 -3
  79. data/lib/alchemy/page_layout.rb +89 -73
  80. data/lib/alchemy/version.rb +1 -1
  81. data/lib/rails/generators/alchemy/deploy_script/deploy_script_generator.rb +45 -12
  82. data/lib/rails/generators/alchemy/deploy_script/templates/deploy.rb.tt +3 -1
  83. data/lib/rails/generators/alchemy/essence/essence_generator.rb +51 -0
  84. data/lib/rails/generators/alchemy/essence/templates/editor.html.erb +18 -0
  85. data/lib/rails/generators/alchemy/essence/templates/view.html.erb +2 -0
  86. data/lib/rails/templates/alchemy.rb +1 -1
  87. data/lib/tasks/install.rake +57 -2
  88. data/spec/controllers/admin/elements_controller_spec.rb +170 -22
  89. data/spec/controllers/admin/trash_controller_spec.rb +1 -1
  90. data/spec/controllers/admin/users_controller_spec.rb +36 -0
  91. data/spec/controllers/base_controller_spec.rb +12 -1
  92. data/spec/controllers/elements_controller_spec.rb +17 -13
  93. data/spec/controllers/pictures_controller_spec.rb +4 -4
  94. data/spec/dummy/config/application.rb +1 -1
  95. data/spec/dummy/db/migrate/20121026100815_alchemy_two_point_three.rb +312 -0
  96. data/spec/dummy/db/migrate/20121026104128_create_events.rb +19 -0
  97. data/spec/dummy/db/schema.rb +1 -1
  98. data/spec/factories.rb +0 -1
  99. data/spec/helpers/base_helper_spec.rb +48 -0
  100. data/spec/helpers/elements_helper_spec.rb +14 -3
  101. data/spec/helpers/url_helper_spec.rb +8 -3
  102. data/spec/integration/picture_security_spec.rb +35 -0
  103. data/spec/integration/translation_integration_spec.rb +6 -5
  104. data/spec/models/element_spec.rb +5 -5
  105. data/spec/models/page_layout_spec.rb +10 -16
  106. data/spec/models/page_spec.rb +25 -2
  107. data/spec/models/picture_spec.rb +24 -2
  108. data/spec/routing_spec.rb +115 -115
  109. data/spec/support/alchemy/specs_helpers.rb +4 -4
  110. data/{app/assets/images/alchemy → vendor/assets/images}/Jcrop.gif +0 -0
  111. data/vendor/assets/javascripts/jquery_plugins/jquery.Jcrop.min.js +19 -243
  112. data/vendor/assets/javascripts/jquery_plugins/jquery.selectboxit.min.js +1 -0
  113. data/vendor/assets/javascripts/jquery_plugins/jquery.ui.tabspaging.js +6 -6
  114. data/vendor/assets/stylesheets/jquery.Jcrop.min.css +28 -0
  115. metadata +48 -82
  116. data/app/assets/javascripts/alchemy/alchemy.buttons.js +0 -50
  117. data/app/assets/stylesheets/alchemy/jquery.Jcrop.css.scss +0 -54
  118. data/app/helpers/alchemy/pictures_helper.rb +0 -19
  119. data/db/migrate/20100607143125_create_pages.rb +0 -34
  120. data/db/migrate/20100607144254_create_elements.rb +0 -20
  121. data/db/migrate/20100607145256_create_contents.rb +0 -18
  122. data/db/migrate/20100607145719_create_users.rb +0 -32
  123. data/db/migrate/20100607150611_create_pictures.rb +0 -16
  124. data/db/migrate/20100607150812_create_attachments.rb +0 -16
  125. data/db/migrate/20100607153647_create_folded_pages.rb +0 -13
  126. data/db/migrate/20100607161345_create_essence_texts.rb +0 -19
  127. data/db/migrate/20100607162339_create_elements_pages.rb +0 -12
  128. data/db/migrate/20100607193638_create_essence_pictures.rb +0 -23
  129. data/db/migrate/20100607193646_create_essence_richtexts.rb +0 -16
  130. data/db/migrate/20100607193653_create_essence_htmls.rb +0 -13
  131. data/db/migrate/20100609111653_create_essence_dates.rb +0 -13
  132. data/db/migrate/20100609111809_create_essence_files.rb +0 -15
  133. data/db/migrate/20100609111821_create_essence_flashes.rb +0 -16
  134. data/db/migrate/20100609111837_create_essence_videos.rb +0 -18
  135. data/db/migrate/20100616150753_create_essence_audios.rb +0 -17
  136. data/db/migrate/20100812085225_add_crop_from_and_crop_size_to_essence_pictures.rb +0 -11
  137. data/db/migrate/20100909140701_change_essence_htmls_source_column_type.rb +0 -9
  138. data/db/migrate/20101109150312_alter_pages_visible_column_default.rb +0 -9
  139. data/db/migrate/20101109151812_create_languages.rb +0 -19
  140. data/db/migrate/20101216151419_add_language_id_to_pages.rb +0 -27
  141. data/db/migrate/20101216155216_add_index_to_languages.rb +0 -9
  142. data/db/migrate/20101216173323_add_default_to_languages.rb +0 -9
  143. data/db/migrate/20101218130049_add_urlname_index_to_pages.rb +0 -9
  144. data/db/migrate/20110115123343_remove_css_class_default_from_essence_pictures.rb +0 -11
  145. data/db/migrate/20110224105120_change_pages_visible_default.rb +0 -11
  146. data/db/migrate/20110228182659_remove_default_page_layout_from_pages.rb +0 -11
  147. data/db/migrate/20110414163140_remove_display_name_from_elements.rb +0 -11
  148. data/db/migrate/20110511100516_rename_essence_texts_title_to_link_title.rb +0 -9
  149. data/db/migrate/20110529130429_create_cells.rb +0 -14
  150. data/db/migrate/20110529130500_add_cell_id_to_elements.rb +0 -11
  151. data/db/migrate/20110530102804_change_pages_page_layout_column.rb +0 -11
  152. data/db/migrate/20110707190728_add_render_size_to_essence_pictures.rb +0 -9
  153. data/db/migrate/20110711142057_change_open_link_in_new_window_to_link_target.rb +0 -19
  154. data/db/migrate/20110919110451_add_default_role_to_users.rb +0 -9
  155. data/db/migrate/20111116125112_namespace_alchemy_models.rb +0 -23
  156. data/db/migrate/20120216135355_add_country_code_to_languages.rb +0 -9
  157. data/db/migrate/20120608085509_create_alchemy_essence_selects.rb +0 -11
  158. data/db/migrate/20120611221734_create_alchemy_essence_booleans.rb +0 -11
  159. data/db/migrate/20120704181529_add_upload_hash_to_alchemy_picture.rb +0 -5
  160. data/db/migrate/20120705214247_acts_as_taggable_on_migration.rb +0 -28
  161. data/db/migrate/20120728185830_add_cached_tag_list_to_alchemy_pictures.rb +0 -5
  162. data/db/migrate/20120831135441_set_alchemy_languages_country_code_default_to_empty_string.rb +0 -9
  163. data/spec/helpers/pictures_helper_spec.rb +0 -14
  164. data/vendor/assets/javascripts/jquery_plugins/jquery.selectBoxIt.js +0 -1909
@@ -74,7 +74,7 @@ if (typeof(Alchemy) === 'undefined') {
74
74
  text: options.cancelLabel,
75
75
  click: function() {
76
76
  $(this).dialog("close");
77
- Alchemy.enableButton('.disabled.button');
77
+ Alchemy.Buttons.enable();
78
78
  }
79
79
  }, {
80
80
  text: options.okLabel,
@@ -84,7 +84,7 @@ if (typeof(Alchemy) === 'undefined') {
84
84
  }
85
85
  }],
86
86
  open: function() {
87
- Alchemy.ButtonObserver('#alchemyConfirmation .button');
87
+ Alchemy.Buttons.observe('#alchemyConfirmation');
88
88
  },
89
89
  close: function() {
90
90
  $('#alchemyConfirmation').remove();
@@ -153,14 +153,14 @@ if (typeof(Alchemy) === 'undefined') {
153
153
  }
154
154
  Alchemy.SelectBox('#alchemyOverlay');
155
155
  Alchemy.Datepicker('#alchemyOverlay input.date, #alchemyOverlay input[type="date"]');
156
- Alchemy.ButtonObserver('#alchemyOverlay .button');
156
+ Alchemy.Buttons.observe('#alchemyOverlay');
157
157
  Alchemy.overlayObserver('#alchemyOverlay');
158
158
  },
159
159
  error: function(XMLHttpRequest, textStatus, errorThrown) {
160
160
  Alchemy.AjaxErrorHandler($dialog, XMLHttpRequest.status, textStatus, errorThrown);
161
161
  },
162
162
  complete: function(jqXHR, textStatus) {
163
- Alchemy.enableButton('.disabled.button');
163
+ Alchemy.Buttons.enable();
164
164
  }
165
165
  });
166
166
  },
@@ -70,7 +70,6 @@ $default-form-field-margin: 0.3em 0;
70
70
 
71
71
  @mixin default-button-style {
72
72
  @include sassy-button('shiny');
73
- display: inline;
74
73
  border-color: $button-border-color;
75
74
  margin: $default-form-field-margin;
76
75
  }
@@ -4,6 +4,7 @@
4
4
  *= require alchemy/archive
5
5
  *= require alchemy/dashboard
6
6
  *= require alchemy/elements
7
+ *= require alchemy/errors
7
8
  *= require alchemy/flash
8
9
  *= require alchemy/form_elements
9
10
  *= require alchemy/frame
@@ -15,6 +16,6 @@
15
16
  *= require alchemy/tables
16
17
  *= require alchemy/upload
17
18
  *= require alchemy/jquery-ui.alchemy
18
- *= require alchemy/jquery.Jcrop
19
+ *= require jquery.Jcrop.min
19
20
  *= require alchemy/custom
20
21
  */
@@ -646,39 +646,11 @@ div#toolbar_buttons_right {
646
646
  margin-left: 8px;
647
647
  }
648
648
 
649
- #errorExplanation {
650
- background: #ffdfdf;
651
- padding: 2*$default-padding;
652
- text-align: left;
653
- margin-bottom: 8px;
654
- border: 1px solid #d08f91;
655
- color: #690001;
656
- @include rounded-corner;
657
-
658
- &.ajax_status_code_0 {
659
- border-color: #c4c19c;
660
- color: #726d23;
661
- background-color: #f3f0c1;
662
- }
663
- }
664
-
665
- #errorExplanation h2 {
666
- font-size: 1.2em;
667
- }
668
-
669
- div.field_with_errors {
670
- display: inline;
671
- }
672
-
673
649
  p.foot_note {
674
650
  font-size: 10px;
675
651
  line-height: 1.5em;
676
652
  }
677
653
 
678
- #errorExplanation ul {
679
- padding: 0 0 0 16px;
680
- }
681
-
682
654
  #all_files td.name a {
683
655
  cursor: -webkit-zoom-in;
684
656
  cursor: -moz-zoom-in;
@@ -727,31 +699,6 @@ textarea#essence_picture_caption {
727
699
  @include rounded-corner;
728
700
  }
729
701
 
730
- div#errors {
731
- margin-bottom: 8px;
732
- padding: 8px 8px 4px 28px;
733
- border-width: 1px;
734
- border-style: solid;
735
- @include rounded-corner;
736
- border-color: #c49c9c;
737
- color: #592e2e;
738
- background-color: #efd3d3;
739
- }
740
-
741
- #overlay_tabs div#errors {
742
- margin: 8px 8px 0;
743
- }
744
-
745
- #errors ul li {
746
- margin-bottom: 0.5em;
747
- }
748
-
749
- #errors ul {
750
- margin: 0;
751
- padding: 0;
752
- list-style-type: decimal;
753
- }
754
-
755
702
  #alchemyConfirmation .alchemy_window_buttons {
756
703
  display: block;
757
704
  text-align: right;
@@ -1073,10 +1020,11 @@ select#url_protocol.medium {
1073
1020
 
1074
1021
  #alchemy .ui-dialog-content p.buttons {
1075
1022
  text-align: right;
1076
- line-height: 32px;
1023
+ margin: 0;
1077
1024
 
1078
1025
  label {
1079
1026
  float: left;
1027
+ line-height: 36px;
1080
1028
  }
1081
1029
  }
1082
1030
 
@@ -180,7 +180,7 @@ div.element_editor {
180
180
  box-shadow: 0 0 3px #4b93db;
181
181
  }
182
182
 
183
- div.error {
183
+ div.error, div.warning {
184
184
  padding: 8px 4px 8px 32px;
185
185
  margin-bottom: 8px;
186
186
  margin-top: 8px;
@@ -198,6 +198,11 @@ div.element_editor {
198
198
  }
199
199
  }
200
200
 
201
+ div.warning {
202
+ background-color: #f7efb8;
203
+ color: #756f47;
204
+ }
205
+
201
206
  .validation_notice {
202
207
  font-size: 10px;
203
208
  margin-top: 1em;
@@ -582,10 +587,8 @@ table.content_editor_table {
582
587
 
583
588
  a.new_content_link {
584
589
  float: none;
585
- @include inline-block;
586
- margin-bottom: 8px;
587
- margin-top: 4px;
588
- line-height: 4em;
590
+ margin-bottom: 8px !important;
591
+ margin-top: 4px !important;
589
592
  }
590
593
 
591
594
  div.essence_richtext_loader {
@@ -0,0 +1,51 @@
1
+ @import "alchemy/defaults";
2
+
3
+ #errorExplanation {
4
+ background: #ffdfdf;
5
+ padding: 2*$default-padding;
6
+ text-align: left;
7
+ margin-bottom: 8px;
8
+ border: 1px solid #d08f91;
9
+ color: #690001;
10
+ @include rounded-corner;
11
+
12
+ &.ajax_status_code_0 {
13
+ border-color: #c4c19c;
14
+ color: #726d23;
15
+ background-color: #f3f0c1;
16
+ }
17
+
18
+ h2 {
19
+ font-size: 1.2em;
20
+ }
21
+
22
+ ul {
23
+ padding: 0 0 0 16px;
24
+ }
25
+ }
26
+
27
+ div.field_with_errors {
28
+ display: inline;
29
+ }
30
+
31
+ div#errors, div.errors {
32
+ margin-bottom: 8px;
33
+ padding: 8px 8px 4px 28px;
34
+ border-width: 1px;
35
+ border-style: solid;
36
+ @include rounded-corner;
37
+ border-color: #c49c9c;
38
+ color: #592e2e;
39
+ background-color: #efd3d3;
40
+ display: none;
41
+
42
+ ul {
43
+ margin: 0;
44
+ padding: 0;
45
+ list-style-type: decimal;
46
+ }
47
+
48
+ ul li {
49
+ margin-bottom: 0.5em;
50
+ }
51
+ }
@@ -1,7 +1,5 @@
1
1
  @import "alchemy/defaults";
2
2
 
3
- /* @group Flash Notices */
4
-
5
3
  div#flash_notices {
6
4
  position: fixed;
7
5
  right: 0;
@@ -35,24 +35,15 @@ button, input[type="submit"], a.button, input.button {
35
35
  }
36
36
  }
37
37
 
38
- &.cloned-button, &.cloned-button:hover, &.cloned-button:active {
39
- display: inline-block;
40
- padding: 0;
41
- color: $text-color;
42
- text-shadow: none;
43
- @include box-shadow(none);
44
- cursor: default;
45
- background-image: none;
46
- text-align: center;
47
-
48
- img {
49
- vertical-align: middle;
50
- }
51
- }
52
-
53
38
  &:focus {
54
39
  @include default-focus-style;
55
40
  }
41
+
42
+ &.disabled {
43
+ line-height: 13px;
44
+ padding-top: 5px;
45
+ padding-bottom: 4px;
46
+ }
56
47
  }
57
48
 
58
49
  .icon_button {
@@ -160,46 +151,6 @@ button.icon_button {
160
151
  height: 29px;
161
152
  }
162
153
 
163
- // a.button {
164
- // padding: 5px 8px;
165
- // text-decoration: none;
166
- // float: left;
167
- // line-height: 13px;
168
-
169
- // &.small {
170
- // height: 14px;
171
- // padding-top: 2px;
172
- // padding-bottom: 2px;
173
- // border-radius: 10px;
174
- // -o-border-radius: 10px;
175
- // -ms-border-radius: 10px;
176
- // -moz-border-radius: 10px;
177
- // -webkit-border-radius: 10px;
178
-
179
- // &.cloned-button img {
180
- // @include inline-block;
181
- // float: none;
182
- // position: relative;
183
- // height: 16px;
184
- // width: 16px;
185
- // top: -1px;
186
- // }
187
-
188
- // &.with_icon span.icon {
189
- // margin-top: -5px;
190
- // position: relative;
191
- // top: 3px;
192
- // left: -1px;
193
- // }
194
- // }
195
-
196
- // span.icon {
197
- // vertical-align: -2px;
198
- // margin-bottom: -2px;
199
- // margin-left: -4px;
200
- // }
201
- // }
202
-
203
154
  #new_element button.button {
204
155
  float: right;
205
156
  }
@@ -368,6 +319,8 @@ div.selectboxit-container {
368
319
  text-align: left;
369
320
  top: -2px;
370
321
 
322
+ a { text-decoration: none }
323
+
371
324
  div.selectboxit {
372
325
  @include default-button-style;
373
326
  width: auto;
@@ -395,10 +348,10 @@ div.selectboxit-container {
395
348
  }
396
349
 
397
350
  &.long {
398
- width: 240px;
351
+ width: 230px;
399
352
 
400
353
  .selectboxit-text {
401
- max-width: 220px !important;
354
+ max-width: 210px !important;
402
355
  }
403
356
  }
404
357
 
@@ -427,6 +380,8 @@ div.selectboxit-container {
427
380
  font-size: 10px;
428
381
  line-height: 14px;
429
382
  }
383
+
384
+ .selectboxit-arrow-container { width: 16px }
430
385
  }
431
386
 
432
387
  &:focus {
@@ -434,7 +389,7 @@ div.selectboxit-container {
434
389
  }
435
390
 
436
391
  /* Dropdown List Box Text */
437
- span.selectboxit-text {
392
+ .selectboxit-text {
438
393
  font: $default-font-style;
439
394
  overflow: hidden;
440
395
  float: left;
@@ -445,29 +400,30 @@ div.selectboxit-container {
445
400
  }
446
401
 
447
402
  /* Dropdown List Down Arrow Container (if an image is not used) */
448
- span.selectboxit-arrow-container {
403
+ .selectboxit-arrow-container {
449
404
  /* Positions the down arrow */
450
- width: 16px;
405
+ width: 24px;
451
406
  padding: 0 0.25em 0 0;
452
407
  margin-left: 0.5em;
453
408
  position: absolute;
454
409
  right: 0;
455
- top: 7px;
410
+ top: 3px;
456
411
  border-left: 1px solid darken($medium-gray, 10%);
457
- height: auto !important;
458
-
459
- /* Dropdown List Down Arrow */
460
- span.selectboxit-arrow {
461
- /* Horizontally centers the down arrow */
462
- margin-right: auto;
463
- margin-left: auto;
464
- width: 16px;
465
- height: 15px;
466
- text-indent: -99999px;
467
- overflow: hidden;
468
- display: block;
469
- background: url('ui-icons_666666_256x240.png') -127px -17px no-repeat;
470
- }
412
+ height: 23px !important;
413
+ }
414
+
415
+ /* Dropdown List Down Arrow */
416
+ .selectboxit-arrow {
417
+ /* Horizontally centers the down arrow */
418
+ margin-right: auto;
419
+ margin-left: auto;
420
+ margin-top: 4.5px !important;
421
+ width: 16px;
422
+ height: 15px;
423
+ text-indent: -99999px;
424
+ overflow: hidden;
425
+ display: block;
426
+ background: url('ui-icons_666666_256x240.png') -127px -17px no-repeat;
471
427
  }
472
428
  }
473
429
 
@@ -54,7 +54,7 @@
54
54
  }
55
55
 
56
56
  &.create {
57
- background-position: -192px -168px;
57
+ background-position: -191px -168px;
58
58
  }
59
59
 
60
60
  &.crop {
@@ -70,7 +70,7 @@
70
70
  }
71
71
 
72
72
  &.destroy {
73
- background-position: -224px -168px;
73
+ background-position: -224px -169px;
74
74
  }
75
75
 
76
76
  &.edit {
@@ -158,11 +158,11 @@
158
158
  }
159
159
 
160
160
  &.offline {
161
- background-position: -255px -104px;
161
+ background-position: -255px -105px;
162
162
  }
163
163
 
164
164
  &.online {
165
- background-position: -224px -104px;
165
+ background-position: -224px -105px;
166
166
  }
167
167
 
168
168
  &.pdf {
@@ -214,7 +214,7 @@
214
214
  }
215
215
 
216
216
  &.tick, &.true {
217
- background-position: -32px -72px;
217
+ background-position: -32px -73px;
218
218
  }
219
219
 
220
220
  &.trash {
@@ -63,7 +63,6 @@
63
63
  padding: 4px 40px 4px 8px;
64
64
  overflow: hidden;
65
65
  font: $default-font-style;
66
- line-height: 8 * $default-padding;
67
66
 
68
67
  * {
69
68
  @include box-sizing;
@@ -99,7 +98,6 @@
99
98
  a {
100
99
  @include default-button-style;
101
100
  font-weight: normal;
102
- line-height: 34px;
103
101
  text-decoration: none !important;
104
102
  }
105
103
  }