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,33 @@
|
|
1
|
+
// Slider
|
2
|
+
|
3
|
+
.@{prefix}-slider {
|
4
|
+
.border-radius(3px);
|
5
|
+
border: 1px solid @slider-border;
|
6
|
+
background: @slider-bg;
|
7
|
+
width: 100px;
|
8
|
+
height: 10px;
|
9
|
+
position: relative;
|
10
|
+
display: block;
|
11
|
+
}
|
12
|
+
|
13
|
+
.@{prefix}-slider.@{prefix}-vertical {
|
14
|
+
width: 10px;
|
15
|
+
height: 100px;
|
16
|
+
}
|
17
|
+
|
18
|
+
.@{prefix}-slider-handle {
|
19
|
+
.border-radius(3px);
|
20
|
+
border: 1px solid @slider-handle-border;
|
21
|
+
background: @slider-handle-bg;
|
22
|
+
display: block;
|
23
|
+
width: 13px;
|
24
|
+
height: 13px;
|
25
|
+
position: absolute;
|
26
|
+
top: 0; left: 0;
|
27
|
+
margin-left: -1px;
|
28
|
+
margin-top: -2px;
|
29
|
+
}
|
30
|
+
|
31
|
+
.@{prefix}-slider-handle:focus {
|
32
|
+
background: @slider-handle-bg-focus;
|
33
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
// SplitButton
|
2
|
+
|
3
|
+
.@{prefix}-splitbtn .@{prefix}-open {
|
4
|
+
border-left: 1px solid transparent;
|
5
|
+
}
|
6
|
+
|
7
|
+
.@{prefix}-splitbtn:hover .@{prefix}-open {
|
8
|
+
border-left-color: darken(@btn-bg, 20%);
|
9
|
+
}
|
10
|
+
|
11
|
+
.@{prefix}-splitbtn button when (@has-button-borders = false) {
|
12
|
+
padding-right: 6px;
|
13
|
+
padding-left: 6px;
|
14
|
+
}
|
15
|
+
|
16
|
+
.@{prefix}-splitbtn button when (@has-button-borders = true) {
|
17
|
+
padding-right: 4px;
|
18
|
+
padding-left: 8px;
|
19
|
+
}
|
20
|
+
|
21
|
+
.@{prefix}-splitbtn .@{prefix}-open {
|
22
|
+
padding-right: 4px;
|
23
|
+
padding-left: 4px;
|
24
|
+
}
|
25
|
+
|
26
|
+
.@{prefix}-splitbtn .@{prefix}-open.@{prefix}-active {
|
27
|
+
.vertical-gradient(darken(@btn-bg, 10%), darken(@btn-bg-hlight, 5%));
|
28
|
+
outline: 1px solid darken(@btn-bg, 20%);
|
29
|
+
}
|
30
|
+
|
31
|
+
.@{prefix}-splitbtn.@{prefix}-btn-small .@{prefix}-open {
|
32
|
+
padding: 0 3px 0 3px;
|
33
|
+
}
|
34
|
+
|
35
|
+
// RTL
|
36
|
+
|
37
|
+
.@{prefix}-rtl .@{prefix}-splitbtn {
|
38
|
+
direction: rtl;
|
39
|
+
text-align: right;
|
40
|
+
}
|
41
|
+
|
42
|
+
.@{prefix}-rtl .@{prefix}-splitbtn button {
|
43
|
+
padding-right: 4px;
|
44
|
+
padding-left: 4px;
|
45
|
+
}
|
46
|
+
|
47
|
+
.@{prefix}-rtl .@{prefix}-splitbtn .@{prefix}-open {
|
48
|
+
border-left: 0;
|
49
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
// TabPanel
|
2
|
+
|
3
|
+
.@{prefix}-tabs {
|
4
|
+
display: block;
|
5
|
+
border-bottom: 1px solid @tab-border;
|
6
|
+
}
|
7
|
+
|
8
|
+
.@{prefix}-tabs,
|
9
|
+
.@{prefix}-tabs + .@{prefix}-container-body {
|
10
|
+
background: @tabs-bg;
|
11
|
+
}
|
12
|
+
|
13
|
+
.@{prefix}-tab {
|
14
|
+
.inline-block();
|
15
|
+
border: 1px solid @tab-border;
|
16
|
+
border-width: 0 1px 0 0;
|
17
|
+
background: @tab-bg;
|
18
|
+
padding: 8px;
|
19
|
+
text-shadow: @text-shadow;
|
20
|
+
height: 13px;
|
21
|
+
cursor: pointer;
|
22
|
+
}
|
23
|
+
|
24
|
+
.@{prefix}-tab:hover {
|
25
|
+
background: @tab-bg-hover;
|
26
|
+
}
|
27
|
+
|
28
|
+
.@{prefix}-tab.@{prefix}-active {
|
29
|
+
background: @tab-bg-active;
|
30
|
+
border-bottom-color: transparent;
|
31
|
+
margin-bottom: -1px;
|
32
|
+
height: 14px;
|
33
|
+
}
|
34
|
+
|
35
|
+
// RTL
|
36
|
+
|
37
|
+
.@{prefix}-rtl .@{prefix}-tabs {
|
38
|
+
text-align: right;
|
39
|
+
direction: rtl;
|
40
|
+
}
|
41
|
+
|
42
|
+
.@{prefix}-rtl .@{prefix}-tab {
|
43
|
+
border-width: 0 0 0 1px;
|
44
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
// TextBox
|
2
|
+
|
3
|
+
.@{prefix}-textbox {
|
4
|
+
background: @textbox-bg;
|
5
|
+
border: 1px solid @textbox-border;
|
6
|
+
.border-radius(3px);
|
7
|
+
.box-shadow(@textbox-box-shadow);
|
8
|
+
display: inline-block;
|
9
|
+
.transition(~"border linear .2s, box-shadow linear .2s");
|
10
|
+
height: 28px;
|
11
|
+
resize: none;
|
12
|
+
padding: 0 4px 0 4px;
|
13
|
+
white-space: pre-wrap;
|
14
|
+
*white-space: pre;
|
15
|
+
color: @text;
|
16
|
+
}
|
17
|
+
|
18
|
+
.@{prefix}-textbox:focus, .@{prefix}-textbox.@{prefix}-focus {
|
19
|
+
border-color: @textbox-border-focus;
|
20
|
+
.box-shadow(inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px fadeout(@textbox-border-focus, 15%));
|
21
|
+
}
|
22
|
+
|
23
|
+
.@{prefix}-placeholder .@{prefix}-textbox {
|
24
|
+
color: @textbox-text-placeholder;
|
25
|
+
}
|
26
|
+
|
27
|
+
.@{prefix}-textbox.@{prefix}-multiline {
|
28
|
+
padding: 4px;
|
29
|
+
height: auto;
|
30
|
+
}
|
31
|
+
|
32
|
+
.@{prefix}-textbox.@{prefix}-disabled {
|
33
|
+
color: mix(@text, @textbox-bg, 40%);
|
34
|
+
}
|
35
|
+
|
36
|
+
// RTL
|
37
|
+
|
38
|
+
.@{prefix}-rtl .@{prefix}-textbox {
|
39
|
+
text-align: right;
|
40
|
+
direction: rtl;
|
41
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
// Throbber
|
2
|
+
|
3
|
+
.@{prefix}-throbber {
|
4
|
+
position: absolute;
|
5
|
+
top: 0; left: 0;
|
6
|
+
width: 100%; height: 100%;
|
7
|
+
.opacity(0.6);
|
8
|
+
background: @throbber-bg;
|
9
|
+
}
|
10
|
+
|
11
|
+
.@{prefix}-throbber-inline {
|
12
|
+
position: static;
|
13
|
+
height: 50px;
|
14
|
+
}
|
15
|
+
|
16
|
+
.@{prefix}-menu .@{prefix}-throbber-inline {
|
17
|
+
height: 25px;
|
18
|
+
background-size: contain;
|
19
|
+
}
|
@@ -0,0 +1,159 @@
|
|
1
|
+
.@{prefix}-tinymce {
|
2
|
+
// Avoid FOUC
|
3
|
+
visibility: inherit !important;
|
4
|
+
position: relative;
|
5
|
+
}
|
6
|
+
|
7
|
+
.@{prefix}-fullscreen {
|
8
|
+
border: 0; padding: 0; margin: 0;
|
9
|
+
overflow: hidden;
|
10
|
+
height: 100%;
|
11
|
+
z-index: 100;
|
12
|
+
}
|
13
|
+
|
14
|
+
div.@{prefix}-fullscreen {
|
15
|
+
position: fixed;
|
16
|
+
top: 0; left: 0;
|
17
|
+
width: 100%;
|
18
|
+
height: auto;
|
19
|
+
}
|
20
|
+
|
21
|
+
.@{prefix}-tinymce {
|
22
|
+
display: block;
|
23
|
+
.border-radius(2px);
|
24
|
+
}
|
25
|
+
|
26
|
+
.@{prefix}-wordcount {
|
27
|
+
position: absolute;
|
28
|
+
top: 0;
|
29
|
+
right: 0;
|
30
|
+
padding: 8px;
|
31
|
+
}
|
32
|
+
|
33
|
+
div.@{prefix}-edit-area {
|
34
|
+
background: #FFF;
|
35
|
+
filter: none;
|
36
|
+
}
|
37
|
+
|
38
|
+
.@{prefix}-statusbar {
|
39
|
+
position: relative;
|
40
|
+
}
|
41
|
+
|
42
|
+
.@{prefix}-statusbar .@{prefix}-container-body {
|
43
|
+
position: relative;
|
44
|
+
}
|
45
|
+
|
46
|
+
.@{prefix}-fullscreen .@{prefix}-resizehandle {
|
47
|
+
display: none;
|
48
|
+
}
|
49
|
+
|
50
|
+
// Charmap
|
51
|
+
|
52
|
+
.@{prefix}-charmap {
|
53
|
+
border-collapse: collapse;
|
54
|
+
}
|
55
|
+
|
56
|
+
.@{prefix}-charmap td {
|
57
|
+
cursor: default;
|
58
|
+
border: 1px solid @panel-border;
|
59
|
+
width: 20px;
|
60
|
+
height: 20px;
|
61
|
+
line-height: 20px;
|
62
|
+
text-align: center;
|
63
|
+
vertical-align: middle;
|
64
|
+
padding: 2px;
|
65
|
+
}
|
66
|
+
|
67
|
+
.@{prefix}-charmap td div {
|
68
|
+
text-align: center;
|
69
|
+
}
|
70
|
+
|
71
|
+
.@{prefix}-charmap td:hover {
|
72
|
+
background: @btn-bg-hlight;
|
73
|
+
}
|
74
|
+
|
75
|
+
.@{prefix}-grid td.@{prefix}-grid-cell div {
|
76
|
+
border: 1px solid @grid-border;
|
77
|
+
width: 15px; height: 15px;
|
78
|
+
margin: 0px;
|
79
|
+
cursor: pointer;
|
80
|
+
|
81
|
+
&:focus {
|
82
|
+
border-color: @grid-border-active;
|
83
|
+
}
|
84
|
+
|
85
|
+
&[disabled] {
|
86
|
+
cursor: not-allowed;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
.@{prefix}-grid {
|
91
|
+
border-spacing: 2px;
|
92
|
+
border-collapse: separate;
|
93
|
+
|
94
|
+
a {
|
95
|
+
display: block;
|
96
|
+
border: 1px solid transparent;
|
97
|
+
|
98
|
+
&:hover, &:focus {
|
99
|
+
border-color: @grid-border-active;
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
.@{prefix}-grid-border {
|
105
|
+
margin: 0 4px 0 4px;
|
106
|
+
|
107
|
+
a {
|
108
|
+
border-color: @grid-border;
|
109
|
+
width: 13px; height: 13px;
|
110
|
+
}
|
111
|
+
|
112
|
+
a:hover, a.@{prefix}-active {
|
113
|
+
border-color: @grid-border-active;
|
114
|
+
background: @grid-bg-active;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
.@{prefix}-text-center {
|
119
|
+
text-align: center;
|
120
|
+
}
|
121
|
+
|
122
|
+
div.@{prefix}-tinymce-inline {
|
123
|
+
width: 100%;
|
124
|
+
.box-shadow(none);
|
125
|
+
}
|
126
|
+
|
127
|
+
.@{prefix}-colorbtn-trans div {
|
128
|
+
text-align: center;
|
129
|
+
vertical-align: middle;
|
130
|
+
font-weight: bold;
|
131
|
+
font-size: 20px;
|
132
|
+
line-height: 16px;
|
133
|
+
color: mix(@text, #fff, 70%);
|
134
|
+
}
|
135
|
+
|
136
|
+
.@{prefix}-monospace {
|
137
|
+
font-family: "Courier New", Courier, monospace;
|
138
|
+
}
|
139
|
+
|
140
|
+
// Reduce double margins between toolbar rows
|
141
|
+
|
142
|
+
.@{prefix}-toolbar-grp when (@has-button-borders = false) {
|
143
|
+
padding: @flow-layout-spacing 0;
|
144
|
+
}
|
145
|
+
|
146
|
+
.@{prefix}-toolbar-grp when (@has-button-borders = true) {
|
147
|
+
padding-bottom: 2px;
|
148
|
+
}
|
149
|
+
|
150
|
+
.@{prefix}-toolbar-grp .@{prefix}-flow-layout-item {
|
151
|
+
margin-bottom: 0;
|
152
|
+
}
|
153
|
+
|
154
|
+
// RTL
|
155
|
+
|
156
|
+
.@{prefix}-rtl .@{prefix}-wordcount {
|
157
|
+
left: 0;
|
158
|
+
right: auto;
|
159
|
+
}
|
@@ -0,0 +1,133 @@
|
|
1
|
+
// Tooltip
|
2
|
+
|
3
|
+
.@{prefix}-tooltip {
|
4
|
+
position: absolute;
|
5
|
+
padding: 5px;
|
6
|
+
.opacity(0.8);
|
7
|
+
}
|
8
|
+
|
9
|
+
.@{prefix}-tooltip-inner {
|
10
|
+
font-size: @tooltip-font-size;
|
11
|
+
background-color: @tooltip-bg;
|
12
|
+
color: @tooltip-text;
|
13
|
+
max-width: 200px;
|
14
|
+
padding: 5px 8px 4px 8px;
|
15
|
+
text-align: center;
|
16
|
+
white-space: normal;
|
17
|
+
}
|
18
|
+
|
19
|
+
.@{prefix}-tooltip-inner {
|
20
|
+
.border-radius(3px);
|
21
|
+
}
|
22
|
+
|
23
|
+
.@{prefix}-tooltip-inner {
|
24
|
+
.box-shadow(0 0 5px @tooltip-bg);
|
25
|
+
}
|
26
|
+
|
27
|
+
.@{prefix}-tooltip-arrow {
|
28
|
+
position: absolute;
|
29
|
+
width: 0;
|
30
|
+
height: 0;
|
31
|
+
line-height: 0;
|
32
|
+
border: 5px dashed @tooltip-bg;
|
33
|
+
}
|
34
|
+
|
35
|
+
.@{prefix}-tooltip-arrow-n {
|
36
|
+
border-bottom-color: @tooltip-bg;
|
37
|
+
}
|
38
|
+
|
39
|
+
.@{prefix}-tooltip-arrow-s {
|
40
|
+
border-top-color: @tooltip-bg;
|
41
|
+
}
|
42
|
+
|
43
|
+
.@{prefix}-tooltip-arrow-e {
|
44
|
+
border-left-color: @tooltip-bg;
|
45
|
+
}
|
46
|
+
|
47
|
+
.@{prefix}-tooltip-arrow-w {
|
48
|
+
border-right-color: @tooltip-bg;
|
49
|
+
}
|
50
|
+
|
51
|
+
.@{prefix}-tooltip-nw, .@{prefix}-tooltip-sw {
|
52
|
+
margin-left: -14px;
|
53
|
+
}
|
54
|
+
|
55
|
+
.@{prefix}-tooltip-ne, .@{prefix}-tooltip-se {
|
56
|
+
margin-left: 14px;
|
57
|
+
}
|
58
|
+
|
59
|
+
.@{prefix}-tooltip-n .@{prefix}-tooltip-arrow {
|
60
|
+
top: 0px;
|
61
|
+
left: 50%;
|
62
|
+
margin-left: -5px;
|
63
|
+
border-bottom-style: solid;
|
64
|
+
border-top: none;
|
65
|
+
border-left-color: transparent;
|
66
|
+
border-right-color: transparent;
|
67
|
+
}
|
68
|
+
|
69
|
+
.@{prefix}-tooltip-nw .@{prefix}-tooltip-arrow {
|
70
|
+
top: 0;
|
71
|
+
left: 10px;
|
72
|
+
border-bottom-style: solid;
|
73
|
+
border-top: none;
|
74
|
+
border-left-color: transparent;
|
75
|
+
border-right-color: transparent;
|
76
|
+
}
|
77
|
+
|
78
|
+
.@{prefix}-tooltip-ne .@{prefix}-tooltip-arrow {
|
79
|
+
top: 0;
|
80
|
+
right: 10px;
|
81
|
+
border-bottom-style: solid;
|
82
|
+
border-top: none;
|
83
|
+
border-left-color: transparent;
|
84
|
+
border-right-color: transparent;
|
85
|
+
}
|
86
|
+
|
87
|
+
.@{prefix}-tooltip-s .@{prefix}-tooltip-arrow {
|
88
|
+
bottom: 0;
|
89
|
+
left: 50%;
|
90
|
+
margin-left: -5px;
|
91
|
+
border-top-style: solid;
|
92
|
+
border-bottom: none;
|
93
|
+
border-left-color: transparent;
|
94
|
+
border-right-color: transparent;
|
95
|
+
}
|
96
|
+
|
97
|
+
.@{prefix}-tooltip-sw .@{prefix}-tooltip-arrow {
|
98
|
+
bottom: 0;
|
99
|
+
left: 10px;
|
100
|
+
border-top-style: solid;
|
101
|
+
border-bottom: none;
|
102
|
+
border-left-color: transparent;
|
103
|
+
border-right-color: transparent;
|
104
|
+
}
|
105
|
+
|
106
|
+
.@{prefix}-tooltip-se .@{prefix}-tooltip-arrow {
|
107
|
+
bottom: 0;
|
108
|
+
right: 10px;
|
109
|
+
border-top-style: solid;
|
110
|
+
border-bottom: none;
|
111
|
+
border-left-color: transparent;
|
112
|
+
border-right-color: transparent;
|
113
|
+
}
|
114
|
+
|
115
|
+
.@{prefix}-tooltip-e .@{prefix}-tooltip-arrow {
|
116
|
+
right: 0;
|
117
|
+
top: 50%;
|
118
|
+
margin-top: -5px;
|
119
|
+
border-left-style: solid;
|
120
|
+
border-right: none;
|
121
|
+
border-top-color: transparent;
|
122
|
+
border-bottom-color: transparent;
|
123
|
+
}
|
124
|
+
|
125
|
+
.@{prefix}-tooltip-w .@{prefix}-tooltip-arrow {
|
126
|
+
left: 0;
|
127
|
+
top: 50%;
|
128
|
+
margin-top: -5px;
|
129
|
+
border-right-style: solid;
|
130
|
+
border-left: none;
|
131
|
+
border-top-color: transparent;
|
132
|
+
border-bottom-color: transparent;
|
133
|
+
}
|