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,27 @@
1
+ /* Content.less */
2
+
3
+ @font-family: Verdana, Arial, Helvetica, sans-serif;
4
+ @font-size: 14px;
5
+
6
+ body {
7
+ background-color: #FFFFFF;
8
+ color: #000000;
9
+ font-family: @font-family;
10
+ font-size: @font-size;
11
+ scrollbar-3dlight-color: #F0F0EE;
12
+ scrollbar-arrow-color: #676662;
13
+ scrollbar-base-color: #F0F0EE;
14
+ scrollbar-darkshadow-color: #DDDDDD;
15
+ scrollbar-face-color: #E0E0DD;
16
+ scrollbar-highlight-color: #F0F0EE;
17
+ scrollbar-shadow-color: #F0F0EE;
18
+ scrollbar-track-color: #F5F5F5;
19
+ }
20
+
21
+ td, th {
22
+ font-family: @font-family;
23
+ font-size: @font-size;
24
+ }
25
+
26
+ @import "Mixins.less";
27
+ @import "Content.Objects.less";
@@ -0,0 +1,62 @@
1
+ // CropRect
2
+
3
+ .@{prefix}-croprect-container {
4
+ position: absolute;
5
+ top: 0;
6
+ left: 0;
7
+ }
8
+
9
+ .@{prefix}-croprect-handle {
10
+ position: absolute;
11
+ top: 0; left: 0;
12
+ width: 20px; height: 20px;
13
+ border: 2px solid white;
14
+ }
15
+
16
+ .@{prefix}-croprect-handle-nw {
17
+ border-width: 2px 0 0 2px;
18
+ margin: -2px 0 0 -2px;
19
+ cursor: nw-resize;
20
+ top: 100px; left: 100px;
21
+ }
22
+
23
+ .@{prefix}-croprect-handle-ne {
24
+ border-width: 2px 2px 0 0;
25
+ margin: -2px 0 0 -20px;
26
+ cursor: ne-resize;
27
+ top: 100px; left: 200px;
28
+ }
29
+
30
+ .@{prefix}-croprect-handle-sw {
31
+ border-width: 0 0 2px 2px;
32
+ margin: -20px 2px 0 -2px;
33
+ cursor: sw-resize;
34
+ top: 200px; left: 100px;
35
+ }
36
+
37
+ .@{prefix}-croprect-handle-se {
38
+ border-width: 0 2px 2px 0;
39
+ margin: -20px 0 0 -20px;
40
+ cursor: se-resize;
41
+ top: 200px; left: 200px;
42
+ }
43
+
44
+ .@{prefix}-croprect-handle-move {
45
+ position: absolute;
46
+ cursor: move;
47
+ border: 0;
48
+ }
49
+
50
+ .@{prefix}-croprect-block {
51
+ .opacity(@window-modalblock-opacity);
52
+ position: absolute;
53
+ background: black;
54
+ }
55
+
56
+ .@{prefix}-croprect-handle:focus {
57
+ border-color: @textbox-border-focus;
58
+ }
59
+
60
+ .@{prefix}-croprect-handle-move:focus {
61
+ outline: 1px solid @textbox-border-focus;
62
+ }
@@ -0,0 +1,15 @@
1
+ // FieldSet
2
+
3
+ .@{prefix}-fieldset {
4
+ border: 0 solid #9E9E9E;
5
+ .border-radius(3px);
6
+ }
7
+
8
+ .@{prefix}-fieldset > .@{prefix}-container-body {
9
+ margin-top: -15px;
10
+ }
11
+
12
+ .@{prefix}-fieldset-title {
13
+ margin-left: 5px;
14
+ padding: 0 5px 0 5px;
15
+ }
@@ -0,0 +1,9 @@
1
+ // FitLayout
2
+
3
+ .@{prefix}-fit-layout {
4
+ .inline-block();
5
+ }
6
+
7
+ .@{prefix}-fit-layout-item {
8
+ position: absolute;
9
+ }
@@ -0,0 +1,69 @@
1
+ // FloatPanel
2
+
3
+ .@{prefix}-floatpanel {
4
+ position: absolute;
5
+ .box-shadow(@floatpanel-box-shadow);
6
+ }
7
+
8
+ .@{prefix}-floatpanel.@{prefix}-fixed {
9
+ position: fixed;
10
+ }
11
+
12
+ // Popover panel
13
+
14
+ .@{prefix}-floatpanel .@{prefix}-arrow,
15
+ .@{prefix}-floatpanel .@{prefix}-arrow:after {
16
+ position: absolute;
17
+ display: block;
18
+ width: 0;
19
+ height: 0;
20
+ border-color: transparent;
21
+ border-style: solid;
22
+ }
23
+
24
+ .@{prefix}-floatpanel .@{prefix}-arrow {
25
+ border-width: @popover-arrow-outer-width;
26
+ }
27
+
28
+ .@{prefix}-floatpanel .@{prefix}-arrow:after {
29
+ border-width: @popover-arrow-width;
30
+ content: "";
31
+ }
32
+
33
+ .@{prefix}-floatpanel.@{prefix}-popover {
34
+ .reset-gradient();
35
+ .border-radius(6px);
36
+ .box-shadow(@floatpanel-box-shadow);
37
+ top: 0;
38
+ left: 0;
39
+ background: @popover-bg;
40
+ border: 1px solid @panel-border;
41
+ border: 1px solid @popover-arrow-outer;
42
+
43
+ &.@{prefix}-bottom {
44
+ margin-top: @popover-arrow-width;
45
+ *margin-top: 0;
46
+
47
+ & > .@{prefix}-arrow {
48
+ left: 50%;
49
+ margin-left: -@popover-arrow-outer-width;
50
+ border-top-width: 0;
51
+ border-bottom-color: @panel-border;
52
+ border-bottom-color: @popover-arrow-outer;
53
+ top: -@popover-arrow-outer-width;
54
+
55
+ &:after {
56
+ top: 1px;
57
+ margin-left: -@popover-arrow-width;
58
+ border-top-width: 0;
59
+ border-bottom-color: @popover-arrow;
60
+ }
61
+ }
62
+
63
+ &.@{prefix}-start { margin-left: -22px; }
64
+ &.@{prefix}-start > .@{prefix}-arrow { left: 20px; }
65
+
66
+ &.@{prefix}-end { margin-left: 22px; }
67
+ &.@{prefix}-end > .@{prefix}-arrow { right: 10px; left: auto; }
68
+ }
69
+ }
@@ -0,0 +1,36 @@
1
+ // FlowLayout
2
+
3
+ .@{prefix}-flow-layout-item {
4
+ .inline-block();
5
+ }
6
+
7
+ .@{prefix}-flow-layout-item {
8
+ margin: @flow-layout-spacing 0 @flow-layout-spacing @flow-layout-spacing;
9
+ }
10
+
11
+ .@{prefix}-flow-layout-item.@{prefix}-last {
12
+ margin-right: @flow-layout-spacing;
13
+ }
14
+
15
+ .@{prefix}-flow-layout {
16
+ white-space: normal;
17
+ }
18
+
19
+ .@{prefix}-tinymce-inline .@{prefix}-flow-layout {
20
+ white-space: nowrap;
21
+ }
22
+
23
+ // RTL
24
+
25
+ .@{prefix}-rtl .@{prefix}-flow-layout {
26
+ text-align: right;
27
+ direction: rtl;
28
+ }
29
+
30
+ .@{prefix}-rtl .@{prefix}-flow-layout-item {
31
+ margin: @flow-layout-spacing @flow-layout-spacing @flow-layout-spacing 0;
32
+ }
33
+
34
+ .@{prefix}-rtl .@{prefix}-flow-layout-item.@{prefix}-last {
35
+ margin-left: @flow-layout-spacing;
36
+ }
@@ -0,0 +1,182 @@
1
+ /* Icons */
2
+
3
+ @font-face {
4
+ font-family: 'tinymce';
5
+ src:url('fonts/tinymce.eot');
6
+ src:url('fonts/tinymce.eot?#iefix') format('embedded-opentype'),
7
+ url('fonts/tinymce.woff') format('woff'),
8
+ url('fonts/tinymce.ttf') format('truetype'),
9
+ url('fonts/tinymce.svg#tinymce') format('svg');
10
+ font-weight: normal;
11
+ font-style: normal;
12
+ }
13
+
14
+ @font-face {
15
+ font-family: 'tinymce-small';
16
+ src:url('fonts/tinymce-small.eot');
17
+ src:url('fonts/tinymce-small.eot?#iefix') format('embedded-opentype'),
18
+ url('fonts/tinymce-small.woff') format('woff'),
19
+ url('fonts/tinymce-small.ttf') format('truetype'),
20
+ url('fonts/tinymce-small.svg#tinymce') format('svg');
21
+ font-weight: normal;
22
+ font-style: normal;
23
+ }
24
+
25
+ @iconSize: 16px;
26
+
27
+ .@{prefix}-ico {
28
+ font-family: 'tinymce', Arial;
29
+ font-style: normal;
30
+ font-weight: normal;
31
+ font-variant: normal;
32
+ font-size: @iconSize;
33
+ line-height: 16px;
34
+ speak: none;
35
+ vertical-align: text-top;
36
+ -webkit-font-smoothing: antialiased;
37
+ -moz-osx-font-smoothing: grayscale;
38
+
39
+ display: inline-block;
40
+ background: transparent center center;
41
+ background-size: cover;
42
+ width: 16px;
43
+ height: 16px;
44
+ color: @btn-text;
45
+ }
46
+
47
+ .@{prefix}-btn-small .@{prefix}-ico {
48
+ font-family: 'tinymce-small', Arial;
49
+ }
50
+
51
+ .@{prefix}-i-save:before { content: "\e000"; }
52
+ .@{prefix}-i-newdocument:before { content: "\e001"; }
53
+ .@{prefix}-i-fullpage:before { content: "\e002"; }
54
+ .@{prefix}-i-alignleft:before { content: "\e003"; }
55
+ .@{prefix}-i-aligncenter:before { content: "\e004"; }
56
+ .@{prefix}-i-alignright:before { content: "\e005"; }
57
+ .@{prefix}-i-alignjustify:before { content: "\e006"; }
58
+ .@{prefix}-i-alignnone:before { content: "\e003"; }
59
+ .@{prefix}-i-cut:before { content: "\e007"; }
60
+ .@{prefix}-i-paste:before { content: "\e008"; }
61
+ .@{prefix}-i-searchreplace:before { content: "\e009"; }
62
+ .@{prefix}-i-bullist:before { content: "\e00a"; }
63
+ .@{prefix}-i-numlist:before { content: "\e00b"; }
64
+ .@{prefix}-i-indent:before { content: "\e00c"; }
65
+ .@{prefix}-i-outdent:before { content: "\e00d"; }
66
+ .@{prefix}-i-blockquote:before { content: "\e00e"; }
67
+ .@{prefix}-i-undo:before { content: "\e00f"; }
68
+ .@{prefix}-i-redo:before { content: "\e010"; }
69
+ .@{prefix}-i-link:before { content: "\e011"; }
70
+ .@{prefix}-i-unlink:before { content: "\e012"; }
71
+ .@{prefix}-i-anchor:before { content: "\e013"; }
72
+ .@{prefix}-i-image:before { content: "\e014"; }
73
+ .@{prefix}-i-media:before { content: "\e015"; }
74
+ .@{prefix}-i-help:before { content: "\e016"; }
75
+ .@{prefix}-i-code:before { content: "\e017"; }
76
+ .@{prefix}-i-insertdatetime:before { content: "\e018"; }
77
+ .@{prefix}-i-preview:before { content: "\e019"; }
78
+ .@{prefix}-i-forecolor:before { content: "\e01a"; }
79
+ .@{prefix}-i-backcolor:before { content: "\e01a"; }
80
+ .@{prefix}-i-table:before { content: "\e01b"; }
81
+ .@{prefix}-i-hr:before { content: "\e01c"; }
82
+ .@{prefix}-i-removeformat:before { content: "\e01d"; }
83
+ .@{prefix}-i-subscript:before { content: "\e01e"; }
84
+ .@{prefix}-i-superscript:before { content: "\e01f"; }
85
+ .@{prefix}-i-charmap:before { content: "\e020"; }
86
+ .@{prefix}-i-emoticons:before { content: "\e021"; }
87
+ .@{prefix}-i-print:before { content: "\e022"; }
88
+ .@{prefix}-i-fullscreen:before { content: "\e023"; }
89
+ .@{prefix}-i-spellchecker:before { content: "\e024"; }
90
+ .@{prefix}-i-nonbreaking:before { content: "\e025"; }
91
+ .@{prefix}-i-template:before { content: "\e026"; }
92
+ .@{prefix}-i-pagebreak:before { content: "\e027"; }
93
+ .@{prefix}-i-restoredraft:before { content: "\e028"; }
94
+ .@{prefix}-i-bold:before { content: "\e02a"; }
95
+ .@{prefix}-i-italic:before { content: "\e02b"; }
96
+ .@{prefix}-i-underline:before { content: "\e02c"; }
97
+ .@{prefix}-i-strikethrough:before { content: "\e02d"; }
98
+ .@{prefix}-i-visualchars:before { content: "\e02e"; }
99
+ .@{prefix}-i-visualblocks:before { content: "\e02e"; }
100
+ .@{prefix}-i-ltr:before { content: "\e02f"; }
101
+ .@{prefix}-i-rtl:before { content: "\e030"; }
102
+ .@{prefix}-i-copy:before { content: "\e031"; }
103
+ .@{prefix}-i-resize:before { content: "\e032"; }
104
+ .@{prefix}-i-browse:before { content: "\e034"; }
105
+ .@{prefix}-i-pastetext:before { content: "\e035"; }
106
+ .@{prefix}-i-rotateleft:before { content: "\eaa8"; }
107
+ .@{prefix}-i-rotateright:before { content: "\eaa9"; }
108
+ .@{prefix}-i-crop:before { content: "\ee78"; }
109
+ .@{prefix}-i-editimage:before { content: "\e915"; }
110
+ .@{prefix}-i-options:before { content: "\ec6a"; }
111
+ .@{prefix}-i-flipv:before { content: "\eaaa"; }
112
+ .@{prefix}-i-fliph:before { content: "\eaac"; }
113
+ .@{prefix}-i-zoomin:before { content: "\eb35"; }
114
+ .@{prefix}-i-zoomout:before { content: "\eb36"; }
115
+ .@{prefix}-i-sun:before { content: "\eccc"; }
116
+ .@{prefix}-i-moon:before { content: "\eccd"; }
117
+ .@{prefix}-i-arrowleft:before { content: "\edc0"; }
118
+ .@{prefix}-i-arrowright:before { content: "\e93c"; }
119
+ .@{prefix}-i-drop:before { content: "\e935"; }
120
+ .@{prefix}-i-contrast:before { content: "\ecd4"; }
121
+ .@{prefix}-i-sharpen:before { content: "\eba7"; }
122
+ .@{prefix}-i-resize2:before { content: "\edf9"; }
123
+ .@{prefix}-i-orientation:before { content: "\e601"; }
124
+ .@{prefix}-i-invert:before { content: "\e602"; }
125
+ .@{prefix}-i-gamma:before { content: "\e600"; }
126
+ .@{prefix}-i-remove:before { content: "\ed6a"; }
127
+ .@{prefix}-i-tablerowprops:before { content: "\e604"; }
128
+ .@{prefix}-i-tablecellprops:before { content: "\e605"; }
129
+ .@{prefix}-i-table2:before { content: "\e606"; }
130
+ .@{prefix}-i-tablemergecells:before { content: "\e607"; }
131
+ .@{prefix}-i-tableinsertcolbefore:before { content: "\e608"; }
132
+ .@{prefix}-i-tableinsertcolafter:before { content: "\e609"; }
133
+ .@{prefix}-i-tableinsertrowbefore:before { content: "\e60a"; }
134
+ .@{prefix}-i-tableinsertrowafter:before { content: "\e60b"; }
135
+ .@{prefix}-i-tablesplitcells:before { content: "\e60d"; }
136
+ .@{prefix}-i-tabledelete:before { content: "\e60e"; }
137
+ .@{prefix}-i-tableleftheader:before { content: "\e62a"; }
138
+ .@{prefix}-i-tabletopheader:before { content: "\e62b"; }
139
+ .@{prefix}-i-tabledeleterow:before { content: "\e800"; }
140
+ .@{prefix}-i-tabledeletecol:before { content: "\e801"; }
141
+ .@{prefix}-i-codesample:before { content: "\e603"; }
142
+ .@{prefix}-i-fill:before { content: "\e902"; }
143
+ .@{prefix}-i-borderwidth:before { content: "\e903"; }
144
+ .@{prefix}-i-line:before { content: "\e904"; }
145
+ .@{prefix}-i-count:before { content: "\e905"; }
146
+ .@{prefix}-i-translate:before { content: "\e907"; }
147
+ .@{prefix}-i-drag:before { content: "\e908"; }
148
+ .@{prefix}-i-home:before { content: "\e90b"; }
149
+ .@{prefix}-i-upload:before { content: "\e914"; }
150
+ .@{prefix}-i-bubble:before { content: "\e91c"; }
151
+ .@{prefix}-i-user:before { content: "\e91d"; }
152
+ .@{prefix}-i-lock:before { content: "\e926"; }
153
+ .@{prefix}-i-unlock:before { content: "\e927"; }
154
+ .@{prefix}-i-settings:before { content: "\e928"; }
155
+ .@{prefix}-i-remove2:before { content: "\e92a"; }
156
+ .@{prefix}-i-menu:before { content: "\e92d"; }
157
+ .@{prefix}-i-warning:before { content: "\e930"; }
158
+ .@{prefix}-i-question:before { content: "\e931"; }
159
+ .@{prefix}-i-pluscircle:before { content: "\e932"; }
160
+ .@{prefix}-i-info:before { content: "\e933"; }
161
+ .@{prefix}-i-notice:before { content: "\e934"; }
162
+ .@{prefix}-i-arrowup:before { content: "\e93b"; }
163
+ .@{prefix}-i-arrowdown:before { content: "\e93d"; }
164
+ .@{prefix}-i-arrowup2:before { content: "\e93f"; }
165
+ .@{prefix}-i-arrowdown2:before { content: "\e940"; }
166
+ .@{prefix}-i-menu2:before { content: "\e941"; }
167
+ .@{prefix}-i-newtab:before { content: "\e961"; }
168
+ .@{prefix}-i-a11y:before { content: "\e900"; }
169
+ .@{prefix}-i-plus:before { content: "\e93a"; }
170
+ .@{prefix}-i-insert:before { content: "\e93a"; }
171
+ .@{prefix}-i-minus:before { content: "\e939"; }
172
+ .@{prefix}-i-books:before { content: "\e911"; }
173
+ .@{prefix}-i-reload:before { content: "\e906"; }
174
+ .@{prefix}-i-toc:before { content: "\e901"; }
175
+ .@{prefix}-i-checkmark:before { content: "\e033"; }
176
+ .@{prefix}-i-checkbox:before, .@{prefix}-i-selected:before {
177
+ content: "\e033";
178
+ }
179
+
180
+ .@{prefix}-i-insert { font-size: 14px; }
181
+ .@{prefix}-i-selected { visibility: hidden; }
182
+ i.@{prefix}-i-backcolor { text-shadow: none; background: @colorbtn-backcolor-bg; }
@@ -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
+ }