semantic_ui_rails 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE +20 -0
  5. data/README.md +4 -0
  6. data/Rakefile +1 -0
  7. data/app/assets/fonts/semantic/icons.eot +0 -0
  8. data/app/assets/fonts/semantic/icons.svg +450 -0
  9. data/app/assets/fonts/semantic/icons.ttf +0 -0
  10. data/app/assets/fonts/semantic/icons.woff +0 -0
  11. data/app/assets/images/semantic/loader-large-inverted.gif +0 -0
  12. data/app/assets/images/semantic/loader-large.gif +0 -0
  13. data/app/assets/images/semantic/loader-medium-inverted.gif +0 -0
  14. data/app/assets/images/semantic/loader-medium.gif +0 -0
  15. data/app/assets/images/semantic/loader-mini-inverted.gif +0 -0
  16. data/app/assets/images/semantic/loader-mini.gif +0 -0
  17. data/app/assets/images/semantic/loader-small-inverted.gif +0 -0
  18. data/app/assets/images/semantic/loader-small.gif +0 -0
  19. data/app/assets/javascript/semantic/accordion.js +411 -0
  20. data/app/assets/javascript/semantic/behavior/api.js +666 -0
  21. data/app/assets/javascript/semantic/behavior/colorize.js +271 -0
  22. data/app/assets/javascript/semantic/behavior/form.js +703 -0
  23. data/app/assets/javascript/semantic/behavior/state.js +752 -0
  24. data/app/assets/javascript/semantic/chatroom.js +766 -0
  25. data/app/assets/javascript/semantic/checkbox.js +348 -0
  26. data/app/assets/javascript/semantic/dimmer.js +524 -0
  27. data/app/assets/javascript/semantic/dropdown.js +707 -0
  28. data/app/assets/javascript/semantic/modal.js +478 -0
  29. data/app/assets/javascript/semantic/nag.js +542 -0
  30. data/app/assets/javascript/semantic/popup.js +721 -0
  31. data/app/assets/javascript/semantic/rating.js +358 -0
  32. data/app/assets/javascript/semantic/search.js +769 -0
  33. data/app/assets/javascript/semantic/shape.js +776 -0
  34. data/app/assets/javascript/semantic/sidebar.js +489 -0
  35. data/app/assets/javascript/semantic/tab.js +674 -0
  36. data/app/assets/javascript/semantic/transition.js +650 -0
  37. data/app/assets/javascript/semantic/video.js +459 -0
  38. data/app/assets/stylesheets/semantic/accordion.css +97 -0
  39. data/app/assets/stylesheets/semantic/breadcrumb.css +66 -0
  40. data/app/assets/stylesheets/semantic/button.css +993 -0
  41. data/app/assets/stylesheets/semantic/chatroom.css +242 -0
  42. data/app/assets/stylesheets/semantic/checkbox.css +300 -0
  43. data/app/assets/stylesheets/semantic/comment.css +178 -0
  44. data/app/assets/stylesheets/semantic/dimmer.css +185 -0
  45. data/app/assets/stylesheets/semantic/divider.css +155 -0
  46. data/app/assets/stylesheets/semantic/dropdown.css +415 -0
  47. data/app/assets/stylesheets/semantic/feed.css +126 -0
  48. data/app/assets/stylesheets/semantic/form.css +427 -0
  49. data/app/assets/stylesheets/semantic/grid.css +561 -0
  50. data/app/assets/stylesheets/semantic/header.css +277 -0
  51. data/app/assets/stylesheets/semantic/icon.css +811 -0
  52. data/app/assets/stylesheets/semantic/image.css +143 -0
  53. data/app/assets/stylesheets/semantic/input.css +225 -0
  54. data/app/assets/stylesheets/semantic/item.css +564 -0
  55. data/app/assets/stylesheets/semantic/label.css +687 -0
  56. data/app/assets/stylesheets/semantic/list.css +418 -0
  57. data/app/assets/stylesheets/semantic/loader.css +148 -0
  58. data/app/assets/stylesheets/semantic/menu.css +1409 -0
  59. data/app/assets/stylesheets/semantic/message.css +242 -0
  60. data/app/assets/stylesheets/semantic/modal.css +123 -0
  61. data/app/assets/stylesheets/semantic/nag.css +130 -0
  62. data/app/assets/stylesheets/semantic/popup.css +209 -0
  63. data/app/assets/stylesheets/semantic/progress.css +257 -0
  64. data/app/assets/stylesheets/semantic/rating.css +120 -0
  65. data/app/assets/stylesheets/semantic/reveal.css +283 -0
  66. data/app/assets/stylesheets/semantic/search.css +222 -0
  67. data/app/assets/stylesheets/semantic/segment.css +362 -0
  68. data/app/assets/stylesheets/semantic/shape.css +87 -0
  69. data/app/assets/stylesheets/semantic/sidebar.css +100 -0
  70. data/app/assets/stylesheets/semantic/step.css +240 -0
  71. data/app/assets/stylesheets/semantic/tab.css +52 -0
  72. data/app/assets/stylesheets/semantic/table.css +468 -0
  73. data/app/assets/stylesheets/semantic/transition.css +867 -0
  74. data/app/assets/stylesheets/semantic/video.css +81 -0
  75. data/lib/semantic_ui_rails/version.rb +3 -0
  76. data/lib/semantic_ui_rails.rb +7 -0
  77. data/semantic_ui_rails.gemspec +23 -0
  78. metadata +149 -0
@@ -0,0 +1,242 @@
1
+ /*******************************
2
+ Chat Room
3
+ *******************************/
4
+ .ui.chatroom {
5
+ background-color: #F8F8F8;
6
+ width: 330px;
7
+ height: 370px;
8
+ padding: 0px;
9
+ }
10
+ .ui.chatroom .room {
11
+ position: relative;
12
+ background-color: #FFFFFF;
13
+ overflow: hidden;
14
+ height: 286px;
15
+ border: 1px solid rgba(0, 0, 0, 0.1);
16
+ border-top: none;
17
+ border-bottom: none;
18
+ }
19
+ .ui.chatroom .room .loader {
20
+ display: none;
21
+ margin: -25px 0px 0px -25px;
22
+ }
23
+ /* Chat Room Actions */
24
+ .ui.chatroom .actions {
25
+ overflow: hidden;
26
+ background-color: #EEEEEE;
27
+ padding: 4px;
28
+ border: 1px solid rgba(0, 0, 0, 0.1);
29
+ -moz-border-radius: 5px 5px 0px 0px;
30
+ -webkit-border-radius: 5px 5px 0px 0px;
31
+ border-radius: 5px 5px 0px 0px;
32
+ }
33
+ .ui.chatroom .actions .button {
34
+ float: right;
35
+ margin-left: 3px;
36
+ }
37
+ /* Online User Count */
38
+ .ui.chatroom .actions .message {
39
+ float: left;
40
+ margin-left: 6px;
41
+ font-size: 11px;
42
+ color: #AAAAAA;
43
+ text-shadow: 0px -1px 0px rgba(255, 255, 255, 0.8);
44
+ line-height: 28px;
45
+ }
46
+ .ui.chatroom .actions .message .loader {
47
+ display: inline-block;
48
+ margin-right: 8px;
49
+ }
50
+ /* Chat Room Text Log */
51
+ .ui.chatroom .log {
52
+ float: left;
53
+ overflow: auto;
54
+ overflow-x: hidden;
55
+ overflow-y: auto;
56
+ }
57
+ .ui.chatroom .log .message {
58
+ padding: 3px 0px;
59
+ border-top: 1px dotted #DADADA;
60
+ }
61
+ .ui.chatroom .log .message:first-child {
62
+ border-top: none;
63
+ }
64
+ /* status event */
65
+ .ui.chatroom .status {
66
+ padding: 5px 0px;
67
+ color: #AAAAAA;
68
+ font-size: 12px;
69
+ font-style: italic;
70
+ line-height: 1.33;
71
+ border-top: 1px dotted #DADADA;
72
+ }
73
+ .ui.chatroom .log .status:first-child {
74
+ border-top: none;
75
+ }
76
+ .ui.chatroom .log .flag {
77
+ float: left;
78
+ }
79
+ .ui.chatroom .log p {
80
+ margin-left: 0px;
81
+ }
82
+ .ui.chatroom .log .author {
83
+ font-weight: bold;
84
+ -webkit-transition: color 0.3s ease-out;
85
+ -moz-transition: color 0.3s ease-out;
86
+ -o-transition: color 0.3s ease-out;
87
+ -ms-transition: color 0.3s ease-out;
88
+ transition: color 0.3s ease-out;
89
+ }
90
+ .ui.chatroom .log a.author:hover {
91
+ opacity: 0.8;
92
+ }
93
+ .ui.chatroom .log .message.admin p {
94
+ font-weight: bold;
95
+ margin: 1px 0px 0px 23px;
96
+ }
97
+ .ui.chatroom .log .divider {
98
+ margin: -1px 0px;
99
+ font-size: 11px;
100
+ padding: 10px 0px;
101
+ border-top: 1px solid #F8F8F8;
102
+ border-bottom: 1px solid #F8F8F8;
103
+ }
104
+ .ui.chatroom .log .divider .rule {
105
+ top: 50%;
106
+ width: 15%;
107
+ }
108
+ .ui.chatroom .log .divider .label {
109
+ color: #777777;
110
+ margin: 0px;
111
+ }
112
+ /* Chat Room User List */
113
+ .ui.chatroom .room .list {
114
+ position: relative;
115
+ overflow: auto;
116
+ overflow-x: hidden;
117
+ overflow-y: auto;
118
+ float: left;
119
+ background-color: #EEEEEE;
120
+ border-left: 1px solid #DDDDDD;
121
+ }
122
+ .ui.chatroom .room .list .user {
123
+ display: table;
124
+ padding: 3px 7px;
125
+ border-bottom: 1px solid #DDDDDD;
126
+ }
127
+ .ui.chatroom .room .list .user:hover {
128
+ background-color: #F8F8F8;
129
+ }
130
+ .ui.chatroom .room .list .image {
131
+ display: table-cell;
132
+ vertical-align: middle;
133
+ width: 20px;
134
+ }
135
+ .ui.chatroom .room .list .image img {
136
+ width: 20px;
137
+ height: 20px;
138
+ vertical-align: middle;
139
+ }
140
+ .ui.chatroom .room .list p {
141
+ display: table-cell;
142
+ vertical-align: middle;
143
+ padding-left: 7px;
144
+ padding-right: 14px;
145
+ font-size: 11px;
146
+ line-height: 1.2;
147
+ font-weight: bold;
148
+ }
149
+ .ui.chatroom .room .list a:hover {
150
+ opacity: 0.8;
151
+ }
152
+ /* User List Loading */
153
+ .ui.chatroom.loading .loader {
154
+ display: block;
155
+ }
156
+ /* Chat Room Talk Input */
157
+ .ui.chatroom .talk {
158
+ border: 1px solid rgba(0, 0, 0, 0.1);
159
+ padding: 5px 0px 0px;
160
+ background-color: #EEEEEE;
161
+ -webkit-border-radius: 0px 0px 5px 5px;
162
+ -moz-border-radius: 0px 0px 5px 5px;
163
+ border-radius: 0px 0px 5px 5px;
164
+ }
165
+ .ui.chatroom .talk .avatar,
166
+ .ui.chatroom .talk input,
167
+ .ui.chatroom .talk .button {
168
+ float: left;
169
+ }
170
+ .ui.chatroom .talk .avatar img {
171
+ display: block;
172
+ width: 30px;
173
+ height: 30px;
174
+ margin-right: 4px;
175
+ border-radius: 500rem;
176
+ }
177
+ .ui.chatroom .talk input {
178
+ border: 1px solid #CCCCCC;
179
+ margin: 0px;
180
+ width: 196px;
181
+ height: 14px;
182
+ padding: 8px 5px;
183
+ font-size: 12px;
184
+ color: #555555;
185
+ }
186
+ .ui.chatroom .talk input.focus {
187
+ border: 1px solid #AAAAAA;
188
+ }
189
+ .ui.chatroom .send {
190
+ width: 80px;
191
+ height: 32px;
192
+ margin-left: -1px;
193
+ padding: 4px 12px;
194
+ font-size: 12px;
195
+ line-height: 23px;
196
+ -webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
197
+ -moz-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
198
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
199
+ border-radius: 0 5px 5px 0;
200
+ }
201
+ .ui.chatroom .talk .log-in.button {
202
+ display: block;
203
+ float: none;
204
+ margin-top: -6px;
205
+ height: 22px;
206
+ border-radius: 0px 0px 4px 4px;
207
+ }
208
+ .ui.chatroom .talk .log-in.button i {
209
+ vertical-align: text-top;
210
+ }
211
+ /* Quirky Flags */
212
+ .ui.chatroom .log .team.flag {
213
+ width: 18px;
214
+ }
215
+ /* Chat room Loaded */
216
+ .ui.chatroom.loading .loader {
217
+ display: block;
218
+ }
219
+ /* Standard Size */
220
+ .ui.chatroom {
221
+ width: 330px;
222
+ height: 370px;
223
+ }
224
+ .ui.chatroom .room .container {
225
+ width: 3000px;
226
+ }
227
+ .ui.chatroom .log {
228
+ width: 314px;
229
+ height: 278px;
230
+ padding: 4px 7px;
231
+ }
232
+ .ui.chatroom .room .list {
233
+ width: 124px;
234
+ height: 278px;
235
+ padding: 4px 0px;
236
+ }
237
+ .ui.chatroom .room .list .user {
238
+ width: 110px;
239
+ }
240
+ .ui.chatroom .talk {
241
+ height: 40px;
242
+ }
@@ -0,0 +1,300 @@
1
+ /*******************************
2
+ UI Checkbox
3
+ *******************************/
4
+ /*--------------
5
+ Standard
6
+ ---------------*/
7
+ /*--- Content ---*/
8
+ .ui.checkbox {
9
+ position: relative;
10
+ display: inline-block;
11
+ outline: none;
12
+ margin-right: 0.5em;
13
+ vertical-align: middle;
14
+ }
15
+ .ui.checkbox input {
16
+ visibility: hidden;
17
+ outline: none;
18
+ }
19
+ /*--- Box ---*/
20
+ .ui.checkbox .box,
21
+ .ui.checkbox label {
22
+ outline: none;
23
+ cursor: pointer;
24
+ position: absolute;
25
+ line-height: 1;
26
+ width: 1em;
27
+ height: 1em;
28
+ bottom: 0em;
29
+ left: 0em;
30
+ border-radius: 4px;
31
+ -webkit-box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.2);
32
+ -moz-box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.2);
33
+ box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.2);
34
+ background: #FFFFFF;
35
+ -webkit-transition: background-color 0.1s ease-out, box-shadow 0.1s ease-out;
36
+ -moz-transition: background-color 0.1s ease-out, box-shadow 0.1s ease-out;
37
+ -o-transition: background-color 0.1s ease-out, box-shadow 0.1s ease-out;
38
+ -ms-transition: background-color 0.1s ease-out, box-shadow 0.1s ease-out;
39
+ transition: background-color 0.1s ease-out, box-shadow 0.1s ease-out;
40
+ }
41
+ /*--- Checkbox ---*/
42
+ .ui.checkbox .box:after,
43
+ .ui.checkbox label:after {
44
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
45
+ filter: alpha(opacity=0);
46
+ opacity: 0;
47
+ content: '';
48
+ position: absolute;
49
+ background: transparent;
50
+ border: 0.2em solid #333333;
51
+ border-top: none;
52
+ border-right: none;
53
+ -webkit-transform: rotate(-45deg);
54
+ -moz-transform: rotate(-45deg);
55
+ -o-transform: rotate(-45deg);
56
+ -ms-transform: rotate(-45deg);
57
+ transform: rotate(-45deg);
58
+ }
59
+ .ui.checkbox .box:after,
60
+ .ui.checkbox label:after {
61
+ top: 0.3em;
62
+ left: 0.2em;
63
+ width: 0.45em;
64
+ height: 0.15em;
65
+ }
66
+ /*--- Label ---*/
67
+ .ui.checkbox + label {
68
+ cursor: pointer;
69
+ opacity: 0.85;
70
+ vertical-align: middle;
71
+ }
72
+ .ui.checkbox + label:hover {
73
+ opacity: 1;
74
+ }
75
+ /*******************************
76
+ States
77
+ *******************************/
78
+ /*--- Hover ---*/
79
+ .ui.checkbox .box:hover,
80
+ .ui.checkbox label:hover {
81
+ background-color: #FAFAFA;
82
+ -webkit-box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.3);
83
+ -moz-box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.3);
84
+ box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.3);
85
+ }
86
+ /*--- Down ---*/
87
+ .ui.checkbox .box:active,
88
+ .ui.checkbox label:active {
89
+ background-color: #F5F5F5;
90
+ }
91
+ /*--- Active ---*/
92
+ .ui.checkbox input:checked + .box:after,
93
+ .ui.checkbox input:checked + label:after {
94
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
95
+ filter: alpha(opacity=100);
96
+ opacity: 1;
97
+ }
98
+ /*--- Disabled ---*/
99
+ .ui.disabled.checkbox + .box:after,
100
+ .ui.checkbox input[disabled] + .box:after,
101
+ .ui.disabled.checkbox label,
102
+ .ui.checkbox input[disabled] + label {
103
+ opacity: 0.4;
104
+ }
105
+ /*******************************
106
+ Variations
107
+ *******************************/
108
+ /*--------------
109
+ Radio
110
+ ---------------*/
111
+ .ui.radio.checkbox {
112
+ width: 14px;
113
+ height: 16px;
114
+ }
115
+ .ui.radio.checkbox .box,
116
+ .ui.radio.checkbox label {
117
+ width: 14px;
118
+ height: 14px;
119
+ -webkit-border-radius: 500px;
120
+ -moz-border-radius: 500px;
121
+ border-radius: 500px;
122
+ }
123
+ .ui.radio.checkbox .box:after,
124
+ .ui.radio.checkbox label:after {
125
+ top: 3px;
126
+ left: 3px;
127
+ border: none;
128
+ width: 8px;
129
+ height: 8px;
130
+ background-color: #555555;
131
+ -webkit-border-radius: 500px;
132
+ -moz-border-radius: 500px;
133
+ border-radius: 500px;
134
+ }
135
+ /*--------------
136
+ Slider
137
+ ---------------*/
138
+ .ui.slider.checkbox {
139
+ cursor: pointer;
140
+ width: 3em;
141
+ height: 2em;
142
+ }
143
+ /* Line */
144
+ .ui.slider.checkbox:after {
145
+ position: absolute;
146
+ top: 1em;
147
+ left: 0em;
148
+ content: '';
149
+ width: 100%;
150
+ height: 2px;
151
+ background-color: rgba(0, 0, 0, 0.1);
152
+ }
153
+ /* Button */
154
+ .ui.slider.checkbox .box,
155
+ .ui.slider.checkbox label {
156
+ cursor: pointer;
157
+ display: block;
158
+ position: absolute;
159
+ top: 0.25em;
160
+ left: 0;
161
+ z-index: 1;
162
+ width: 1.5em;
163
+ height: 1.5em;
164
+ -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
165
+ -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
166
+ box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
167
+ border-radius: 50rem;
168
+ -webkit-transition: left 0.3s ease 0s;
169
+ -moz-transition: left 0.3s ease 0s;
170
+ -o-transition: left 0.3s ease 0s;
171
+ -ms-transition: left 0.3s ease 0s;
172
+ transition: left 0.3s ease 0s;
173
+ }
174
+ /* Button Activation Light */
175
+ .ui.slider.checkbox .box:after,
176
+ .ui.slider.checkbox label:after {
177
+ opacity: 1;
178
+ position: absolute;
179
+ content: '';
180
+ top: 0.375em;
181
+ left: 0.375em;
182
+ border: none;
183
+ width: 0.75em;
184
+ height: 0.75em;
185
+ background-color: #D95C5C;
186
+ border-radius: 50rem;
187
+ -webkit-transition: background 0.3s ease 0s;
188
+ -moz-transition: background 0.3s ease 0s;
189
+ -o-transition: background 0.3s ease 0s;
190
+ -ms-transition: background 0.3s ease 0s;
191
+ transition: background 0.3s ease 0s;
192
+ }
193
+ /* Active Slider Toggle */
194
+ .ui.slider.checkbox input:checked + .box,
195
+ .ui.slider.checkbox input:checked + label {
196
+ left: 1.75em;
197
+ }
198
+ .ui.slider.checkbox input:checked + .box:after,
199
+ .ui.slider.checkbox input:checked + label:after {
200
+ background-color: #89B84C;
201
+ }
202
+ /*--------------
203
+ Toggle
204
+ ---------------*/
205
+ .ui.toggle.checkbox {
206
+ cursor: pointer;
207
+ width: 3em;
208
+ height: 2em;
209
+ }
210
+ /* Line */
211
+ .ui.toggle.checkbox:after {
212
+ cursor: pointer;
213
+ display: block;
214
+ position: absolute;
215
+ content: '';
216
+ top: 0.25em;
217
+ left: 0em;
218
+ z-index: 1;
219
+ background-color: #FFFFFF;
220
+ width: 100%;
221
+ height: 1.5em;
222
+ -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
223
+ -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
224
+ box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
225
+ border-radius: 50rem;
226
+ }
227
+ .ui.toggle.checkbox .box,
228
+ .ui.toggle.checkbox label {
229
+ position: absolute;
230
+ top: 0.65em;
231
+ left: 0.5em;
232
+ -webkit-transition: left 0.3s ease 0s;
233
+ -moz-transition: left 0.3s ease 0s;
234
+ -o-transition: left 0.3s ease 0s;
235
+ -ms-transition: left 0.3s ease 0s;
236
+ transition: left 0.3s ease 0s;
237
+ background-color: transparent;
238
+ -webkit-box-shadow: none;
239
+ -moz-box-shadow: none;
240
+ box-shadow: none;
241
+ }
242
+ /* Button Activation Light */
243
+ .ui.toggle.checkbox .box:after,
244
+ .ui.toggle.checkbox label:after {
245
+ opacity: 1;
246
+ content: '';
247
+ position: absolute;
248
+ top: 0px;
249
+ left: 0px;
250
+ z-index: 2;
251
+ border: none;
252
+ width: 0.75em;
253
+ height: 0.75em;
254
+ background-color: #D95C5C;
255
+ border-radius: 50rem;
256
+ -webkit-transition: background 0.3s ease 0s;
257
+ -moz-transition: background 0.3s ease 0s;
258
+ -o-transition: background 0.3s ease 0s;
259
+ -ms-transition: background 0.3s ease 0s;
260
+ transition: background 0.3s ease 0s;
261
+ }
262
+ /* Active toggle Toggle */
263
+ .ui.toggle.checkbox input:checked + .box,
264
+ .ui.toggle.checkbox input:checked + label {
265
+ left: 1.75em;
266
+ }
267
+ .ui.toggle.checkbox input:checked + .box:after,
268
+ .ui.toggle.checkbox input:checked + label:after {
269
+ background-color: #89B84C;
270
+ }
271
+ /*--------------
272
+ Sizes
273
+ ---------------*/
274
+ .ui.checkbox {
275
+ width: 1em;
276
+ height: 1em;
277
+ }
278
+ .ui.checkbox,
279
+ .ui.checkbox .box,
280
+ .ui.checkbox label {
281
+ font-size: 1em;
282
+ }
283
+ .ui.large.checkbox {
284
+ width: 1.25em;
285
+ height: 1.25em;
286
+ }
287
+ .ui.large.checkbox,
288
+ .ui.large.checkbox .box,
289
+ .ui.large.checkbox label {
290
+ font-size: 1.25em;
291
+ }
292
+ .ui.huge.checkbox {
293
+ width: 1.5em;
294
+ height: 1.5em;
295
+ }
296
+ .ui.huge.checkbox,
297
+ .ui.huge.checkbox .box,
298
+ .ui.huge.checkbox label {
299
+ font-size: 1.5em;
300
+ }
@@ -0,0 +1,178 @@
1
+ /*
2
+ * # Semantic Comment View
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 17 2013
11
+ */
12
+ /*******************************
13
+ Standard
14
+ *******************************/
15
+ /*--------------
16
+ Comments
17
+ ---------------*/
18
+ .ui.comments a {
19
+ cursor: pointer;
20
+ }
21
+ /*--------------
22
+ Comment
23
+ ---------------*/
24
+ .ui.comments .comment {
25
+ position: relative;
26
+ margin-top: 0.5em;
27
+ padding-top: 0.5em;
28
+ }
29
+ .ui.comments .comment:first-child {
30
+ margin-top: 0em;
31
+ padding-top: 0em;
32
+ }
33
+ /*--------------------
34
+ Avatar (Optional)
35
+ ---------------------*/
36
+ .ui.comments .comment .avatar {
37
+ display: block;
38
+ float: left;
39
+ width: 4em;
40
+ }
41
+ .ui.comments .comment .avatar img {
42
+ display: block;
43
+ margin: 0em auto;
44
+ width: 3em;
45
+ height: 3em;
46
+ border-radius: 500px;
47
+ }
48
+ /*--------------
49
+ Content
50
+ ---------------*/
51
+ .ui.comments .comment > .content,
52
+ .ui.comments .comment > .avatar {
53
+ display: block;
54
+ }
55
+ .ui.comments .comment .avatar ~ .content {
56
+ padding: 0em 1em;
57
+ }
58
+ /* If there is an avatar move content over */
59
+ .ui.comments .comment > .avatar ~ .content {
60
+ padding-top: 0.25em;
61
+ margin-left: 3.5em;
62
+ }
63
+ .ui.comments .comment .metadata {
64
+ display: inline-block;
65
+ margin-left: 0.3em;
66
+ color: rgba(0, 0, 0, 0.4);
67
+ }
68
+ .ui.comments .comment .metadata > * {
69
+ display: inline-block;
70
+ margin: 0em 0.3em 0em 0em;
71
+ }
72
+ /*--------------------
73
+ Comment Text
74
+ ---------------------*/
75
+ .ui.comments .comment .text {
76
+ margin: 0.25em 0em 0.5em;
77
+ word-wrap: break-word;
78
+ }
79
+ /*--------------------
80
+ User Actions
81
+ ---------------------*/
82
+ .ui.comments .comment .actions {
83
+ font-size: 0.9em;
84
+ }
85
+ .ui.comments .comment .actions a {
86
+ display: inline-block;
87
+ margin: 0em 0.3em 0em 0em;
88
+ color: rgba(0, 0, 0, 0.3);
89
+ }
90
+ .ui.comments .comment .actions a.active,
91
+ .ui.comments .comment .actions a:hover {
92
+ color: rgba(0, 0, 0, 0.6);
93
+ }
94
+ /*--------------------
95
+ Reply Form
96
+ ---------------------*/
97
+ .ui.comments .reply.form {
98
+ margin-top: 0.75em;
99
+ width: 100%;
100
+ max-width: 30em;
101
+ }
102
+ .ui.comments .comment .reply.form {
103
+ margin-left: 2em;
104
+ }
105
+ .ui.comments > .reply.form {
106
+ margin-top: 1.5em;
107
+ max-width: 40em;
108
+ }
109
+ .ui.comments .reply.form textarea {
110
+ height: 12em;
111
+ }
112
+ /*--------------------
113
+ Nested Comments
114
+ ---------------------*/
115
+ .ui.comments .comment .comments {
116
+ margin-top: 0.5em;
117
+ padding-top: 0.5em;
118
+ padding-bottom: 1em;
119
+ }
120
+ .ui.comments .comment .comments:before {
121
+ position: absolute;
122
+ top: 0px;
123
+ left: 0px;
124
+ }
125
+ /* One Deep */
126
+ .ui.comments > .comment .comments {
127
+ margin-left: 2em;
128
+ }
129
+ /* Two Deep */
130
+ .ui.comments > .comment > .comments > .comment > .comments {
131
+ margin-left: 1.75em;
132
+ }
133
+ /* Three Deep */
134
+ .ui.comments > .comment > .comments > .comment > .comments > .comment > .comments {
135
+ margin-left: 1.5em;
136
+ }
137
+ /* Four Deep or more */
138
+ .ui.comments > .comment > .comments > .comment > .comments > .comment > .comments > .comment .comments {
139
+ margin-left: 0.5em;
140
+ }
141
+ /*******************************
142
+ Variations
143
+ *******************************/
144
+ /*--------------------
145
+ Threaded
146
+ ---------------------*/
147
+ .ui.threaded.comments .comment .comments {
148
+ margin-left: 2em !important;
149
+ padding-left: 2em !important;
150
+ -webkit-box-shadow: -1px 0px 0px rgba(0, 0, 0, 0.05);
151
+ -moz-box-shadow: -1px 0px 0px rgba(0, 0, 0, 0.05);
152
+ box-shadow: -1px 0px 0px rgba(0, 0, 0, 0.05);
153
+ }
154
+ /*--------------------
155
+ Minimal
156
+ ---------------------*/
157
+ .ui.minimal.comments .comment .actions {
158
+ opacity: 0;
159
+ -webkit-transition: opacity 0.1s ease-out;
160
+ -moz-transition: opacity 0.1s ease-out;
161
+ -o-transition: opacity 0.1s ease-out;
162
+ -ms-transition: opacity 0.1s ease-out;
163
+ transition: opacity 0.1s ease-out;
164
+ -webkit-transition-delay: 0.1s;
165
+ -moz-transition-delay: 0.1s;
166
+ -o-transition-delay: 0.1s;
167
+ -ms-transition-delay: 0.1s;
168
+ transition-delay: 0.1s;
169
+ }
170
+ .ui.minimal.comments .comment > .content:hover > .actions {
171
+ opacity: 1;
172
+ }
173
+ /*--------------------
174
+ Sizes
175
+ ---------------------*/
176
+ .ui.small.comments {
177
+ font-size: 0.875em;
178
+ }