tinymce-rails 4.4.3 → 4.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/source/tinymce/tinymce.js +2044 -391
  3. data/lib/tinymce/rails/version.rb +2 -2
  4. data/vendor/assets/javascripts/tinymce/jquery.tinymce.js +1 -1
  5. data/vendor/assets/javascripts/tinymce/plugins/advlist/plugin.js +1 -1
  6. data/vendor/assets/javascripts/tinymce/plugins/anchor/plugin.js +1 -1
  7. data/vendor/assets/javascripts/tinymce/plugins/autolink/plugin.js +1 -1
  8. data/vendor/assets/javascripts/tinymce/plugins/autoresize/plugin.js +1 -1
  9. data/vendor/assets/javascripts/tinymce/plugins/autosave/plugin.js +1 -1
  10. data/vendor/assets/javascripts/tinymce/plugins/charmap/plugin.js +1 -1
  11. data/vendor/assets/javascripts/tinymce/plugins/codesample/plugin.dev.js +141 -0
  12. data/vendor/assets/javascripts/tinymce/plugins/codesample/plugin.js +1 -1
  13. data/vendor/assets/javascripts/tinymce/plugins/contextmenu/plugin.js +1 -1
  14. data/vendor/assets/javascripts/tinymce/plugins/fullpage/plugin.js +1 -1
  15. data/vendor/assets/javascripts/tinymce/plugins/fullscreen/plugin.js +1 -1
  16. data/vendor/assets/javascripts/tinymce/plugins/image/plugin.js +1 -1
  17. data/vendor/assets/javascripts/tinymce/plugins/imagetools/plugin.js +1 -1
  18. data/vendor/assets/javascripts/tinymce/plugins/importcss/plugin.js +1 -1
  19. data/vendor/assets/javascripts/tinymce/plugins/insertdatetime/plugin.js +1 -1
  20. data/vendor/assets/javascripts/tinymce/plugins/legacyoutput/plugin.js +1 -1
  21. data/vendor/assets/javascripts/tinymce/plugins/link/plugin.js +1 -1
  22. data/vendor/assets/javascripts/tinymce/plugins/lists/plugin.js +1 -1
  23. data/vendor/assets/javascripts/tinymce/plugins/media/plugin.js +1 -1
  24. data/vendor/assets/javascripts/tinymce/plugins/nonbreaking/plugin.js +1 -1
  25. data/vendor/assets/javascripts/tinymce/plugins/noneditable/plugin.js +1 -1
  26. data/vendor/assets/javascripts/tinymce/plugins/pagebreak/plugin.js +1 -1
  27. data/vendor/assets/javascripts/tinymce/plugins/paste/plugin.dev.js +143 -0
  28. data/vendor/assets/javascripts/tinymce/plugins/paste/plugin.js +1 -1
  29. data/vendor/assets/javascripts/tinymce/plugins/preview/plugin.js +1 -1
  30. data/vendor/assets/javascripts/tinymce/plugins/save/plugin.js +1 -1
  31. data/vendor/assets/javascripts/tinymce/plugins/searchreplace/plugin.js +1 -1
  32. data/vendor/assets/javascripts/tinymce/plugins/spellchecker/plugin.dev.js +139 -0
  33. data/vendor/assets/javascripts/tinymce/plugins/spellchecker/plugin.js +1 -1
  34. data/vendor/assets/javascripts/tinymce/plugins/tabfocus/plugin.js +1 -1
  35. data/vendor/assets/javascripts/tinymce/plugins/table/plugin.dev.js +143 -0
  36. data/vendor/assets/javascripts/tinymce/plugins/table/plugin.js +2 -2
  37. data/vendor/assets/javascripts/tinymce/plugins/template/plugin.js +1 -1
  38. data/vendor/assets/javascripts/tinymce/plugins/textpattern/plugin.js +1 -1
  39. data/vendor/assets/javascripts/tinymce/plugins/toc/plugin.js +1 -0
  40. data/vendor/assets/javascripts/tinymce/plugins/visualchars/plugin.js +1 -1
  41. data/vendor/assets/javascripts/tinymce/plugins/wordcount/plugin.js +1 -1
  42. data/vendor/assets/javascripts/tinymce/skins/lightgray/AbsoluteLayout.less +17 -0
  43. data/vendor/assets/javascripts/tinymce/skins/lightgray/Animations.less +10 -0
  44. data/vendor/assets/javascripts/tinymce/skins/lightgray/Arrows.less +115 -0
  45. data/vendor/assets/javascripts/tinymce/skins/lightgray/Button.less +175 -0
  46. data/vendor/assets/javascripts/tinymce/skins/lightgray/ButtonGroup.less +71 -0
  47. data/vendor/assets/javascripts/tinymce/skins/lightgray/Checkbox.less +49 -0
  48. data/vendor/assets/javascripts/tinymce/skins/lightgray/ColorBox.less +6 -0
  49. data/vendor/assets/javascripts/tinymce/skins/lightgray/ColorButton.less +72 -0
  50. data/vendor/assets/javascripts/tinymce/skins/lightgray/ColorPicker.less +80 -0
  51. data/vendor/assets/javascripts/tinymce/skins/lightgray/ComboBox.less +97 -0
  52. data/vendor/assets/javascripts/tinymce/skins/lightgray/Container.less +9 -0
  53. data/vendor/assets/javascripts/tinymce/skins/lightgray/Content.Inline.less +4 -0
  54. data/vendor/assets/javascripts/tinymce/skins/lightgray/Content.Objects.less +178 -0
  55. data/vendor/assets/javascripts/tinymce/skins/lightgray/Content.less +27 -0
  56. data/vendor/assets/javascripts/tinymce/skins/lightgray/CropRect.less +62 -0
  57. data/vendor/assets/javascripts/tinymce/skins/lightgray/FieldSet.less +15 -0
  58. data/vendor/assets/javascripts/tinymce/skins/lightgray/FitLayout.less +9 -0
  59. data/vendor/assets/javascripts/tinymce/skins/lightgray/FloatPanel.less +69 -0
  60. data/vendor/assets/javascripts/tinymce/skins/lightgray/FlowLayout.less +36 -0
  61. data/vendor/assets/javascripts/tinymce/skins/lightgray/Icons.Ie7.less +136 -0
  62. data/vendor/assets/javascripts/tinymce/skins/lightgray/Icons.less +182 -0
  63. data/vendor/assets/javascripts/tinymce/skins/lightgray/Iframe.less +6 -0
  64. data/vendor/assets/javascripts/tinymce/skins/lightgray/ImagePanel.less +25 -0
  65. data/vendor/assets/javascripts/tinymce/skins/lightgray/InfoBox.less +71 -0
  66. data/vendor/assets/javascripts/tinymce/skins/lightgray/Label.less +38 -0
  67. data/vendor/assets/javascripts/tinymce/skins/lightgray/ListBox.less +26 -0
  68. data/vendor/assets/javascripts/tinymce/skins/lightgray/Menu.less +34 -0
  69. data/vendor/assets/javascripts/tinymce/skins/lightgray/MenuBar.less +32 -0
  70. data/vendor/assets/javascripts/tinymce/skins/lightgray/MenuButton.less +34 -0
  71. data/vendor/assets/javascripts/tinymce/skins/lightgray/MenuItem.less +176 -0
  72. data/vendor/assets/javascripts/tinymce/skins/lightgray/Mixins.less +54 -0
  73. data/vendor/assets/javascripts/tinymce/skins/lightgray/Notification.less +142 -0
  74. data/vendor/assets/javascripts/tinymce/skins/lightgray/Panel.less +7 -0
  75. data/vendor/assets/javascripts/tinymce/skins/lightgray/Path.less +45 -0
  76. data/vendor/assets/javascripts/tinymce/skins/lightgray/Progress.less +34 -0
  77. data/vendor/assets/javascripts/tinymce/skins/lightgray/Radio.less +1 -0
  78. data/vendor/assets/javascripts/tinymce/skins/lightgray/Reset.less +32 -0
  79. data/vendor/assets/javascripts/tinymce/skins/lightgray/ResizeHandle.less +18 -0
  80. data/vendor/assets/javascripts/tinymce/skins/lightgray/Scrollable.less +44 -0
  81. data/vendor/assets/javascripts/tinymce/skins/lightgray/SelectBox.less +6 -0
  82. data/vendor/assets/javascripts/tinymce/skins/lightgray/Sidebar.less +49 -0
  83. data/vendor/assets/javascripts/tinymce/skins/lightgray/Slider.less +33 -0
  84. data/vendor/assets/javascripts/tinymce/skins/lightgray/Spacer.less +5 -0
  85. data/vendor/assets/javascripts/tinymce/skins/lightgray/SplitButton.less +49 -0
  86. data/vendor/assets/javascripts/tinymce/skins/lightgray/StackLayout.less +5 -0
  87. data/vendor/assets/javascripts/tinymce/skins/lightgray/TabPanel.less +44 -0
  88. data/vendor/assets/javascripts/tinymce/skins/lightgray/TextBox.less +41 -0
  89. data/vendor/assets/javascripts/tinymce/skins/lightgray/Throbber.less +19 -0
  90. data/vendor/assets/javascripts/tinymce/skins/lightgray/TinyMCE.less +159 -0
  91. data/vendor/assets/javascripts/tinymce/skins/lightgray/ToolTip.less +133 -0
  92. data/vendor/assets/javascripts/tinymce/skins/lightgray/Variables.less +218 -0
  93. data/vendor/assets/javascripts/tinymce/skins/lightgray/Window.less +127 -0
  94. data/vendor/assets/javascripts/tinymce/skins/lightgray/content.inline.min.css +1 -1
  95. data/vendor/assets/javascripts/tinymce/skins/lightgray/content.min.css +1 -1
  96. data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
  97. data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/tinymce.svg +2 -0
  98. data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
  99. data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
  100. data/vendor/assets/javascripts/tinymce/skins/lightgray/skin.dev.less +48 -0
  101. data/vendor/assets/javascripts/tinymce/skins/lightgray/skin.ie7.dev.less +47 -0
  102. data/vendor/assets/javascripts/tinymce/skins/lightgray/skin.ie7.less +2777 -0
  103. data/vendor/assets/javascripts/tinymce/skins/lightgray/skin.ie7.min.css +1 -1
  104. data/vendor/assets/javascripts/tinymce/skins/lightgray/skin.less +2874 -0
  105. data/vendor/assets/javascripts/tinymce/skins/lightgray/skin.min.css +1 -1
  106. data/vendor/assets/javascripts/tinymce/themes/inlite/theme.js +1 -1
  107. data/vendor/assets/javascripts/tinymce/themes/modern/theme.js +1 -1
  108. data/vendor/assets/javascripts/tinymce/tinymce.js +14 -14
  109. metadata +65 -4
  110. data/vendor/assets/javascripts/tinymce/plugins/media/moxieplayer.swf +0 -0
@@ -0,0 +1,6 @@
1
+ // Iframe
2
+
3
+ .@{prefix}-iframe {
4
+ border: 0 solid @iframe-border;
5
+ width: 100%; height: 100%;
6
+ }
@@ -0,0 +1,25 @@
1
+ // ImagePanel
2
+
3
+ .@{prefix}-imagepanel {
4
+ overflow: auto;
5
+ background: black;
6
+ }
7
+
8
+ .@{prefix}-imagepanel-bg {
9
+ position: absolute;
10
+ background: url('data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==');
11
+ }
12
+
13
+ .@{prefix}-imagepanel img {
14
+ position: absolute;
15
+ }
16
+
17
+ .@{prefix}-imagetool.@{prefix}-btn .@{prefix}-ico {
18
+ display: block;
19
+ width: 20px;
20
+ height: 20px;
21
+ text-align: center;
22
+ line-height: 20px;
23
+ font-size: 20px;
24
+ padding: 5px;
25
+ }
@@ -0,0 +1,71 @@
1
+ // InfoBox
2
+
3
+ .@{prefix}-infobox {
4
+ .inline-block();
5
+ text-shadow: @text-shadow;
6
+ overflow: hidden;
7
+ border: 1px solid red;
8
+
9
+ div {
10
+ display: block;
11
+ margin: 5px;
12
+
13
+ button {
14
+ position: absolute;
15
+ top: 50%; right: 4px;
16
+ cursor: pointer;
17
+ margin-top: -8px;
18
+ display: none;
19
+ }
20
+
21
+ button:focus {
22
+ outline: 2px solid @btn-border-hover;
23
+ }
24
+ }
25
+ }
26
+
27
+ .@{prefix}-infobox.@{prefix}-has-help {
28
+ div {
29
+ margin-right: 25px;
30
+ }
31
+
32
+ button {
33
+ display: block;
34
+ }
35
+ }
36
+
37
+ .@{prefix}-infobox.@{prefix}-success {
38
+ background: @infobox-success-bg;
39
+ border-color: @infobox-success-border;
40
+
41
+ div {
42
+ color: @infobox-success-text;
43
+ }
44
+ }
45
+
46
+ .@{prefix}-infobox.@{prefix}-warning {
47
+ background: @infobox-warning-bg;
48
+ border-color: @infobox-warning-border;
49
+
50
+ div {
51
+ color: @infobox-warning-text;
52
+ }
53
+ }
54
+
55
+ .@{prefix}-infobox.@{prefix}-error {
56
+ background: @infobox-error-bg;
57
+ border-color: @infobox-error-border;
58
+
59
+ div {
60
+ color: @infobox-error-text;
61
+ }
62
+ }
63
+
64
+ // RTL
65
+
66
+ .@{prefix}-rtl .@{prefix}-infobox {
67
+ div {
68
+ text-align: right;
69
+ direction: rtl;
70
+ }
71
+ }
@@ -0,0 +1,38 @@
1
+ // Label
2
+
3
+ .@{prefix}-label {
4
+ .inline-block();
5
+ text-shadow: @text-shadow;
6
+ overflow: hidden;
7
+ }
8
+
9
+ .@{prefix}-label.@{prefix}-autoscroll {
10
+ overflow: auto;
11
+ }
12
+
13
+ .@{prefix}-label.@{prefix}-disabled {
14
+ color: @text-disabled;
15
+ }
16
+
17
+ .@{prefix}-label.@{prefix}-multiline {
18
+ white-space: pre-wrap;
19
+ }
20
+
21
+ .@{prefix}-label.@{prefix}-success {
22
+ color: @text-success;
23
+ }
24
+
25
+ .@{prefix}-label.@{prefix}-warning {
26
+ color: @text-warning;
27
+ }
28
+
29
+ .@{prefix}-label.@{prefix}-error {
30
+ color: @text-error;
31
+ }
32
+
33
+ // RTL
34
+
35
+ .@{prefix}-rtl .@{prefix}-label {
36
+ text-align: right;
37
+ direction: rtl;
38
+ }
@@ -0,0 +1,26 @@
1
+ // ListBox
2
+
3
+ .@{prefix}-listbox button {
4
+ text-align: left;
5
+ padding-right: 20px;
6
+ position: relative;
7
+ }
8
+
9
+ .@{prefix}-listbox .@{prefix}-caret {
10
+ position: absolute;
11
+ margin-top: -2px;
12
+ right: 8px;
13
+ top: 50%;
14
+ }
15
+
16
+ // RTL
17
+
18
+ .@{prefix}-rtl .@{prefix}-listbox .@{prefix}-caret {
19
+ right: auto;
20
+ left: 8px;
21
+ }
22
+
23
+ .@{prefix}-rtl .@{prefix}-listbox button {
24
+ padding-right: 10px;
25
+ padding-left: 20px;
26
+ }
@@ -0,0 +1,34 @@
1
+ // Menu
2
+
3
+ .@{prefix}-menu {
4
+ position: absolute;
5
+ left: 0; top: 0;
6
+ .reset-gradient();
7
+ z-index: 1000;
8
+ padding: 5px 0 5px 0;
9
+ margin: @menu-margin;
10
+ min-width: 160px;
11
+ background: @menu-bg;
12
+ border: 1px solid mix(rgb(red(@menu-border), green(@menu-border), blue(@menu-border)), @panel-bg, round(alpha(@menu-border) * 200));
13
+ border: 1px solid @menu-border;
14
+ z-index: 1002;
15
+ .border-radius(6px);
16
+ .box-shadow(0 5px 10px rgba(0,0,0,.2));
17
+ max-height: 400px;
18
+ overflow: auto;
19
+ overflow-x: hidden;
20
+ }
21
+
22
+ .@{prefix}-menu i {
23
+ display: none;
24
+ }
25
+
26
+ .@{prefix}-menu-has-icons i {
27
+ display: inline-block;
28
+ *display: inline;
29
+ }
30
+
31
+ .@{prefix}-menu-sub-tr-tl { margin: -6px 0 0 -1px; }
32
+ .@{prefix}-menu-sub-br-bl { margin: 6px 0 0 -1px; }
33
+ .@{prefix}-menu-sub-tl-tr { margin: -6px 0 0 1px; }
34
+ .@{prefix}-menu-sub-bl-br { margin: 6px 0 0 1px; }
@@ -0,0 +1,32 @@
1
+ /* MenuBar */
2
+
3
+ .@{prefix}-menubar .@{prefix}-menubtn {
4
+ border-color: transparent;
5
+ background: transparent;
6
+ .border-radius(0);
7
+ .box-shadow(none);
8
+ filter: none;
9
+ }
10
+
11
+ .@{prefix}-menubar .@{prefix}-menubtn button {
12
+ color: @menubar-menubtn-text;
13
+ }
14
+
15
+ .@{prefix}-menubar {
16
+ border: 1px solid @menubar-border;
17
+ }
18
+
19
+ .@{prefix}-menubar .@{prefix}-menubtn button span {
20
+ color: @text;
21
+ }
22
+
23
+ .@{prefix}-menubar .@{prefix}-caret {
24
+ border-top-color: @text;
25
+ }
26
+
27
+ .@{prefix}-menubar .@{prefix}-menubtn:hover, .@{prefix}-menubar .@{prefix}-menubtn.@{prefix}-active, .@{prefix}-menubar .@{prefix}-menubtn:focus {
28
+ border-color: darken(@btn-bg, 20%);
29
+ background: @menu-bg;
30
+ filter: none;
31
+ .box-shadow(none);
32
+ }
@@ -0,0 +1,34 @@
1
+ /* MenuButton */
2
+
3
+ .@{prefix}-menubtn button {
4
+ color: @btn-text;
5
+ //margin-right: 2px;
6
+ //line-height: @line-height;
7
+ //*line-height: @line-height - 4px;
8
+ }
9
+
10
+ .@{prefix}-menubtn.@{prefix}-btn-small span {
11
+ font-size: @font-size - 2px;
12
+ }
13
+
14
+ .@{prefix}-menubtn.@{prefix}-fixed-width span {
15
+ display: inline-block;
16
+ overflow-x: hidden;
17
+ text-overflow: ellipsis;
18
+ width: 90px;
19
+ }
20
+
21
+ .@{prefix}-menubtn.@{prefix}-fixed-width.@{prefix}-btn-small span {
22
+ width: 70px;
23
+ }
24
+
25
+ .@{prefix}-menubtn .@{prefix}-caret {
26
+ *margin-top: 6px;
27
+ }
28
+
29
+ // RTL
30
+
31
+ .@{prefix}-rtl .@{prefix}-menubtn button {
32
+ direction: rtl;
33
+ text-align: right;
34
+ }
@@ -0,0 +1,176 @@
1
+ // MenuItem
2
+
3
+ .@{prefix}-menu-item {
4
+ display: block;
5
+ padding: 6px 15px 6px 12px;
6
+ clear: both;
7
+ font-weight: normal;
8
+ line-height: 20px;
9
+ color: @menuitem-text;
10
+ white-space: nowrap;
11
+ cursor: pointer;
12
+ line-height: normal;
13
+ border-left: 4px solid transparent;
14
+ margin-bottom: 1px;
15
+ }
16
+
17
+ .@{prefix}-menu-item .@{prefix}-ico, .@{prefix}-menu-item .@{prefix}-text {
18
+ color: @menuitem-text;
19
+ }
20
+
21
+ .@{prefix}-menu-item.@{prefix}-disabled .@{prefix}-text, .@{prefix}-menu-item.@{prefix}-disabled .@{prefix}-ico {
22
+ color: mix(@menuitem-text, @menu-bg, 40%);
23
+ }
24
+
25
+ .@{prefix}-menu-item:hover .@{prefix}-text, .@{prefix}-menu-item.@{prefix}-selected .@{prefix}-text, .@{prefix}-menu-item:focus .@{prefix}-text {
26
+ color: @menuitem-text-inverse;
27
+ }
28
+
29
+ .@{prefix}-menu-item:hover .@{prefix}-ico, .@{prefix}-menu-item.@{prefix}-selected .@{prefix}-ico, .@{prefix}-menu-item:focus .@{prefix}-ico {
30
+ color: @menuitem-text-inverse;
31
+ }
32
+
33
+ .@{prefix}-menu-item.@{prefix}-disabled:hover {
34
+ background: @menuitem-bg-disabled;
35
+ }
36
+
37
+ .@{prefix}-menu-shortcut {
38
+ display: inline-block;
39
+ color: mix(@menuitem-text, @menu-bg, 40%);
40
+ }
41
+
42
+ .@{prefix}-menu-shortcut {
43
+ .inline-block();
44
+ padding: 0 15px 0 20px;
45
+ }
46
+
47
+ .@{prefix}-menu-item:hover .@{prefix}-menu-shortcut, .@{prefix}-menu-item.@{prefix}-selected .@{prefix}-menu-shortcut, .@{prefix}-menu-item:focus .@{prefix}-menu-shortcut {
48
+ color: @menuitem-text-inverse;
49
+ }
50
+
51
+ .@{prefix}-menu-item .@{prefix}-caret {
52
+ margin-top: 4px;
53
+ *margin-top: 3px;
54
+ margin-right: 6px;
55
+ border-top: 4px solid transparent;
56
+ border-bottom: 4px solid transparent;
57
+ border-left: 4px solid @menuitem-caret;
58
+ }
59
+
60
+ .@{prefix}-menu-item.@{prefix}-selected .@{prefix}-caret, .@{prefix}-menu-item:focus .@{prefix}-caret, .@{prefix}-menu-item:hover .@{prefix}-caret {
61
+ border-left-color: @menuitem-caret-selected;
62
+ }
63
+
64
+ .@{prefix}-menu-align .@{prefix}-menu-shortcut {
65
+ *margin-top: -2px;
66
+ }
67
+
68
+ .@{prefix}-menu-align .@{prefix}-menu-shortcut, .@{prefix}-menu-align .@{prefix}-caret {
69
+ position: absolute;
70
+ right: 0;
71
+ }
72
+
73
+ .@{prefix}-menu-item.@{prefix}-active i {
74
+ visibility: visible;
75
+ }
76
+
77
+ .@{prefix}-menu-item-normal.@{prefix}-active {
78
+ background-color: @menuitem-bg-active;
79
+ }
80
+
81
+ .@{prefix}-menu-item-preview.@{prefix}-active {
82
+ border-left: 5px solid @menuitem-preview-border-active;
83
+ }
84
+
85
+ .@{prefix}-menu-item-normal.@{prefix}-active .@{prefix}-text {
86
+ color: @menuitem-text-active;
87
+ }
88
+
89
+ .@{prefix}-menu-item-normal.@{prefix}-active:hover .@{prefix}-text, .@{prefix}-menu-item-normal.@{prefix}-active:hover .@{prefix}-ico {
90
+ color: @menuitem-text-inverse;
91
+ }
92
+
93
+ .@{prefix}-menu-item-normal.@{prefix}-active:focus .@{prefix}-text, .@{prefix}-menu-item-normal.@{prefix}-active:focus .@{prefix}-ico {
94
+ color: @menuitem-text-inverse;
95
+ }
96
+
97
+ .@{prefix}-menu-item:hover, .@{prefix}-menu-item.@{prefix}-selected, .@{prefix}-menu-item:focus {
98
+ text-decoration: none;
99
+ color: @menuitem-text-inverse;
100
+ .vertical-gradient(@menuitem-bg-selected, @menuitem-bg-selected-hlight);
101
+ }
102
+
103
+ .@{prefix}-menu-item-link {
104
+ color: #093;
105
+ overflow: hidden;
106
+ text-overflow: ellipsis;
107
+ white-space: nowrap;
108
+
109
+ b {
110
+ color: #093;
111
+ }
112
+ }
113
+
114
+ .@{prefix}-menu-item-ellipsis {
115
+ display: block;
116
+ text-overflow: ellipsis;
117
+ white-space: nowrap;
118
+ overflow: hidden;
119
+ }
120
+
121
+ .@{prefix}-menu-item:hover *, .@{prefix}-menu-item.@{prefix}-selected *, .@{prefix}-menu-item:focus * {
122
+ color: @menuitem-text-inverse;
123
+ }
124
+
125
+ div.@{prefix}-menu .@{prefix}-menu-item-sep, .@{prefix}-menu-item-sep:hover {
126
+ border: 0;
127
+ padding: 0;
128
+ height: 1px;
129
+ margin: 9px 1px;
130
+ overflow: hidden;
131
+ background: @menuitem-separator-top;
132
+ border-bottom: 1px solid @menuitem-separator-bottom;
133
+ cursor: default;
134
+ filter: none;
135
+ }
136
+
137
+ div.@{prefix}-menu .@{prefix}-menu-item b {
138
+ font-weight: bold;
139
+ }
140
+
141
+ .@{prefix}-menu-item-indent-1 { padding-left: 20px; }
142
+ .@{prefix}-menu-item-indent-2 { padding-left: 35px; }
143
+ .@{prefix}-menu-item-indent-2 { padding-left: 35px; }
144
+ .@{prefix}-menu-item-indent-3 { padding-left: 40px; }
145
+ .@{prefix}-menu-item-indent-4 { padding-left: 45px; }
146
+ .@{prefix}-menu-item-indent-5 { padding-left: 50px; }
147
+ .@{prefix}-menu-item-indent-6 { padding-left: 55px; }
148
+
149
+ // RTL
150
+
151
+ .@{prefix}-menu.@{prefix}-rtl {
152
+ direction: rtl;
153
+ }
154
+
155
+ .@{prefix}-rtl .@{prefix}-menu-item {
156
+ text-align: right;
157
+ direction: rtl;
158
+ padding: 6px 12px 6px 15px;
159
+ }
160
+
161
+ .@{prefix}-menu-align.@{prefix}-rtl .@{prefix}-menu-shortcut, .@{prefix}-menu-align.@{prefix}-rtl .@{prefix}-caret {
162
+ right: auto;
163
+ left: 0;
164
+ }
165
+
166
+ .@{prefix}-rtl .@{prefix}-menu-item .@{prefix}-caret {
167
+ margin-left: 6px;
168
+ margin-right: 0;
169
+ border-right: 4px solid @menuitem-caret;
170
+ border-left: 0;
171
+ }
172
+
173
+ .@{prefix}-rtl .@{prefix}-menu-item.@{prefix}-selected .@{prefix}-caret, .@{prefix}-rtl .@{prefix}-menu-item:focus .@{prefix}-caret, .@{prefix}-rtl .@{prefix}-menu-item:hover .@{prefix}-caret {
174
+ border-left-color: transparent;
175
+ border-right-color: @menuitem-caret-selected;
176
+ }