semantic-ui-rails 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +26 -0
- data/Rakefile +1 -0
- data/lib/generators/semantic/install/install_generator.rb +38 -0
- data/lib/generators/semantic/install/templates/semantic-ui.js +21 -0
- data/lib/generators/semantic/install/templates/semantic-ui/collections.less +6 -0
- data/lib/generators/semantic/install/templates/semantic-ui/elements.less +11 -0
- data/lib/generators/semantic/install/templates/semantic-ui/modules.less +18 -0
- data/lib/generators/semantic/install/templates/semantic-ui/views.less +6 -0
- data/lib/semantic/ui/rails.rb +10 -0
- data/lib/semantic/ui/rails/engine.rb +8 -0
- data/lib/semantic/ui/rails/version.rb +7 -0
- data/semantic-ui-rails.gemspec +23 -0
- data/vendor/assets/fonts/icons.eot +0 -0
- data/vendor/assets/fonts/icons.svg +450 -0
- data/vendor/assets/fonts/icons.ttf +0 -0
- data/vendor/assets/fonts/icons.woff +0 -0
- data/vendor/assets/images/semantic-ui/loader-large-inverted.gif +0 -0
- data/vendor/assets/images/semantic-ui/loader-large.gif +0 -0
- data/vendor/assets/images/semantic-ui/loader-medium-inverted.gif +0 -0
- data/vendor/assets/images/semantic-ui/loader-medium.gif +0 -0
- data/vendor/assets/images/semantic-ui/loader-mini-inverted.gif +0 -0
- data/vendor/assets/images/semantic-ui/loader-mini.gif +0 -0
- data/vendor/assets/images/semantic-ui/loader-small-inverted.gif +0 -0
- data/vendor/assets/images/semantic-ui/loader-small.gif +0 -0
- data/vendor/assets/javascripts/semantic-ui/accordion.js +411 -0
- data/vendor/assets/javascripts/semantic-ui/behavior/api.js +666 -0
- data/vendor/assets/javascripts/semantic-ui/behavior/colorize.js +271 -0
- data/vendor/assets/javascripts/semantic-ui/behavior/form.js +657 -0
- data/vendor/assets/javascripts/semantic-ui/behavior/state.js +752 -0
- data/vendor/assets/javascripts/semantic-ui/carousel.js +327 -0
- data/vendor/assets/javascripts/semantic-ui/chatroom.js +766 -0
- data/vendor/assets/javascripts/semantic-ui/checkbox.js +348 -0
- data/vendor/assets/javascripts/semantic-ui/dimmer.js +525 -0
- data/vendor/assets/javascripts/semantic-ui/dropdown.js +697 -0
- data/vendor/assets/javascripts/semantic-ui/modal.js +478 -0
- data/vendor/assets/javascripts/semantic-ui/nag.js +542 -0
- data/vendor/assets/javascripts/semantic-ui/popup.js +721 -0
- data/vendor/assets/javascripts/semantic-ui/rating.js +358 -0
- data/vendor/assets/javascripts/semantic-ui/search.js +770 -0
- data/vendor/assets/javascripts/semantic-ui/shape.js +776 -0
- data/vendor/assets/javascripts/semantic-ui/sidebar.js +489 -0
- data/vendor/assets/javascripts/semantic-ui/tab.js +674 -0
- data/vendor/assets/javascripts/semantic-ui/transition.js +645 -0
- data/vendor/assets/javascripts/semantic-ui/video.js +459 -0
- data/vendor/assets/stylesheets/semantic-ui/collections/breadcrumb.less +79 -0
- data/vendor/assets/stylesheets/semantic-ui/collections/form.less +536 -0
- data/vendor/assets/stylesheets/semantic-ui/collections/grid.less +655 -0
- data/vendor/assets/stylesheets/semantic-ui/collections/menu.less +1736 -0
- data/vendor/assets/stylesheets/semantic-ui/collections/message.less +337 -0
- data/vendor/assets/stylesheets/semantic-ui/collections/table.less +526 -0
- data/vendor/assets/stylesheets/semantic-ui/elements/button.less +1294 -0
- data/vendor/assets/stylesheets/semantic-ui/elements/divider.less +200 -0
- data/vendor/assets/stylesheets/semantic-ui/elements/header.less +325 -0
- data/vendor/assets/stylesheets/semantic-ui/elements/icon.less +449 -0
- data/vendor/assets/stylesheets/semantic-ui/elements/image.less +170 -0
- data/vendor/assets/stylesheets/semantic-ui/elements/input.less +287 -0
- data/vendor/assets/stylesheets/semantic-ui/elements/label.less +805 -0
- data/vendor/assets/stylesheets/semantic-ui/elements/loader.less +178 -0
- data/vendor/assets/stylesheets/semantic-ui/elements/progress.less +353 -0
- data/vendor/assets/stylesheets/semantic-ui/elements/segment.less +465 -0
- data/vendor/assets/stylesheets/semantic-ui/elements/step.less +294 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/accordion.less +135 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/carousel.less +71 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/chatroom.less +271 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/checkbox.less +378 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/dimmer.less +230 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/dropdown.less +506 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/extra.transition.less +1197 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/modal.less +154 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/nag.less +175 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/popup.less +238 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/rating.less +151 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/reveal.less +367 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/search.less +275 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/shape.less +115 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/sidebar.less +147 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/tab.less +59 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/transition.less +839 -0
- data/vendor/assets/stylesheets/semantic-ui/modules/video.less +99 -0
- data/vendor/assets/stylesheets/semantic-ui/views/comment.less +221 -0
- data/vendor/assets/stylesheets/semantic-ui/views/feed.less +151 -0
- data/vendor/assets/stylesheets/semantic-ui/views/item.less +641 -0
- data/vendor/assets/stylesheets/semantic-ui/views/list.less +491 -0
- data/vendor/assets/stylesheets/semantic-ui/views/sitemap.less +47 -0
- data/vendor/assets/stylesheets/semantic-ui/views/statistic.less +34 -0
- metadata +161 -0
@@ -0,0 +1,337 @@
|
|
1
|
+
/*
|
2
|
+
* # Semantic Text Block - Flat
|
3
|
+
* http://github.com/quirkyinc/semantic
|
4
|
+
*
|
5
|
+
*
|
6
|
+
* Copyright 2013 Contributors
|
7
|
+
* Released under the MIT license
|
8
|
+
* http://opensource.org/licenses/MIT
|
9
|
+
*
|
10
|
+
* Released: April 29 2013
|
11
|
+
*/
|
12
|
+
|
13
|
+
/*******************************
|
14
|
+
Text Block
|
15
|
+
*******************************/
|
16
|
+
|
17
|
+
.ui.message {
|
18
|
+
position: relative;
|
19
|
+
min-height: 18px;
|
20
|
+
margin: 1em 0em;
|
21
|
+
|
22
|
+
height: auto;
|
23
|
+
background-color: #EFEFEF;
|
24
|
+
padding: 1em;
|
25
|
+
|
26
|
+
line-height: 1.33;
|
27
|
+
color: rgba(0, 0, 0, 0.6);
|
28
|
+
|
29
|
+
-webkit-transition:
|
30
|
+
opacity 0.1s ease,
|
31
|
+
color 0.1s ease,
|
32
|
+
background 0.1s ease,
|
33
|
+
box-shadow 0.1s ease
|
34
|
+
;
|
35
|
+
-moz-transition:
|
36
|
+
opacity 0.1s ease,
|
37
|
+
color 0.1s ease,
|
38
|
+
background 0.1s ease,
|
39
|
+
box-shadow 0.1s ease
|
40
|
+
;
|
41
|
+
-o-transition:
|
42
|
+
opacity 0.1s ease,
|
43
|
+
color 0.1s ease,
|
44
|
+
background 0.1s ease,
|
45
|
+
box-shadow 0.1s ease
|
46
|
+
;
|
47
|
+
-ms-transition:
|
48
|
+
opacity 0.1s ease,
|
49
|
+
color 0.1s ease,
|
50
|
+
background 0.1s ease,
|
51
|
+
box-shadow 0.1s ease
|
52
|
+
;
|
53
|
+
transition:
|
54
|
+
opacity 0.1s ease,
|
55
|
+
color 0.1s ease,
|
56
|
+
background 0.1s ease,
|
57
|
+
box-shadow 0.1s ease
|
58
|
+
;
|
59
|
+
|
60
|
+
-webkit-box-sizing: border-box;
|
61
|
+
-moz-box-sizing: border-box;
|
62
|
+
-ms-box-sizing: border-box;
|
63
|
+
box-sizing: border-box;
|
64
|
+
|
65
|
+
-webkit-border-radius: 0.325em 0.325em 0.325em 0.325em;
|
66
|
+
-moz-border-radius: 0.325em 0.325em 0.325em 0.325em;
|
67
|
+
border-radius: 0.325em 0.325em 0.325em 0.325em;
|
68
|
+
}
|
69
|
+
|
70
|
+
.ui.segment:first-child {
|
71
|
+
margin-top: 0em;
|
72
|
+
}
|
73
|
+
.ui.segment:last-child {
|
74
|
+
margin-bottom: 0em;
|
75
|
+
}
|
76
|
+
|
77
|
+
|
78
|
+
/*--------------
|
79
|
+
Content
|
80
|
+
---------------*/
|
81
|
+
|
82
|
+
/* block with headers */
|
83
|
+
.ui.message .header {
|
84
|
+
margin: 0em;
|
85
|
+
font-size: 1.33em;
|
86
|
+
font-weight: bold;
|
87
|
+
}
|
88
|
+
|
89
|
+
/* block with paragraphs */
|
90
|
+
.ui.message p {
|
91
|
+
opacity: 0.85;
|
92
|
+
margin: 0.3em 0em;
|
93
|
+
}
|
94
|
+
.ui.message > :first-child {
|
95
|
+
margin-top: 0em;
|
96
|
+
}
|
97
|
+
.ui.message > :last-child {
|
98
|
+
margin-bottom: 0em;
|
99
|
+
}
|
100
|
+
|
101
|
+
/* block with child list */
|
102
|
+
.ui.message ul.list {
|
103
|
+
opacity: 0.85;
|
104
|
+
list-style-position: inside;
|
105
|
+
margin: 0.2em 0em;
|
106
|
+
padding: 0em;
|
107
|
+
}
|
108
|
+
.ui.message ul.list li {
|
109
|
+
position: relative;
|
110
|
+
list-style-type: none;
|
111
|
+
margin: 0em 0em 0em 1em;
|
112
|
+
padding: 0em;
|
113
|
+
}
|
114
|
+
.ui.message ul.list li:before {
|
115
|
+
position: absolute;
|
116
|
+
content: '\2022';
|
117
|
+
top: -0.05em;
|
118
|
+
left: -0.8em;
|
119
|
+
|
120
|
+
height: 100%;
|
121
|
+
vertical-align: baseline;
|
122
|
+
opacity: 0.5;
|
123
|
+
}
|
124
|
+
.ui.message ul.list li:first-child {
|
125
|
+
margin-top: 0em;
|
126
|
+
}
|
127
|
+
|
128
|
+
/* dismissable block */
|
129
|
+
.ui.message > .icon.close {
|
130
|
+
cursor: pointer;
|
131
|
+
position: absolute;
|
132
|
+
top: 1em;
|
133
|
+
right: 0.5em;
|
134
|
+
opacity: 0.7;
|
135
|
+
|
136
|
+
-webkit-transition:
|
137
|
+
opacity 0.1s linear
|
138
|
+
;
|
139
|
+
-moz-transition:
|
140
|
+
opacity 0.1s linear
|
141
|
+
;
|
142
|
+
-o-transition:
|
143
|
+
opacity 0.1s linear
|
144
|
+
;
|
145
|
+
-ms-transition:
|
146
|
+
opacity 0.1s linear
|
147
|
+
;
|
148
|
+
transition:
|
149
|
+
opacity 0.1s linear
|
150
|
+
;
|
151
|
+
}
|
152
|
+
.ui.message > .icon.close:hover {
|
153
|
+
opacity: 1;
|
154
|
+
}
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
/*******************************
|
159
|
+
States
|
160
|
+
*******************************/
|
161
|
+
|
162
|
+
.ui.message.visible,
|
163
|
+
.ui.header.visible {
|
164
|
+
display: block !important;
|
165
|
+
}
|
166
|
+
.ui.message.hidden,
|
167
|
+
.ui.header.hidden {
|
168
|
+
display: none;
|
169
|
+
}
|
170
|
+
|
171
|
+
/*******************************
|
172
|
+
Variations
|
173
|
+
*******************************/
|
174
|
+
|
175
|
+
/*--------------
|
176
|
+
Compact
|
177
|
+
---------------*/
|
178
|
+
|
179
|
+
.ui.compact.message {
|
180
|
+
display: inline-block;
|
181
|
+
}
|
182
|
+
|
183
|
+
|
184
|
+
/*--------------
|
185
|
+
Attached
|
186
|
+
---------------*/
|
187
|
+
|
188
|
+
.ui.attached.message {
|
189
|
+
margin-left: -1px;
|
190
|
+
margin-right: -1px;
|
191
|
+
margin-bottom: -1px;
|
192
|
+
|
193
|
+
-webkit-border-radius: 0.325em 0.325em 0em 0em;
|
194
|
+
-moz-border-radius: 0.325em 0.325em 0em 0em;
|
195
|
+
border-radius: 0.325em 0.325em 0em 0em;
|
196
|
+
|
197
|
+
-webkit-box-shadow:
|
198
|
+
0em 0em 0em 1px rgba(0, 0, 0, 0.1) inset
|
199
|
+
;
|
200
|
+
-moz-box-shadow:
|
201
|
+
0em 0em 0em 1px rgba(0, 0, 0, 0.1) inset
|
202
|
+
;
|
203
|
+
box-shadow:
|
204
|
+
0em 0em 0em 1px rgba(0, 0, 0, 0.1) inset
|
205
|
+
;
|
206
|
+
}
|
207
|
+
.ui.bottom.attached.message {
|
208
|
+
margin-top: -1px;
|
209
|
+
|
210
|
+
-webkit-border-radius: 0em 0em 0.325em 0.325em;
|
211
|
+
-moz-border-radius: 0em 0em 0.325em 0.325em;
|
212
|
+
border-radius: 0em 0em 0.325em 0.325em;
|
213
|
+
}
|
214
|
+
|
215
|
+
|
216
|
+
/*--------------
|
217
|
+
Icon
|
218
|
+
---------------*/
|
219
|
+
|
220
|
+
.ui.icon.message {
|
221
|
+
display: table;
|
222
|
+
width: 100%;
|
223
|
+
}
|
224
|
+
.ui.icon.message > .icon {
|
225
|
+
display: table-cell;
|
226
|
+
vertical-align: middle;
|
227
|
+
font-size: 3.8em;
|
228
|
+
padding-right: 0.4em;
|
229
|
+
opacity: 0.2;
|
230
|
+
}
|
231
|
+
.ui.icon.message > .content {
|
232
|
+
display: table-cell;
|
233
|
+
vertical-align: top;
|
234
|
+
}
|
235
|
+
|
236
|
+
/*--------------
|
237
|
+
Inverted
|
238
|
+
---------------*/
|
239
|
+
|
240
|
+
.ui.inverted.message {
|
241
|
+
background-color: rgba(255, 255, 255, 0.05);
|
242
|
+
color: rgba(255, 255, 255, 0.95);
|
243
|
+
}
|
244
|
+
|
245
|
+
|
246
|
+
/*--------------
|
247
|
+
Floating
|
248
|
+
---------------*/
|
249
|
+
|
250
|
+
.ui.floating.message {
|
251
|
+
-webkit-box-shadow:
|
252
|
+
0px 1px 3px 0px rgba(0, 0, 0, 0.1),
|
253
|
+
0px 0px 0px 1px rgba(0, 0, 0, 0.05) inset
|
254
|
+
;
|
255
|
+
-moz-box-shadow:
|
256
|
+
0px 1px 3px 0px rgba(0, 0, 0, 0.1),
|
257
|
+
0px 0px 0px 1px rgba(0, 0, 0, 0.05) inset
|
258
|
+
;
|
259
|
+
box-shadow:
|
260
|
+
0px 1px 3px 0px rgba(0, 0, 0, 0.1),
|
261
|
+
0px 0px 0px 1px rgba(0, 0, 0, 0.05) inset
|
262
|
+
;
|
263
|
+
}
|
264
|
+
|
265
|
+
|
266
|
+
/*--------------
|
267
|
+
Colors
|
268
|
+
---------------*/
|
269
|
+
|
270
|
+
.ui.black.message {
|
271
|
+
background-color: #333333;
|
272
|
+
color: rgba(255, 255, 255, 0.95);
|
273
|
+
}
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
/*--------------
|
278
|
+
Types
|
279
|
+
---------------*/
|
280
|
+
.ui.blue.message,
|
281
|
+
.ui.info.message {
|
282
|
+
background-color: #E6F4F9;
|
283
|
+
color: #4D8796;
|
284
|
+
}
|
285
|
+
|
286
|
+
/* Green Text Block */
|
287
|
+
.ui.green.message {
|
288
|
+
background-color: #DEFCD5;
|
289
|
+
color: #52A954;
|
290
|
+
}
|
291
|
+
|
292
|
+
/* Yellow Text Block */
|
293
|
+
.ui.yellow.message,
|
294
|
+
.ui.warning.message {
|
295
|
+
background-color: #F6F3D5;
|
296
|
+
color: #96904D;
|
297
|
+
}
|
298
|
+
/* Red Text Block */
|
299
|
+
.ui.red.message {
|
300
|
+
background-color: #F1D7D7;
|
301
|
+
|
302
|
+
color: #A95252;
|
303
|
+
}
|
304
|
+
|
305
|
+
/* Success Text Block */
|
306
|
+
.ui.success.message,
|
307
|
+
.ui.positive.message {
|
308
|
+
background-color: #5BBD72;
|
309
|
+
color: #FFFFFF;
|
310
|
+
}
|
311
|
+
/* Error Text Block */
|
312
|
+
.ui.error.message,
|
313
|
+
.ui.negative.message {
|
314
|
+
background-color: #D95C5C;
|
315
|
+
color: #FFFFFF;
|
316
|
+
}
|
317
|
+
|
318
|
+
|
319
|
+
/*--------------
|
320
|
+
Sizes
|
321
|
+
---------------*/
|
322
|
+
|
323
|
+
.ui.small.message {
|
324
|
+
font-size: 0.875em;
|
325
|
+
}
|
326
|
+
.ui.message {
|
327
|
+
font-size: 1em;
|
328
|
+
}
|
329
|
+
.ui.large.message {
|
330
|
+
font-size: 1.125em;
|
331
|
+
}
|
332
|
+
.ui.huge.message {
|
333
|
+
font-size: 1.5em;
|
334
|
+
}
|
335
|
+
.ui.massive.message {
|
336
|
+
font-size: 2em;
|
337
|
+
}
|
@@ -0,0 +1,526 @@
|
|
1
|
+
/*
|
2
|
+
* # Semantic Table
|
3
|
+
* http://github.com/quirkyinc/semantic
|
4
|
+
*
|
5
|
+
*
|
6
|
+
* Copyright 2013 Contributors
|
7
|
+
* Released under the MIT license
|
8
|
+
* http://opensource.org/licenses/MIT
|
9
|
+
*
|
10
|
+
* Released: April 24 2013
|
11
|
+
*/
|
12
|
+
|
13
|
+
|
14
|
+
/*******************************
|
15
|
+
Table
|
16
|
+
*******************************/
|
17
|
+
|
18
|
+
/* Prototype */
|
19
|
+
.ui.table {
|
20
|
+
width: 100%;
|
21
|
+
border-collapse: collapse;
|
22
|
+
}
|
23
|
+
|
24
|
+
/* Table Content */
|
25
|
+
.ui.table th,
|
26
|
+
.ui.table tr,
|
27
|
+
.ui.table td {
|
28
|
+
border-collapse: collapse;
|
29
|
+
|
30
|
+
-webkit-box-sizing: border-box;
|
31
|
+
-moz-box-sizing: border-box;
|
32
|
+
-ms-box-sizing: border-box;
|
33
|
+
box-sizing: border-box;
|
34
|
+
|
35
|
+
-webkit-transition: all 0.1s ease-out;
|
36
|
+
-moz-transition: all 0.1s ease-out;
|
37
|
+
-o-transition: all 0.1s ease-out;
|
38
|
+
-ms-transition: all 0.1s ease-out;
|
39
|
+
transition: all 0.1s ease-out;
|
40
|
+
}
|
41
|
+
|
42
|
+
/* Headers */
|
43
|
+
.ui.table thead {
|
44
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.03);
|
45
|
+
}
|
46
|
+
.ui.table th {
|
47
|
+
cursor: auto;
|
48
|
+
|
49
|
+
background-color: rgba(0, 0, 0, 0.03);
|
50
|
+
|
51
|
+
text-align: left;
|
52
|
+
color: rgba(0, 0, 0, 0.8);
|
53
|
+
padding: 0.5em 0.7em;
|
54
|
+
vertical-align: middle;
|
55
|
+
}
|
56
|
+
.ui.table thead th:first-child {
|
57
|
+
border-radius: 5px 0px 0px 0px;
|
58
|
+
}
|
59
|
+
.ui.table thead th:last-child {
|
60
|
+
border-radius: 0px 5px 0px 0px;
|
61
|
+
}
|
62
|
+
.ui.table tfoot th:first-child {
|
63
|
+
border-radius: 0px 0px 0px 5px;
|
64
|
+
}
|
65
|
+
.ui.table tfoot th:last-child {
|
66
|
+
border-radius: 0px 0px 5px 0px;
|
67
|
+
}
|
68
|
+
|
69
|
+
/* Table Cells */
|
70
|
+
.ui.table td {
|
71
|
+
padding: 0.40em 0.7em;
|
72
|
+
vertical-align: middle;
|
73
|
+
}
|
74
|
+
|
75
|
+
/* Footer */
|
76
|
+
.ui.table tfoot {
|
77
|
+
border-top: 1px solid rgba(0, 0, 0, 0.03);
|
78
|
+
}
|
79
|
+
.ui.table tfoot th {
|
80
|
+
font-weight: normal;
|
81
|
+
font-style: italic;
|
82
|
+
}
|
83
|
+
|
84
|
+
/* Table Striping */
|
85
|
+
.ui.table tbody tr:nth-child(2n) {
|
86
|
+
background-color: rgba(0, 0, 50, 0.02);
|
87
|
+
}
|
88
|
+
|
89
|
+
/* Icons */
|
90
|
+
.ui.table > .icon {
|
91
|
+
vertical-align: baseline;
|
92
|
+
}
|
93
|
+
.ui.table > .icon:only-child {
|
94
|
+
margin: 0em;
|
95
|
+
}
|
96
|
+
|
97
|
+
/* Table Segment */
|
98
|
+
.ui.table.segment:after {
|
99
|
+
display: none;
|
100
|
+
}
|
101
|
+
.ui.table.segment.stacked:after {
|
102
|
+
display: block;
|
103
|
+
}
|
104
|
+
|
105
|
+
/*******************************
|
106
|
+
States
|
107
|
+
*******************************/
|
108
|
+
|
109
|
+
/*--------------
|
110
|
+
Hover
|
111
|
+
---------------*/
|
112
|
+
|
113
|
+
/* Sortable */
|
114
|
+
.ui.sortable.table thead th:hover {
|
115
|
+
background-image: none;
|
116
|
+
color: rgba(0, 0, 0, 0.8);
|
117
|
+
}
|
118
|
+
.ui.sortable.table th.disabled:hover {
|
119
|
+
cursor: auto;
|
120
|
+
background-color: rgba(0, 0, 0, 0.1);
|
121
|
+
|
122
|
+
text-align: left;
|
123
|
+
font-weight: bold;
|
124
|
+
color: #333333;
|
125
|
+
color: rgba(0, 0, 0, 0.8);
|
126
|
+
}
|
127
|
+
|
128
|
+
|
129
|
+
/*--------------
|
130
|
+
Positive
|
131
|
+
---------------*/
|
132
|
+
|
133
|
+
.ui.table tr.positive,
|
134
|
+
.ui.table td.positive {
|
135
|
+
-webkit-box-shadow: 2px 0px 0px #119000 inset;
|
136
|
+
-moz-box-shadow: 2px 0px 0px #119000 inset;
|
137
|
+
box-shadow: 2px 0px 0px #119000 inset;
|
138
|
+
}
|
139
|
+
.ui.table tr.positive td,
|
140
|
+
.ui.table td.positive {
|
141
|
+
background-color: #F2F8F0 !important;
|
142
|
+
color: #119000 !important;
|
143
|
+
}
|
144
|
+
.ui.celled.table tr.positive:hover td,
|
145
|
+
.ui.celled.table tr:hover td.positive,
|
146
|
+
.ui.table tr.positive:hover td,
|
147
|
+
.ui.table td:hover.positive,
|
148
|
+
.ui.table th:hover.positive {
|
149
|
+
background-color: #ECF5E9 !important;
|
150
|
+
color: #119000 !important;
|
151
|
+
}
|
152
|
+
|
153
|
+
/*--------------
|
154
|
+
Negative
|
155
|
+
---------------*/
|
156
|
+
|
157
|
+
.ui.table tr.negative,
|
158
|
+
.ui.table td.negative {
|
159
|
+
-webkit-box-shadow: 2px 0px 0px #CD2929 inset;
|
160
|
+
-moz-box-shadow: 2px 0px 0px #CD2929 inset;
|
161
|
+
box-shadow: 2px 0px 0px #CD2929 inset;
|
162
|
+
}
|
163
|
+
.ui.table tr.negative td,
|
164
|
+
.ui.table td.negative {
|
165
|
+
background-color: #F9F4F4;
|
166
|
+
color: #CD2929 !important;
|
167
|
+
}
|
168
|
+
.ui.celled.table tr.negative:hover td,
|
169
|
+
.ui.celled.table tr:hover td.negative,
|
170
|
+
.ui.table tr.negative:hover td,
|
171
|
+
.ui.table td:hover.negative,
|
172
|
+
.ui.table th:hover.negative {
|
173
|
+
background-color: #F2E8E8 !important;
|
174
|
+
color: #CD2929 !important;
|
175
|
+
}
|
176
|
+
|
177
|
+
/*--------------
|
178
|
+
Error
|
179
|
+
---------------*/
|
180
|
+
|
181
|
+
.ui.table tr.error,
|
182
|
+
.ui.table td.error {
|
183
|
+
-webkit-box-shadow: 2px 0px 0px #CD2929 inset;
|
184
|
+
-moz-box-shadow: 2px 0px 0px #CD2929 inset;
|
185
|
+
box-shadow: 2px 0px 0px #CD2929 inset;
|
186
|
+
}
|
187
|
+
.ui.table tr.error td,
|
188
|
+
.ui.table td.error,
|
189
|
+
.ui.table th.error {
|
190
|
+
background-color: #F9F4F4 !important;
|
191
|
+
color: #CD2929 !important;
|
192
|
+
}
|
193
|
+
.ui.celled.table tr.error:hover td,
|
194
|
+
.ui.celled.table tr:hover td.error,
|
195
|
+
.ui.table tr.error:hover td,
|
196
|
+
.ui.table td:hover.error,
|
197
|
+
.ui.table th:hover.error {
|
198
|
+
background-color: #F2E8E8 !important;
|
199
|
+
color: #CD2929 !important;
|
200
|
+
}
|
201
|
+
|
202
|
+
/*--------------
|
203
|
+
Warning
|
204
|
+
---------------*/
|
205
|
+
|
206
|
+
.ui.table tr.warning,
|
207
|
+
.ui.table td.warning {
|
208
|
+
-webkit-box-shadow: 2px 0px 0px #7D6C00 inset;
|
209
|
+
-moz-box-shadow: 2px 0px 0px #7D6C00 inset;
|
210
|
+
box-shadow: 2px 0px 0px #7D6C00 inset;
|
211
|
+
}
|
212
|
+
.ui.table tr.warning td,
|
213
|
+
.ui.table td.warning,
|
214
|
+
.ui.table th.warning {
|
215
|
+
background-color: #FBF6E9;
|
216
|
+
color: #7D6C00 !important;
|
217
|
+
}
|
218
|
+
.ui.celled.table tr.warning:hover td,
|
219
|
+
.ui.celled.table tr:hover td.warning,
|
220
|
+
.ui.table tr.warning:hover td,
|
221
|
+
.ui.table td:hover.warning,
|
222
|
+
.ui.table th:hover.warning {
|
223
|
+
background-color: #F3EDDC !important;
|
224
|
+
color: #7D6C00 !important;
|
225
|
+
}
|
226
|
+
|
227
|
+
|
228
|
+
/*--------------
|
229
|
+
Active
|
230
|
+
---------------*/
|
231
|
+
|
232
|
+
.ui.table tr.active,
|
233
|
+
.ui.table td.active {
|
234
|
+
-webkit-box-shadow: 2px 0px 0px rgba(50, 50, 50, 0.9) inset;
|
235
|
+
-moz-box-shadow: 2px 0px 0px rgba(50, 50, 50, 0.9) inset;
|
236
|
+
box-shadow: 2px 0px 0px rgba(50, 50, 50, 0.9) inset;
|
237
|
+
}
|
238
|
+
|
239
|
+
.ui.table tr.active td,
|
240
|
+
.ui.table tr td.active {
|
241
|
+
background-color: #E0E0E0 !important;
|
242
|
+
color: rgba(50, 50, 50, 0.9);
|
243
|
+
/* border-color: rgba(0, 0, 0, 0.15) !important; */
|
244
|
+
}
|
245
|
+
|
246
|
+
/*--------------
|
247
|
+
Disabled
|
248
|
+
---------------*/
|
249
|
+
|
250
|
+
.ui.table tr.disabled td,
|
251
|
+
.ui.table tr td.disabled,
|
252
|
+
.ui.table tr.disabled:hover td,
|
253
|
+
.ui.table tr:hover td.disabled {
|
254
|
+
color: rgba(150, 150, 150, 0.3);
|
255
|
+
}
|
256
|
+
|
257
|
+
/*******************************
|
258
|
+
Variations
|
259
|
+
*******************************/
|
260
|
+
|
261
|
+
/*--------------
|
262
|
+
Column Count
|
263
|
+
---------------*/
|
264
|
+
|
265
|
+
.ui.two.column.table td {
|
266
|
+
width: 50%;
|
267
|
+
}
|
268
|
+
.ui.three.column.table td {
|
269
|
+
width: 33.3333%;
|
270
|
+
}
|
271
|
+
.ui.four.column.table td {
|
272
|
+
width: 25%;
|
273
|
+
}
|
274
|
+
.ui.five.column.table td {
|
275
|
+
width: 20%;
|
276
|
+
}
|
277
|
+
.ui.six.column.table td {
|
278
|
+
width: 16.66667%;
|
279
|
+
}
|
280
|
+
.ui.seven.column.table td {
|
281
|
+
width: 14.2857%;
|
282
|
+
}
|
283
|
+
.ui.eight.column.table td {
|
284
|
+
width: 12.5%;
|
285
|
+
}
|
286
|
+
.ui.nine.column.table td {
|
287
|
+
width: 11.1111%;
|
288
|
+
}
|
289
|
+
.ui.ten.column.table td {
|
290
|
+
width: 10%;
|
291
|
+
}
|
292
|
+
.ui.eleven.column.table td {
|
293
|
+
width: 9.0909%;
|
294
|
+
}
|
295
|
+
.ui.twelve.column.table td {
|
296
|
+
width: 8.3333%;
|
297
|
+
}
|
298
|
+
.ui.thirteen.column.table td {
|
299
|
+
width: 7.6923%;
|
300
|
+
}
|
301
|
+
.ui.fourteen.column.table td {
|
302
|
+
width: 7.1428%;
|
303
|
+
}
|
304
|
+
.ui.fifteen.column.table td {
|
305
|
+
width: 6.6666%;
|
306
|
+
}
|
307
|
+
.ui.sixteen.column.table td {
|
308
|
+
width: 6.25%;
|
309
|
+
}
|
310
|
+
|
311
|
+
/* Column Width */
|
312
|
+
.ui.table th.one.wide,
|
313
|
+
.ui.table td.one.wide {
|
314
|
+
width: 6.25%;
|
315
|
+
}
|
316
|
+
.ui.table th.two.wide,
|
317
|
+
.ui.table td.two.wide {
|
318
|
+
width: 12.5%;
|
319
|
+
}
|
320
|
+
.ui.table th.three.wide,
|
321
|
+
.ui.table td.three.wide {
|
322
|
+
width: 18.75%;
|
323
|
+
}
|
324
|
+
.ui.table th.four.wide,
|
325
|
+
.ui.table td.four.wide {
|
326
|
+
width: 25%;
|
327
|
+
}
|
328
|
+
.ui.table th.five.wide,
|
329
|
+
.ui.table td.five.wide {
|
330
|
+
width: 31.25%;
|
331
|
+
}
|
332
|
+
.ui.table th.six.wide,
|
333
|
+
.ui.table td.six.wide {
|
334
|
+
width: 37.5%;
|
335
|
+
}
|
336
|
+
.ui.table th.seven.wide,
|
337
|
+
.ui.table td.seven.wide {
|
338
|
+
width: 43.75%;
|
339
|
+
}
|
340
|
+
.ui.table th.eight.wide,
|
341
|
+
.ui.table td.eight.wide {
|
342
|
+
width: 50%;
|
343
|
+
}
|
344
|
+
.ui.table th.nine.wide,
|
345
|
+
.ui.table td.nine.wide {
|
346
|
+
width: 56.25%;
|
347
|
+
}
|
348
|
+
.ui.table th.ten.wide,
|
349
|
+
.ui.table td.ten.wide {
|
350
|
+
width: 62.5%;
|
351
|
+
}
|
352
|
+
.ui.table th.eleven.wide,
|
353
|
+
.ui.table td.eleven.wide {
|
354
|
+
width: 68.75%;
|
355
|
+
}
|
356
|
+
.ui.table th.twelve.wide,
|
357
|
+
.ui.table td.twelve.wide {
|
358
|
+
width: 75%;
|
359
|
+
}
|
360
|
+
.ui.table th.thirteen.wide,
|
361
|
+
.ui.table td.thirteen.wide {
|
362
|
+
width: 81.25%;
|
363
|
+
}
|
364
|
+
.ui.table th.fourteen.wide,
|
365
|
+
.ui.table td.fourteen.wide {
|
366
|
+
width: 87.5%;
|
367
|
+
}
|
368
|
+
.ui.table th.fifteen.wide,
|
369
|
+
.ui.table td.fifteen.wide {
|
370
|
+
width: 93.75%;
|
371
|
+
}
|
372
|
+
.ui.table th.sixteen.wide,
|
373
|
+
.ui.table td.sixteen.wide {
|
374
|
+
width: 100%;
|
375
|
+
}
|
376
|
+
|
377
|
+
|
378
|
+
/*--------------
|
379
|
+
Celled
|
380
|
+
---------------*/
|
381
|
+
|
382
|
+
.ui.celled.table {
|
383
|
+
color: rgba(0, 0, 0, 0.8);
|
384
|
+
}
|
385
|
+
.ui.celled.table tbody tr,
|
386
|
+
.ui.celled.table tfoot tr {
|
387
|
+
border: none;
|
388
|
+
}
|
389
|
+
.ui.celled.table th {
|
390
|
+
border: 1px solid #E0E0E0;
|
391
|
+
}
|
392
|
+
.ui.celled.table tbody td {
|
393
|
+
border: 1px solid #E0E0E0;
|
394
|
+
}
|
395
|
+
.ui.celled.table.segment th {
|
396
|
+
border: none;
|
397
|
+
}
|
398
|
+
|
399
|
+
/*--------------
|
400
|
+
Sortable
|
401
|
+
---------------*/
|
402
|
+
|
403
|
+
.ui.sortable.table thead th {
|
404
|
+
cursor: pointer;
|
405
|
+
white-space: nowrap;
|
406
|
+
}
|
407
|
+
.ui.sortable.table thead th.sorted,
|
408
|
+
.ui.sortable.table thead th.sorted:hover {
|
409
|
+
-webkit-user-select: none;
|
410
|
+
-moz-user-select: none;
|
411
|
+
-ms-user-select: none;
|
412
|
+
user-select: none;
|
413
|
+
}
|
414
|
+
|
415
|
+
.ui.sortable.table thead th:after {
|
416
|
+
display: inline-block;
|
417
|
+
content: '';
|
418
|
+
width: 1em;
|
419
|
+
opacity: 0.8;
|
420
|
+
|
421
|
+
margin: 0em 0em 0em 0.5em;
|
422
|
+
|
423
|
+
font-family: 'Icons';
|
424
|
+
font-style: normal;
|
425
|
+
font-weight: normal;
|
426
|
+
text-decoration: inherit;
|
427
|
+
}
|
428
|
+
.ui.sortable.table thead th.ascending:after {
|
429
|
+
content: '\25b4';
|
430
|
+
}
|
431
|
+
.ui.sortable.table thead th.descending:after {
|
432
|
+
content: '\25be';
|
433
|
+
}
|
434
|
+
|
435
|
+
/*--------------
|
436
|
+
Inverted
|
437
|
+
---------------*/
|
438
|
+
|
439
|
+
/* Text Color */
|
440
|
+
.ui.inverted.table td {
|
441
|
+
color: rgba(255, 255, 255, 0.9);
|
442
|
+
}
|
443
|
+
.ui.inverted.table th {
|
444
|
+
background-color: rgba(0, 0, 0, 0.15);
|
445
|
+
color: rgba(255, 255, 255, 0.9);
|
446
|
+
}
|
447
|
+
|
448
|
+
/* Stripes */
|
449
|
+
.ui.inverted.table tbody tr:nth-child(2n) {
|
450
|
+
background-color: rgba(255, 255, 255, 0.06);
|
451
|
+
}
|
452
|
+
|
453
|
+
|
454
|
+
/*--------------
|
455
|
+
Definition
|
456
|
+
---------------*/
|
457
|
+
|
458
|
+
.ui.definition.table {
|
459
|
+
border: 1px solid rgba(0, 0, 0, 0.1);
|
460
|
+
}
|
461
|
+
.ui.definition.table tr {
|
462
|
+
border-top: 1px solid rgba(0, 0, 0 ,0.1);
|
463
|
+
}
|
464
|
+
.ui.definition.table td:first-child {
|
465
|
+
font-weight: bold;
|
466
|
+
}
|
467
|
+
|
468
|
+
|
469
|
+
/*--------------
|
470
|
+
Collapsing
|
471
|
+
---------------*/
|
472
|
+
|
473
|
+
.ui.collapsing.table {
|
474
|
+
width: auto;
|
475
|
+
}
|
476
|
+
|
477
|
+
/*--------------
|
478
|
+
Basic
|
479
|
+
---------------*/
|
480
|
+
|
481
|
+
.ui.basic.table th {
|
482
|
+
background-color: transparent;
|
483
|
+
padding: 0.5em;
|
484
|
+
}
|
485
|
+
.ui.basic.table tbody tr {
|
486
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.03);
|
487
|
+
}
|
488
|
+
.ui.basic.table td {
|
489
|
+
padding: 0.8em 0.5em;
|
490
|
+
}
|
491
|
+
|
492
|
+
|
493
|
+
/*--------------
|
494
|
+
Padded
|
495
|
+
---------------*/
|
496
|
+
|
497
|
+
.ui.padded.table th,
|
498
|
+
.ui.padded.table td {
|
499
|
+
padding: 0.8em 1em;
|
500
|
+
}
|
501
|
+
|
502
|
+
.ui.compact.table th {
|
503
|
+
padding: 0.3em 0.5em;
|
504
|
+
}
|
505
|
+
.ui.compact.table td {
|
506
|
+
padding: 0.2em 0.5em;
|
507
|
+
}
|
508
|
+
|
509
|
+
/*--------------
|
510
|
+
Sizes
|
511
|
+
---------------*/
|
512
|
+
|
513
|
+
/* Small */
|
514
|
+
.ui.small.table {
|
515
|
+
font-size: 0.875em;
|
516
|
+
}
|
517
|
+
|
518
|
+
/* Standard */
|
519
|
+
.ui.table {
|
520
|
+
font-size: 1em;
|
521
|
+
}
|
522
|
+
|
523
|
+
/* Large */
|
524
|
+
.ui.large.table {
|
525
|
+
font-size: 1.1em;
|
526
|
+
}
|