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,185 @@
1
+ /*
2
+ * # Semantic Dimmer
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
+ Dimmer
14
+ *******************************/
15
+ .ui.dimmable {
16
+ position: relative;
17
+ }
18
+ .ui.dimmer {
19
+ display: none;
20
+ position: absolute;
21
+ top: 0em !important;
22
+ left: 0em !important;
23
+ width: 0%;
24
+ height: 0%;
25
+ text-align: center;
26
+ vertical-align: middle;
27
+ background-color: rgba(0, 0, 0, 0.85);
28
+ opacity: 0;
29
+ line-height: 1;
30
+ -webkit-animation-fill-mode: both;
31
+ -moz-animation-fill-mode: both;
32
+ -o-animation-fill-mode: both;
33
+ -ms-animation-fill-mode: both;
34
+ animation-fill-mode: both;
35
+ -webkit-animation-duration: 0.5s;
36
+ -moz-animation-duration: 0.5s;
37
+ -o-animation-duration: 0.5s;
38
+ -ms-animation-duration: 0.5s;
39
+ animation-duration: 0.5s;
40
+ -webkit-transition: background-color 0.5s linear;
41
+ -moz-transition: background-color 0.5s linear;
42
+ -o-transition: background-color 0.5s linear;
43
+ -ms-transition: background-color 0.5s linear;
44
+ transition: background-color 0.5s linear;
45
+ -webkit-user-select: none;
46
+ -moz-user-select: none;
47
+ -ms-user-select: none;
48
+ user-select: none;
49
+ -webkit-box-sizing: border-box;
50
+ -moz-box-sizing: border-box;
51
+ -ms-box-sizing: border-box;
52
+ box-sizing: border-box;
53
+ z-index: 1000;
54
+ }
55
+ /*
56
+ .ui.dimmed.dimmable > :not(.dimmer) {
57
+ -webkit-transition:
58
+ filter 0.5s ease
59
+ ;
60
+ -moz-transition:
61
+ filter 0.5s ease
62
+ ;
63
+ -o-transition:
64
+ filter 0.5s ease
65
+ ;
66
+ -ms-transition:
67
+ filter 0.5s ease
68
+ ;
69
+ transition:
70
+ filter 0.5s ease
71
+ ;
72
+ }
73
+ */
74
+ /* Dimmer Content */.ui.dimmer > .content {
75
+ width: 100%;
76
+ height: 100%;
77
+ display: table;
78
+ -webkit-user-select: text;
79
+ -moz-user-select: text;
80
+ -ms-user-select: text;
81
+ user-select: text;
82
+ }
83
+ .ui.dimmer > .content > div {
84
+ display: table-cell;
85
+ vertical-align: middle;
86
+ color: #FFFFFF;
87
+ }
88
+ /* Loose Coupling */
89
+ .ui.segment > .ui.dimmer {
90
+ -webkit-border-radius: 5px;
91
+ -moz-border-radius: 5px;
92
+ border-radius: 5px;
93
+ }
94
+ .ui.horizontal.segment > .ui.dimmer,
95
+ .ui.vertical.segment > .ui.dimmer {
96
+ -webkit-border-radius: 5px;
97
+ -moz-border-radius: 5px;
98
+ border-radius: 5px;
99
+ }
100
+ /*******************************
101
+ States
102
+ *******************************/
103
+ /*
104
+ .ui.dimmed.dimmable > :not(.dimmer) {
105
+ -webkit-filter: ~"blur(5px) grayscale(0.7)";
106
+ -moz-filter: ~"blur(5px) grayscale(0.7)";
107
+ }
108
+ */
109
+ .ui.dimmed.dimmable > .ui.dimmer,
110
+ .ui.active.dimmer {
111
+ display: block;
112
+ width: 100%;
113
+ height: 100%;
114
+ opacity: 1;
115
+ }
116
+ .ui.disabled.dimmer {
117
+ width: 0em !important;
118
+ height: 0em !important;
119
+ }
120
+ /*******************************
121
+ Variations
122
+ *******************************/
123
+ /*--------------
124
+ Page
125
+ ---------------*/
126
+ .ui.page.dimmer {
127
+ position: fixed;
128
+ -webkit-perspective: 2000px;
129
+ -moz-perspective: 2000px;
130
+ perspective: 2000px;
131
+ -webkit-transform-origin: top center;
132
+ -moz-transform-origin: top center;
133
+ -o-transform-origin: top center;
134
+ -ms-transform-origin: top center;
135
+ transform-origin: top center;
136
+ }
137
+ /*
138
+ body.ui.dimmed.dimmable > :not(.dimmer){
139
+ -webkit-filter: ~"blur(15px) grayscale(0.7)";
140
+ -moz-filter: ~"blur(15px) grayscale(0.7)";
141
+ }
142
+ */
143
+ /*--------------
144
+ Aligned
145
+ ---------------*/
146
+ .ui.dimmer > .top.aligned.content > * {
147
+ vertical-align: top;
148
+ }
149
+ .ui.dimmer > .bottom.aligned.content > * {
150
+ vertical-align: bottom;
151
+ }
152
+ /*--------------
153
+ Inverted
154
+ ---------------*/
155
+ .ui.inverted.dimmer {
156
+ background-color: rgba(255, 255, 255, 0.85);
157
+ }
158
+ .ui.inverted.dimmer > .content > * {
159
+ color: rgba(0, 0, 0, 0.8);
160
+ }
161
+ /*--------------
162
+ Simple
163
+ ---------------*/
164
+ /* Displays without javascript */
165
+ .ui.simple.dimmer {
166
+ display: block;
167
+ overflow: hidden;
168
+ opacity: 1;
169
+ z-index: -100;
170
+ background-color: rgba(0, 0, 0, 0);
171
+ }
172
+ .ui.dimmed.dimmable > .ui.simple.dimmer {
173
+ overflow: visible;
174
+ opacity: 1;
175
+ width: 100%;
176
+ height: 100%;
177
+ background-color: rgba(0, 0, 0, 0.85);
178
+ z-index: 1;
179
+ }
180
+ .ui.simple.inverted.dimmer {
181
+ background-color: rgba(255, 255, 255, 0);
182
+ }
183
+ .ui.dimmed.dimmable > .ui.simple.inverted.dimmer {
184
+ background-color: rgba(255, 255, 255, 0.85);
185
+ }
@@ -0,0 +1,155 @@
1
+ /*
2
+ * # Dividers
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
+ Divider
14
+ *******************************/
15
+ .ui.divider {
16
+ margin: 1rem 0rem;
17
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
18
+ border-bottom: 1px solid rgba(255, 255, 255, 0.8);
19
+ line-height: 1;
20
+ height: 0em;
21
+ -webkit-box-sizing: border-box;
22
+ -moz-box-sizing: border-box;
23
+ -ms-box-sizing: border-box;
24
+ box-sizing: border-box;
25
+ -webkit-user-select: none;
26
+ -moz-user-select: none;
27
+ -ms-user-select: none;
28
+ user-select: none;
29
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
30
+ }
31
+ .ui.vertical.divider,
32
+ .ui.horizontal.divider {
33
+ position: absolute;
34
+ border: none;
35
+ height: 0em;
36
+ margin: 0em;
37
+ background-color: transparent;
38
+ font-size: 0.875rem;
39
+ font-weight: bold;
40
+ text-align: center;
41
+ text-transform: uppercase;
42
+ color: rgba(0, 0, 0, 0.8);
43
+ }
44
+ /*--------------
45
+ Vertical
46
+ ---------------*/
47
+ .ui.vertical.divider {
48
+ position: absolute;
49
+ z-index: 2;
50
+ top: 50%;
51
+ left: 50%;
52
+ margin: 0% 0% 0% -3%;
53
+ width: 6%;
54
+ height: 50%;
55
+ line-height: 0;
56
+ padding: 0em;
57
+ }
58
+ .ui.vertical.divider:before,
59
+ .ui.vertical.divider:after {
60
+ position: absolute;
61
+ left: 50%;
62
+ content: " ";
63
+ z-index: 3;
64
+ border-left: 1px solid rgba(0, 0, 0, 0.1);
65
+ border-right: 1px solid rgba(255, 255, 255, 0.8);
66
+ width: 0%;
67
+ height: 80%;
68
+ }
69
+ .ui.vertical.divider:before {
70
+ top: -100%;
71
+ }
72
+ .ui.vertical.divider:after {
73
+ top: auto;
74
+ bottom: 0px;
75
+ }
76
+ /*--------------
77
+ Horizontal
78
+ ---------------*/
79
+ .ui.horizontal.divider {
80
+ position: relative;
81
+ top: 0%;
82
+ left: 0%;
83
+ margin: 1rem 1.5rem;
84
+ height: auto;
85
+ padding: 0em;
86
+ line-height: 1;
87
+ }
88
+ .ui.horizontal.divider:before,
89
+ .ui.horizontal.divider:after {
90
+ position: absolute;
91
+ content: " ";
92
+ z-index: 3;
93
+ width: 50%;
94
+ top: 50%;
95
+ height: 0%;
96
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
97
+ border-bottom: 1px solid rgba(255, 255, 255, 0.8);
98
+ }
99
+ .ui.horizontal.divider:before {
100
+ left: 0%;
101
+ margin-left: -1.5rem;
102
+ }
103
+ .ui.horizontal.divider:after {
104
+ left: auto;
105
+ right: 0%;
106
+ margin-right: -1.5rem;
107
+ }
108
+ /*--------------
109
+ Icon
110
+ ---------------*/
111
+ .ui.divider > .icon {
112
+ margin: 0em;
113
+ font-size: 1rem;
114
+ vertical-align: middle;
115
+ }
116
+ /*******************************
117
+ Variations
118
+ *******************************/
119
+ /*--------------
120
+ Inverted
121
+ ---------------*/
122
+ .ui.divider.inverted {
123
+ color: #ffffff;
124
+ }
125
+ .ui.vertical.inverted.divider,
126
+ .ui.horizontal.inverted.divider {
127
+ color: rgba(255, 255, 255, 0.9);
128
+ }
129
+ .ui.divider.inverted,
130
+ .ui.divider.inverted:after,
131
+ .ui.divider.inverted:before {
132
+ border-top-color: rgba(0, 0, 0, 0.15);
133
+ border-bottom-color: rgba(255, 255, 255, 0.15);
134
+ border-left-color: rgba(0, 0, 0, 0.15);
135
+ border-right-color: rgba(255, 255, 255, 0.15);
136
+ }
137
+ /*--------------
138
+ Fitted
139
+ ---------------*/
140
+ .ui.fitted.divider {
141
+ margin: 0em;
142
+ }
143
+ /*--------------
144
+ Clearing
145
+ ---------------*/
146
+ .ui.clearing.divider {
147
+ clear: both;
148
+ }
149
+ /*--------------
150
+ Section
151
+ ---------------*/
152
+ .ui.section.divider {
153
+ margin-top: 2rem;
154
+ margin-bottom: 2rem;
155
+ }