semantic-ui-sass 0.19.3.1 → 1.7.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/README.md +5 -6
  4. data/app/assets/fonts/semantic-ui/icons.eot +0 -0
  5. data/app/assets/fonts/semantic-ui/icons.otf +0 -0
  6. data/app/assets/fonts/semantic-ui/icons.svg +472 -367
  7. data/app/assets/fonts/semantic-ui/icons.ttf +0 -0
  8. data/app/assets/fonts/semantic-ui/icons.woff +0 -0
  9. data/app/assets/images/semantic-ui/flags.png +0 -0
  10. data/app/assets/javascripts/semantic-ui.js +9 -5
  11. data/app/assets/javascripts/semantic-ui/accordion.js +169 -102
  12. data/app/assets/javascripts/semantic-ui/api.js +840 -0
  13. data/app/assets/javascripts/semantic-ui/checkbox.js +203 -46
  14. data/app/assets/javascripts/semantic-ui/{behavior/colorize.js → colorize.js} +4 -2
  15. data/app/assets/javascripts/semantic-ui/dimmer.js +110 -76
  16. data/app/assets/javascripts/semantic-ui/dropdown.js +897 -285
  17. data/app/assets/javascripts/semantic-ui/{behavior/form.js → form.js} +127 -42
  18. data/app/assets/javascripts/semantic-ui/modal.js +294 -219
  19. data/app/assets/javascripts/semantic-ui/nag.js +120 -186
  20. data/app/assets/javascripts/semantic-ui/popup.js +491 -223
  21. data/app/assets/javascripts/semantic-ui/progress.js +779 -0
  22. data/app/assets/javascripts/semantic-ui/rating.js +66 -22
  23. data/app/assets/javascripts/semantic-ui/search.js +219 -99
  24. data/app/assets/javascripts/semantic-ui/shape.js +72 -29
  25. data/app/assets/javascripts/semantic-ui/sidebar.js +678 -142
  26. data/app/assets/javascripts/semantic-ui/site.js +487 -0
  27. data/app/assets/javascripts/semantic-ui/{behavior/state.js → state.js} +116 -151
  28. data/app/assets/javascripts/semantic-ui/sticky.js +771 -0
  29. data/app/assets/javascripts/semantic-ui/tab.js +680 -603
  30. data/app/assets/javascripts/semantic-ui/transition.js +269 -158
  31. data/app/assets/javascripts/semantic-ui/video.js +113 -32
  32. data/app/assets/javascripts/semantic-ui/visibility.js +970 -0
  33. data/app/assets/javascripts/semantic-ui/visit.js +513 -0
  34. data/app/assets/stylesheets/semantic-ui.scss +2 -0
  35. data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +58 -14
  36. data/app/assets/stylesheets/semantic-ui/collections/_form.scss +464 -372
  37. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +1385 -533
  38. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +482 -655
  39. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +238 -139
  40. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +631 -280
  41. data/app/assets/stylesheets/semantic-ui/elements/_all.scss +3 -2
  42. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +1614 -657
  43. data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +143 -80
  44. data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +1018 -0
  45. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +302 -145
  46. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +1653 -1365
  47. data/app/assets/stylesheets/semantic-ui/elements/_image.scss +160 -59
  48. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +247 -118
  49. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +501 -470
  50. data/app/assets/stylesheets/semantic-ui/elements/_list.scss +888 -0
  51. data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +189 -98
  52. data/app/assets/stylesheets/semantic-ui/elements/_rail.scss +125 -0
  53. data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +147 -212
  54. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +328 -190
  55. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +261 -185
  56. data/app/assets/stylesheets/semantic-ui/globals/_all.scss +2 -0
  57. data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +430 -0
  58. data/app/assets/stylesheets/semantic-ui/globals/_site.scss +128 -0
  59. data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +190 -106
  60. data/app/assets/stylesheets/semantic-ui/modules/_all.scss +2 -1
  61. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +303 -201
  62. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +72 -63
  63. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +711 -331
  64. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +262 -140
  65. data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +82 -71
  66. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +163 -119
  67. data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +435 -0
  68. data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +163 -68
  69. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +223 -150
  70. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +39 -40
  71. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +413 -147
  72. data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +80 -0
  73. data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +49 -20
  74. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +542 -568
  75. data/app/assets/stylesheets/semantic-ui/modules/_video.scss +69 -37
  76. data/app/assets/stylesheets/semantic-ui/views/_ad.scss +265 -0
  77. data/app/assets/stylesheets/semantic-ui/views/_all.scss +1 -1
  78. data/app/assets/stylesheets/semantic-ui/views/_card.scss +758 -0
  79. data/app/assets/stylesheets/semantic-ui/views/_comment.scss +133 -92
  80. data/app/assets/stylesheets/semantic-ui/views/_feed.scss +200 -87
  81. data/app/assets/stylesheets/semantic-ui/views/_item.scss +298 -523
  82. data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +390 -12
  83. data/lib/semantic/ui/sass/version.rb +2 -2
  84. data/tasks/converter.rb +99 -216
  85. metadata +22 -27
  86. data/app/assets/fonts/semantic-ui/basic.icons.eot +0 -0
  87. data/app/assets/fonts/semantic-ui/basic.icons.svg +0 -450
  88. data/app/assets/fonts/semantic-ui/basic.icons.ttf +0 -0
  89. data/app/assets/fonts/semantic-ui/basic.icons.woff +0 -0
  90. data/app/assets/images/semantic-ui/loader-large-inverted.gif +0 -0
  91. data/app/assets/images/semantic-ui/loader-large.gif +0 -0
  92. data/app/assets/images/semantic-ui/loader-medium-inverted.gif +0 -0
  93. data/app/assets/images/semantic-ui/loader-medium.gif +0 -0
  94. data/app/assets/images/semantic-ui/loader-mini-inverted.gif +0 -0
  95. data/app/assets/images/semantic-ui/loader-mini.gif +0 -0
  96. data/app/assets/images/semantic-ui/loader-small-inverted.gif +0 -0
  97. data/app/assets/images/semantic-ui/loader-small.gif +0 -0
  98. data/app/assets/javascripts/semantic-ui/behavior/api.js +0 -634
  99. data/app/assets/javascripts/semantic-ui/chatroom.js +0 -772
  100. data/app/assets/stylesheets/semantic-ui/depends/_basic.icon.scss +0 -4
  101. data/app/assets/stylesheets/semantic-ui/depends/_icon.scss +0 -4
  102. data/app/assets/stylesheets/semantic-ui/depends/_loader.scss +0 -8
  103. data/app/assets/stylesheets/semantic-ui/elements/_basic.icon.scss +0 -1124
  104. data/app/assets/stylesheets/semantic-ui/elements/_progress.scss +0 -280
  105. data/app/assets/stylesheets/semantic-ui/modules/_chatroom.scss +0 -299
  106. data/app/assets/stylesheets/semantic-ui/modules/_reveal.scss +0 -322
  107. data/app/assets/stylesheets/semantic-ui/views/_list.scss +0 -700
@@ -1,8 +1,7 @@
1
- @import '../depends/loader';
2
- /*
3
- * # Semantic - Loader
4
- * http://github.com/jlukic/semantic-ui/
5
- *
1
+ /*
2
+ * # Semantic UI
3
+ * https://github.com/Semantic-Org/Semantic-UI
4
+ * http://www.semantic-ui.com/
6
5
  *
7
6
  * Copyright 2014 Contributors
8
7
  * Released under the MIT license
@@ -10,32 +9,144 @@
10
9
  *
11
10
  */
12
11
 
12
+
13
+
13
14
  /*******************************
14
15
  Loader
15
16
  *******************************/
16
17
 
17
- /* Standard Size */
18
18
 
19
+ /* Standard Size */
19
20
  .ui.loader {
20
21
  display: none;
21
22
  position: absolute;
22
23
  top: 50%;
23
24
  left: 50%;
24
25
  margin: 0px;
26
+ text-align: center;
25
27
  z-index: 1000;
26
28
  -webkit-transform: translateX(-50%) translateY(-50%);
27
- -ms-transform: translateX(-50%) translateY(-50%);
28
- transform: translateX(-50%) translateY(-50%);
29
+ -ms-transform: translateX(-50%) translateY(-50%);
30
+ transform: translateX(-50%) translateY(-50%);
31
+ }
32
+
33
+ /* Static Shape */
34
+ .ui.loader:before {
35
+ position: absolute;
36
+ content: '';
37
+ top: 0%;
38
+ left: 50%;
39
+ width: 100%;
40
+ height: 100%;
41
+ border-radius: 500rem;
42
+ border: 0.2em solid rgba(0, 0, 0, 0.1);
43
+ }
44
+
45
+ /* Active Shape */
46
+ .ui.loader:after {
47
+ position: absolute;
48
+ content: '';
49
+ top: 0%;
50
+ left: 50%;
51
+ width: 100%;
52
+ height: 100%;
53
+ -webkit-animation: loader 0.6s linear;
54
+ animation: loader 0.6s linear;
55
+ -webkit-animation-iteration-count: infinite;
56
+ animation-iteration-count: infinite;
57
+ border-radius: 500rem;
58
+ border-color: #aaaaaa transparent transparent;
59
+ border-style: solid;
60
+ border-width: 0.2em;
61
+ box-shadow: 0px 0px 0px 1px transparent;
29
62
  }
30
63
 
64
+ /* Active Animation */
65
+ @-webkit-keyframes loader {
66
+ from {
67
+ -webkit-transform: rotate(0deg);
68
+ transform: rotate(0deg);
69
+ }
70
+ to {
71
+ -webkit-transform: rotate(360deg);
72
+ transform: rotate(360deg);
73
+ }
74
+ }
75
+ @keyframes loader {
76
+ from {
77
+ -webkit-transform: rotate(0deg);
78
+ transform: rotate(0deg);
79
+ }
80
+ to {
81
+ -webkit-transform: rotate(360deg);
82
+ transform: rotate(360deg);
83
+ }
84
+ }
85
+
86
+ /* Sizes */
87
+ .ui.loader:before,
88
+ .ui.loader:after {
89
+ width: 2.2585em;
90
+ height: 2.2585em;
91
+ margin: 0em 0em 0em -1.12925em;
92
+ }
93
+ .ui.mini.loader:before,
94
+ .ui.mini.loader:after {
95
+ width: 1.2857em;
96
+ height: 1.2857em;
97
+ margin: 0em 0em 0em -0.64285em;
98
+ }
99
+ .ui.small.loader:before,
100
+ .ui.small.loader:after {
101
+ width: 1.7142em;
102
+ height: 1.7142em;
103
+ margin: 0em 0em 0em -0.8571em;
104
+ }
105
+ .ui.large.loader:before,
106
+ .ui.large.loader:after {
107
+ width: 4.5714em;
108
+ height: 4.5714em;
109
+ margin: 0em 0em 0em -2.2857em;
110
+ }
111
+
112
+ /*-------------------
113
+ Coupling
114
+ --------------------*/
115
+
116
+
117
+ /* Show inside active dimmer */
31
118
  .ui.dimmer .loader {
32
119
  display: block;
33
120
  }
34
121
 
122
+ /* Black Dimmer */
123
+ .ui.dimmer .ui.loader {
124
+ color: #ffffff;
125
+ }
126
+ .ui.dimmer .ui.loader:before {
127
+ border-color: rgba(255, 255, 255, 0.15);
128
+ }
129
+ .ui.dimmer .ui.loader:after {
130
+ border-color: #ffffff transparent transparent;
131
+ }
132
+
133
+ /* White Dimmer (Inverted) */
134
+ .ui.inverted.dimmer .ui.loader {
135
+ color: rgba(0, 0, 0, 0.8);
136
+ }
137
+ .ui.inverted.dimmer .ui.loader:before {
138
+ border-color: rgba(0, 0, 0, 0.1);
139
+ }
140
+ .ui.inverted.dimmer .ui.loader:after {
141
+ border-color: #aaaaaa transparent transparent;
142
+ }
143
+
144
+
35
145
  /*******************************
36
146
  Types
37
147
  *******************************/
38
148
 
149
+
39
150
  /*-------------------
40
151
  Text
41
152
  --------------------*/
@@ -47,126 +158,93 @@
47
158
  font-style: normal;
48
159
  }
49
160
 
50
- .ui.mini.text.loader {
51
- min-width: 16px;
52
- padding-top: 2em;
53
- font-size: 0.875em;
54
- }
55
-
56
- .ui.small.text.loader {
57
- min-width: 24px;
58
- padding-top: 2.5em;
59
- font-size: 0.875em;
60
- }
61
-
62
- .ui.text.loader {
63
- min-width: 32px;
64
- font-size: 1em;
65
- padding-top: 3em;
66
- }
67
-
68
- .ui.large.text.loader {
69
- min-width: 64px;
70
- padding-top: 5em;
71
- font-size: 1.2em;
72
- }
73
161
 
74
162
  /*******************************
75
163
  States
76
164
  *******************************/
77
165
 
166
+ .ui.indeterminate.loader:after {
167
+ -webkit-animation-direction: reverse;
168
+ animation-direction: reverse;
169
+ -webkit-animation-duration: 1.2s;
170
+ animation-duration: 1.2s;
171
+ }
78
172
  .ui.loader.active,
79
173
  .ui.loader.visible {
80
174
  display: block;
81
175
  }
82
-
83
176
  .ui.loader.disabled,
84
177
  .ui.loader.hidden {
85
178
  display: none;
86
179
  }
87
180
 
181
+
88
182
  /*******************************
89
183
  Variations
90
184
  *******************************/
91
185
 
92
- /*-------------------
93
- Inverted
94
- --------------------*/
95
-
96
- .ui.dimmer .ui.text.loader,
97
- .ui.inverted.text.loader {
98
- color: rgba(255, 255, 255, 0.8);
99
- }
100
-
101
- .ui.inverted.dimmer .ui.text.loader {
102
- color: rgba(0, 0, 0, 0.8);
103
- }
104
-
105
- /* Tiny Size */
106
-
107
- .ui.dimmer .mini.ui.loader,
108
- .ui.inverted .mini.ui.loader {
109
- background-image: image-url("semantic-ui/loader-mini-inverted.gif");
110
- }
111
-
112
- /* Small Size */
113
-
114
- .ui.dimmer .small.ui.loader,
115
- .ui.inverted .small.ui.loader {
116
- background-image: image-url("semantic-ui/loader-small-inverted.gif");
117
- }
118
-
119
- /* Standard Size */
120
-
121
- .ui.dimmer .ui.loader,
122
- .ui.inverted.loader {
123
- background-image: image-url("semantic-ui/loader-medium-inverted.gif");
124
- }
125
-
126
- /* Large Size */
127
-
128
- .ui.dimmer .large.ui.loader,
129
- .ui.inverted .large.ui.loader {
130
- background-image: image-url("semantic-ui/loader-large-inverted.gif");
131
- }
132
186
 
133
187
  /*-------------------
134
188
  Sizes
135
189
  --------------------*/
136
190
 
137
- /* Tiny Size */
138
191
 
192
+ /* Loader */
139
193
  .ui.inverted.dimmer .ui.mini.loader,
140
194
  .ui.mini.loader {
141
- width: 16px;
142
- height: 16px;
143
- background-image: image-url("semantic-ui/loader-mini.gif");
195
+ width: 1.2857em;
196
+ height: 1.2857em;
197
+ font-size: 0.7857em;
144
198
  }
145
-
146
- /* Small Size */
147
-
148
199
  .ui.inverted.dimmer .ui.small.loader,
149
200
  .ui.small.loader {
150
- width: 24px;
151
- height: 24px;
152
- background-image: image-url("semantic-ui/loader-small.gif");
201
+ width: 1.7142em;
202
+ height: 1.7142em;
203
+ font-size: 0.9285em;
153
204
  }
154
-
155
205
  .ui.inverted.dimmer .ui.loader,
156
206
  .ui.loader {
157
- width: 32px;
158
- height: 32px;
159
- background: image-url("semantic-ui/loader-medium.gif") no-repeat;
160
- background-position: 48% 0px;
207
+ width: 2.2585em;
208
+ height: 2.2585em;
209
+ font-size: 1em;
161
210
  }
162
-
163
- /* Large Size */
164
-
165
211
  .ui.inverted.dimmer .ui.loader.large,
166
212
  .ui.loader.large {
167
- width: 64px;
168
- height: 64px;
169
- background-image: image-url("semantic-ui/loader-large.gif");
213
+ width: 4.5714em;
214
+ height: 4.5714em;
215
+ font-size: 1.1428em;
216
+ }
217
+
218
+ /* Text Loader */
219
+ .ui.mini.text.loader {
220
+ min-width: 1.2857em;
221
+ padding-top: 1.9857em;
222
+ }
223
+ .ui.small.text.loader {
224
+ min-width: 1.7142em;
225
+ padding-top: 2.4142em;
226
+ }
227
+ .ui.text.loader {
228
+ min-width: 2.2585em;
229
+ padding-top: 2.9585em;
230
+ }
231
+ .ui.large.text.loader {
232
+ min-width: 4.5714em;
233
+ padding-top: 5.2714em;
234
+ }
235
+
236
+ /*-------------------
237
+ Inverted
238
+ --------------------*/
239
+
240
+ .ui.inverted.loader {
241
+ color: #ffffff;
242
+ }
243
+ .ui.inverted.loader:before {
244
+ border-color: rgba(255, 255, 255, 0.15);
245
+ }
246
+ .ui.inverted.loader:after {
247
+ border-top-color: #ffffff;
170
248
  }
171
249
 
172
250
  /*-------------------
@@ -174,15 +252,28 @@
174
252
  --------------------*/
175
253
 
176
254
  .ui.inline.loader {
177
- position: static;
255
+ position: relative;
178
256
  vertical-align: middle;
179
257
  margin: 0em;
258
+ left: 0em;
259
+ top: 0em;
180
260
  -webkit-transform: none;
181
- -ms-transform: none;
182
- transform: none;
261
+ -ms-transform: none;
262
+ transform: none;
183
263
  }
184
-
185
264
  .ui.inline.loader.active,
186
265
  .ui.inline.loader.visible {
187
266
  display: inline-block;
188
- }
267
+ }
268
+
269
+
270
+ /*******************************
271
+ Theme Overrides
272
+ *******************************/
273
+
274
+
275
+
276
+ /*******************************
277
+ Site Overrides
278
+ *******************************/
279
+
@@ -0,0 +1,125 @@
1
+ /*
2
+ * # Semantic UI
3
+ * https://github.com/Semantic-Org/Semantic-UI
4
+ * http://www.semantic-ui.com/
5
+ *
6
+ * Copyright 2014 Contributors
7
+ * Released under the MIT license
8
+ * http://opensource.org/licenses/MIT
9
+ *
10
+ */
11
+
12
+
13
+
14
+ /*******************************
15
+ Rails
16
+ *******************************/
17
+
18
+ .ui.rail {
19
+ font-size: 1em;
20
+ position: absolute;
21
+ top: 0%;
22
+ width: 300px;
23
+ box-sizing: content-box;
24
+ }
25
+ .ui.left.rail {
26
+ left: auto;
27
+ right: 100%;
28
+ padding: 0em 2rem 0em 0em;
29
+ margin: 0em 2rem 0em 0em;
30
+ }
31
+ .ui.right.rail {
32
+ left: 100%;
33
+ right: auto;
34
+ padding: 0em 0em 0em 2rem;
35
+ margin: 0em 0em 0em 2rem;
36
+ }
37
+
38
+
39
+ /*******************************
40
+ Variations
41
+ *******************************/
42
+
43
+
44
+ /*--------------
45
+ Internal
46
+ ---------------*/
47
+
48
+ .ui.left.internal.rail {
49
+ left: 0%;
50
+ right: auto;
51
+ padding: 0em 0em 0em 2rem;
52
+ margin: 0em 0em 0em 2rem;
53
+ }
54
+ .ui.right.internal.rail {
55
+ left: auto;
56
+ right: 0%;
57
+ padding: 0em 2rem 0em 0em;
58
+ margin: 0em 2rem 0em 0em;
59
+ }
60
+
61
+ /*--------------
62
+ Divided
63
+ ---------------*/
64
+
65
+ .ui.left.dividing.rail {
66
+ padding: 0em 2.5rem 0em 0em;
67
+ margin: 0em 2.5rem 0em 0em;
68
+ border-right: 1px solid rgba(39, 41, 43, 0.15);
69
+ }
70
+ .ui.right.dividing.rail {
71
+ border-left: 1px solid rgba(39, 41, 43, 0.15);
72
+ padding: 0em 0em 0em 2.5rem;
73
+ margin: 0em 0em 0em 2.5rem;
74
+ }
75
+
76
+ /*--------------
77
+ Distance
78
+ ---------------*/
79
+
80
+ .ui.close.left.rail {
81
+ padding: 0em 1em 0em 0em;
82
+ margin: 0em 1em 0em 0em;
83
+ }
84
+ .ui.close.right.rail {
85
+ padding: 0em 0em 0em 1em;
86
+ margin: 0em 0em 0em 1em;
87
+ }
88
+ .ui.very.close.left.rail {
89
+ padding: 0em 0.5em 0em 0em;
90
+ margin: 0em 0.5em 0em 0em;
91
+ }
92
+ .ui.very.close.right.rail {
93
+ padding: 0em 0em 0em 0.5em;
94
+ margin: 0em 0em 0em 0.5em;
95
+ }
96
+
97
+ /*--------------
98
+ Attached
99
+ ---------------*/
100
+
101
+ .ui.attached.left.rail,
102
+ .ui.attached.right.rail {
103
+ padding: 0em;
104
+ margin: 0em;
105
+ }
106
+
107
+ /*--------------
108
+ Sizing
109
+ ---------------*/
110
+
111
+ .ui.rail {
112
+ font-size: 1em;
113
+ }
114
+
115
+
116
+ /*******************************
117
+ Theme Overrides
118
+ *******************************/
119
+
120
+
121
+
122
+ /*******************************
123
+ Site Overrides
124
+ *******************************/
125
+