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,222 @@
1
+ /*
2
+ * # Semantic Search
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
+ Search
14
+ *******************************/
15
+ .ui.search {
16
+ position: relative;
17
+ text-shadow: none;
18
+ font-style: normal;
19
+ font-weight: normal;
20
+ }
21
+ .ui.search input {
22
+ -webkit-border-radius: 500rem;
23
+ -moz-border-radius: 500rem;
24
+ border-radius: 500rem;
25
+ }
26
+ /*--------------
27
+ Button
28
+ ---------------*/
29
+ .ui.search > .button {
30
+ position: relative;
31
+ z-index: 2;
32
+ float: right;
33
+ margin: 0px 0px 0px -15px;
34
+ padding: 6px 15px 7px;
35
+ -webkit-border-radius: 0px 15px 15px 0px;
36
+ -moz-border-radius: 0px 15px 15px 0px;
37
+ border-radius: 0px 15px 15px 0px;
38
+ -webkit-box-shadow: none;
39
+ -moz-box-shadow: none;
40
+ box-shadow: none;
41
+ }
42
+ /*--------------
43
+ Results
44
+ ---------------*/
45
+ .ui.search .results {
46
+ display: none;
47
+ position: absolute;
48
+ z-index: 999;
49
+ top: 100%;
50
+ left: 0px;
51
+ overflow: hidden;
52
+ background-color: #FFFFFF;
53
+ margin-top: 0.5em;
54
+ width: 380px;
55
+ font-size: 0.875em;
56
+ line-height: 1.2;
57
+ color: #555555;
58
+ -webkit-border-radius: 3px;
59
+ -moz-border-radius: 3px;
60
+ border-radius: 3px;
61
+ -webkit-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1), 0px -2px 0px 0px rgba(0, 0, 0, 0.1) inset;
62
+ -moz-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1), 0px -2px 0px 0px rgba(0, 0, 0, 0.1) inset;
63
+ box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1), 0px -2px 0px 0px rgba(0, 0, 0, 0.1) inset;
64
+ }
65
+ .ui.search .result {
66
+ cursor: pointer;
67
+ overflow: hidden;
68
+ padding: 0.5em 1em;
69
+ }
70
+ .ui.search .result:first-child {
71
+ border-top: none;
72
+ }
73
+ .ui.search .result .image {
74
+ background: #F0F0F0;
75
+ margin-right: 10px;
76
+ float: left;
77
+ overflow: hidden;
78
+ -webkit-border-radius: 3px;
79
+ -moz-border-radius: 3px;
80
+ border-radius: 3px;
81
+ width: 38px;
82
+ height: 38px;
83
+ }
84
+ .ui.search .result .image img {
85
+ display: block;
86
+ width: 38px;
87
+ height: 38px;
88
+ }
89
+ .ui.search .result .image ~ .info {
90
+ float: none;
91
+ margin-left: 50px;
92
+ }
93
+ .ui.search .result .info {
94
+ float: left;
95
+ }
96
+ .ui.search .result .title {
97
+ font-weight: bold;
98
+ color: rgba(0, 0, 0, 0.8);
99
+ }
100
+ .ui.search .result .description {
101
+ color: rgba(0, 0, 0, 0.6);
102
+ }
103
+ .ui.search .result .price {
104
+ float: right;
105
+ color: #5BBD72;
106
+ font-weight: bold;
107
+ }
108
+ /*--------------
109
+ Message
110
+ ---------------*/
111
+ .ui.search .message {
112
+ padding: 1em;
113
+ }
114
+ .ui.search .message .text .title {
115
+ margin: 0em 0em 0.5rem;
116
+ font-size: 1.25rem;
117
+ font-weight: bold;
118
+ color: rgba(0, 0, 0, 0.8);
119
+ }
120
+ .ui.search .message .text .description {
121
+ margin: 0em;
122
+ font-size: 1rem;
123
+ color: rgba(0, 0, 0, 0.5);
124
+ }
125
+ /*--------------
126
+ Categories
127
+ ---------------*/
128
+ .ui.search .results .category {
129
+ background-color: #FAFAFA;
130
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
131
+ -webkit-transition: background 0.2s ease-in;
132
+ -moz-transition: background 0.2s ease-in;
133
+ -o-transition: background 0.2s ease-in;
134
+ -ms-transition: background 0.2s ease-in;
135
+ transition: background 0.2s ease-in;
136
+ }
137
+ .ui.search .results .category:first-child {
138
+ border-top: none;
139
+ }
140
+ .ui.search .results .category > .name {
141
+ float: left;
142
+ padding: 12px 0px 0px 8px;
143
+ font-weight: bold;
144
+ color: #777777;
145
+ text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
146
+ }
147
+ .ui.search .results .category .result {
148
+ background-color: #FFFFFF;
149
+ margin-left: 80px;
150
+ border-left: 1px solid rgba(0, 0, 0, 0.1);
151
+ }
152
+ /* View All Results */
153
+ .ui.search .all {
154
+ display: block;
155
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
156
+ background-color: #FAFAFA;
157
+ height: 2em;
158
+ line-height: 2em;
159
+ color: rgba(0, 0, 0, 0.6);
160
+ font-weight: bold;
161
+ text-align: center;
162
+ }
163
+ /*******************************
164
+ States
165
+ *******************************/
166
+ /*--------------
167
+ Hover
168
+ ---------------*/
169
+ .ui.search .result:hover,
170
+ .ui.search .category .result:hover {
171
+ background-color: #F8F8F8;
172
+ }
173
+ .ui.search .all:hover {
174
+ background-color: #F0F0F0;
175
+ }
176
+ /*--------------
177
+ Loading
178
+ ---------------*/
179
+ .ui.search.loading .input .icon {
180
+ background: url(../images/loader-mini.gif) no-repeat 50% 50%;
181
+ }
182
+ .ui.search.loading .input .icon:before,
183
+ .ui.search.loading .input .icon:after {
184
+ display: none;
185
+ }
186
+ /*--------------
187
+ Active
188
+ ---------------*/
189
+ .ui.search .results .category.active {
190
+ background-color: #F1F1F1;
191
+ }
192
+ .ui.search .results .category.active > .name {
193
+ color: #333333;
194
+ }
195
+ .ui.search .result.active,
196
+ .ui.search .category .result.active {
197
+ background-color: #FBFBFB;
198
+ }
199
+ .ui.search .result.active .title {
200
+ color: #000000;
201
+ }
202
+ .ui.search .result.active .description {
203
+ color: #555555;
204
+ }
205
+ /*******************************
206
+ Variations
207
+ *******************************/
208
+ /* Large */
209
+ .ui.search .large.result .image,
210
+ .ui.search .large.result .image img {
211
+ width: 50px;
212
+ height: 50px;
213
+ }
214
+ .ui.search .large.results .indented.info {
215
+ margin-left: 65px;
216
+ }
217
+ .ui.search .large.results .info .title {
218
+ font-size: 16px;
219
+ }
220
+ .ui.search .large.results .info .description {
221
+ font-size: 11px;
222
+ }
@@ -0,0 +1,362 @@
1
+ /*
2
+ * # Semantic Segment - 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: May 17 2013
11
+ */
12
+ /*******************************
13
+ Segment
14
+ *******************************/
15
+ .ui.segment {
16
+ position: relative;
17
+ background-color: #FFFFFF;
18
+ -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
19
+ -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
20
+ box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
21
+ margin: 1em 0em;
22
+ padding: 1em;
23
+ -webkit-border-radius: 5px 5px 5px 5px;
24
+ -moz-border-radius: 5px 5px 5px 5px;
25
+ border-radius: 5px 5px 5px 5px;
26
+ -webkit-box-sizing: border-box;
27
+ -moz-box-sizing: border-box;
28
+ -ms-box-sizing: border-box;
29
+ box-sizing: border-box;
30
+ }
31
+ .ui.segment:first-child {
32
+ margin-top: 0em;
33
+ }
34
+ .ui.segment:last-child {
35
+ margin-bottom: 0em;
36
+ }
37
+ .ui.segment:after {
38
+ content: '';
39
+ display: block;
40
+ height: 0;
41
+ clear: both;
42
+ visibility: hidden;
43
+ }
44
+ .ui.vertical.segment {
45
+ margin: 0em;
46
+ padding-left: 0em;
47
+ padding-right: 0em;
48
+ background-color: transparent;
49
+ -webkit-border-radius: 0px;
50
+ -moz-border-radius: 0px;
51
+ border-radius: 0px;
52
+ -webkit-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
53
+ -moz-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
54
+ box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
55
+ }
56
+ .ui.vertical.segment:first-child {
57
+ padding-top: 0em;
58
+ }
59
+ .ui.horizontal.segment {
60
+ margin: 0em;
61
+ padding-top: 0em;
62
+ padding-bottom: 0em;
63
+ background-color: transparent;
64
+ -webkit-border-radius: 0px;
65
+ -moz-border-radius: 0px;
66
+ border-radius: 0px;
67
+ -webkit-box-shadow: 1px 0px 0px rgba(0, 0, 0, 0.1);
68
+ -moz-box-shadow: 1px 0px 0px rgba(0, 0, 0, 0.1);
69
+ box-shadow: 1px 0px 0px rgba(0, 0, 0, 0.1);
70
+ }
71
+ .ui.horizontal.segment:first-child {
72
+ padding-left: 0em;
73
+ }
74
+ /*-------------------
75
+ Loose Coupling
76
+ --------------------*/
77
+ .ui.pointing.menu + .ui.attached.segment {
78
+ top: 1px;
79
+ }
80
+ /* No padding on edge content */
81
+ .ui.segment > :first-child {
82
+ margin-top: 0em;
83
+ }
84
+ .ui.segment > :last-child {
85
+ margin-bottom: 0em;
86
+ }
87
+ /* Padding on next content after a label */
88
+ .ui.segment > .attached.label:first-child + * {
89
+ margin-top: 2em;
90
+ }
91
+ .ui.segment > .bottom.attached.label:first-child ~ :last-child {
92
+ margin-top: 0em;
93
+ margin-bottom: 2em;
94
+ }
95
+ /*******************************
96
+ Types
97
+ *******************************/
98
+ /*-------------------
99
+ Piled
100
+ --------------------*/
101
+ .ui.piled.segment {
102
+ margin: 2em 0em;
103
+ -webkit-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.15);
104
+ -moz-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.15);
105
+ -ms-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.15);
106
+ -o-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.15);
107
+ box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.15);
108
+ }
109
+ .ui.piled.segment:first-child {
110
+ margin-top: 0em;
111
+ }
112
+ .ui.piled.segment:last-child {
113
+ margin-bottom: 0em;
114
+ }
115
+ .ui.piled.segment:after,
116
+ .ui.piled.segment:before {
117
+ background-color: #FFFFFF;
118
+ visibility: visible;
119
+ content: "";
120
+ display: block;
121
+ height: 100%;
122
+ left: -1px;
123
+ position: absolute;
124
+ width: 100%;
125
+ -webkit-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1);
126
+ -moz-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1);
127
+ box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1);
128
+ }
129
+ .ui.piled.segment:after {
130
+ -webkit-transform: rotate(1.2deg);
131
+ -moz-transform: rotate(1.2deg);
132
+ -ms-transform: rotate(1.2deg);
133
+ -o-transform: rotate(1.2deg);
134
+ transform: rotate(1.2deg);
135
+ top: 0;
136
+ z-index: -1;
137
+ }
138
+ .ui.piled.segment:before {
139
+ -webkit-transform: rotate(-1.2deg);
140
+ -moz-transform: rotate(-1.2deg);
141
+ -ms-transform: rotate(-1.2deg);
142
+ -o-transform: rotate(-1.2deg);
143
+ transform: rotate(-1.2deg);
144
+ top: 0;
145
+ z-index: -2;
146
+ }
147
+ /*-------------------
148
+ Stacked
149
+ --------------------*/
150
+ .ui.stacked.segment {
151
+ padding-bottom: 1.7em;
152
+ }
153
+ .ui.stacked.segment:after,
154
+ .ui.stacked.segment:before {
155
+ content: '';
156
+ position: absolute;
157
+ bottom: -3px;
158
+ left: 0%;
159
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
160
+ background-color: rgba(0, 0, 0, 0.02);
161
+ width: 100%;
162
+ height: 5px;
163
+ visibility: visible;
164
+ }
165
+ .ui.stacked.segment:before {
166
+ bottom: 0px;
167
+ }
168
+ /* Inverted */
169
+ .ui.stacked.inverted.segment:after,
170
+ .ui.stacked.inverted.segment:before {
171
+ background-color: rgba(255, 255, 255, 0.1);
172
+ border-top: 1px solid rgba(255, 255, 255, 0.35);
173
+ }
174
+ /*-------------------
175
+ Raised
176
+ --------------------*/
177
+ .ui.raised.segment {
178
+ -webkit-box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.1);
179
+ -moz-box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.1);
180
+ box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.1);
181
+ }
182
+ /*******************************
183
+ States
184
+ *******************************/
185
+ .ui.disabled.segment {
186
+ opacity: 0.8;
187
+ color: #DDDDDD;
188
+ }
189
+ /*******************************
190
+ Variations
191
+ *******************************/
192
+ /*-------------------
193
+ Basic
194
+ --------------------*/
195
+ .ui.basic.segment {
196
+ position: relative;
197
+ background-color: transparent;
198
+ -webkit-box-shadow: none;
199
+ -moz-box-shadow: none;
200
+ box-shadow: none;
201
+ -webkit-border-radius: 0px;
202
+ -moz-border-radius: 0px;
203
+ border-radius: 0px;
204
+ }
205
+ .ui.basic.segment:first-child {
206
+ padding-top: 0em;
207
+ }
208
+ .ui.basic.segment:last-child {
209
+ padding-bottom: 0em;
210
+ }
211
+ /*-------------------
212
+ Fittted
213
+ --------------------*/
214
+ .ui.fitted.segment {
215
+ padding: 0em;
216
+ }
217
+ /*-------------------
218
+ Colors
219
+ --------------------*/
220
+ .ui.blue.segment {
221
+ border-top: 0.2em solid #6ECFF5;
222
+ }
223
+ .ui.green.segment {
224
+ border-top: 0.2em solid #A1CF64;
225
+ }
226
+ .ui.red.segment {
227
+ border-top: 0.2em solid #D95C5C;
228
+ }
229
+ .ui.purple.segment {
230
+ border-top: 0.2em solid #564F8A;
231
+ }
232
+ .ui.teal.segment {
233
+ border-top: 0.2em solid #00B5AD;
234
+ }
235
+ /*-------------------
236
+ Inverted Colors
237
+ --------------------*/
238
+ .ui.inverted.black.segment {
239
+ background-color: #5C6166 !important;
240
+ color: #FFFFFF !important;
241
+ }
242
+ .ui.inverted.blue.segment {
243
+ background-color: #6ECFF5 !important;
244
+ color: #FFFFFF !important;
245
+ }
246
+ .ui.inverted.green.segment {
247
+ background-color: #A1CF64 !important;
248
+ color: #FFFFFF !important;
249
+ }
250
+ .ui.inverted.red.segment {
251
+ background-color: #D95C5C !important;
252
+ color: #FFFFFF !important;
253
+ }
254
+ .ui.inverted.purple.segment {
255
+ background-color: #564F8A !important;
256
+ color: #FFFFFF !important;
257
+ }
258
+ .ui.inverted.teal.segment {
259
+ background-color: #00B5AD !important;
260
+ color: #FFFFFF !important;
261
+ }
262
+ /*-------------------
263
+ Aligned
264
+ --------------------*/
265
+ .ui.left.aligned.segment {
266
+ text-align: left;
267
+ }
268
+ .ui.right.aligned.segment {
269
+ text-align: right;
270
+ }
271
+ .ui.center.aligned.segment {
272
+ text-align: center;
273
+ }
274
+ /*-------------------
275
+ Floated
276
+ --------------------*/
277
+ .ui.floated.segment,
278
+ .ui.left.floated.segment {
279
+ float: left;
280
+ }
281
+ .ui.right.floated.segment {
282
+ float: right;
283
+ }
284
+ /*-------------------
285
+ Inverted
286
+ --------------------*/
287
+ .ui.inverted.segment {
288
+ border: none;
289
+ -webkit-box-shadow: none;
290
+ -moz-box-shadow: none;
291
+ box-shadow: none;
292
+ }
293
+ .ui.inverted.segment,
294
+ .ui.primary.inverted.segment {
295
+ background-color: #222222;
296
+ color: #FFFFFF;
297
+ }
298
+ /*-------------------
299
+ Ordinality
300
+ --------------------*/
301
+ .ui.primary.segment {
302
+ background-color: #FFFFFF;
303
+ color: #555555;
304
+ }
305
+ .ui.secondary.segment {
306
+ background-color: #FAF9FA;
307
+ color: #777777;
308
+ }
309
+ .ui.tertiary.segment {
310
+ background-color: #EBEBEB;
311
+ color: #B0B0B0;
312
+ }
313
+ .ui.secondary.inverted.segment {
314
+ background-color: #555555;
315
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255, 255, 255, 0.3)), to(rgba(255, 255, 255, 0.3)));
316
+ background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
317
+ background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
318
+ background-image: -o-linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
319
+ background-image: linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
320
+ color: #FAFAFA;
321
+ }
322
+ .ui.tertiary.inverted.segment {
323
+ background-color: #555555;
324
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255, 255, 255, 0.6)), to(rgba(255, 255, 255, 0.6)));
325
+ background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.6) 100%);
326
+ background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.6) 100%);
327
+ background-image: -o-linear-gradient(rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.6) 100%);
328
+ background-image: linear-gradient(rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.6) 100%);
329
+ color: #EEEEEE;
330
+ }
331
+ /*-------------------
332
+ Attached
333
+ --------------------*/
334
+ .ui.segment.attached {
335
+ top: -1px;
336
+ bottom: -1px;
337
+ -moz-border-radius: 0px;
338
+ -webkit-border-radius: 0px;
339
+ border-radius: 0px;
340
+ margin: 0em;
341
+ -moz-box-shadow: 0px 0px 0px 1px #DDDDDD;
342
+ -webkit-box-shadow: 0px 0px 0px 1px #DDDDDD;
343
+ box-shadow: 0px 0px 0px 1px #DDDDDD;
344
+ }
345
+ .ui.top.attached.segment {
346
+ top: 0px;
347
+ bottom: -1px;
348
+ margin-top: 1em;
349
+ margin-bottom: 0em;
350
+ -moz-border-radius: 5px 5px 0px 0px;
351
+ -webkit-border-radius: 5px 5px 0px 0px;
352
+ border-radius: 5px 5px 0px 0px;
353
+ }
354
+ .ui.segment.bottom.attached {
355
+ top: -1px;
356
+ bottom: 0px;
357
+ margin-top: 0em;
358
+ margin-bottom: 1em;
359
+ -moz-border-radius: 0px 0px 5px 5px;
360
+ -webkit-border-radius: 0px 0px 5px 5px;
361
+ border-radius: 0px 0px 5px 5px;
362
+ }
@@ -0,0 +1,87 @@
1
+ /*
2
+ * # Semantic Button
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
+ Shape
14
+ *******************************/
15
+ .ui.shape {
16
+ position: relative;
17
+ -webkit-perspective: 2000px;
18
+ -moz-perspective: 2000px;
19
+ -ms-perspective: 2000px;
20
+ perspective: 2000px;
21
+ }
22
+ .ui.shape .sides {
23
+ -webkit-transform-style: preserve-3d;
24
+ -moz-transform-style: preserve-3d;
25
+ -ms-transform-style: preserve-3d;
26
+ transform-style: preserve-3d;
27
+ }
28
+ .ui.shape .side {
29
+ opacity: 1;
30
+ width: 100%;
31
+ -webkit-backface-visibility: hidden;
32
+ -moz-backface-visibility: hidden;
33
+ -ms-backface-visibility: hidden;
34
+ backface-visibility: hidden;
35
+ }
36
+ .ui.shape .side {
37
+ display: none;
38
+ }
39
+ /*******************************
40
+ States
41
+ *******************************/
42
+ /*--------------
43
+ Animating
44
+ ---------------*/
45
+ .ui.shape.animating .sides {
46
+ position: absolute;
47
+ }
48
+ .ui.shape .animating.side {
49
+ position: absolute;
50
+ width: 100%;
51
+ top: 0px;
52
+ left: 0px;
53
+ z-index: 100;
54
+ }
55
+ .ui.shape .hidden.side {
56
+ opacity: 0.4;
57
+ }
58
+ /*--------------
59
+ CSS
60
+ ---------------*/
61
+ .ui.shape.css {
62
+ -webkit-transition: all 0.6s ease-in-out;
63
+ -moz-transition: all 0.6s ease-in-out;
64
+ -o-transition: all 0.6s ease-in-out;
65
+ -ms-transition: all 0.6s ease-in-out;
66
+ transition: all 0.6s ease-in-out;
67
+ }
68
+ .ui.shape.css .sides {
69
+ -webkit-transition: all 0.6s ease-in-out;
70
+ -moz-transition: all 0.6s ease-in-out;
71
+ -o-transition: all 0.6s ease-in-out;
72
+ -ms-transition: all 0.6s ease-in-out;
73
+ transition: all 0.6s ease-in-out;
74
+ }
75
+ .ui.shape.css .side {
76
+ -webkit-transition: opacity 0.6s ease-in-out;
77
+ -moz-transition: opacity 0.6s ease-in-out;
78
+ -o-transition: opacity 0.6s ease-in-out;
79
+ -ms-transition: opacity 0.6s ease-in-out;
80
+ transition: opacity 0.6s ease-in-out;
81
+ }
82
+ /*--------------
83
+ Active
84
+ ---------------*/
85
+ .ui.shape .active.side {
86
+ display: block;
87
+ }