trestle-tinymce 0.1.3 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/README.md +35 -0
- data/app/assets/config/trestle/tinymce.manifest.js +1 -0
- data/app/assets/javascripts/tinymce/skins/ui/trestle/content.css +732 -0
- data/app/assets/javascripts/tinymce/skins/ui/trestle/content.inline.css +726 -0
- data/app/assets/javascripts/tinymce/skins/ui/trestle/content.inline.min.css +8 -0
- data/app/assets/javascripts/tinymce/skins/ui/trestle/content.inline.min.css.map +1 -0
- data/app/assets/javascripts/tinymce/skins/ui/trestle/content.min.css +8 -0
- data/app/assets/javascripts/tinymce/skins/ui/trestle/content.min.css.map +1 -0
- data/app/assets/javascripts/tinymce/skins/ui/trestle/content.mobile.css +29 -0
- data/app/assets/javascripts/tinymce/skins/ui/trestle/content.mobile.min.css +8 -0
- data/app/assets/javascripts/tinymce/skins/ui/trestle/content.mobile.min.css.map +1 -0
- data/app/assets/javascripts/tinymce/skins/ui/trestle/fonts/tinymce-mobile.woff +0 -0
- data/app/assets/javascripts/tinymce/skins/ui/trestle/skin.css +3154 -0
- data/app/assets/javascripts/tinymce/skins/ui/trestle/skin.min.css +8 -0
- data/app/assets/javascripts/tinymce/skins/ui/trestle/skin.min.css.map +1 -0
- data/app/assets/javascripts/tinymce/skins/ui/trestle/skin.mobile.css +673 -0
- data/app/assets/javascripts/tinymce/skins/ui/trestle/skin.mobile.min.css +8 -0
- data/app/assets/javascripts/tinymce/skins/ui/trestle/skin.mobile.min.css.map +1 -0
- data/config/initializers/trestle.rb +0 -2
- data/lib/trestle/tinymce/engine.rb +2 -1
- data/lib/trestle/tinymce/version.rb +1 -1
- data/lib/trestle/tinymce.rb +11 -4
- data/src/trestle/content.inline.less +8 -0
- data/src/trestle/content.less +16 -0
- data/src/trestle/content.mobile.less +16 -0
- data/src/trestle/skin.less +264 -0
- data/src/trestle/skin.mobile.less +12 -0
- data/trestle-tinymce.gemspec +3 -9
- metadata +32 -130
- data/Gruntfile.js +0 -77
- data/app/assets/javascripts/tinymce/skins/trestle/_skin-lightgray.scss +0 -2415
- data/app/assets/javascripts/tinymce/skins/trestle/content.inline.min.css +0 -182
- data/app/assets/javascripts/tinymce/skins/trestle/content.min.css +0 -201
- data/app/assets/javascripts/tinymce/skins/trestle/fonts/tinymce-small.eot +0 -0
- data/app/assets/javascripts/tinymce/skins/trestle/fonts/tinymce-small.svg +0 -63
- data/app/assets/javascripts/tinymce/skins/trestle/fonts/tinymce-small.ttf +0 -0
- data/app/assets/javascripts/tinymce/skins/trestle/fonts/tinymce-small.woff +0 -0
- data/app/assets/javascripts/tinymce/skins/trestle/fonts/tinymce.eot +0 -0
- data/app/assets/javascripts/tinymce/skins/trestle/fonts/tinymce.svg +0 -131
- data/app/assets/javascripts/tinymce/skins/trestle/fonts/tinymce.ttf +0 -0
- data/app/assets/javascripts/tinymce/skins/trestle/fonts/tinymce.woff +0 -0
- data/app/assets/javascripts/tinymce/skins/trestle/img/anchor.gif +0 -0
- data/app/assets/javascripts/tinymce/skins/trestle/img/loader.gif +0 -0
- data/app/assets/javascripts/tinymce/skins/trestle/img/object.gif +0 -0
- data/app/assets/javascripts/tinymce/skins/trestle/img/trans.gif +0 -0
- data/app/assets/javascripts/tinymce/skins/trestle/skin.min.scss +0 -64
- data/package.json +0 -14
- data/src/trestle/fonts/readme.md +0 -1
- data/src/trestle/fonts/tinymce-small.eot +0 -0
- data/src/trestle/fonts/tinymce-small.json +0 -1277
- data/src/trestle/fonts/tinymce-small.svg +0 -63
- data/src/trestle/fonts/tinymce-small.ttf +0 -0
- data/src/trestle/fonts/tinymce-small.woff +0 -0
- data/src/trestle/fonts/tinymce.eot +0 -0
- data/src/trestle/fonts/tinymce.json +0 -3469
- data/src/trestle/fonts/tinymce.svg +0 -131
- data/src/trestle/fonts/tinymce.ttf +0 -0
- data/src/trestle/fonts/tinymce.woff +0 -0
- data/src/trestle/img/anchor.gif +0 -0
- data/src/trestle/img/loader.gif +0 -0
- data/src/trestle/img/object.gif +0 -0
- data/src/trestle/img/trans.gif +0 -0
- data/src/trestle/less/AbsoluteLayout.less +0 -17
- data/src/trestle/less/Animations.less +0 -10
- data/src/trestle/less/Arrows.less +0 -115
- data/src/trestle/less/Button.less +0 -175
- data/src/trestle/less/ButtonGroup.less +0 -71
- data/src/trestle/less/Checkbox.less +0 -49
- data/src/trestle/less/ColorBox.less +0 -6
- data/src/trestle/less/ColorButton.less +0 -72
- data/src/trestle/less/ColorPicker.less +0 -80
- data/src/trestle/less/ComboBox.less +0 -97
- data/src/trestle/less/Container.less +0 -9
- data/src/trestle/less/Content.Inline.less +0 -4
- data/src/trestle/less/Content.Objects.less +0 -189
- data/src/trestle/less/Content.less +0 -27
- data/src/trestle/less/CropRect.less +0 -62
- data/src/trestle/less/FieldSet.less +0 -15
- data/src/trestle/less/FitLayout.less +0 -9
- data/src/trestle/less/FloatPanel.less +0 -69
- data/src/trestle/less/FlowLayout.less +0 -36
- data/src/trestle/less/Icons.less +0 -182
- data/src/trestle/less/Iframe.less +0 -6
- data/src/trestle/less/ImagePanel.less +0 -25
- data/src/trestle/less/InfoBox.less +0 -71
- data/src/trestle/less/Label.less +0 -38
- data/src/trestle/less/ListBox.less +0 -26
- data/src/trestle/less/Menu.less +0 -34
- data/src/trestle/less/MenuBar.less +0 -32
- data/src/trestle/less/MenuButton.less +0 -34
- data/src/trestle/less/MenuItem.less +0 -176
- data/src/trestle/less/Mixins.less +0 -54
- data/src/trestle/less/Notification.less +0 -142
- data/src/trestle/less/Panel.less +0 -7
- data/src/trestle/less/Path.less +0 -45
- data/src/trestle/less/Progress.less +0 -34
- data/src/trestle/less/Radio.less +0 -1
- data/src/trestle/less/Reset.less +0 -32
- data/src/trestle/less/ResizeHandle.less +0 -18
- data/src/trestle/less/Scrollable.less +0 -44
- data/src/trestle/less/SelectBox.less +0 -6
- data/src/trestle/less/Sidebar.less +0 -49
- data/src/trestle/less/Skin.less +0 -48
- data/src/trestle/less/Slider.less +0 -33
- data/src/trestle/less/Spacer.less +0 -5
- data/src/trestle/less/SplitButton.less +0 -49
- data/src/trestle/less/StackLayout.less +0 -5
- data/src/trestle/less/TabPanel.less +0 -44
- data/src/trestle/less/TextBox.less +0 -41
- data/src/trestle/less/Throbber.less +0 -19
- data/src/trestle/less/TinyMCE.less +0 -218
- data/src/trestle/less/ToolTip.less +0 -133
- data/src/trestle/less/Variables.less +0 -224
- data/src/trestle/less/Window.less +0 -127
@@ -1,36 +0,0 @@
|
|
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
|
-
}
|
data/src/trestle/less/Icons.less
DELETED
@@ -1,182 +0,0 @@
|
|
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; }
|
@@ -1,25 +0,0 @@
|
|
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
|
-
}
|
@@ -1,71 +0,0 @@
|
|
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
|
-
}
|
data/src/trestle/less/Label.less
DELETED
@@ -1,38 +0,0 @@
|
|
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
|
-
}
|
@@ -1,26 +0,0 @@
|
|
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
|
-
}
|
data/src/trestle/less/Menu.less
DELETED
@@ -1,34 +0,0 @@
|
|
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; }
|
@@ -1,32 +0,0 @@
|
|
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
|
-
}
|
@@ -1,34 +0,0 @@
|
|
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
|
-
}
|
@@ -1,176 +0,0 @@
|
|
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
|
-
}
|