trestle-tinymce 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +13 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +5 -0
  5. data/Gemfile +4 -0
  6. data/Gruntfile.js +77 -0
  7. data/LICENSE +165 -0
  8. data/README.md +60 -0
  9. data/Rakefile +6 -0
  10. data/app/assets/javascripts/tinymce/skins/trestle/_skin-lightgray.scss +2415 -0
  11. data/app/assets/javascripts/tinymce/skins/trestle/content.inline.min.css +182 -0
  12. data/app/assets/javascripts/tinymce/skins/trestle/content.min.css +201 -0
  13. data/app/assets/javascripts/tinymce/skins/trestle/fonts/tinymce-small.eot +0 -0
  14. data/app/assets/javascripts/tinymce/skins/trestle/fonts/tinymce-small.svg +63 -0
  15. data/app/assets/javascripts/tinymce/skins/trestle/fonts/tinymce-small.ttf +0 -0
  16. data/app/assets/javascripts/tinymce/skins/trestle/fonts/tinymce-small.woff +0 -0
  17. data/app/assets/javascripts/tinymce/skins/trestle/fonts/tinymce.eot +0 -0
  18. data/app/assets/javascripts/tinymce/skins/trestle/fonts/tinymce.svg +131 -0
  19. data/app/assets/javascripts/tinymce/skins/trestle/fonts/tinymce.ttf +0 -0
  20. data/app/assets/javascripts/tinymce/skins/trestle/fonts/tinymce.woff +0 -0
  21. data/app/assets/javascripts/tinymce/skins/trestle/img/anchor.gif +0 -0
  22. data/app/assets/javascripts/tinymce/skins/trestle/img/loader.gif +0 -0
  23. data/app/assets/javascripts/tinymce/skins/trestle/img/object.gif +0 -0
  24. data/app/assets/javascripts/tinymce/skins/trestle/img/trans.gif +0 -0
  25. data/app/assets/javascripts/tinymce/skins/trestle/skin.min.scss +64 -0
  26. data/app/assets/javascripts/trestle/tinymce.js.coffee +10 -0
  27. data/config/initializers/trestle.rb +39 -0
  28. data/lib/trestle/tinymce.rb +6 -0
  29. data/lib/trestle/tinymce/configuration.rb +8 -0
  30. data/lib/trestle/tinymce/engine.rb +9 -0
  31. data/lib/trestle/tinymce/field.rb +9 -0
  32. data/lib/trestle/tinymce/version.rb +5 -0
  33. data/package.json +14 -0
  34. data/src/trestle/fonts/readme.md +1 -0
  35. data/src/trestle/fonts/tinymce-small.eot +0 -0
  36. data/src/trestle/fonts/tinymce-small.json +1277 -0
  37. data/src/trestle/fonts/tinymce-small.svg +63 -0
  38. data/src/trestle/fonts/tinymce-small.ttf +0 -0
  39. data/src/trestle/fonts/tinymce-small.woff +0 -0
  40. data/src/trestle/fonts/tinymce.eot +0 -0
  41. data/src/trestle/fonts/tinymce.json +3469 -0
  42. data/src/trestle/fonts/tinymce.svg +131 -0
  43. data/src/trestle/fonts/tinymce.ttf +0 -0
  44. data/src/trestle/fonts/tinymce.woff +0 -0
  45. data/src/trestle/img/anchor.gif +0 -0
  46. data/src/trestle/img/loader.gif +0 -0
  47. data/src/trestle/img/object.gif +0 -0
  48. data/src/trestle/img/trans.gif +0 -0
  49. data/src/trestle/less/AbsoluteLayout.less +17 -0
  50. data/src/trestle/less/Animations.less +10 -0
  51. data/src/trestle/less/Arrows.less +115 -0
  52. data/src/trestle/less/Button.less +175 -0
  53. data/src/trestle/less/ButtonGroup.less +71 -0
  54. data/src/trestle/less/Checkbox.less +49 -0
  55. data/src/trestle/less/ColorBox.less +6 -0
  56. data/src/trestle/less/ColorButton.less +72 -0
  57. data/src/trestle/less/ColorPicker.less +80 -0
  58. data/src/trestle/less/ComboBox.less +97 -0
  59. data/src/trestle/less/Container.less +9 -0
  60. data/src/trestle/less/Content.Inline.less +4 -0
  61. data/src/trestle/less/Content.Objects.less +189 -0
  62. data/src/trestle/less/Content.less +27 -0
  63. data/src/trestle/less/CropRect.less +62 -0
  64. data/src/trestle/less/FieldSet.less +15 -0
  65. data/src/trestle/less/FitLayout.less +9 -0
  66. data/src/trestle/less/FloatPanel.less +69 -0
  67. data/src/trestle/less/FlowLayout.less +36 -0
  68. data/src/trestle/less/Icons.less +182 -0
  69. data/src/trestle/less/Iframe.less +6 -0
  70. data/src/trestle/less/ImagePanel.less +25 -0
  71. data/src/trestle/less/InfoBox.less +71 -0
  72. data/src/trestle/less/Label.less +38 -0
  73. data/src/trestle/less/ListBox.less +26 -0
  74. data/src/trestle/less/Menu.less +34 -0
  75. data/src/trestle/less/MenuBar.less +32 -0
  76. data/src/trestle/less/MenuButton.less +34 -0
  77. data/src/trestle/less/MenuItem.less +176 -0
  78. data/src/trestle/less/Mixins.less +54 -0
  79. data/src/trestle/less/Notification.less +142 -0
  80. data/src/trestle/less/Panel.less +7 -0
  81. data/src/trestle/less/Path.less +45 -0
  82. data/src/trestle/less/Progress.less +34 -0
  83. data/src/trestle/less/Radio.less +1 -0
  84. data/src/trestle/less/Reset.less +32 -0
  85. data/src/trestle/less/ResizeHandle.less +18 -0
  86. data/src/trestle/less/Scrollable.less +44 -0
  87. data/src/trestle/less/SelectBox.less +6 -0
  88. data/src/trestle/less/Sidebar.less +49 -0
  89. data/src/trestle/less/Skin.less +48 -0
  90. data/src/trestle/less/Slider.less +33 -0
  91. data/src/trestle/less/Spacer.less +5 -0
  92. data/src/trestle/less/SplitButton.less +49 -0
  93. data/src/trestle/less/StackLayout.less +5 -0
  94. data/src/trestle/less/TabPanel.less +44 -0
  95. data/src/trestle/less/TextBox.less +41 -0
  96. data/src/trestle/less/Throbber.less +19 -0
  97. data/src/trestle/less/TinyMCE.less +218 -0
  98. data/src/trestle/less/ToolTip.less +133 -0
  99. data/src/trestle/less/Variables.less +224 -0
  100. data/src/trestle/less/Window.less +127 -0
  101. data/trestle-tinymce.gemspec +26 -0
  102. metadata +200 -0
@@ -0,0 +1,71 @@
1
+ // ButtonGroup
2
+
3
+ .btn-group-border-left(@border-color) when (@has-button-borders = true) {
4
+ border-left: 1px solid @border-color;
5
+ }
6
+
7
+ .btn-group-border-right(@border-color) when (@has-button-borders = true) {
8
+ border-right: 1px solid @border-color;
9
+ }
10
+
11
+
12
+ .@{prefix}-btn-group .@{prefix}-btn {
13
+ border-width: @btn-group-border-width;
14
+ margin: 0;
15
+ .border-radius(0);
16
+ margin-left: @flow-layout-spacing;
17
+ }
18
+
19
+ .@{prefix}-btn-group .@{prefix}-btn when (@has-button-borders = true) {
20
+ border-left-width: 0;
21
+ border-right-width: 0;
22
+ margin-left: 0;
23
+ }
24
+
25
+ .@{prefix}-btn-group:not(:first-child) when (@has-button-borders = true) {
26
+ padding-left: 1px;
27
+ margin-left: 1px;
28
+ }
29
+
30
+ .@{prefix}-btn-group:not(:first-child) when (@has-button-borders = false) {
31
+ border-left: 1px solid darken(@btn-bg, 15%);
32
+ padding-left: @flow-layout-spacing + 1px;
33
+ margin-left: @flow-layout-spacing + 1px;
34
+ }
35
+
36
+ .@{prefix}-btn-group .@{prefix}-first {
37
+ .border-radius(3px 0 0 3px);
38
+ .btn-group-border-left(@btn-border-left);
39
+ margin-left: 0;
40
+ }
41
+
42
+ .@{prefix}-btn-group .@{prefix}-last {
43
+ .border-radius(0 3px 3px 0);
44
+ .btn-group-border-right(@btn-border-right);
45
+ }
46
+
47
+ .@{prefix}-btn-group .@{prefix}-first.@{prefix}-last {
48
+ .border-radius(3px);
49
+ }
50
+
51
+ .@{prefix}-btn-group .@{prefix}-btn.@{prefix}-flow-layout-item {
52
+ margin: 0;
53
+ }
54
+
55
+ // RTL
56
+
57
+ .@{prefix}-rtl .@{prefix}-btn-group .@{prefix}-btn {
58
+ margin-left: 0;
59
+ margin-right: @flow-layout-spacing;
60
+ }
61
+
62
+ .@{prefix}-rtl .@{prefix}-btn-group .@{prefix}-first {
63
+ margin-right: 0;
64
+ }
65
+
66
+ .@{prefix}-rtl .@{prefix}-btn-group:not(:first-child) {
67
+ border-left: none;
68
+ border-right:1px solid darken(@btn-bg, 15%);
69
+ padding-right: @flow-layout-spacing + 2px;
70
+ margin-right: @flow-layout-spacing + 2px;
71
+ }
@@ -0,0 +1,49 @@
1
+ // Checkbox
2
+
3
+ .@{prefix}-checkbox {
4
+ cursor: pointer;
5
+ }
6
+
7
+ i.@{prefix}-i-checkbox {
8
+ margin: 0 3px 0 0;
9
+ border: 1px solid @checkbox-border;
10
+ .border-radius(3px);
11
+ .box-shadow(@checkbox-box-shadow);
12
+ .vertical-gradient(@checkbox-bg, @checkbox-bg-hlight);
13
+ text-indent: -10em;
14
+ *font-size: 0;
15
+ *line-height: 0;
16
+ *text-indent: 0;
17
+ overflow: hidden;
18
+ }
19
+
20
+ .@{prefix}-checked i.@{prefix}-i-checkbox {
21
+ color: @btn-text;
22
+ font-size: 16px;
23
+ line-height: 16px;
24
+ text-indent: 0;
25
+ }
26
+
27
+ .@{prefix}-checkbox:focus i.@{prefix}-i-checkbox, .@{prefix}-checkbox.@{prefix}-focus i.@{prefix}-i-checkbox {
28
+ border: 1px solid @checkbox-border-focus;
29
+ .box-shadow(inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px fadeout(@checkbox-border-focus, 15%));
30
+ }
31
+
32
+ .@{prefix}-checkbox.@{prefix}-disabled .@{prefix}-label, .@{prefix}-checkbox.@{prefix}-disabled i.@{prefix}-i-checkbox {
33
+ color: mix(@text, @panel-bg, 40%);
34
+ }
35
+
36
+ .@{prefix}-checkbox .@{prefix}-label {
37
+ vertical-align: middle;
38
+ }
39
+
40
+ // RTL
41
+
42
+ .@{prefix}-rtl .@{prefix}-checkbox {
43
+ direction: rtl;
44
+ text-align: right;
45
+ }
46
+
47
+ .@{prefix}-rtl i.@{prefix}-i-checkbox {
48
+ margin: 0 0 0 3px;
49
+ }
@@ -0,0 +1,6 @@
1
+ // ColorBox
2
+
3
+ .@{prefix}-colorbox i {
4
+ border: 1px solid @textbox-border;
5
+ width: 14px; height: 14px;
6
+ }
@@ -0,0 +1,72 @@
1
+ // ColorButton
2
+
3
+ .@{prefix}-colorbutton .@{prefix}-ico {
4
+ position: relative;
5
+ }
6
+
7
+ .@{prefix}-colorbutton-grid {
8
+ margin: 4px;
9
+ }
10
+
11
+ .@{prefix}-colorbutton button {
12
+ padding-right: 6px;
13
+ padding-left: 6px;
14
+ }
15
+
16
+ .@{prefix}-colorbutton .@{prefix}-preview {
17
+ padding-right: 3px;
18
+ display: block;
19
+ position: absolute;
20
+ left: 50%;
21
+ top: 50%;
22
+ margin-left: -17px;
23
+ margin-top: 7px;
24
+ background: gray;
25
+ width: 13px;
26
+ height: 2px;
27
+ overflow: hidden;
28
+ }
29
+
30
+ .@{prefix}-colorbutton.@{prefix}-btn-small .@{prefix}-preview {
31
+ margin-left: -16px;
32
+ padding-right: 0;
33
+ width: 16px;
34
+ }
35
+
36
+ .@{prefix}-colorbutton .@{prefix}-open {
37
+ padding-left: 4px;
38
+ padding-right: 4px;
39
+ border-left: 1px solid transparent;
40
+ }
41
+
42
+ .@{prefix}-colorbutton:hover .@{prefix}-open {
43
+ border-color: darken(@btn-bg, 20%);
44
+ }
45
+
46
+ .@{prefix}-colorbutton.@{prefix}-btn-small .@{prefix}-open {
47
+ padding: 0 3px 0 3px;
48
+ }
49
+
50
+ // RTL
51
+
52
+ .@{prefix}-rtl .@{prefix}-colorbutton {
53
+ direction: rtl;
54
+ }
55
+
56
+ .@{prefix}-rtl .@{prefix}-colorbutton .@{prefix}-preview {
57
+ margin-left: 0;
58
+ padding-right: 0;
59
+ padding-left: 3px;
60
+ }
61
+
62
+ .@{prefix}-rtl .@{prefix}-colorbutton.@{prefix}-btn-small .@{prefix}-preview {
63
+ margin-left: 0;
64
+ padding-right: 0;
65
+ padding-left: 2px;
66
+ }
67
+
68
+ .@{prefix}-rtl .@{prefix}-colorbutton .@{prefix}-open {
69
+ padding-left: 4px;
70
+ padding-right: 4px;
71
+ border-left: 0;
72
+ }
@@ -0,0 +1,80 @@
1
+ // ColorPicker
2
+
3
+ .@{prefix}-colorpicker {
4
+ position: relative;
5
+ width: 250px;
6
+ height: 220px;
7
+ }
8
+
9
+ .@{prefix}-colorpicker-sv {
10
+ position: absolute;
11
+ top: 0; left: 0;
12
+ width: 90%;
13
+ height: 100%;
14
+ border: 1px solid @colorpicker-border;
15
+ cursor: crosshair;
16
+ overflow: hidden;
17
+ }
18
+
19
+ .@{prefix}-colorpicker-h-chunk {
20
+ width: 100%;
21
+ }
22
+
23
+ .@{prefix}-colorpicker-overlay1, .@{prefix}-colorpicker-overlay2 {
24
+ width: 100%;
25
+ height: 100%;
26
+ position: absolute;
27
+ top: 0;
28
+ left: 0;
29
+ }
30
+
31
+ .@{prefix}-colorpicker-overlay1 {
32
+ filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr='#ffffff', endColorstr='#00ffffff');
33
+ -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr='#ffffff', endColorstr='#00ffffff')";
34
+ background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
35
+ }
36
+
37
+ .@{prefix}-colorpicker-overlay2 {
38
+ filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#00000000', endColorstr='#000000');
39
+ -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#00000000', endColorstr='#000000')";
40
+ background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1));
41
+ }
42
+
43
+ .@{prefix}-colorpicker-selector1 {
44
+ background: none;
45
+ position: absolute;
46
+ width: 12px;
47
+ height: 12px;
48
+ margin: -8px 0 0 -8px;
49
+ border: 1px solid black;
50
+ border-radius: 50%;
51
+ }
52
+
53
+ .@{prefix}-colorpicker-selector2 {
54
+ position: absolute;
55
+ width: 10px;
56
+ height: 10px;
57
+ border: 1px solid white;
58
+ border-radius: 50%;
59
+ }
60
+
61
+ .@{prefix}-colorpicker-h {
62
+ position: absolute;
63
+ top: 0; right: 0;
64
+ width: 6.5%;
65
+ height: 100%;
66
+ border: 1px solid @colorpicker-border;
67
+ cursor: crosshair;
68
+ }
69
+
70
+ .@{prefix}-colorpicker-h-marker {
71
+ margin-top: -4px;
72
+ position: absolute;
73
+ top: 0;
74
+ left: -1px;
75
+ width: 100%;
76
+ border: 1px solid @colorpicker-hue-border;
77
+ background: @colorpicker-hue-bg;
78
+ height: 4px;
79
+ z-index: 100;
80
+ }
@@ -0,0 +1,97 @@
1
+ // ComboBox
2
+
3
+ .@{prefix}-combobox {
4
+ position: relative;
5
+ .inline-block();
6
+ .border-radius(3px);
7
+ .box-shadow(@textbox-box-shadow);
8
+ *height: 32px;
9
+ }
10
+
11
+ .@{prefix}-combobox input {
12
+ border: 1px solid @textbox-border;
13
+ border-right-color: @combobox-border;
14
+ height: 28px;
15
+ }
16
+
17
+ .@{prefix}-combobox.@{prefix}-disabled input {
18
+ color: mix(@text, @textbox-bg, 40%);
19
+ }
20
+
21
+ .@{prefix}-combobox.@{prefix}-has-open input {
22
+ .border-radius(4px 0 0 4px);
23
+ }
24
+
25
+ .@{prefix}-combobox .@{prefix}-btn {
26
+ border: 1px solid @textbox-border;
27
+ border-left: 0;
28
+ .border-radius(0 4px 4px 0);
29
+ margin: 0;
30
+ }
31
+
32
+ .@{prefix}-combobox button {
33
+ padding-right: 8px;
34
+ padding-left: 8px;
35
+ }
36
+
37
+ .@{prefix}-combobox.@{prefix}-disabled .@{prefix}-btn button {
38
+ cursor: default;
39
+ .box-shadow(none);
40
+ .opacity(@btn-box-disabled-opacity);
41
+ }
42
+
43
+ .@{prefix}-combobox .@{prefix}-status {
44
+ position: absolute;
45
+ right: 2px;
46
+ top: 50%;
47
+ line-height: 16px;
48
+ margin-top: -8px;
49
+ font-size: 12px;
50
+ width: 15px;
51
+ height: 15px;
52
+ text-align: center;
53
+ cursor: pointer;
54
+ }
55
+
56
+ .@{prefix}-combobox.@{prefix}-has-status input {
57
+ padding-right: 20px;
58
+ }
59
+
60
+ .@{prefix}-combobox.@{prefix}-has-open .@{prefix}-status {
61
+ right: 37px;
62
+ }
63
+
64
+ .@{prefix}-combobox .@{prefix}-status.@{prefix}-i-warning {
65
+ color: @combobox-warning-text;
66
+ }
67
+
68
+ .@{prefix}-combobox .@{prefix}-status.@{prefix}-i-checkmark {
69
+ color: @combobox-success-text;
70
+ }
71
+
72
+ .@{prefix}-menu.@{prefix}-combobox-menu {
73
+ border-top: 0;
74
+ margin-top: 0;
75
+ max-height: 200px;
76
+
77
+ .@{prefix}-menu-item {
78
+ padding: 4px 6px 4px 4px;
79
+ font-size: 11px;
80
+ }
81
+
82
+ .@{prefix}-menu-item-sep {
83
+ padding: 0;
84
+ }
85
+
86
+ .@{prefix}-text {
87
+ font-size: 11px;
88
+ }
89
+
90
+ .@{prefix}-menu-item-link, .@{prefix}-menu-item-link b {
91
+ font-size: 11px;
92
+ }
93
+
94
+ .@{prefix}-text b {
95
+ font-size: 11px;
96
+ }
97
+ }
@@ -0,0 +1,9 @@
1
+ // Container
2
+
3
+ .@{prefix}-container, .@{prefix}-container-body {
4
+ display: block;
5
+ }
6
+
7
+ .@{prefix}-autoscroll {
8
+ overflow: hidden;
9
+ }
@@ -0,0 +1,4 @@
1
+ /* Content.Inline.less */
2
+
3
+ @import "Mixins.less";
4
+ @import "Content.Objects.less";
@@ -0,0 +1,189 @@
1
+ /* Content.Objects.less */
2
+
3
+ .mce-content-body .mce-reset {
4
+ margin: 0; padding: 0; border: 0; outline: 0;
5
+ vertical-align: top; background: transparent;
6
+ text-decoration: none; color: black;
7
+ font-family: Arial;
8
+ font-size: 11px; text-shadow: none; float: none;
9
+ position: static; width: auto; height: auto;
10
+ white-space: nowrap; cursor: inherit;
11
+ line-height: normal; font-weight: normal;
12
+ text-align: left;
13
+ -webkit-tap-highlight-color: transparent;
14
+ -moz-box-sizing: content-box;
15
+ -webkit-box-sizing: content-box;
16
+ box-sizing: content-box;
17
+ direction: ltr;
18
+ max-width: none;
19
+ }
20
+
21
+ .mce-object {
22
+ border: 1px dotted #3A3A3A;
23
+ background: #D5D5D5 url(img/object.gif) no-repeat center;
24
+ }
25
+
26
+ .mce-preview-object {
27
+ display: inline-block;
28
+ position: relative;
29
+ margin: 0 2px 0 2px;
30
+ line-height: 0;
31
+ border: 1px solid gray;
32
+ }
33
+
34
+ .mce-preview-object[data-mce-selected="2"] .mce-shim {
35
+ display: none;
36
+ }
37
+
38
+ .mce-preview-object .mce-shim {
39
+ position: absolute;
40
+ top: 0; left: 0;
41
+ width: 100%; height: 100%;
42
+ background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
43
+ }
44
+
45
+ figure.align-left {
46
+ float: left;
47
+ }
48
+
49
+ figure.align-right {
50
+ float: right;
51
+ }
52
+
53
+ figure.image.align-center {
54
+ display: table;
55
+ margin-left: auto;
56
+ margin-right: auto;
57
+ }
58
+
59
+ figure.image {
60
+ display: inline-block;
61
+ border: 1px solid gray;
62
+ margin: 0 2px 0 1px;
63
+ background: #f5f2f0;
64
+ }
65
+
66
+ figure.image img {
67
+ margin: 8px 8px 0 8px;
68
+ }
69
+
70
+ figure.image figcaption {
71
+ margin: 6px 8px 6px 8px;
72
+ text-align: center;
73
+ }
74
+
75
+ .mce-toc {
76
+ border: 1px solid gray;
77
+ }
78
+
79
+ .mce-toc h2 {
80
+ margin: 4px;
81
+ }
82
+
83
+ .mce-toc li {
84
+ list-style-type: none;
85
+ }
86
+
87
+ .mce-pagebreak {
88
+ cursor: default;
89
+ display: block;
90
+ border: 0;
91
+ width: 100%;
92
+ height: 5px;
93
+ border: 1px dashed #666;
94
+ margin-top: 15px;
95
+ page-break-before: always;
96
+ }
97
+
98
+ @media print {
99
+ .mce-pagebreak {
100
+ border: 0px;
101
+ }
102
+ }
103
+
104
+ .mce-item-anchor {
105
+ cursor: default;
106
+ display: inline-block;
107
+ -webkit-user-select: all;
108
+ -webkit-user-modify: read-only;
109
+ -moz-user-select: all;
110
+ -moz-user-modify: read-only;
111
+ user-select: all;
112
+ user-modify: read-only;
113
+ width: 9px !important;
114
+ height: 9px !important;
115
+ border: 1px dotted #3A3A3A;
116
+ background: #D5D5D5 url(img/anchor.gif) no-repeat center;
117
+ }
118
+
119
+ .mce-nbsp, .mce-shy {
120
+ background: #AAA;
121
+ }
122
+
123
+ .mce-shy::after {
124
+ content: '-';
125
+ }
126
+
127
+ .mce-match-marker {
128
+ background: #AAA;
129
+ color: #fff;
130
+ }
131
+
132
+ .mce-match-marker-selected {
133
+ background: #3399ff;
134
+ color: #fff;
135
+ }
136
+
137
+ .mce-spellchecker-word {
138
+ border-bottom: 2px solid #F00;
139
+ cursor: default;
140
+ }
141
+
142
+ .mce-spellchecker-grammar {
143
+ border-bottom: 2px solid #008000;
144
+ cursor: default;
145
+ }
146
+
147
+ .mce-item-table, .mce-item-table td, .mce-item-table th, .mce-item-table caption {
148
+ border: 1px dashed #BBB;
149
+ }
150
+
151
+ td[data-mce-selected], th[data-mce-selected] {
152
+ background-color: #3399ff !important;
153
+ }
154
+
155
+ .mce-edit-focus {
156
+ outline: 1px dotted #333;
157
+ }
158
+
159
+ .mce-resize-bar-dragging {
160
+ background-color: blue;
161
+ .opacity(0.25);
162
+ }
163
+
164
+ .mce-content-body {
165
+ // Keeps IE/Edge/Gecko from moving the lines when NBZWSP gets inserted
166
+ p, div, h1, h2, h3, h4, h5, h6 {
167
+ line-height: 1.2em;
168
+ }
169
+
170
+ *[contentEditable=false] *[contentEditable=true]:focus {
171
+ outline: 2px solid #2d8ac7;
172
+ }
173
+
174
+ *[contentEditable=false] *[contentEditable=true]:hover {
175
+ outline: 2px solid #7ACAFF;
176
+ }
177
+
178
+ *[contentEditable=false][data-mce-selected] {
179
+ outline: 2px solid #2d8ac7;
180
+ }
181
+
182
+ a[data-mce-selected], code[data-mce-selected] {
183
+ background: #bfe6ff;
184
+ }
185
+
186
+ hr {
187
+ cursor: default;
188
+ }
189
+ }