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.
Files changed (75) hide show
  1. checksums.yaml +7 -0
  2. data/lib/semantic-ui.rb +8 -0
  3. data/lib/semantic-ui/version.rb +5 -0
  4. data/vendor/assets/fonts/icons.eot +0 -0
  5. data/vendor/assets/fonts/icons.svg +450 -0
  6. data/vendor/assets/fonts/icons.ttf +0 -0
  7. data/vendor/assets/fonts/icons.woff +0 -0
  8. data/vendor/assets/images/loader-large-inverted.gif +0 -0
  9. data/vendor/assets/images/loader-large.gif +0 -0
  10. data/vendor/assets/images/loader-medium-inverted.gif +0 -0
  11. data/vendor/assets/images/loader-medium.gif +0 -0
  12. data/vendor/assets/images/loader-mini-inverted.gif +0 -0
  13. data/vendor/assets/images/loader-mini.gif +0 -0
  14. data/vendor/assets/images/loader-small-inverted.gif +0 -0
  15. data/vendor/assets/images/loader-small.gif +0 -0
  16. data/vendor/assets/javascripts/modules/accordion.js +411 -0
  17. data/vendor/assets/javascripts/modules/behavior/api.js +666 -0
  18. data/vendor/assets/javascripts/modules/behavior/colorize.js +271 -0
  19. data/vendor/assets/javascripts/modules/behavior/form.js +703 -0
  20. data/vendor/assets/javascripts/modules/behavior/state.js +752 -0
  21. data/vendor/assets/javascripts/modules/chatroom.js +766 -0
  22. data/vendor/assets/javascripts/modules/checkbox.js +348 -0
  23. data/vendor/assets/javascripts/modules/dimmer.js +524 -0
  24. data/vendor/assets/javascripts/modules/dropdown.js +707 -0
  25. data/vendor/assets/javascripts/modules/modal.js +478 -0
  26. data/vendor/assets/javascripts/modules/nag.js +542 -0
  27. data/vendor/assets/javascripts/modules/popup.js +721 -0
  28. data/vendor/assets/javascripts/modules/rating.js +358 -0
  29. data/vendor/assets/javascripts/modules/search.js +769 -0
  30. data/vendor/assets/javascripts/modules/shape.js +776 -0
  31. data/vendor/assets/javascripts/modules/sidebar.js +489 -0
  32. data/vendor/assets/javascripts/modules/tab.js +674 -0
  33. data/vendor/assets/javascripts/modules/transition.js +650 -0
  34. data/vendor/assets/javascripts/modules/video.js +459 -0
  35. data/vendor/assets/javascripts/semantic-ui.js +1 -0
  36. data/vendor/assets/stylesheets/collections/breadcrumb.less +79 -0
  37. data/vendor/assets/stylesheets/collections/form.less +536 -0
  38. data/vendor/assets/stylesheets/collections/grid.less +655 -0
  39. data/vendor/assets/stylesheets/collections/menu.less +1765 -0
  40. data/vendor/assets/stylesheets/collections/message.less +337 -0
  41. data/vendor/assets/stylesheets/collections/table.less +532 -0
  42. data/vendor/assets/stylesheets/elements/button.less +1190 -0
  43. data/vendor/assets/stylesheets/elements/divider.less +200 -0
  44. data/vendor/assets/stylesheets/elements/header.less +325 -0
  45. data/vendor/assets/stylesheets/elements/icon.less +484 -0
  46. data/vendor/assets/stylesheets/elements/image.less +170 -0
  47. data/vendor/assets/stylesheets/elements/input.less +300 -0
  48. data/vendor/assets/stylesheets/elements/label.less +824 -0
  49. data/vendor/assets/stylesheets/elements/loader.less +178 -0
  50. data/vendor/assets/stylesheets/elements/progress.less +353 -0
  51. data/vendor/assets/stylesheets/elements/segment.less +465 -0
  52. data/vendor/assets/stylesheets/elements/step.less +294 -0
  53. data/vendor/assets/stylesheets/modules/accordion.less +135 -0
  54. data/vendor/assets/stylesheets/modules/chatroom.less +271 -0
  55. data/vendor/assets/stylesheets/modules/checkbox.less +380 -0
  56. data/vendor/assets/stylesheets/modules/dimmer.less +230 -0
  57. data/vendor/assets/stylesheets/modules/dropdown.less +506 -0
  58. data/vendor/assets/stylesheets/modules/modal.less +160 -0
  59. data/vendor/assets/stylesheets/modules/nag.less +175 -0
  60. data/vendor/assets/stylesheets/modules/popup.less +238 -0
  61. data/vendor/assets/stylesheets/modules/rating.less +151 -0
  62. data/vendor/assets/stylesheets/modules/reveal.less +367 -0
  63. data/vendor/assets/stylesheets/modules/search.less +275 -0
  64. data/vendor/assets/stylesheets/modules/shape.less +115 -0
  65. data/vendor/assets/stylesheets/modules/sidebar.less +147 -0
  66. data/vendor/assets/stylesheets/modules/tab.less +59 -0
  67. data/vendor/assets/stylesheets/modules/transition.less +839 -0
  68. data/vendor/assets/stylesheets/modules/video.less +99 -0
  69. data/vendor/assets/stylesheets/semantic-ui.less +1 -0
  70. data/vendor/assets/stylesheets/views/comment.less +221 -0
  71. data/vendor/assets/stylesheets/views/feed.less +151 -0
  72. data/vendor/assets/stylesheets/views/item.less +641 -0
  73. data/vendor/assets/stylesheets/views/list.less +508 -0
  74. data/vendor/assets/stylesheets/views/statistic.css +27 -0
  75. metadata +187 -0
@@ -0,0 +1,170 @@
1
+ /*
2
+ * # Semantic Image
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
+
14
+ /*******************************
15
+ Image
16
+ *******************************/
17
+
18
+ .ui.image {
19
+ position: relative;
20
+ display: inline-block;
21
+ vertical-align: middle;
22
+ max-width: 100%;
23
+ background-color: rgba(0, 0, 0, 0.05);
24
+ }
25
+ img.ui.image {
26
+ display: block;
27
+ background: none;
28
+ }
29
+ .ui.image img {
30
+ display: block;
31
+ max-width: 100%;
32
+ height: auto;
33
+ }
34
+
35
+ /*******************************
36
+ States
37
+ *******************************/
38
+
39
+
40
+ .ui.disabled.image {
41
+ cursor: default;
42
+ opacity: 0.3;
43
+ }
44
+
45
+
46
+ /*******************************
47
+ Variations
48
+ *******************************/
49
+
50
+ /*--------------
51
+ Rounded
52
+ ---------------*/
53
+
54
+ .ui.rounded.images .image,
55
+ .ui.rounded.images img,
56
+ .ui.rounded.image img,
57
+ .ui.rounded.image {
58
+ -webkit-border-radius: 0.3125em;
59
+ -moz-border-radius: 0.3125em;
60
+ border-radius: 0.3125em;
61
+ }
62
+
63
+ /*--------------
64
+ Circular
65
+ ---------------*/
66
+
67
+ .ui.circular.images .image,
68
+ .ui.circular.images img,
69
+ .ui.circular.image img,
70
+ .ui.circular.image {
71
+ -webkit-border-radius: 500rem;
72
+ -moz-border-radius: 500rem;
73
+ border-radius: 500rem;
74
+ }
75
+
76
+ /*--------------
77
+ Avatar
78
+ ---------------*/
79
+
80
+
81
+ .ui.avatar.images .image,
82
+ .ui.avatar.images img,
83
+ .ui.avatar.image img,
84
+ .ui.avatar.image {
85
+ margin-right: 0.5em;
86
+
87
+ display: inline-block;
88
+ width: 2em;
89
+ height: 2em;
90
+
91
+ -webkit-border-radius: 500rem;
92
+ -moz-border-radius: 500rem;
93
+ border-radius: 500rem;
94
+ }
95
+
96
+
97
+
98
+ /*-------------------
99
+ Floated
100
+ --------------------*/
101
+
102
+ .ui.floated.image,
103
+ .ui.floated.images {
104
+ float: left;
105
+ margin-right: 1em;
106
+ margin-bottom: 1em;
107
+ }
108
+ .ui.right.floated.images,
109
+ .ui.right.floated.image {
110
+ float: right;
111
+ margin-bottom: 1em;
112
+ margin-left: 1em;
113
+ }
114
+
115
+
116
+ /*--------------
117
+ Sizes
118
+ ---------------*/
119
+
120
+ .ui.tiny.images .image,
121
+ .ui.tiny.images img,
122
+ .ui.tiny.image {
123
+ width: 20px;
124
+ font-size: 0.7rem;
125
+ }
126
+ .ui.mini.images .image,
127
+ .ui.mini.images img,
128
+ .ui.mini.image {
129
+ width: 35px;
130
+ font-size: 0.8rem;
131
+ }
132
+ .ui.small.images .image,
133
+ .ui.small.images img,
134
+ .ui.small.image {
135
+ width: 80px;
136
+ font-size: 0.9rem;
137
+ }
138
+ .ui.medium.images .image,
139
+ .ui.medium.images img,
140
+ .ui.medium.image {
141
+ width: 300px;
142
+ font-size: 1rem;
143
+ }
144
+ .ui.large.images .image,
145
+ .ui.large.images img,
146
+ .ui.large.image {
147
+ width: 450px;
148
+ font-size: 1.1rem;
149
+ }
150
+ .ui.huge.images .image,
151
+ .ui.huge.images img,
152
+ .ui.huge.image {
153
+ width: 600px;
154
+ font-size: 1.2rem;
155
+ }
156
+
157
+ /*******************************
158
+ Groups
159
+ *******************************/
160
+
161
+ .ui.images {
162
+ font-size: 0em;
163
+ margin: 0em -0.25rem 0rem;
164
+ }
165
+
166
+ .ui.images .image,
167
+ .ui.images img {
168
+ display: inline-block;
169
+ margin: 0em 0.25em 0.5em;
170
+ }
@@ -0,0 +1,300 @@
1
+ /*
2
+ * # Semantic Input
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: May 29 2013
11
+ */
12
+
13
+
14
+ /*******************************
15
+ Standard
16
+ *******************************/
17
+
18
+
19
+ /*--------------------
20
+ Inputs
21
+ ---------------------*/
22
+
23
+ .ui.input {
24
+ display: inline-block;
25
+ position: relative;
26
+ }
27
+ .ui.input input {
28
+ width: 100%;
29
+ font-family: "Helvetica Neue", "Helvetica", Arial;
30
+
31
+ margin: 0em;
32
+ padding: 0.85em 1.2em;
33
+ font-size: 0.875em;
34
+
35
+ background-color: #FFFFFF;
36
+ border: 1px solid rgba(0, 0, 0, 0.15);
37
+ outline: none;
38
+
39
+ color: rgba(0, 0, 0, 0.7);
40
+
41
+ -webkit-border-radius: 0.3125em;
42
+ -moz-border-radius: 0.3125em;
43
+ border-radius: 0.3125em;
44
+
45
+ -webkit-transition:
46
+ background-color 0.3s ease-out,
47
+ box-shadow 0.2s ease,
48
+ border-color 0.2s ease
49
+ ;
50
+ -moz-transition:
51
+ background-color 0.3s ease-out,
52
+ box-shadow 0.2s ease,
53
+ border-color 0.2s ease
54
+ ;
55
+ -o-transition:
56
+ background-color 0.3s ease-out,
57
+ box-shadow 0.2s ease,
58
+ border-color 0.2s ease
59
+ ;
60
+ -ms-transition:
61
+ background-color 0.3s ease-out,
62
+ box-shadow 0.2s ease,
63
+ border-color 0.2s ease
64
+ ;
65
+ transition:
66
+ background-color 0.3s ease-out,
67
+ box-shadow 0.2s ease,
68
+ border-color 0.2s ease
69
+ ;
70
+
71
+ -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
72
+
73
+ -webkit-box-sizing: border-box;
74
+ -moz-box-sizing: border-box;
75
+ -ms-box-sizing: border-box;
76
+ box-sizing: border-box;
77
+ }
78
+
79
+
80
+ /*--------------------
81
+ Placeholder
82
+ ---------------------*/
83
+
84
+ /* browsers require these rules separate */
85
+ .ui.input::-web inputkit-input-placeholder {
86
+ color: #E0E0E0;
87
+ }
88
+ .ui.input::-moz input-placeholder {
89
+ color: #E0E0E0;
90
+ }
91
+
92
+
93
+ /*******************************
94
+ States
95
+ *******************************/
96
+
97
+ /*--------------------
98
+ Active
99
+ ---------------------*/
100
+
101
+ .ui.input input:active,
102
+ .ui.input.down input {
103
+ border-color: rgba(0, 0, 0, 0.3);
104
+ background-color: #FAFAFA;
105
+ }
106
+
107
+ /*--------------------
108
+ Loading
109
+ ---------------------*/
110
+
111
+ .ui.loading.input > .icon {
112
+ background: url(../images/loader-mini.gif) no-repeat 50% 50%;
113
+ }
114
+ .ui.loading.input > .icon:before,
115
+ .ui.loading.input > .icon:after {
116
+ display: none;
117
+ }
118
+
119
+ /*--------------------
120
+ Focus
121
+ ---------------------*/
122
+
123
+ .ui.input.focus input,
124
+ .ui.input input:focus {
125
+ border-color: rgba(0, 0, 0, 0.2);
126
+ color: rgba(0, 0, 0, 0.85);
127
+ }
128
+ .ui.input.focus input input::-webkit-input-placeholder,
129
+ .ui.input input:focus input::-webkit-input-placeholder {
130
+ color: #AAAAAA;
131
+ }
132
+ .ui.input.focus input input::-moz-placeholder,
133
+ .ui.input input:focus input::-moz-placeholder {
134
+ color: #AAAAAA;
135
+ }
136
+
137
+
138
+ /*--------------------
139
+ Error
140
+ ---------------------*/
141
+
142
+ .ui.input.error input {
143
+ background-color: #FFFAFA;
144
+ border-color: #E7BEBE;
145
+ color: #D95C5C;
146
+ }
147
+
148
+ /* Error Placeholder */
149
+ .ui.input.error input ::-webkit-input-placeholder {
150
+ color: rgba(255, 80, 80, 0.4);
151
+ }
152
+ .ui.input.error input ::-moz-placeholder {
153
+ color: rgba(255, 80, 80, 0.4);
154
+ }
155
+ .ui.input.error input :focus::-webkit-input-placeholder {
156
+ color: rgba(255, 80, 80, 0.7);
157
+ }
158
+ .ui.input.error input :focus::-moz-placeholder {
159
+ color: rgba(255, 80, 80, 0.7);
160
+ }
161
+
162
+ /*******************************
163
+ Variations
164
+ *******************************/
165
+
166
+
167
+ /*--------------------
168
+ Transparent
169
+ ---------------------*/
170
+
171
+ .ui.transparent.input input {
172
+ border: none;
173
+ background-color: transparent;
174
+ }
175
+
176
+
177
+ /*--------------------
178
+ Icon
179
+ ---------------------*/
180
+
181
+ .ui.icon.input > .icon {
182
+ position: absolute;
183
+ opacity: 0.5;
184
+ top: 0px;
185
+ right: 0px;
186
+
187
+ margin: 0em;
188
+
189
+ width: 2.6em;
190
+ height: 2.6em;
191
+ padding-top: 0.75em;
192
+
193
+ text-align: center;
194
+
195
+ -webkit-border-radius: 0em 0.2em 0.2em 0em;
196
+ -moz-border-radius: 0em 0.2em 0.2em 0em;
197
+ border-radius: 0em 0.2em 0.2em 0em;
198
+
199
+ -webkit-box-sizing: border-box;
200
+ -moz-box-sizing: border-box;
201
+ -ms-box-sizing: border-box;
202
+ box-sizing: border-box;
203
+
204
+ -webkit-transition: opacity 0.3s ease-out;
205
+ -moz-transition: opacity 0.3s ease-out;
206
+ -o-transition: opacity 0.3s ease-out;
207
+ -ms-transition: opacity 0.3s ease-out;
208
+ transition: opacity 0.3s ease-out;
209
+ }
210
+ .ui.icon.input input {
211
+ padding-right: 3em !important;
212
+ }
213
+ .ui.icon.input > .circular.icon {
214
+ top: 0.35em;
215
+ right: 0.5em;
216
+ }
217
+
218
+ /* Left Side */
219
+ .ui.left.icon.input > .icon {
220
+ right: auto;
221
+ left: 1px;
222
+
223
+ -webkit-border-radius: 0.2em 0em 0em 0.2em;
224
+ -moz-border-radius: 0.2em 0em 0em 0.2em;
225
+ border-radius: 0.2em 0em 0em 0.2em;
226
+ }
227
+ .ui.left.icon.input > .circular.icon {
228
+ right: auto;
229
+ left: 0.5em;
230
+ }
231
+ .ui.left.icon.input > input {
232
+ padding-left: 3em !important;
233
+ padding-right: 1.2em !important;
234
+ }
235
+
236
+ /* Focus */
237
+ .ui.icon.input > input:focus ~ .icon {
238
+ opacity: 1;
239
+ }
240
+
241
+ /*--------------------
242
+ Labeled
243
+ ---------------------*/
244
+
245
+ .ui.labeled.input .corner.label {
246
+ top: 1px;
247
+ right: 1px;
248
+
249
+ font-size: 0.7em;
250
+
251
+ -webkit-border-top-right-radius: 0.3125em;
252
+ -moz-border-top-right-radius: 0.3125em;
253
+ border-top-right-radius: 0.3125em;
254
+ }
255
+ .ui.labeled.input input {
256
+ padding-right: 2.5em !important;
257
+ }
258
+
259
+ /* Spacing with corner label */
260
+ .ui.labeled.icon.input:not(.left) > input {
261
+ padding-right: 3.25em !important;
262
+ }
263
+ .ui.labeled.icon.input:not(.left) > .icon {
264
+ margin-right: 0.75em;
265
+ }
266
+
267
+
268
+ /*--------------------
269
+ Action
270
+ ---------------------*/
271
+
272
+ .ui.action.input {
273
+ display: table;
274
+ }
275
+
276
+ .ui.action.input > input {
277
+ display: table-cell;
278
+ border-top-right-radius: 0px !important;
279
+ border-bottom-right-radius: 0px !important;
280
+ border-right: none;
281
+ }
282
+ .ui.action.input > .button {
283
+ display: table-cell;
284
+ opacity: 0.9;
285
+
286
+ border-top-left-radius: 0px;
287
+ border-bottom-left-radius: 0px;
288
+
289
+ -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
290
+ -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
291
+ box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
292
+ white-space: nowrap;
293
+ }
294
+
295
+ .ui.action.input > input:focus ~ .button {
296
+ opacity: 1;
297
+ -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2) inset;
298
+ -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2) inset;
299
+ box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2) inset;
300
+ }