alchemy_cms 2.0.rc4 → 2.0.rc5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. data/.gitignore +4 -1
  2. data/.travis.yml +2 -1
  3. data/alchemy_cms.gemspec +10 -5
  4. data/app/controllers/admin/contents_controller.rb +1 -0
  5. data/app/controllers/admin/essence_pictures_controller.rb +1 -0
  6. data/app/controllers/pages_controller.rb +19 -19
  7. data/app/models/content.rb +1 -1
  8. data/app/models/essence_richtext.rb +13 -2
  9. data/app/models/essence_text.rb +13 -3
  10. data/app/views/elements/_searchresult_view.html.erb +1 -1
  11. data/assets/javascripts/tiny_mce/jquery.tinymce.js +0 -0
  12. data/assets/javascripts/tiny_mce/langs/de.js +0 -0
  13. data/assets/javascripts/tiny_mce/langs/en.js +1 -1
  14. data/assets/javascripts/tiny_mce/license.txt +0 -0
  15. data/assets/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js +1 -1
  16. data/assets/javascripts/tiny_mce/plugins/fullscreen/editor_plugin.js +0 -0
  17. data/assets/javascripts/tiny_mce/plugins/fullscreen/fullscreen.htm +0 -0
  18. data/assets/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin.js +0 -0
  19. data/assets/javascripts/tiny_mce/plugins/inlinepopups/template.htm +0 -0
  20. data/assets/javascripts/tiny_mce/plugins/paste/editor_plugin.js +1 -1
  21. data/assets/javascripts/tiny_mce/plugins/paste/js/pastetext.js +0 -0
  22. data/assets/javascripts/tiny_mce/plugins/paste/js/pasteword.js +0 -0
  23. data/assets/javascripts/tiny_mce/plugins/paste/langs/de_dlg.js +0 -0
  24. data/assets/javascripts/tiny_mce/plugins/paste/langs/en_dlg.js +0 -0
  25. data/assets/javascripts/tiny_mce/plugins/paste/pastetext.htm +0 -0
  26. data/assets/javascripts/tiny_mce/plugins/paste/pasteword.htm +0 -0
  27. data/assets/javascripts/tiny_mce/plugins/table/cell.htm +0 -0
  28. data/assets/javascripts/tiny_mce/plugins/table/css/cell.css +0 -0
  29. data/assets/javascripts/tiny_mce/plugins/table/css/row.css +0 -0
  30. data/assets/javascripts/tiny_mce/plugins/table/css/table.css +0 -0
  31. data/assets/javascripts/tiny_mce/plugins/table/editor_plugin.js +0 -0
  32. data/assets/javascripts/tiny_mce/plugins/table/js/cell.js +0 -0
  33. data/assets/javascripts/tiny_mce/plugins/table/js/merge_cells.js +0 -0
  34. data/assets/javascripts/tiny_mce/plugins/table/js/row.js +0 -0
  35. data/assets/javascripts/tiny_mce/plugins/table/js/table.js +0 -0
  36. data/assets/javascripts/tiny_mce/plugins/table/langs/de_dlg.js +0 -0
  37. data/assets/javascripts/tiny_mce/plugins/table/langs/en_dlg.js +0 -0
  38. data/assets/javascripts/tiny_mce/plugins/table/merge_cells.htm +0 -0
  39. data/assets/javascripts/tiny_mce/plugins/table/row.htm +0 -0
  40. data/assets/javascripts/tiny_mce/plugins/table/table.htm +0 -0
  41. data/assets/javascripts/tiny_mce/themes/advanced/about.htm +0 -0
  42. data/assets/javascripts/tiny_mce/themes/advanced/anchor.htm +0 -0
  43. data/assets/javascripts/tiny_mce/themes/advanced/charmap.htm +0 -0
  44. data/assets/javascripts/tiny_mce/themes/advanced/color_picker.htm +0 -0
  45. data/assets/javascripts/tiny_mce/themes/advanced/editor_template.js +0 -0
  46. data/assets/javascripts/tiny_mce/themes/advanced/image.htm +0 -0
  47. data/assets/javascripts/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
  48. data/assets/javascripts/tiny_mce/themes/advanced/img/flash.gif +0 -0
  49. data/assets/javascripts/tiny_mce/themes/advanced/img/icons.gif +0 -0
  50. data/assets/javascripts/tiny_mce/themes/advanced/img/iframe.gif +0 -0
  51. data/assets/javascripts/tiny_mce/themes/advanced/img/pagebreak.gif +0 -0
  52. data/assets/javascripts/tiny_mce/themes/advanced/img/quicktime.gif +0 -0
  53. data/assets/javascripts/tiny_mce/themes/advanced/img/realmedia.gif +0 -0
  54. data/assets/javascripts/tiny_mce/themes/advanced/img/shockwave.gif +0 -0
  55. data/assets/javascripts/tiny_mce/themes/advanced/img/trans.gif +0 -0
  56. data/assets/javascripts/tiny_mce/themes/advanced/img/video.gif +0 -0
  57. data/assets/javascripts/tiny_mce/themes/advanced/img/windowsmedia.gif +0 -0
  58. data/assets/javascripts/tiny_mce/themes/advanced/js/about.js +0 -0
  59. data/assets/javascripts/tiny_mce/themes/advanced/js/anchor.js +3 -2
  60. data/assets/javascripts/tiny_mce/themes/advanced/js/charmap.js +0 -0
  61. data/assets/javascripts/tiny_mce/themes/advanced/js/color_picker.js +0 -0
  62. data/assets/javascripts/tiny_mce/themes/advanced/js/image.js +0 -0
  63. data/assets/javascripts/tiny_mce/themes/advanced/js/link.js +0 -0
  64. data/assets/javascripts/tiny_mce/themes/advanced/js/source_editor.js +0 -0
  65. data/assets/javascripts/tiny_mce/themes/advanced/langs/de.js +0 -0
  66. data/assets/javascripts/tiny_mce/themes/advanced/langs/de_dlg.js +1 -1
  67. data/assets/javascripts/tiny_mce/themes/advanced/langs/en.js +0 -0
  68. data/assets/javascripts/tiny_mce/themes/advanced/langs/en_dlg.js +0 -0
  69. data/assets/javascripts/tiny_mce/themes/advanced/link.htm +0 -0
  70. data/assets/javascripts/tiny_mce/themes/advanced/shortcuts.htm +0 -0
  71. data/assets/javascripts/tiny_mce/themes/advanced/skins/default/content.css +2 -1
  72. data/assets/javascripts/tiny_mce/themes/advanced/skins/default/dialog.css +0 -0
  73. data/assets/javascripts/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
  74. data/assets/javascripts/tiny_mce/themes/advanced/skins/default/img/items.gif +0 -0
  75. data/assets/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
  76. data/assets/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif +0 -0
  77. data/assets/javascripts/tiny_mce/themes/advanced/skins/default/img/progress.gif +0 -0
  78. data/assets/javascripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
  79. data/assets/javascripts/tiny_mce/themes/advanced/skins/default/ui.css +0 -0
  80. data/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/content.css +1 -1
  81. data/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css +0 -0
  82. data/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
  83. data/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
  84. data/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
  85. data/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui.css +0 -0
  86. data/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +0 -0
  87. data/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +0 -0
  88. data/assets/javascripts/tiny_mce/themes/advanced/source_editor.htm +0 -0
  89. data/assets/javascripts/tiny_mce/tiny_mce.js +1 -1
  90. data/assets/javascripts/tiny_mce/tiny_mce_popup.js +0 -0
  91. data/assets/javascripts/tiny_mce/utils/editable_selects.js +0 -0
  92. data/assets/javascripts/tiny_mce/utils/form_utils.js +0 -0
  93. data/assets/javascripts/tiny_mce/utils/mctabs.js +0 -0
  94. data/assets/javascripts/tiny_mce/utils/validate.js +0 -0
  95. data/config/alchemy/config.yml +4 -2
  96. data/config/initializers/tinymce_hammer.rb +1 -1
  97. data/config/locales/de.yml +2 -0
  98. data/config/locales/en.yml +2 -0
  99. data/lib/alchemy/version.rb +1 -1
  100. data/spec/controllers/admin/clipboard_controller_spec.rb +34 -8
  101. data/spec/integration/pages_controller_spec.rb +149 -0
  102. data/spec/models/content_spec.rb +11 -0
  103. data/spec/models/element_spec.rb +4 -1
  104. data/spec/models/essence_richtext_spec.rb +11 -0
  105. data/spec/models/page_spec.rb +2 -0
  106. metadata +14 -99
  107. data/assets/javascripts/tiny_mce/themes/advanced/skins/highcontrast/content.css +0 -24
  108. data/assets/javascripts/tiny_mce/themes/advanced/skins/highcontrast/dialog.css +0 -105
  109. data/assets/javascripts/tiny_mce/themes/advanced/skins/highcontrast/ui.css +0 -102
  110. data/assets/javascripts/tiny_mce/themes/simple/langs/de.js +0 -1
  111. data/spec/integration/standardset_spec.rb +0 -29
@@ -1,24 +0,0 @@
1
- body, td, pre { margin:8px;}
2
- body.mceForceColors {background:#FFF; color:#000;}
3
- h1 {font-size: 2em}
4
- h2 {font-size: 1.5em}
5
- h3 {font-size: 1.17em}
6
- h4 {font-size: 1em}
7
- h5 {font-size: .83em}
8
- h6 {font-size: .75em}
9
- .mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;}
10
- a.mceItemAnchor {display:inline-block; width:11px !important; height:11px !important; background:url(../default/img/items.gif) no-repeat 0 0;}
11
- span.mceItemNbsp {background: #DDD}
12
- td.mceSelected, th.mceSelected {background-color:#3399ff !important}
13
- img {border:0;}
14
- table {cursor:default}
15
- table td, table th {cursor:text}
16
- ins {border-bottom:1px solid green; text-decoration: none; color:green}
17
- del {color:red; text-decoration:line-through}
18
- cite {border-bottom:1px dashed blue}
19
- acronym {border-bottom:1px dotted #CCC; cursor:help}
20
- abbr {border-bottom:1px dashed #CCC; cursor:help}
21
-
22
- img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px}
23
- font[face=mceinline] {font-family:inherit !important}
24
- *[contentEditable]:focus {outline:0}
@@ -1,105 +0,0 @@
1
- /* Generic */
2
- body {
3
- font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px;
4
- background:#F0F0EE;
5
- color: black;
6
- padding:0;
7
- margin:8px 8px 0 8px;
8
- }
9
-
10
- html {background:#F0F0EE; color:#000;}
11
- td {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
12
- textarea {resize:none;outline:none;}
13
- a:link, a:visited {color:black;background-color:transparent;}
14
- a:hover {color:#2B6FB6;background-color:transparent;}
15
- .nowrap {white-space: nowrap}
16
-
17
- /* Forms */
18
- fieldset {margin:0; padding:4px; border:1px solid #919B9C; font-family:Verdana, Arial; font-size:10px;}
19
- legend {color:#2B6FB6; font-weight:bold;}
20
- label.msg {display:none;}
21
- label.invalid {color:#EE0000; display:inline;background-color:transparent;}
22
- input.invalid {border:1px solid #EE0000;background-color:transparent;}
23
- input {background:#FFF; border:1px solid #CCC;color:black;}
24
- input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
25
- input, select, textarea {border:1px solid #808080;}
26
- input.radio {border:1px none #000000; background:transparent; vertical-align:middle;}
27
- input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;}
28
- .input_noborder {border:0;}
29
-
30
- /* Buttons */
31
- #insert, #cancel, input.button, .updateButton {
32
- font-weight:bold;
33
- width:94px; height:23px;
34
- cursor:pointer;
35
- padding-bottom:2px;
36
- float:left;
37
- }
38
-
39
- #cancel {float:right}
40
-
41
- /* Browse */
42
- a.pickcolor, a.browse {text-decoration:none}
43
- a.browse span {display:block; width:20px; height:18px; background:url(../../img/icons.gif) -860px 0; border:1px solid #FFF; margin-left:1px;}
44
- .mceOldBoxModel a.browse span {width:22px; height:20px;}
45
- a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;}
46
- a.browse span.disabled {border:1px solid white; opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
47
- a.browse:hover span.disabled {border:1px solid white; background-color:transparent;}
48
- a.pickcolor span {display:block; width:20px; height:16px; background:url(../../img/icons.gif) -840px 0; margin-left:2px;}
49
- .mceOldBoxModel a.pickcolor span {width:21px; height:17px;}
50
- a.pickcolor:hover span {background-color:#B2BBD0;}
51
- a.pickcolor:hover span.disabled {}
52
-
53
- /* Charmap */
54
- table.charmap {border:1px solid #AAA; text-align:center}
55
- td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;}
56
- #charmap a {display:block; color:#000; text-decoration:none; border:0}
57
- #charmap a:hover {background:#CCC;color:#2B6FB6}
58
- #charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center}
59
- #charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center}
60
-
61
- /* Source */
62
- .wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;}
63
- .mceActionPanel {margin-top:5px;}
64
-
65
- /* Tabs classes */
66
- .tabs {width:100%; height:18px; line-height:normal;}
67
- .tabs ul {margin:0; padding:0; list-style:none;}
68
- .tabs li {float:left; border: 1px solid black; border-bottom:0; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block; cursor:pointer;}
69
- .tabs li.current {font-weight: bold; margin-right:2px;}
70
- .tabs span {float:left; display:block; padding:0px 10px 0 0;}
71
- .tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;}
72
- .tabs a:link, .tabs a:visited, .tabs a:hover {color:black;}
73
-
74
- /* Panels */
75
- .panel_wrapper div.panel {display:none;}
76
- .panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;}
77
- .panel_wrapper {border:1px solid #919B9C; padding:10px; padding-top:5px; clear:both; background:white;}
78
-
79
- /* Columns */
80
- .column {float:left;}
81
- .properties {width:100%;}
82
- .properties .column1 {}
83
- .properties .column2 {text-align:left;}
84
-
85
- /* Titles */
86
- h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;}
87
- h3 {font-size:14px;}
88
- .title {font-size:12px; font-weight:bold; color:#2B6FB6;}
89
-
90
- /* Dialog specific */
91
- #link .panel_wrapper, #link div.current {height:125px;}
92
- #image .panel_wrapper, #image div.current {height:200px;}
93
- #plugintable thead {font-weight:bold; background:#DDD;}
94
- #plugintable, #about #plugintable td {border:1px solid #919B9C;}
95
- #plugintable {width:96%; margin-top:10px;}
96
- #pluginscontainer {height:290px; overflow:auto;}
97
- #colorpicker #preview {float:right; width:50px; height:14px;line-height:1px; border:1px solid black; margin-left:5px;}
98
- #colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;}
99
- #colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;}
100
- #colorpicker #light div {overflow:hidden;}
101
- #colorpicker #previewblock {float:right; padding-left:10px; height:20px;}
102
- #colorpicker .panel_wrapper div.current {height:175px;}
103
- #colorpicker #namedcolors {width:150px;}
104
- #colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;}
105
- #colorpicker #colornamecontainer {margin-top:5px;}
@@ -1,102 +0,0 @@
1
- /* Reset */
2
- .highcontrastSkin table, .highcontrastSkin tbody, .highcontrastSkin a, .highcontrastSkin img, .highcontrastSkin tr, .highcontrastSkin div, .highcontrastSkin td, .highcontrastSkin iframe, .highcontrastSkin span, .highcontrastSkin *, .highcontrastSkin .mceText {border:0; margin:0; padding:0; vertical-align:baseline; border-collapse:separate;}
3
- .highcontrastSkin a:hover, .highcontrastSkin a:link, .highcontrastSkin a:visited, .highcontrastSkin a:active {text-decoration:none; font-weight:normal; cursor:default;}
4
- .highcontrastSkin table td {vertical-align:middle}
5
-
6
- .highcontrastSkin .mceIconOnly {display: block !important;}
7
-
8
- /* External */
9
- .highcontrastSkin .mceExternalToolbar {position:absolute; border:1px solid; border-bottom:0; display:none; background-color: white;}
10
- .highcontrastSkin .mceExternalToolbar td.mceToolbar {padding-right:13px;}
11
- .highcontrastSkin .mceExternalClose {position:absolute; top:3px; right:3px; width:7px; height:7px;}
12
-
13
- /* Layout */
14
- .highcontrastSkin table.mceLayout {border: 1px solid;}
15
- .highcontrastSkin .mceIframeContainer {border-top:1px solid; border-bottom:1px solid}
16
- .highcontrastSkin .mceStatusbar a:hover {text-decoration:underline}
17
- .highcontrastSkin .mceStatusbar {display:block; line-height:1.5em; overflow:visible;}
18
- .highcontrastSkin .mceStatusbar div {float:left}
19
- .highcontrastSkin .mceStatusbar a.mceResize {display:block; float:right; width:20px; height:20px; cursor:se-resize; outline:0}
20
-
21
- .highcontrastSkin .mceToolbar td { display: inline-block; float: left;}
22
- .highcontrastSkin .mceToolbar tr { display: block;}
23
- .highcontrastSkin .mceToolbar table { display: block; }
24
-
25
- /* Button */
26
-
27
- .highcontrastSkin .mceButton { display:block; margin: 2px; padding: 5px 10px;border: 1px solid; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; -ms-border-radius: 3px; height: 2em;}
28
- .highcontrastSkin .mceButton .mceVoiceLabel { height: 100%; vertical-align: center; line-height: 2em}
29
- .highcontrastSkin .mceButtonDisabled .mceVoiceLabel { opacity:0.6; -ms-filter:'alpha(opacity=60)'; filter:alpha(opacity=60);}
30
- .highcontrastSkin .mceButtonActive, .highcontrastSkin .mceButton:focus, .highcontrastSkin .mceButton:active { border: 5px solid; padding: 1px 6px;-webkit-focus-ring-color:none;outline:none;}
31
-
32
- /* Separator */
33
- .highcontrastSkin .mceSeparator {display:block; width:16px; height:26px;}
34
-
35
- /* ListBox */
36
- .highcontrastSkin .mceListBox { display: block; margin:2px;-webkit-focus-ring-color:none;outline:none;}
37
- .highcontrastSkin .mceListBox .mceText {padding: 5px 6px; line-height: 2em; width: 15ex; overflow: hidden;}
38
- .highcontrastSkin .mceListBoxDisabled .mceText { opacity:0.6; -ms-filter:'alpha(opacity=60)'; filter:alpha(opacity=60);}
39
- .highcontrastSkin .mceListBox a.mceText { padding: 5px 10px; display: block; height: 2em; line-height: 2em; border: 1px solid; border-right: 0; border-radius: 3px 0px 0px 3px; -moz-border-radius: 3px 0px 0px 3px; -webkit-border-radius: 3px 0px 0px 3px; -ms-border-radius: 3px 0px 0px 3px;}
40
- .highcontrastSkin .mceListBox a.mceOpen { padding: 5px 4px; display: block; height: 2em; line-height: 2em; border: 1px solid; border-left: 0; border-radius: 0px 3px 3px 0px; -moz-border-radius: 0px 3px 3px 0px; -webkit-border-radius: 0px 3px 3px 0px; -ms-border-radius: 0px 3px 3px 0px;}
41
- .highcontrastSkin .mceListBox:focus a.mceText, .highcontrastSkin .mceListBox:active a.mceText { border-width: 5px; padding: 1px 10px 1px 6px;}
42
- .highcontrastSkin .mceListBox:focus a.mceOpen, .highcontrastSkin .mceListBox:active a.mceOpen { border-width: 5px; padding: 1px 0px 1px 4px;}
43
-
44
- .highcontrastSkin .mceListBoxMenu {overflow-y:auto}
45
-
46
- /* SplitButton */
47
- .highcontrastSkin .mceSplitButtonDisabled .mceAction {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
48
-
49
- .highcontrastSkin .mceSplitButton { border-collapse: collapse; margin: 2px; height: 2em; line-height: 2em;-webkit-focus-ring-color:none;outline:none;}
50
- .highcontrastSkin .mceSplitButton td { display: table-cell; float: none; margin: 0; padding: 0; height: 2em;}
51
- .highcontrastSkin .mceSplitButton tr { display: table-row; }
52
- .highcontrastSkin table.mceSplitButton { display: table; }
53
- .highcontrastSkin .mceSplitButton a.mceAction { padding: 5px 10px; display: block; height: 2em; line-height: 2em; overflow: hidden; border: 1px solid; border-right: 0; border-radius: 3px 0px 0px 3px; -moz-border-radius: 3px 0px 0px 3px; -webkit-border-radius: 3px 0px 0px 3px; -ms-border-radius: 3px 0px 0px 3px;}
54
- .highcontrastSkin .mceSplitButton a.mceOpen { padding: 5px 4px; display: block; height: 2em; line-height: 2em; border: 1px solid; border-radius: 0px 3px 3px 0px; -moz-border-radius: 0px 3px 3px 0px; -webkit-border-radius: 0px 3px 3px 0px; -ms-border-radius: 0px 3px 3px 0px;}
55
- .highcontrastSkin .mceSplitButton .mceVoiceLabel { height: 2em; vertical-align: center; line-height: 2em; }
56
- .highcontrastSkin .mceSplitButton:focus a.mceAction, .highcontrastSkin .mceSplitButton:active a.mceAction { border-width: 5px; border-right-width: 1px; padding: 1px 10px 1px 6px;-webkit-focus-ring-color:none;outline:none;}
57
- .highcontrastSkin .mceSplitButton:focus a.mceOpen, .highcontrastSkin .mceSplitButton:active a.mceOpen { border-width: 5px; border-left-width: 1px; padding: 1px 0px 1px 4px;-webkit-focus-ring-color:none;outline:none;}
58
-
59
- /* Menu */
60
- .highcontrastSkin .mceNoIcons span.mceIcon {width:0;}
61
- .highcontrastSkin .mceMenu {position:absolute; left:0; top:0; z-index:1000; border:1px solid; }
62
- .highcontrastSkin .mceMenu table {background:white; color: black}
63
- .highcontrastSkin .mceNoIcons a .mceText {padding-left:10px}
64
- .highcontrastSkin .mceMenu a, .highcontrastSkin .mceMenu span, .highcontrastSkin .mceMenu {display:block;background:white; color: black}
65
- .highcontrastSkin .mceMenu td {height:2em}
66
- .highcontrastSkin .mceMenu a {position:relative;padding:3px 0 4px 0; display: block;}
67
- .highcontrastSkin .mceMenu .mceText {position:relative; display:block; cursor:default; margin:0; padding:0 25px 0 25px;}
68
- .highcontrastSkin .mceMenu pre.mceText {font-family:Monospace}
69
- .highcontrastSkin .mceMenu .mceIcon {position:absolute; top:0; left:0; width:26px;}
70
- .highcontrastSkin td.mceMenuItemSeparator {border-top:1px solid; height:1px}
71
- .highcontrastSkin .mceMenuItemTitle a {border:0; border-bottom:1px solid}
72
- .highcontrastSkin .mceMenuItemTitle span.mceText {font-weight:bold; padding-left:4px}
73
- .highcontrastSkin .mceNoIcons .mceMenuItemSelected span.mceText:before {content: "\2713\A0";}
74
- .highcontrastSkin .mceMenu span.mceMenuLine {display:none}
75
- .highcontrastSkin .mceMenuItemSub a .mceText:after {content: "\A0\25B8"}
76
- .highcontrastSkin .mceMenuItem td, .highcontrastSkin .mceMenuItem th {line-height: normal}
77
-
78
- /* ColorSplitButton */
79
- .highcontrastSkin div.mceColorSplitMenu table {background:#FFF; border:1px solid; color: #000}
80
- .highcontrastSkin .mceColorSplitMenu td {padding:2px}
81
- .highcontrastSkin .mceColorSplitMenu a {display:block; width:16px; height:16px; overflow:hidden; color:#000; margin: 0; padding: 0;}
82
- .highcontrastSkin .mceColorSplitMenu td.mceMoreColors {padding:1px 3px 1px 1px}
83
- .highcontrastSkin .mceColorSplitMenu a.mceMoreColors {width:100%; height:auto; text-align:center; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; line-height:20px; border:1px solid #FFF}
84
- .highcontrastSkin .mceColorSplitMenu a.mceMoreColors:hover {border:1px solid; background-color:#B6BDD2}
85
- .highcontrastSkin a.mceMoreColors:hover {border:1px solid #0A246A; color: #000;}
86
- .highcontrastSkin .mceColorPreview {display:none;}
87
- .highcontrastSkin .mce_forecolor span.mceAction, .highcontrastSkin .mce_backcolor span.mceAction {height:17px;overflow:hidden}
88
-
89
- /* Progress,Resize */
90
- .highcontrastSkin .mceBlocker {position:absolute; left:0; top:0; z-index:1000; opacity:0.5; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=50); background:#FFF}
91
- .highcontrastSkin .mceProgress {position:absolute; left:0; top:0; z-index:1001; background:url(../default/img/progress.gif) no-repeat; width:32px; height:32px; margin:-16px 0 0 -16px}
92
-
93
- /* Formats */
94
- .highcontrastSkin .mce_p span.mceText {}
95
- .highcontrastSkin .mce_address span.mceText {font-style:italic}
96
- .highcontrastSkin .mce_pre span.mceText {font-family:monospace}
97
- .highcontrastSkin .mce_h1 span.mceText {font-weight:bolder; font-size: 2em}
98
- .highcontrastSkin .mce_h2 span.mceText {font-weight:bolder; font-size: 1.5em}
99
- .highcontrastSkin .mce_h3 span.mceText {font-weight:bolder; font-size: 1.17em}
100
- .highcontrastSkin .mce_h4 span.mceText {font-weight:bolder; font-size: 1em}
101
- .highcontrastSkin .mce_h5 span.mceText {font-weight:bolder; font-size: .83em}
102
- .highcontrastSkin .mce_h6 span.mceText {font-weight:bolder; font-size: .75em}
@@ -1 +0,0 @@
1
- tinyMCE.addI18n('de.simple',{"cleanup_desc":"Quellcode aufr\u00e4umen","redo_desc":"Wiederholen (Strg+Y)","undo_desc":"R\u00fcckg\u00e4ngig (Strg+Z)","numlist_desc":"Nummerierung","bullist_desc":"Aufz\u00e4hlung","striketrough_desc":"Durchgestrichen","underline_desc":"Unterstrichen (Strg+U)","italic_desc":"Kursiv (Strg+I)","bold_desc":"Fett (Strg+B)"});
@@ -1,29 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe 'Alchemy Standard Set' do
4
-
5
- before(:each) do
6
- # We need an user or the signup view will show up
7
- Factory(:admin_user)
8
- end
9
-
10
- it "should render a whole page including all its elements and contents" do
11
- p = Factory(:public_page, :language => Language.get_default)
12
- article = p.elements.find_by_name('article')
13
- article.content_by_name('intro').essence.update_attributes(:body => 'Welcome to Peters Petshop', :public => true)
14
- visit '/de/a-public-page'
15
- within('div#content div.article div.intro') { page.should have_content('Welcome to Peters Petshop') }
16
- end
17
-
18
- it "should render the navigation with all visible pages" do
19
- language = Language.get_default
20
- language_root = Factory(:language_root_page, :language => language, :name => 'Home')
21
- pages = [
22
- Factory(:public_page, :language => language, :visible => true, :name => 'Page 1', :parent_id => language_root.id),
23
- Factory(:public_page, :language => language, :visible => true, :name => 'Page 2', :parent_id => language_root.id)
24
- ]
25
- visit '/'
26
- within('div#navigation ul') { page.should have_selector('li a[href="/page-1"], li a[href="/page-2"]') }
27
- end
28
-
29
- end