jtable-rails4 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.travis.yml +3 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +44 -0
- data/Rakefile +2 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/jtable-rails4.gemspec +29 -0
- data/lib/jtable/rails4/version.rb +5 -0
- data/lib/jtable/rails4.rb +8 -0
- data/vendor/assets/javascripts/jtable/jquery.jtable.js +5021 -0
- data/vendor/assets/stylesheets/jtable/themes/basic/close.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/basic/column-asc.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/basic/column-desc.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/basic/column-sortable.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/basic/delete.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/basic/edit.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/basic/jtable_basic.css +282 -0
- data/vendor/assets/stylesheets/jtable/themes/basic/jtable_basic.less +83 -0
- data/vendor/assets/stylesheets/jtable/themes/basic/jtable_basic.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/add.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/bg-thead.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/close.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/column-asc.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/column-desc.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/column-sortable.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/delete.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/edit.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/jtable_jqueryui.css +398 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/jtable_jqueryui.less +296 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/jtable_jqueryui.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/jtable_theme_base.less +524 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/add.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/bg-thead.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/blue/jtable.css +521 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/blue/jtable.less +90 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/blue/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/blue/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/close.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/column-asc.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/column-desc.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/column-sortable.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/delete.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/edit.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/gray/jtable.css +521 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/gray/jtable.less +90 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/gray/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/gray/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/green/jtable.css +521 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/green/jtable.less +90 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/green/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/green/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/jtable_lightcolor_base.less +329 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/orange/jtable.css +521 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/orange/jtable.less +90 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/orange/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/orange/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/red/jtable.css +521 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/red/jtable.less +90 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/red/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/red/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/add.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/blue/jtable.css +495 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/blue/jtable.less +11 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/blue/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/blue/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/brown/jtable.css +495 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/brown/jtable.less +11 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/brown/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/brown/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/close.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/column-asc.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/column-desc.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/column-sortable.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/crimson/jtable.css +495 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/crimson/jtable.less +11 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/crimson/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/crimson/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/darkgray/jtable.css +495 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/darkgray/jtable.less +11 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/darkgray/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/darkgray/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/darkorange/jtable.css +495 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/darkorange/jtable.less +11 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/darkorange/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/darkorange/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/delete.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/edit.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/green/jtable.css +495 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/green/jtable.less +11 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/green/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/green/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/jtable_metro_base.css +48 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/jtable_metro_base.less +439 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/jtable_metro_base.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/lightgray/jtable.css +495 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/lightgray/jtable.less +11 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/lightgray/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/lightgray/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/pink/jtable.css +495 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/pink/jtable.less +11 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/pink/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/pink/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/purple/jtable.css +495 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/purple/jtable.less +11 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/purple/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/purple/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/red/jtable.css +495 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/red/jtable.less +11 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/red/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/red/loading.gif +0 -0
- metadata +226 -0
@@ -0,0 +1,439 @@
|
|
1
|
+
// jTable Metro Style Theme Base
|
2
|
+
// Created by Halil İbrahim Kalkan
|
3
|
+
// http://www.jtable.org
|
4
|
+
|
5
|
+
// Imports ////////////////////////////////////////////////////////////////////
|
6
|
+
|
7
|
+
@import "../jtable_theme_base.less";
|
8
|
+
|
9
|
+
// Font definitions ///////////////////////////////////////////////////////////
|
10
|
+
|
11
|
+
@font-face
|
12
|
+
{
|
13
|
+
font-family: 'Open Sans';
|
14
|
+
font-style: normal;
|
15
|
+
font-weight: 300;
|
16
|
+
src: local('Open Sans Light'), local('OpenSans-Light'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/DXI1ORHCpsQm3Vp6mXoaTRa1RVmPjeKy21_GQJaLlJI.woff) format('woff');
|
17
|
+
}
|
18
|
+
|
19
|
+
@font-face
|
20
|
+
{
|
21
|
+
font-family: 'Open Sans';
|
22
|
+
font-style: italic;
|
23
|
+
font-weight: 300;
|
24
|
+
src: local('Open Sans Light Italic'), local('OpenSansLight-Italic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxrsuoFAk0leveMLeqYtnfAY.woff) format('woff');
|
25
|
+
}
|
26
|
+
|
27
|
+
@font-face
|
28
|
+
{
|
29
|
+
font-family: 'Open Sans';
|
30
|
+
font-style: normal;
|
31
|
+
font-weight: 400;
|
32
|
+
src: local('Open Sans'), local('OpenSans'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/u-WUoqrET9fUeobQW7jkRT8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
|
33
|
+
}
|
34
|
+
|
35
|
+
@font-face
|
36
|
+
{
|
37
|
+
font-family: 'Open Sans';
|
38
|
+
font-style: italic;
|
39
|
+
font-weight: 400;
|
40
|
+
src: local('Open Sans Italic'), local('OpenSans-Italic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/xjAJXh38I15wypJXxuGMBtIh4imgI8P11RFo6YPCPC0.woff) format('woff');
|
41
|
+
}
|
42
|
+
|
43
|
+
@font-face
|
44
|
+
{
|
45
|
+
font-family: 'Open Sans';
|
46
|
+
font-style: normal;
|
47
|
+
font-weight: 600;
|
48
|
+
src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/MTP_ySUJH_bn48VBG8sNSha1RVmPjeKy21_GQJaLlJI.woff) format('woff');
|
49
|
+
}
|
50
|
+
|
51
|
+
@font-face
|
52
|
+
{
|
53
|
+
font-family: 'Open Sans';
|
54
|
+
font-style: italic;
|
55
|
+
font-weight: 600;
|
56
|
+
src: local('Open Sans Semibold Italic'), local('OpenSans-SemiboldItalic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxmWeb5PoA5ztb49yLyUzH1A.woff) format('woff');
|
57
|
+
}
|
58
|
+
|
59
|
+
@font-face
|
60
|
+
{
|
61
|
+
font-family: 'Open Sans';
|
62
|
+
font-style: normal;
|
63
|
+
font-weight: 700;
|
64
|
+
src: local('Open Sans Bold'), local('OpenSans-Bold'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/k3k702ZOKiLJc3WVjuplzBa1RVmPjeKy21_GQJaLlJI.woff) format('woff');
|
65
|
+
}
|
66
|
+
|
67
|
+
@font-face
|
68
|
+
{
|
69
|
+
font-family: 'Open Sans';
|
70
|
+
font-style: italic;
|
71
|
+
font-weight: 700;
|
72
|
+
src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxoUt79146ZFaIJxILcpzmhI.woff) format('woff');
|
73
|
+
}
|
74
|
+
|
75
|
+
// JTABLE THEME - METRO STYLE BASE ////////////////////////////////////////////
|
76
|
+
|
77
|
+
.jtable_metro_base( @theme-folder, @main-theme-color )
|
78
|
+
{
|
79
|
+
.jtable_theme_base; //Inherit from jtable_theme_base
|
80
|
+
|
81
|
+
// Variables //////////////////////////////////////////////////////////////
|
82
|
+
|
83
|
+
@default-font-family: 'Segoe UI Semilight', 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
|
84
|
+
|
85
|
+
@default-font-size: 14px;
|
86
|
+
@default-line-height: 1.3;
|
87
|
+
|
88
|
+
@table-title-font-size: @default-font-size + 5px;
|
89
|
+
@table-header-font-size: @default-font-size + 1px;
|
90
|
+
@table-bottom-panel-font-size: @default-font-size - 1px;
|
91
|
+
|
92
|
+
@table-title-background: @main-theme-color - #222;
|
93
|
+
@table-header-background: @main-theme-color;
|
94
|
+
@table-bottom-panel-background: @main-theme-color - #111;
|
95
|
+
|
96
|
+
// Mixings //////////////////////////////////////////////////////////////////
|
97
|
+
|
98
|
+
.font-light(@size: @default-font-size)
|
99
|
+
{
|
100
|
+
font-family: @default-font-family;
|
101
|
+
font-weight: 300;
|
102
|
+
font-size: @size;
|
103
|
+
}
|
104
|
+
|
105
|
+
.font-normal(@size: @default-font-size)
|
106
|
+
{
|
107
|
+
font-family: @default-font-family;
|
108
|
+
font-weight: 400;
|
109
|
+
font-size: @size;
|
110
|
+
}
|
111
|
+
|
112
|
+
.font-semi-bold(@size: @default-font-size)
|
113
|
+
{
|
114
|
+
font-family: @default-font-family;
|
115
|
+
font-weight: 600;
|
116
|
+
font-size: @size;
|
117
|
+
}
|
118
|
+
|
119
|
+
.font-bold(@size: @default-font-size)
|
120
|
+
{
|
121
|
+
font-family: @default-font-family;
|
122
|
+
font-weight: 700;
|
123
|
+
font-size: @size;
|
124
|
+
}
|
125
|
+
|
126
|
+
// Styles ///////////////////////////////////////////////////////////////////
|
127
|
+
|
128
|
+
div.jtable-main-container
|
129
|
+
{
|
130
|
+
.font-light();
|
131
|
+
background: #fff;
|
132
|
+
line-height: @default-line-height;
|
133
|
+
|
134
|
+
// Title ---------------------------------------------------------------
|
135
|
+
|
136
|
+
> div.jtable-title
|
137
|
+
{
|
138
|
+
background-color: @table-title-background;
|
139
|
+
padding-left: 10px;
|
140
|
+
|
141
|
+
div.jtable-title-text
|
142
|
+
{
|
143
|
+
.font-light(@table-title-font-size);
|
144
|
+
line-height: @table-title-font-size + 15px;
|
145
|
+
color: #fff;
|
146
|
+
}
|
147
|
+
|
148
|
+
.jtable-close-button
|
149
|
+
{
|
150
|
+
.dock(right, 8px);
|
151
|
+
.opacity(0.5);
|
152
|
+
background: url('metro/close.png') no-repeat;
|
153
|
+
width: 16px;
|
154
|
+
height: 16px;
|
155
|
+
|
156
|
+
&:hover
|
157
|
+
{
|
158
|
+
.opacity(1);
|
159
|
+
}
|
160
|
+
}
|
161
|
+
|
162
|
+
// Toolbar -------------------------------------------------------------
|
163
|
+
|
164
|
+
div.jtable-toolbar
|
165
|
+
{
|
166
|
+
.dock(bottom-right);
|
167
|
+
|
168
|
+
span.jtable-toolbar-item
|
169
|
+
{
|
170
|
+
background-color: @table-title-background + #0A0A0A;
|
171
|
+
color: white;
|
172
|
+
|
173
|
+
&.jtable-toolbar-item-add-record
|
174
|
+
{
|
175
|
+
span.jtable-toolbar-item-icon
|
176
|
+
{
|
177
|
+
background-image: url('metro/add.png');
|
178
|
+
}
|
179
|
+
}
|
180
|
+
|
181
|
+
&.jtable-toolbar-item-hover
|
182
|
+
{
|
183
|
+
background-color: @main-theme-color - #111;
|
184
|
+
padding-bottom: 6px;
|
185
|
+
}
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}
|
189
|
+
|
190
|
+
// Table ---------------------------------------------------------------
|
191
|
+
|
192
|
+
> table.jtable
|
193
|
+
{
|
194
|
+
border: 1px solid @main-theme-color;
|
195
|
+
border-collapse: collapse;
|
196
|
+
border-spacing: 0;
|
197
|
+
|
198
|
+
> thead
|
199
|
+
{
|
200
|
+
background-color: @table-header-background;
|
201
|
+
|
202
|
+
th
|
203
|
+
{
|
204
|
+
.font-light(@table-header-font-size);
|
205
|
+
color: #fff;
|
206
|
+
|
207
|
+
&.jtable-column-header
|
208
|
+
{
|
209
|
+
@header-container-height: 24px;
|
210
|
+
|
211
|
+
div.jtable-column-header-container
|
212
|
+
{
|
213
|
+
height: @header-container-height;
|
214
|
+
margin-left: 4px;
|
215
|
+
|
216
|
+
div.jtable-column-resize-handler
|
217
|
+
{
|
218
|
+
height: @header-container-height + 4px;
|
219
|
+
}
|
220
|
+
|
221
|
+
span.jtable-column-header-text
|
222
|
+
{
|
223
|
+
margin-top: 2px;
|
224
|
+
}
|
225
|
+
}
|
226
|
+
}
|
227
|
+
|
228
|
+
&.jtable-column-header-sortable
|
229
|
+
{
|
230
|
+
div.jtable-column-header-container
|
231
|
+
{
|
232
|
+
background: url('metro/column-sortable.png') no-repeat right;
|
233
|
+
}
|
234
|
+
}
|
235
|
+
|
236
|
+
&.jtable-column-header-sorted-asc
|
237
|
+
{
|
238
|
+
div.jtable-column-header-container
|
239
|
+
{
|
240
|
+
background: url('metro/column-asc.png') no-repeat right;
|
241
|
+
}
|
242
|
+
}
|
243
|
+
|
244
|
+
&.jtable-column-header-sorted-desc
|
245
|
+
{
|
246
|
+
div.jtable-column-header-container
|
247
|
+
{
|
248
|
+
background: url('metro/column-desc.png') no-repeat right;
|
249
|
+
}
|
250
|
+
}
|
251
|
+
}
|
252
|
+
}
|
253
|
+
|
254
|
+
> tbody
|
255
|
+
{
|
256
|
+
> tr
|
257
|
+
{
|
258
|
+
background-color: #fff;
|
259
|
+
|
260
|
+
> td
|
261
|
+
{
|
262
|
+
border: 1px solid #ddd;
|
263
|
+
}
|
264
|
+
|
265
|
+
&.jtable-data-row
|
266
|
+
{
|
267
|
+
> td
|
268
|
+
{
|
269
|
+
padding: 4px;
|
270
|
+
|
271
|
+
> .jtable-edit-command-button
|
272
|
+
{
|
273
|
+
background: url('metro/edit.png') no-repeat;
|
274
|
+
width: 16px;
|
275
|
+
height: 16px;
|
276
|
+
opacity: 0.4;
|
277
|
+
|
278
|
+
&:hover
|
279
|
+
{
|
280
|
+
opacity: 0.8;
|
281
|
+
}
|
282
|
+
}
|
283
|
+
|
284
|
+
> .jtable-delete-command-button
|
285
|
+
{
|
286
|
+
background: url('metro/delete.png') no-repeat;
|
287
|
+
width: 16px;
|
288
|
+
height: 16px;
|
289
|
+
opacity: 0.4;
|
290
|
+
|
291
|
+
&:hover
|
292
|
+
{
|
293
|
+
opacity: 0.8;
|
294
|
+
}
|
295
|
+
}
|
296
|
+
}
|
297
|
+
}
|
298
|
+
|
299
|
+
&.jtable-row-even
|
300
|
+
{
|
301
|
+
background-color: #f9f9f9;
|
302
|
+
}
|
303
|
+
|
304
|
+
&:hover
|
305
|
+
{
|
306
|
+
background: #e8eaef;
|
307
|
+
}
|
308
|
+
|
309
|
+
&.jtable-row-selected
|
310
|
+
{
|
311
|
+
color: #fff;
|
312
|
+
background-color: @main-theme-color + #222;
|
313
|
+
}
|
314
|
+
|
315
|
+
&.jtable-row-created
|
316
|
+
{
|
317
|
+
background-color: @main-theme-color + #333;
|
318
|
+
}
|
319
|
+
|
320
|
+
&.jtable-row-updated
|
321
|
+
{
|
322
|
+
background-color: @main-theme-color + #333;
|
323
|
+
}
|
324
|
+
|
325
|
+
&.jtable-row-deleting
|
326
|
+
{
|
327
|
+
background-color: #e51400;
|
328
|
+
color: #fff;
|
329
|
+
}
|
330
|
+
|
331
|
+
&.jtable-child-row
|
332
|
+
{
|
333
|
+
> td
|
334
|
+
{
|
335
|
+
padding: 2px;
|
336
|
+
background-color: #fff;
|
337
|
+
}
|
338
|
+
}
|
339
|
+
}
|
340
|
+
}
|
341
|
+
}
|
342
|
+
|
343
|
+
// Bottom panel --------------------------------------------------------------
|
344
|
+
|
345
|
+
> div.jtable-bottom-panel
|
346
|
+
{
|
347
|
+
@page-number-margin: 1px;
|
348
|
+
@page-number-padding-vertical: 2px;
|
349
|
+
@page-number-padding-horizontal: 5px;
|
350
|
+
|
351
|
+
@bottom-panel-height: (@table-bottom-panel-font-size * @default-line-height) + (@page-number-margin * 2) + (@page-number-padding-vertical * 2);
|
352
|
+
|
353
|
+
background-color: @table-bottom-panel-background;
|
354
|
+
color: #fff;
|
355
|
+
min-height: @bottom-panel-height;
|
356
|
+
font-size: @table-bottom-panel-font-size;
|
357
|
+
border: 1px solid @main-theme-color;
|
358
|
+
border-top: none;
|
359
|
+
|
360
|
+
.jtable-page-list
|
361
|
+
{
|
362
|
+
margin: 1px 0px 0px 0px;
|
363
|
+
|
364
|
+
.jtable-page-number,
|
365
|
+
.jtable-page-number-space,
|
366
|
+
.jtable-page-number-first,
|
367
|
+
.jtable-page-number-last,
|
368
|
+
.jtable-page-number-previous,
|
369
|
+
.jtable-page-number-next,
|
370
|
+
.jtable-page-number-active
|
371
|
+
{
|
372
|
+
background-color: @table-bottom-panel-background + #111;
|
373
|
+
margin: @page-number-margin;
|
374
|
+
padding: @page-number-padding-vertical @page-number-padding-horizontal;
|
375
|
+
color: #fff;
|
376
|
+
}
|
377
|
+
|
378
|
+
.jtable-page-number:hover,
|
379
|
+
.jtable-page-number-first:hover,
|
380
|
+
.jtable-page-number-last:hover,
|
381
|
+
.jtable-page-number-previous:hover,
|
382
|
+
.jtable-page-number-next:hover
|
383
|
+
{
|
384
|
+
background-color: @table-bottom-panel-background + #333;
|
385
|
+
}
|
386
|
+
|
387
|
+
.jtable-page-number-disabled
|
388
|
+
{
|
389
|
+
.opacity(0.75);
|
390
|
+
color: #ccc;
|
391
|
+
cursor: default;
|
392
|
+
|
393
|
+
&:hover
|
394
|
+
{
|
395
|
+
background-color: @table-bottom-panel-background + #111;
|
396
|
+
}
|
397
|
+
}
|
398
|
+
}
|
399
|
+
|
400
|
+
span.jtable-page-info
|
401
|
+
{
|
402
|
+
display: inline-block;
|
403
|
+
padding: 4px;
|
404
|
+
}
|
405
|
+
|
406
|
+
span.jtable-page-size-change
|
407
|
+
{
|
408
|
+
display:inline-block;
|
409
|
+
padding:2px 0px 2px 0px;
|
410
|
+
}
|
411
|
+
|
412
|
+
span.jtable-goto-page
|
413
|
+
{
|
414
|
+
display:inline-block;
|
415
|
+
padding:2px 0px 2px 0px;
|
416
|
+
}
|
417
|
+
}
|
418
|
+
}
|
419
|
+
|
420
|
+
// Forms -------------------------------------------------------------------
|
421
|
+
|
422
|
+
form.jtable-dialog-form
|
423
|
+
{
|
424
|
+
.font-normal();
|
425
|
+
}
|
426
|
+
|
427
|
+
// Busy message-------------------------------------------------------------
|
428
|
+
|
429
|
+
div.jtable-busy-message
|
430
|
+
{
|
431
|
+
.font-light(16px);
|
432
|
+
border: 1px solid #fff;
|
433
|
+
padding: 5px 5px 5px 58px;
|
434
|
+
color: #fff;
|
435
|
+
background: url('metro/@{theme-folder}/loading.gif') no-repeat;
|
436
|
+
background-color: @main-theme-color - #222;
|
437
|
+
background-position: 8px;
|
438
|
+
}
|
439
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url(http://themes.googleusercontent.com/static/fonts/opensans/v6/DXI1ORHCpsQm3Vp6mXoaTRa1RVmPjeKy21_GQJaLlJI.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxrsuoFAk0leveMLeqYtnfAY.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url(http://themes.googleusercontent.com/static/fonts/opensans/v6/u-WUoqrET9fUeobQW7jkRT8E0i7KZn-EPnyo3HZu7kw.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url(http://themes.googleusercontent.com/static/fonts/opensans/v6/xjAJXh38I15wypJXxuGMBtIh4imgI8P11RFo6YPCPC0.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:600;src:local('Open Sans Semibold'),local('OpenSans-Semibold'),url(http://themes.googleusercontent.com/static/fonts/opensans/v6/MTP_ySUJH_bn48VBG8sNSha1RVmPjeKy21_GQJaLlJI.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:600;src:local('Open Sans Semibold Italic'),local('OpenSans-SemiboldItalic'),url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxmWeb5PoA5ztb49yLyUzH1A.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url(http://themes.googleusercontent.com/static/fonts/opensans/v6/k3k702ZOKiLJc3WVjuplzBa1RVmPjeKy21_GQJaLlJI.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:700;src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxoUt79146ZFaIJxILcpzmhI.woff) format('woff')}
|