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.
- checksums.yaml +4 -4
- data/app/assets/source/tinymce/tinymce.js +2044 -391
- data/lib/tinymce/rails/version.rb +2 -2
- data/vendor/assets/javascripts/tinymce/jquery.tinymce.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/advlist/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/anchor/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/autolink/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/autoresize/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/autosave/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/charmap/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/codesample/plugin.dev.js +141 -0
- data/vendor/assets/javascripts/tinymce/plugins/codesample/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/contextmenu/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/fullscreen/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/image/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/imagetools/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/importcss/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/insertdatetime/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/legacyoutput/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/link/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/lists/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/media/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/nonbreaking/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/noneditable/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/pagebreak/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/paste/plugin.dev.js +143 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/preview/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/save/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/spellchecker/plugin.dev.js +139 -0
- data/vendor/assets/javascripts/tinymce/plugins/spellchecker/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/tabfocus/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/table/plugin.dev.js +143 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/plugin.js +2 -2
- data/vendor/assets/javascripts/tinymce/plugins/template/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/textpattern/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/toc/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/visualchars/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/wordcount/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/skins/lightgray/AbsoluteLayout.less +17 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Animations.less +10 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Arrows.less +115 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Button.less +175 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/ButtonGroup.less +71 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Checkbox.less +49 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/ColorBox.less +6 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/ColorButton.less +72 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/ColorPicker.less +80 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/ComboBox.less +97 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Container.less +9 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Content.Inline.less +4 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Content.Objects.less +178 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Content.less +27 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/CropRect.less +62 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/FieldSet.less +15 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/FitLayout.less +9 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/FloatPanel.less +69 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/FlowLayout.less +36 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Icons.Ie7.less +136 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Icons.less +182 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Iframe.less +6 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/ImagePanel.less +25 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/InfoBox.less +71 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Label.less +38 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/ListBox.less +26 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Menu.less +34 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/MenuBar.less +32 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/MenuButton.less +34 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/MenuItem.less +176 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Mixins.less +54 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Notification.less +142 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Panel.less +7 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Path.less +45 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Progress.less +34 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Radio.less +1 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Reset.less +32 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/ResizeHandle.less +18 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Scrollable.less +44 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/SelectBox.less +6 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Sidebar.less +49 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Slider.less +33 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Spacer.less +5 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/SplitButton.less +49 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/StackLayout.less +5 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/TabPanel.less +44 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/TextBox.less +41 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Throbber.less +19 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/TinyMCE.less +159 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/ToolTip.less +133 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Variables.less +218 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/Window.less +127 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/content.inline.min.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/lightgray/content.min.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/tinymce.svg +2 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/skin.dev.less +48 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/skin.ie7.dev.less +47 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/skin.ie7.less +2777 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/skin.ie7.min.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/lightgray/skin.less +2874 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/skin.min.css +1 -1
- data/vendor/assets/javascripts/tinymce/themes/inlite/theme.js +1 -1
- data/vendor/assets/javascripts/tinymce/themes/modern/theme.js +1 -1
- data/vendor/assets/javascripts/tinymce/tinymce.js +14 -14
- metadata +65 -4
- data/vendor/assets/javascripts/tinymce/plugins/media/moxieplayer.swf +0 -0
@@ -0,0 +1,54 @@
|
|
1
|
+
// Mixins
|
2
|
+
|
3
|
+
.opacity(@opacity) {
|
4
|
+
opacity: @opacity;
|
5
|
+
@opacityie: @opacity * 100;
|
6
|
+
filter: ~"alpha(opacity=@{opacityie})";
|
7
|
+
zoom: 1;
|
8
|
+
}
|
9
|
+
|
10
|
+
.vertical-gradient(@startColor, @endColor) when (@has-gradients = true) {
|
11
|
+
background-color: mix(@startColor, @endColor, 60%);
|
12
|
+
background-image: -moz-linear-gradient(top, @startColor, @endColor); // FF 3.6+
|
13
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), to(@endColor)); // Safari 4+, Chrome 2+
|
14
|
+
background-image: -webkit-linear-gradient(top, @startColor, @endColor); // Safari 5.1+, Chrome 10+
|
15
|
+
background-image: -o-linear-gradient(top, @startColor, @endColor); // Opera 11.10
|
16
|
+
background-image: linear-gradient(to bottom, @startColor, @endColor); // Standard, IE10
|
17
|
+
background-repeat: repeat-x;
|
18
|
+
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)", argb(@startColor), argb(@endColor)));
|
19
|
+
zoom: 1;
|
20
|
+
}
|
21
|
+
|
22
|
+
.vertical-gradient(@startColor, @endColor) when (@has-gradients = false) {
|
23
|
+
background-color: mix(@startColor, @endColor, 60%);
|
24
|
+
}
|
25
|
+
|
26
|
+
.border-radius(@radius) when (@has-radius = true) {
|
27
|
+
-webkit-border-radius: @radius;
|
28
|
+
-moz-border-radius: @radius;
|
29
|
+
border-radius: @radius;
|
30
|
+
}
|
31
|
+
|
32
|
+
.box-shadow(@shadowA, @shadowB:X, ...) when (@has-boxshadow = true) {
|
33
|
+
// Multiple shadow solution from http://toekneestuck.com/blog/2012/05/15/less-css-arguments-variable/
|
34
|
+
@props: ~`"@{arguments}".replace(/[\[\]]|\,\sX/g, '')`;
|
35
|
+
-webkit-box-shadow: @props;
|
36
|
+
-moz-box-shadow: @props;
|
37
|
+
box-shadow: @props;
|
38
|
+
}
|
39
|
+
|
40
|
+
.transition(@transition) {
|
41
|
+
-webkit-transition: @transition;
|
42
|
+
transition: @transition;
|
43
|
+
}
|
44
|
+
|
45
|
+
.inline-block() {
|
46
|
+
display: inline-block;
|
47
|
+
*display: inline;
|
48
|
+
*zoom: 1;
|
49
|
+
}
|
50
|
+
|
51
|
+
.reset-gradient() {
|
52
|
+
filter: e(%("progid:DXImageTransform.Microsoft.gradient(enabled = false)"));
|
53
|
+
background: transparent;
|
54
|
+
}
|
@@ -0,0 +1,142 @@
|
|
1
|
+
// notification
|
2
|
+
|
3
|
+
.@{prefix}-notification {
|
4
|
+
position: absolute;
|
5
|
+
background-color: @notification-bg;
|
6
|
+
padding: 5px;
|
7
|
+
margin-top: 5px;
|
8
|
+
border-width: 1px;
|
9
|
+
border-style: solid;
|
10
|
+
border-color: @notification-border;
|
11
|
+
transition: transform 100ms ease-in, opacity 150ms ease-in;
|
12
|
+
opacity: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
.@{prefix}-notification.@{prefix}-in {
|
16
|
+
opacity: 1;
|
17
|
+
}
|
18
|
+
|
19
|
+
.@{prefix}-notification-success {
|
20
|
+
background-color: @notification-success-bg;
|
21
|
+
border-color: @notification-success-border;
|
22
|
+
}
|
23
|
+
|
24
|
+
.@{prefix}-notification-info {
|
25
|
+
background-color: @notification-info-bg;
|
26
|
+
border-color: @notification-info-border;
|
27
|
+
}
|
28
|
+
|
29
|
+
.@{prefix}-notification-warning {
|
30
|
+
background-color: @notification-warning-bg;
|
31
|
+
border-color: @notification-warning-border;
|
32
|
+
}
|
33
|
+
|
34
|
+
.@{prefix}-notification-error {
|
35
|
+
background-color: @notification-error-bg;
|
36
|
+
border-color: @notification-error-border;
|
37
|
+
}
|
38
|
+
|
39
|
+
.@{prefix}-notification.@{prefix}-has-close {
|
40
|
+
padding-right: 15px;
|
41
|
+
}
|
42
|
+
|
43
|
+
.@{prefix}-notification .@{prefix}-ico {
|
44
|
+
margin-top: 5px;
|
45
|
+
}
|
46
|
+
|
47
|
+
.@{prefix}-notification-inner {
|
48
|
+
display: inline-block;
|
49
|
+
font-size: @notification-font-size;
|
50
|
+
margin: 5px 8px 4px 8px;
|
51
|
+
text-align: center;
|
52
|
+
white-space: normal;
|
53
|
+
color: @notification-info-text;
|
54
|
+
}
|
55
|
+
|
56
|
+
.@{prefix}-notification-inner a {
|
57
|
+
text-decoration: underline;
|
58
|
+
cursor: pointer;
|
59
|
+
}
|
60
|
+
|
61
|
+
.@{prefix}-notification .@{prefix}-progress {
|
62
|
+
margin-right: 8px;
|
63
|
+
}
|
64
|
+
|
65
|
+
.@{prefix}-notification .@{prefix}-progress .@{prefix}-text {
|
66
|
+
margin-top: 5px;
|
67
|
+
}
|
68
|
+
|
69
|
+
.@{prefix}-notification *, .@{prefix}-notification .@{prefix}-progress .@{prefix}-text {
|
70
|
+
color: @notification-text;
|
71
|
+
}
|
72
|
+
|
73
|
+
.@{prefix}-notification .@{prefix}-progress .@{prefix}-bar-container {
|
74
|
+
border-color: @notification-border;
|
75
|
+
}
|
76
|
+
|
77
|
+
.@{prefix}-notification .@{prefix}-progress .@{prefix}-bar-container .@{prefix}-bar {
|
78
|
+
background-color: @notification-text;
|
79
|
+
}
|
80
|
+
|
81
|
+
.@{prefix}-notification-success *, .@{prefix}-notification-success .@{prefix}-progress .@{prefix}-text {
|
82
|
+
color: @notification-success-text;
|
83
|
+
}
|
84
|
+
|
85
|
+
.@{prefix}-notification-success .@{prefix}-progress .@{prefix}-bar-container {
|
86
|
+
border-color: @notification-success-border;
|
87
|
+
}
|
88
|
+
|
89
|
+
.@{prefix}-notification-success .@{prefix}-progress .@{prefix}-bar-container .@{prefix}-bar {
|
90
|
+
background-color: @notification-success-text;
|
91
|
+
}
|
92
|
+
|
93
|
+
.@{prefix}-notification-info *, .@{prefix}-notification-info .@{prefix}-progress .@{prefix}-text {
|
94
|
+
color: @notification-info-text;
|
95
|
+
}
|
96
|
+
|
97
|
+
.@{prefix}-notification-info .@{prefix}-progress .@{prefix}-bar-container {
|
98
|
+
border-color: @notification-info-border;
|
99
|
+
}
|
100
|
+
|
101
|
+
.@{prefix}-notification-info .@{prefix}-progress .@{prefix}-bar-container .@{prefix}-bar {
|
102
|
+
background-color: @notification-info-text;
|
103
|
+
}
|
104
|
+
|
105
|
+
.@{prefix}-notification-warning *, .@{prefix}-notification-warning .@{prefix}-progress .@{prefix}-text {
|
106
|
+
color: @notification-warning-text;
|
107
|
+
}
|
108
|
+
|
109
|
+
.@{prefix}-notification-warning .@{prefix}-progress .@{prefix}-bar-container {
|
110
|
+
border-color: @notification-warning-border;
|
111
|
+
}
|
112
|
+
|
113
|
+
.@{prefix}-notification-warning .@{prefix}-progress .@{prefix}-bar-container .@{prefix}-bar {
|
114
|
+
background-color: @notification-warning-text;
|
115
|
+
}
|
116
|
+
|
117
|
+
.@{prefix}-notification-error *, .@{prefix}-notification-error .@{prefix}-progress .@{prefix}-text {
|
118
|
+
color: @notification-error-text;
|
119
|
+
}
|
120
|
+
|
121
|
+
.@{prefix}-notification-error .@{prefix}-progress .@{prefix}-bar-container {
|
122
|
+
border-color: @notification-error-border;
|
123
|
+
}
|
124
|
+
|
125
|
+
.@{prefix}-notification-error .@{prefix}-progress .@{prefix}-bar-container .@{prefix}-bar {
|
126
|
+
background-color: @notification-error-text;
|
127
|
+
}
|
128
|
+
|
129
|
+
.@{prefix}-notification .@{prefix}-close {
|
130
|
+
position: absolute;
|
131
|
+
top: 6px;
|
132
|
+
right: 8px;
|
133
|
+
font-size: 20px;
|
134
|
+
font-weight: bold;
|
135
|
+
line-height: 20px;
|
136
|
+
color: @window-head-close;
|
137
|
+
cursor: pointer;
|
138
|
+
|
139
|
+
// IE7
|
140
|
+
height: 20px;
|
141
|
+
overflow: hidden;
|
142
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
// Path
|
2
|
+
|
3
|
+
.@{prefix}-path {
|
4
|
+
.inline-block();
|
5
|
+
padding: 8px;
|
6
|
+
white-space: normal;
|
7
|
+
}
|
8
|
+
|
9
|
+
.@{prefix}-path .@{prefix}-txt {
|
10
|
+
display: inline-block;
|
11
|
+
padding-right: 3px;
|
12
|
+
}
|
13
|
+
|
14
|
+
.@{prefix}-path .@{prefix}-path-body {
|
15
|
+
display: inline-block;
|
16
|
+
}
|
17
|
+
|
18
|
+
.@{prefix}-path-item {
|
19
|
+
.inline-block();
|
20
|
+
cursor: pointer;
|
21
|
+
color: @path-text;
|
22
|
+
}
|
23
|
+
|
24
|
+
.@{prefix}-path-item:hover {
|
25
|
+
text-decoration: underline;
|
26
|
+
}
|
27
|
+
|
28
|
+
.@{prefix}-path-item:focus {
|
29
|
+
background: @path-bg-focus;
|
30
|
+
color: @path-text-focus;
|
31
|
+
}
|
32
|
+
|
33
|
+
.@{prefix}-path .@{prefix}-divider {
|
34
|
+
display: inline;
|
35
|
+
}
|
36
|
+
|
37
|
+
.@{prefix}-disabled .@{prefix}-path-item {
|
38
|
+
color: @text-disabled;
|
39
|
+
}
|
40
|
+
|
41
|
+
// RTL
|
42
|
+
|
43
|
+
.@{prefix}-rtl .@{prefix}-path {
|
44
|
+
direction: rtl;
|
45
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
// Progress
|
2
|
+
|
3
|
+
.@{prefix}-progress {
|
4
|
+
display: inline-block;
|
5
|
+
position: relative;
|
6
|
+
height: 20px;
|
7
|
+
}
|
8
|
+
|
9
|
+
.@{prefix}-progress .@{prefix}-bar-container {
|
10
|
+
display: inline-block;
|
11
|
+
width: 100px;
|
12
|
+
height: 100%;
|
13
|
+
margin-right: 8px;
|
14
|
+
border: 1px solid @progress-border;
|
15
|
+
overflow: hidden;
|
16
|
+
.border-radius(4px);
|
17
|
+
}
|
18
|
+
|
19
|
+
.@{prefix}-progress .@{prefix}-text {
|
20
|
+
display: inline-block;
|
21
|
+
margin-top: auto;
|
22
|
+
margin-bottom: auto;
|
23
|
+
font-size: 14px;
|
24
|
+
width: 40px;
|
25
|
+
color: @progress-text;
|
26
|
+
}
|
27
|
+
|
28
|
+
.@{prefix}-bar {
|
29
|
+
display: block;
|
30
|
+
width: 0%;
|
31
|
+
height: 100%;
|
32
|
+
.vertical-gradient(@progress-bar-bg, @progress-bar-bg-hlight);
|
33
|
+
.transition(width .2s ease);
|
34
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
// Radio - not implemented yet
|
@@ -0,0 +1,32 @@
|
|
1
|
+
// Reset
|
2
|
+
|
3
|
+
.@{prefix}-container, .@{prefix}-container *, .@{prefix}-widget, .@{prefix}-widget *, .@{prefix}-reset {
|
4
|
+
margin: 0; padding: 0; border: 0; outline: 0;
|
5
|
+
vertical-align: top; background: transparent;
|
6
|
+
text-decoration: none; color: @text;
|
7
|
+
font-family: @font-family;
|
8
|
+
font-size: @font-size; text-shadow: none; float: none;
|
9
|
+
position: static; width: auto; height: auto;
|
10
|
+
white-space: nowrap; cursor: inherit;
|
11
|
+
-webkit-tap-highlight-color: transparent;
|
12
|
+
line-height: normal; font-weight: normal;
|
13
|
+
text-align: left;
|
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
|
+
.@{prefix}-widget button {
|
22
|
+
-moz-box-sizing: border-box;
|
23
|
+
-webkit-box-sizing: border-box;
|
24
|
+
box-sizing: border-box;
|
25
|
+
}
|
26
|
+
|
27
|
+
.@{prefix}-container *[unselectable] {
|
28
|
+
-moz-user-select: none;
|
29
|
+
-webkit-user-select: none;
|
30
|
+
-o-user-select: none;
|
31
|
+
user-select: none;
|
32
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
.@{prefix}-container-body .@{prefix}-resizehandle {
|
2
|
+
position: absolute;
|
3
|
+
right: 0;
|
4
|
+
bottom: 0;
|
5
|
+
width: 16px;
|
6
|
+
height: 16px;
|
7
|
+
visibility: visible;
|
8
|
+
cursor: s-resize;
|
9
|
+
margin: 0;
|
10
|
+
}
|
11
|
+
|
12
|
+
.@{prefix}-container-body .@{prefix}-resizehandle-both {
|
13
|
+
cursor: se-resize;
|
14
|
+
}
|
15
|
+
|
16
|
+
i.@{prefix}-i-resize {
|
17
|
+
color: @text;
|
18
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
// Scrollbar
|
2
|
+
|
3
|
+
.@{prefix}-scrollbar {
|
4
|
+
position: absolute;
|
5
|
+
width: 7px;
|
6
|
+
height: 100%;
|
7
|
+
top: 2px;
|
8
|
+
right: 2px;
|
9
|
+
.opacity(0.4);
|
10
|
+
}
|
11
|
+
|
12
|
+
.@{prefix}-scrollbar-h {
|
13
|
+
top: auto;
|
14
|
+
right: auto;
|
15
|
+
left: 2px;
|
16
|
+
bottom: 2px;
|
17
|
+
width: 100%;
|
18
|
+
height: 7px;
|
19
|
+
}
|
20
|
+
|
21
|
+
.@{prefix}-scrollbar-thumb {
|
22
|
+
position: absolute;
|
23
|
+
background-color: #000;
|
24
|
+
border: 1px solid #888;
|
25
|
+
border-color: rgba(85, 85, 85, .6);
|
26
|
+
width: 5px;
|
27
|
+
height: 100%;
|
28
|
+
.border-radius(7px);
|
29
|
+
}
|
30
|
+
|
31
|
+
.@{prefix}-scrollbar-h .@{prefix}-scrollbar-thumb {
|
32
|
+
width: 100%;
|
33
|
+
height: 5px;
|
34
|
+
}
|
35
|
+
|
36
|
+
.@{prefix}-scrollbar:hover, .@{prefix}-scrollbar.@{prefix}-active {
|
37
|
+
background-color: #AAA;
|
38
|
+
.opacity(0.6);
|
39
|
+
.border-radius(7px);
|
40
|
+
}
|
41
|
+
|
42
|
+
.@{prefix}-scroll {
|
43
|
+
position: relative;
|
44
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
// Sidebar
|
2
|
+
|
3
|
+
.@{prefix}-edit-aria-container > .@{prefix}-container-body {
|
4
|
+
display: flex;
|
5
|
+
|
6
|
+
.@{prefix}-edit-area {
|
7
|
+
flex: 1;
|
8
|
+
}
|
9
|
+
|
10
|
+
.@{prefix}-sidebar > .@{prefix}-container-body {
|
11
|
+
display: flex;
|
12
|
+
align-items: stretch;
|
13
|
+
height: 100%;
|
14
|
+
}
|
15
|
+
|
16
|
+
.@{prefix}-sidebar-panel {
|
17
|
+
min-width: 250px;
|
18
|
+
max-width: 250px;
|
19
|
+
position: relative;
|
20
|
+
|
21
|
+
> .@{prefix}-container-body {
|
22
|
+
position: absolute;
|
23
|
+
width: 100%; height: 100%;
|
24
|
+
overflow: auto;
|
25
|
+
top: 0; left: 0;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
.@{prefix}-sidebar-toolbar {
|
31
|
+
border: 0 solid @panel-border;
|
32
|
+
border-left-width: 1px;
|
33
|
+
|
34
|
+
.@{prefix}-btn.@{prefix}-active, .@{prefix}-btn.@{prefix}-active:hover {
|
35
|
+
border: 1px solid transparent;
|
36
|
+
border-color: @btn-primary-border;
|
37
|
+
.vertical-gradient(@btn-primary-bg, @btn-primary-bg-hlight);
|
38
|
+
|
39
|
+
button, button i {
|
40
|
+
color: @btn-primary-text;
|
41
|
+
text-shadow: 1px 1px @btn-primary-text-shadow;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
.@{prefix}-sidebar-panel {
|
47
|
+
border: 0 solid @panel-border;
|
48
|
+
border-left-width: 1px;
|
49
|
+
}
|