semantic-ui 0.0.1
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/lib/semantic-ui.rb +8 -0
- data/lib/semantic-ui/version.rb +5 -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/loader-large-inverted.gif +0 -0
- data/vendor/assets/images/loader-large.gif +0 -0
- data/vendor/assets/images/loader-medium-inverted.gif +0 -0
- data/vendor/assets/images/loader-medium.gif +0 -0
- data/vendor/assets/images/loader-mini-inverted.gif +0 -0
- data/vendor/assets/images/loader-mini.gif +0 -0
- data/vendor/assets/images/loader-small-inverted.gif +0 -0
- data/vendor/assets/images/loader-small.gif +0 -0
- data/vendor/assets/javascripts/modules/accordion.js +411 -0
- data/vendor/assets/javascripts/modules/behavior/api.js +666 -0
- data/vendor/assets/javascripts/modules/behavior/colorize.js +271 -0
- data/vendor/assets/javascripts/modules/behavior/form.js +703 -0
- data/vendor/assets/javascripts/modules/behavior/state.js +752 -0
- data/vendor/assets/javascripts/modules/chatroom.js +766 -0
- data/vendor/assets/javascripts/modules/checkbox.js +348 -0
- data/vendor/assets/javascripts/modules/dimmer.js +524 -0
- data/vendor/assets/javascripts/modules/dropdown.js +707 -0
- data/vendor/assets/javascripts/modules/modal.js +478 -0
- data/vendor/assets/javascripts/modules/nag.js +542 -0
- data/vendor/assets/javascripts/modules/popup.js +721 -0
- data/vendor/assets/javascripts/modules/rating.js +358 -0
- data/vendor/assets/javascripts/modules/search.js +769 -0
- data/vendor/assets/javascripts/modules/shape.js +776 -0
- data/vendor/assets/javascripts/modules/sidebar.js +489 -0
- data/vendor/assets/javascripts/modules/tab.js +674 -0
- data/vendor/assets/javascripts/modules/transition.js +650 -0
- data/vendor/assets/javascripts/modules/video.js +459 -0
- data/vendor/assets/javascripts/semantic-ui.js +1 -0
- data/vendor/assets/stylesheets/collections/breadcrumb.less +79 -0
- data/vendor/assets/stylesheets/collections/form.less +536 -0
- data/vendor/assets/stylesheets/collections/grid.less +655 -0
- data/vendor/assets/stylesheets/collections/menu.less +1765 -0
- data/vendor/assets/stylesheets/collections/message.less +337 -0
- data/vendor/assets/stylesheets/collections/table.less +532 -0
- data/vendor/assets/stylesheets/elements/button.less +1190 -0
- data/vendor/assets/stylesheets/elements/divider.less +200 -0
- data/vendor/assets/stylesheets/elements/header.less +325 -0
- data/vendor/assets/stylesheets/elements/icon.less +484 -0
- data/vendor/assets/stylesheets/elements/image.less +170 -0
- data/vendor/assets/stylesheets/elements/input.less +300 -0
- data/vendor/assets/stylesheets/elements/label.less +824 -0
- data/vendor/assets/stylesheets/elements/loader.less +178 -0
- data/vendor/assets/stylesheets/elements/progress.less +353 -0
- data/vendor/assets/stylesheets/elements/segment.less +465 -0
- data/vendor/assets/stylesheets/elements/step.less +294 -0
- data/vendor/assets/stylesheets/modules/accordion.less +135 -0
- data/vendor/assets/stylesheets/modules/chatroom.less +271 -0
- data/vendor/assets/stylesheets/modules/checkbox.less +380 -0
- data/vendor/assets/stylesheets/modules/dimmer.less +230 -0
- data/vendor/assets/stylesheets/modules/dropdown.less +506 -0
- data/vendor/assets/stylesheets/modules/modal.less +160 -0
- data/vendor/assets/stylesheets/modules/nag.less +175 -0
- data/vendor/assets/stylesheets/modules/popup.less +238 -0
- data/vendor/assets/stylesheets/modules/rating.less +151 -0
- data/vendor/assets/stylesheets/modules/reveal.less +367 -0
- data/vendor/assets/stylesheets/modules/search.less +275 -0
- data/vendor/assets/stylesheets/modules/shape.less +115 -0
- data/vendor/assets/stylesheets/modules/sidebar.less +147 -0
- data/vendor/assets/stylesheets/modules/tab.less +59 -0
- data/vendor/assets/stylesheets/modules/transition.less +839 -0
- data/vendor/assets/stylesheets/modules/video.less +99 -0
- data/vendor/assets/stylesheets/semantic-ui.less +1 -0
- data/vendor/assets/stylesheets/views/comment.less +221 -0
- data/vendor/assets/stylesheets/views/feed.less +151 -0
- data/vendor/assets/stylesheets/views/item.less +641 -0
- data/vendor/assets/stylesheets/views/list.less +508 -0
- data/vendor/assets/stylesheets/views/statistic.css +27 -0
- metadata +187 -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,532 @@
|
|
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
|
+
.ui.celled.table tbody td {
|
391
|
+
border: 1px solid rgba(0, 0, 0, 0.1);
|
392
|
+
}
|
393
|
+
|
394
|
+
/* Coupling with segment */
|
395
|
+
.ui.celled.table.segment th {
|
396
|
+
border: none;
|
397
|
+
}
|
398
|
+
.ui.celled.table.segment tbody td:first-child {
|
399
|
+
border-left: none;
|
400
|
+
}
|
401
|
+
.ui.celled.table.segment tbody td:last-child {
|
402
|
+
border-right: none;
|
403
|
+
}
|
404
|
+
|
405
|
+
/*--------------
|
406
|
+
Sortable
|
407
|
+
---------------*/
|
408
|
+
|
409
|
+
.ui.sortable.table thead th {
|
410
|
+
cursor: pointer;
|
411
|
+
white-space: nowrap;
|
412
|
+
}
|
413
|
+
.ui.sortable.table thead th.sorted,
|
414
|
+
.ui.sortable.table thead th.sorted:hover {
|
415
|
+
-webkit-user-select: none;
|
416
|
+
-moz-user-select: none;
|
417
|
+
-ms-user-select: none;
|
418
|
+
user-select: none;
|
419
|
+
}
|
420
|
+
|
421
|
+
.ui.sortable.table thead th:after {
|
422
|
+
display: inline-block;
|
423
|
+
content: '';
|
424
|
+
width: 1em;
|
425
|
+
opacity: 0.8;
|
426
|
+
|
427
|
+
margin: 0em 0em 0em 0.5em;
|
428
|
+
|
429
|
+
font-family: 'Icons';
|
430
|
+
font-style: normal;
|
431
|
+
font-weight: normal;
|
432
|
+
text-decoration: inherit;
|
433
|
+
}
|
434
|
+
.ui.sortable.table thead th.ascending:after {
|
435
|
+
content: '\25b4';
|
436
|
+
}
|
437
|
+
.ui.sortable.table thead th.descending:after {
|
438
|
+
content: '\25be';
|
439
|
+
}
|
440
|
+
|
441
|
+
/*--------------
|
442
|
+
Inverted
|
443
|
+
---------------*/
|
444
|
+
|
445
|
+
/* Text Color */
|
446
|
+
.ui.inverted.table td {
|
447
|
+
color: rgba(255, 255, 255, 0.9);
|
448
|
+
}
|
449
|
+
.ui.inverted.table th {
|
450
|
+
background-color: rgba(0, 0, 0, 0.15);
|
451
|
+
color: rgba(255, 255, 255, 0.9);
|
452
|
+
}
|
453
|
+
|
454
|
+
/* Stripes */
|
455
|
+
.ui.inverted.table tbody tr:nth-child(2n) {
|
456
|
+
background-color: rgba(255, 255, 255, 0.06);
|
457
|
+
}
|
458
|
+
|
459
|
+
|
460
|
+
/*--------------
|
461
|
+
Definition
|
462
|
+
---------------*/
|
463
|
+
|
464
|
+
.ui.definition.table {
|
465
|
+
border: 1px solid rgba(0, 0, 0, 0.1);
|
466
|
+
}
|
467
|
+
.ui.definition.table tr {
|
468
|
+
border-top: 1px solid rgba(0, 0, 0 ,0.1);
|
469
|
+
}
|
470
|
+
.ui.definition.table td:first-child {
|
471
|
+
font-weight: bold;
|
472
|
+
}
|
473
|
+
|
474
|
+
|
475
|
+
/*--------------
|
476
|
+
Collapsing
|
477
|
+
---------------*/
|
478
|
+
|
479
|
+
.ui.collapsing.table {
|
480
|
+
width: auto;
|
481
|
+
}
|
482
|
+
|
483
|
+
/*--------------
|
484
|
+
Basic
|
485
|
+
---------------*/
|
486
|
+
|
487
|
+
.ui.basic.table th {
|
488
|
+
background-color: transparent;
|
489
|
+
padding: 0.5em;
|
490
|
+
}
|
491
|
+
.ui.basic.table tbody tr {
|
492
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.03);
|
493
|
+
}
|
494
|
+
.ui.basic.table td {
|
495
|
+
padding: 0.8em 0.5em;
|
496
|
+
}
|
497
|
+
|
498
|
+
|
499
|
+
/*--------------
|
500
|
+
Padded
|
501
|
+
---------------*/
|
502
|
+
|
503
|
+
.ui.padded.table th,
|
504
|
+
.ui.padded.table td {
|
505
|
+
padding: 0.8em 1em;
|
506
|
+
}
|
507
|
+
|
508
|
+
.ui.compact.table th {
|
509
|
+
padding: 0.3em 0.5em;
|
510
|
+
}
|
511
|
+
.ui.compact.table td {
|
512
|
+
padding: 0.2em 0.5em;
|
513
|
+
}
|
514
|
+
|
515
|
+
/*--------------
|
516
|
+
Sizes
|
517
|
+
---------------*/
|
518
|
+
|
519
|
+
/* Small */
|
520
|
+
.ui.small.table {
|
521
|
+
font-size: 0.875em;
|
522
|
+
}
|
523
|
+
|
524
|
+
/* Standard */
|
525
|
+
.ui.table {
|
526
|
+
font-size: 1em;
|
527
|
+
}
|
528
|
+
|
529
|
+
/* Large */
|
530
|
+
.ui.large.table {
|
531
|
+
font-size: 1.1em;
|
532
|
+
}
|