semantic-ui-sass 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +18 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +51 -0
  6. data/Rakefile +5 -0
  7. data/app/assets/fonts/semantic-ui/basic.icons.eot +0 -0
  8. data/app/assets/fonts/semantic-ui/basic.icons.svg +450 -0
  9. data/app/assets/fonts/semantic-ui/basic.icons.ttf +0 -0
  10. data/app/assets/fonts/semantic-ui/basic.icons.woff +0 -0
  11. data/app/assets/fonts/semantic-ui/icons.eot +0 -0
  12. data/app/assets/fonts/semantic-ui/icons.otf +0 -0
  13. data/app/assets/fonts/semantic-ui/icons.svg +399 -0
  14. data/app/assets/fonts/semantic-ui/icons.ttf +0 -0
  15. data/app/assets/fonts/semantic-ui/icons.woff +0 -0
  16. data/app/assets/images/semantic-ui/loader-large-inverted.gif +0 -0
  17. data/app/assets/images/semantic-ui/loader-large.gif +0 -0
  18. data/app/assets/images/semantic-ui/loader-medium-inverted.gif +0 -0
  19. data/app/assets/images/semantic-ui/loader-medium.gif +0 -0
  20. data/app/assets/images/semantic-ui/loader-mini-inverted.gif +0 -0
  21. data/app/assets/images/semantic-ui/loader-mini.gif +0 -0
  22. data/app/assets/images/semantic-ui/loader-small-inverted.gif +0 -0
  23. data/app/assets/images/semantic-ui/loader-small.gif +0 -0
  24. data/app/assets/javascripts/semantic-ui.js +20 -0
  25. data/app/assets/javascripts/semantic-ui/accordion.js +419 -0
  26. data/app/assets/javascripts/semantic-ui/behavior/api.js +638 -0
  27. data/app/assets/javascripts/semantic-ui/behavior/colorize.js +270 -0
  28. data/app/assets/javascripts/semantic-ui/behavior/form.js +702 -0
  29. data/app/assets/javascripts/semantic-ui/behavior/state.js +725 -0
  30. data/app/assets/javascripts/semantic-ui/chatroom.js +769 -0
  31. data/app/assets/javascripts/semantic-ui/checkbox.js +344 -0
  32. data/app/assets/javascripts/semantic-ui/dimmer.js +564 -0
  33. data/app/assets/javascripts/semantic-ui/dropdown.js +724 -0
  34. data/app/assets/javascripts/semantic-ui/modal.js +553 -0
  35. data/app/assets/javascripts/semantic-ui/nag.js +545 -0
  36. data/app/assets/javascripts/semantic-ui/popup.js +727 -0
  37. data/app/assets/javascripts/semantic-ui/rating.js +403 -0
  38. data/app/assets/javascripts/semantic-ui/search.js +772 -0
  39. data/app/assets/javascripts/semantic-ui/shape.js +778 -0
  40. data/app/assets/javascripts/semantic-ui/sidebar.js +490 -0
  41. data/app/assets/javascripts/semantic-ui/tab.js +689 -0
  42. data/app/assets/javascripts/semantic-ui/transition.js +654 -0
  43. data/app/assets/javascripts/semantic-ui/video.js +457 -0
  44. data/app/assets/stylesheets/semantic-ui.scss +4 -0
  45. data/app/assets/stylesheets/semantic-ui/collections/_all.scss +6 -0
  46. data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +77 -0
  47. data/app/assets/stylesheets/semantic-ui/collections/_form.scss +569 -0
  48. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +643 -0
  49. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +1767 -0
  50. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +347 -0
  51. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +524 -0
  52. data/app/assets/stylesheets/semantic-ui/elements/_all.scss +12 -0
  53. data/app/assets/stylesheets/semantic-ui/elements/_basic.icon.scss +479 -0
  54. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +1187 -0
  55. data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +199 -0
  56. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +342 -0
  57. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +772 -0
  58. data/app/assets/stylesheets/semantic-ui/elements/_image.scss +181 -0
  59. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +338 -0
  60. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +827 -0
  61. data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +185 -0
  62. data/app/assets/stylesheets/semantic-ui/elements/_progress.scss +352 -0
  63. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +464 -0
  64. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +293 -0
  65. data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +199 -0
  66. data/app/assets/stylesheets/semantic-ui/modules/_all.scss +16 -0
  67. data/app/assets/stylesheets/semantic-ui/modules/_chatroom.scss +281 -0
  68. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +481 -0
  69. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +236 -0
  70. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +548 -0
  71. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +217 -0
  72. data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +173 -0
  73. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +255 -0
  74. data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +179 -0
  75. data/app/assets/stylesheets/semantic-ui/modules/_reveal.scss +365 -0
  76. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +273 -0
  77. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +113 -0
  78. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +150 -0
  79. data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +63 -0
  80. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +1096 -0
  81. data/app/assets/stylesheets/semantic-ui/modules/_video.scss +98 -0
  82. data/app/assets/stylesheets/semantic-ui/views/_all.scss +5 -0
  83. data/app/assets/stylesheets/semantic-ui/views/_comment.scss +221 -0
  84. data/app/assets/stylesheets/semantic-ui/views/_feed.scss +152 -0
  85. data/app/assets/stylesheets/semantic-ui/views/_item.scss +651 -0
  86. data/app/assets/stylesheets/semantic-ui/views/_list.scss +555 -0
  87. data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +27 -0
  88. data/lib/semantic/ui/sass.rb +10 -0
  89. data/lib/semantic/ui/sass/engine.rb +13 -0
  90. data/lib/semantic/ui/sass/version.rb +8 -0
  91. data/semantic-ui-sass.gemspec +24 -0
  92. data/tasks/converter.rb +237 -0
  93. metadata +177 -0
@@ -0,0 +1,98 @@
1
+ /*
2
+ * # Semantic - Video
3
+ * http://github.com/jlukic/semantic-ui/
4
+ *
5
+ *
6
+ * Copyright 2013 Contributors
7
+ * Released under the MIT license
8
+ * http://opensource.org/licenses/MIT
9
+ *
10
+ */
11
+
12
+
13
+ /*******************************
14
+ Video
15
+ *******************************/
16
+
17
+ .ui.video {
18
+ position: relative;
19
+ max-width: 100%;
20
+ }
21
+
22
+ /*--------------
23
+ Content
24
+ ---------------*/
25
+
26
+ /* Placeholder Image */
27
+ .ui.video .placeholder {
28
+ background-color: #333333;
29
+ }
30
+
31
+ /* Play Icon Overlay */
32
+ .ui.video .play {
33
+ cursor: pointer;
34
+ position: absolute;
35
+ top: 0px;
36
+ left: 0px;
37
+ z-index: 10;
38
+
39
+ width: 100%;
40
+ height: 100%;
41
+
42
+ -ms-filter:"progid:DXImageTransform.Microsoft@include ctb-Alpha(Opacity=60);";
43
+ filter: alpha(opacity=60);
44
+ opacity: 0.6;
45
+
46
+ -webkit-transition: opacity 0.3s;
47
+ -moz-transition: opacity 0.3s;
48
+ -o-transition: opacity 0.3s;
49
+ -ms-transition: opacity 0.3s;
50
+ transition: opacity 0.3s;
51
+ }
52
+ .ui.video .play.icon:before {
53
+ position: absolute;
54
+ top: 50%;
55
+ left: 50%;
56
+ z-index: 11;
57
+
58
+ font-size: 6rem;
59
+ margin: -3rem 0em 0em -3rem;
60
+ color: #FFFFFF;
61
+ text-shadow: 0px 3px 3px rgba(0, 0, 0, 0.4);
62
+ }
63
+
64
+ .ui.video .placeholder {
65
+ display: block;
66
+ width: 100%;
67
+ height: 100%;
68
+ }
69
+
70
+ /* IFrame Embed */
71
+ .ui.video .embed {
72
+ display: none;
73
+ }
74
+
75
+ /*******************************
76
+ States
77
+ *******************************/
78
+
79
+ /*--------------
80
+ Hover
81
+ ---------------*/
82
+
83
+ .ui.video .play:hover {
84
+ opacity: 1;
85
+ }
86
+
87
+
88
+ /*--------------
89
+ Active
90
+ ---------------*/
91
+
92
+ .ui.video.active .play,
93
+ .ui.video.active .placeholder {
94
+ display: none;
95
+ }
96
+ .ui.video.active .embed {
97
+ display: block;
98
+ }
@@ -0,0 +1,5 @@
1
+ @import 'comment';
2
+ @import 'feed';
3
+ @import 'item';
4
+ @import 'list';
5
+ @import 'statistic';
@@ -0,0 +1,221 @@
1
+ /*
2
+ * # Semantic Comment View
3
+ * http://github.com/jlukic/semantic-ui/
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
+ Standard
16
+ *******************************/
17
+
18
+
19
+ /*--------------
20
+ Comments
21
+ ---------------*/
22
+
23
+ .ui.comments {
24
+
25
+
26
+ }
27
+ .ui.comments a {
28
+ cursor: pointer;
29
+ }
30
+
31
+
32
+ /*--------------
33
+ Comment
34
+ ---------------*/
35
+
36
+ .ui.comments .comment {
37
+ position: relative;
38
+ margin-top: 0.5em;
39
+ padding-top: 0.5em;
40
+ }
41
+ .ui.comments .comment:first-child {
42
+ margin-top: 0em;
43
+ padding-top: 0em;
44
+ }
45
+
46
+
47
+
48
+ /*--------------------
49
+ Avatar (Optional)
50
+ ---------------------*/
51
+
52
+ .ui.comments .comment .avatar {
53
+ display: block;
54
+ float: left;
55
+ width: 4em;
56
+ }
57
+ .ui.comments .comment .avatar img {
58
+ display: block;
59
+ margin: 0em auto;
60
+
61
+ width: 3em;
62
+ height: 3em;
63
+ border-radius: 500px;
64
+ }
65
+
66
+ /*--------------
67
+ Content
68
+ ---------------*/
69
+
70
+ .ui.comments .comment > .content,
71
+ .ui.comments .comment > .avatar {
72
+ display: block;
73
+ }
74
+ .ui.comments .comment .avatar ~ .content {
75
+ padding: 0em 1em;
76
+ }
77
+
78
+ /* If there is an avatar move content over */
79
+ .ui.comments .comment > .avatar ~ .content {
80
+ padding-top: 0.25em;
81
+ margin-left: 3.5em;
82
+ }
83
+
84
+ .ui.comments .comment .metadata {
85
+ display: inline-block;
86
+ margin-left: 0.3em;
87
+ color: rgba(0, 0, 0, 0.4);
88
+ }
89
+ .ui.comments .comment .metadata > * {
90
+ display: inline-block;
91
+ margin: 0em 0.3em 0em 0em;
92
+ }
93
+
94
+ /*--------------------
95
+ Comment Text
96
+ ---------------------*/
97
+
98
+ .ui.comments .comment .text {
99
+ margin: 0.25em 0em 0.5em;
100
+ word-wrap: break-word;
101
+ }
102
+
103
+ /*--------------------
104
+ User Actions
105
+ ---------------------*/
106
+
107
+ .ui.comments .comment .actions {
108
+ font-size: 0.9em;
109
+ }
110
+ .ui.comments .comment .actions a {
111
+ display: inline-block;
112
+ margin: 0em 0.3em 0em 0em;
113
+ color: rgba(0, 0, 0, 0.3);
114
+ }
115
+ .ui.comments .comment .actions a.active,
116
+ .ui.comments .comment .actions a:hover {
117
+ color: rgba(0, 0, 0, 0.6);
118
+ }
119
+
120
+ /*--------------------
121
+ Reply Form
122
+ ---------------------*/
123
+
124
+ .ui.comments .reply.form {
125
+ margin-top: 0.75em;
126
+ width: 100%;
127
+ max-width: 30em;
128
+ }
129
+ .ui.comments .comment .reply.form {
130
+ margin-left: 2em;
131
+ }
132
+ .ui.comments > .reply.form {
133
+ margin-top: 1.5em;
134
+ max-width: 40em;
135
+ }
136
+ .ui.comments .reply.form textarea {
137
+ height: 12em;
138
+ }
139
+
140
+
141
+
142
+ /*--------------------
143
+ Nested Comments
144
+ ---------------------*/
145
+
146
+ .ui.comments .comment .comments {
147
+ margin-top: 0.5em;
148
+ padding-top: 0.5em;
149
+ padding-bottom: 1em;
150
+ }
151
+ .ui.comments .comment .comments:before{
152
+ position: absolute;
153
+ top: 0px;
154
+ left: 0px;
155
+ }
156
+ /* One Deep */
157
+ .ui.comments > .comment .comments {
158
+ margin-left: 2em;
159
+
160
+ }
161
+ /* Two Deep */
162
+ .ui.comments > .comment > .comments > .comment > .comments {
163
+ margin-left: 1.75em;
164
+ }
165
+ /* Three Deep */
166
+ .ui.comments > .comment > .comments > .comment > .comments > .comment > .comments {
167
+ margin-left: 1.5em;
168
+ }
169
+ /* Four Deep or more */
170
+ .ui.comments > .comment > .comments > .comment > .comments > .comment > .comments > .comment .comments {
171
+ margin-left: 0.5em;
172
+ }
173
+
174
+
175
+ /*******************************
176
+ Variations
177
+ *******************************/
178
+
179
+ /*--------------------
180
+ Threaded
181
+ ---------------------*/
182
+
183
+ .ui.threaded.comments .comment .comments {
184
+ margin-left: 2em !important;
185
+ padding-left: 2em !important;
186
+
187
+ -webkit-box-shadow: -1px 0px 0px rgba(0, 0, 0, 0.05);
188
+ -moz-box-shadow: -1px 0px 0px rgba(0, 0, 0, 0.05);
189
+ box-shadow: -1px 0px 0px rgba(0, 0, 0, 0.05);
190
+ }
191
+
192
+ /*--------------------
193
+ Minimal
194
+ ---------------------*/
195
+
196
+ .ui.minimal.comments .comment .actions {
197
+ opacity: 0;
198
+
199
+ -webkit-transition: opacity 0.1s ease-out;
200
+ -moz-transition: opacity 0.1s ease-out;
201
+ -o-transition: opacity 0.1s ease-out;
202
+ -ms-transition: opacity 0.1s ease-out;
203
+ transition: opacity 0.1s ease-out;
204
+
205
+ -webkit-transition-delay: 0.1s;
206
+ -moz-transition-delay: 0.1s;
207
+ -o-transition-delay: 0.1s;
208
+ -ms-transition-delay: 0.1s;
209
+ transition-delay: 0.1s;
210
+ }
211
+ .ui.minimal.comments .comment > .content:hover > .actions {
212
+ opacity: 1;
213
+ }
214
+
215
+ /*--------------------
216
+ Sizes
217
+ ---------------------*/
218
+
219
+ .ui.small.comments {
220
+ font-size: 0.875em;
221
+ }
@@ -0,0 +1,152 @@
1
+ /*
2
+ * # Activity Feed View
3
+ * http://github.com/jlukic/semantic-ui/
4
+ *
5
+ *
6
+ * Copyright 2013 Contributors
7
+ * Released under the MIT license
8
+ * http://opensource.org/licenses/MIT
9
+ *
10
+ * Released: May 22, 2013
11
+ */
12
+
13
+
14
+ /*******************************
15
+ Activity Feed
16
+ *******************************/
17
+
18
+ .ui.feed {
19
+
20
+ }
21
+
22
+ .ui.feed a {
23
+ cursor: pointer;
24
+ }
25
+
26
+ .ui.feed,
27
+ .ui.feed .event,
28
+ .ui.feed .label,
29
+ .ui.feed .content,
30
+ .ui.feed .extra {
31
+ -webkit-box-sizing: border-box;
32
+ -moz-box-sizing: border-box;
33
+ -ms-box-sizing: border-box;
34
+ box-sizing: border-box;
35
+ }
36
+
37
+
38
+ /*******************************
39
+ Content
40
+ *******************************/
41
+
42
+ /* Event */
43
+ .ui.feed .event {
44
+ width: 100%;
45
+ display: table;
46
+ padding: 1em;
47
+ }
48
+ .ui.feed .event:first-child {
49
+ border-top: 0px;
50
+ }
51
+ .ui.feed .event:last-child {
52
+ margin-bottom: 1em;
53
+ }
54
+
55
+ /* Event Label */
56
+ .ui.feed .label {
57
+ width: 3em;
58
+ display: table-cell;
59
+ vertical-align: top;
60
+ text-align: left;
61
+ }
62
+ .ui.feed .label .icon {
63
+ font-size: 1.5em;
64
+ padding: 0.5em;
65
+ margin: 0em;
66
+ }
67
+ .ui.feed .label img {
68
+ width: 3em;
69
+ margin: 0em;
70
+ border-radius: 50em;
71
+ }
72
+ .ui.feed .label + .content {
73
+ padding: 0.75em 1em 0em;
74
+ }
75
+
76
+ /* Content */
77
+ .ui.feed .content {
78
+ display: table-cell;
79
+ vertical-align: top;
80
+ text-align: left;
81
+ word-wrap: break-word;
82
+ }
83
+
84
+ /* Date */
85
+ .ui.feed .content .date {
86
+ float: right;
87
+ padding-left: 1em;
88
+ color: rgba(0, 0, 0, 0.4);
89
+ }
90
+
91
+ /* Summary */
92
+ .ui.feed .content .summary {
93
+ color: rgba(0, 0, 0, 0.75);
94
+ }
95
+ .ui.feed .content .summary img {
96
+ display: inline-block;
97
+ margin-right: 0.25em;
98
+ width: 4em;
99
+ border-radius: 500px;
100
+ }
101
+
102
+ /* Additional Information */
103
+ .ui.feed .content .extra {
104
+ margin: 1em 0em 0em;
105
+ padding: 0.5em 0em 0em;
106
+ color: rgba(0, 0, 0, 0.5);
107
+ }
108
+
109
+ .ui.feed .content .extra.images {
110
+
111
+ }
112
+ .ui.feed .content .extra.images img {
113
+ display: inline-block;
114
+ margin-right: 0.25em;
115
+ width: 6em;
116
+ }
117
+
118
+ .ui.feed .content .extra.text {
119
+ padding: 0.5em 1em;
120
+ border-left: 0.2em solid rgba(0, 0, 0, 0.1);
121
+ }
122
+
123
+
124
+
125
+ /*******************************
126
+ Variations
127
+ *******************************/
128
+
129
+ .ui.small.feed {
130
+ font-size: 0.875em;
131
+ }
132
+ .ui.small.feed .label img {
133
+ width: 2.5em;
134
+ }
135
+ .ui.small.feed .label .icon {
136
+ font-size: 1.25em;
137
+ }
138
+ .ui.feed .event {
139
+ padding: 0.75em 0em;
140
+ }
141
+ .ui.small.feed .label + .content {
142
+ padding: 0.5em 0.5em 0;
143
+ }
144
+ .ui.small.feed .content .extra.images img {
145
+ width: 5em;
146
+ }
147
+ .ui.small.feed .content .extra {
148
+ margin: 0.5em 0em 0em;
149
+ }
150
+ .ui.small.feed .content .extra.text {
151
+ padding: 0.25em 0.5em;
152
+ }