semantic-ui-rails 0.1.0 → 0.1.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.
- checksums.yaml +4 -4
- data/lib/generators/semantic/install/install_generator.rb +3 -3
- data/lib/generators/semantic/install/templates/semantic-ui.css.less +47 -0
- data/lib/semantic/ui/rails/version.rb +1 -1
- data/semantic.thor +29 -25
- data/vendor/assets/javascripts/semantic-ui/modules/accordion.js +7 -0
- data/vendor/assets/javascripts/semantic-ui/modules/chatroom.js +1 -1
- data/vendor/assets/javascripts/semantic-ui/modules/checkbox.js +2 -5
- data/vendor/assets/javascripts/semantic-ui/modules/dimmer.js +73 -49
- data/vendor/assets/javascripts/semantic-ui/modules/dropdown.js +135 -136
- data/vendor/assets/javascripts/semantic-ui/modules/modal.js +196 -125
- data/vendor/assets/javascripts/semantic-ui/modules/popup.js +3 -6
- data/vendor/assets/javascripts/semantic-ui/modules/rating.js +80 -38
- data/vendor/assets/javascripts/semantic-ui/modules/sidebar.js +17 -20
- data/vendor/assets/javascripts/semantic-ui/modules/tab.js +32 -20
- data/vendor/assets/javascripts/semantic-ui/modules/transition.js +2 -0
- data/vendor/assets/stylesheets/semantic-ui/collections/form.less +15 -2
- data/vendor/assets/stylesheets/semantic-ui/collections/grid.less +20 -39
- data/vendor/assets/stylesheets/semantic-ui/collections/menu.less +12 -12
- data/vendor/assets/stylesheets/semantic-ui/elements/basic.icon.less +203 -198
- data/vendor/assets/stylesheets/semantic-ui/elements/button.less +17 -6
- data/vendor/assets/stylesheets/semantic-ui/elements/header.less +49 -31
- data/vendor/assets/stylesheets/semantic-ui/elements/icon.less +9 -13
- data/vendor/assets/stylesheets/semantic-ui/elements/image.less +13 -1
- data/vendor/assets/stylesheets/semantic-ui/elements/input.less +1 -1
- data/vendor/assets/stylesheets/semantic-ui/elements/loader.less +8 -8
- data/vendor/assets/stylesheets/semantic-ui/modules/checkbox.less +1 -1
- data/vendor/assets/stylesheets/semantic-ui/modules/dimmer.less +13 -5
- data/vendor/assets/stylesheets/semantic-ui/modules/dropdown.less +48 -8
- data/vendor/assets/stylesheets/semantic-ui/modules/modal.less +72 -13
- data/vendor/assets/stylesheets/semantic-ui/modules/rating.less +38 -35
- data/vendor/assets/stylesheets/semantic-ui/modules/search.less +1 -1
- data/vendor/assets/stylesheets/semantic-ui/modules/tab.less +1 -1
- data/vendor/assets/stylesheets/semantic-ui/modules/transition.less +283 -25
- data/vendor/assets/stylesheets/semantic-ui/views/list.less +24 -2
- metadata +3 -7
- data/lib/generators/semantic/install/templates/semantic-ui/collections.less +0 -6
- data/lib/generators/semantic/install/templates/semantic-ui/elements.less +0 -12
- data/lib/generators/semantic/install/templates/semantic-ui/modules.less +0 -16
- data/lib/generators/semantic/install/templates/semantic-ui/views.less +0 -6
- data/vendor/assets/stylesheets/semantic-ui/views/statistic.css +0 -27
@@ -57,12 +57,27 @@ ol.ui.list li,
|
|
57
57
|
line-height: 1.2;
|
58
58
|
}
|
59
59
|
|
60
|
+
.ui.list .item:after {
|
61
|
+
content: '';
|
62
|
+
display: block;
|
63
|
+
height: 0;
|
64
|
+
clear: both;
|
65
|
+
visibility: hidden;
|
66
|
+
}
|
67
|
+
|
68
|
+
|
60
69
|
/* Icon */
|
61
70
|
.ui.list .item > .icon {
|
62
|
-
|
71
|
+
display: table-cell;
|
72
|
+
margin: 0em;
|
73
|
+
padding: 0em 0.5em 0em 0em;
|
74
|
+
vertical-align: middle;
|
75
|
+
}
|
76
|
+
.ui.list .item > .icon:only-child {
|
77
|
+
display: inline-block;
|
63
78
|
}
|
64
79
|
.ui.horizontal.list .item > .icon {
|
65
|
-
|
80
|
+
padding: 0em 0.25em 0em 0em;
|
66
81
|
}
|
67
82
|
|
68
83
|
/* Image */
|
@@ -83,6 +98,11 @@ ol.ui.list li,
|
|
83
98
|
vertical-align: middle;
|
84
99
|
line-height: 1.2;
|
85
100
|
}
|
101
|
+
.ui.list .item > .icon + .content {
|
102
|
+
display: table-cell;
|
103
|
+
vertical-align: top;
|
104
|
+
padding-left: 0.5em;
|
105
|
+
}
|
86
106
|
|
87
107
|
/* Link */
|
88
108
|
.ui.list a {
|
@@ -108,9 +128,11 @@ ol.ui.list li,
|
|
108
128
|
|
109
129
|
/* Floated Content */
|
110
130
|
.ui.list .item > .left.floated {
|
131
|
+
margin-right: 1em;
|
111
132
|
float: left;
|
112
133
|
}
|
113
134
|
.ui.list .item > .right.floated {
|
135
|
+
margin-left: 1em;
|
114
136
|
float: right;
|
115
137
|
}
|
116
138
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: semantic-ui-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0
|
4
|
+
version: 0.1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nd0ut
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: less-rails
|
@@ -107,11 +107,8 @@ files:
|
|
107
107
|
- README.md
|
108
108
|
- Rakefile
|
109
109
|
- lib/generators/semantic/install/install_generator.rb
|
110
|
+
- lib/generators/semantic/install/templates/semantic-ui.css.less
|
110
111
|
- lib/generators/semantic/install/templates/semantic-ui.js
|
111
|
-
- lib/generators/semantic/install/templates/semantic-ui/collections.less
|
112
|
-
- lib/generators/semantic/install/templates/semantic-ui/elements.less
|
113
|
-
- lib/generators/semantic/install/templates/semantic-ui/modules.less
|
114
|
-
- lib/generators/semantic/install/templates/semantic-ui/views.less
|
115
112
|
- lib/semantic/ui/rails.rb
|
116
113
|
- lib/semantic/ui/rails/engine.rb
|
117
114
|
- lib/semantic/ui/rails/version.rb
|
@@ -191,7 +188,6 @@ files:
|
|
191
188
|
- vendor/assets/stylesheets/semantic-ui/views/feed.less
|
192
189
|
- vendor/assets/stylesheets/semantic-ui/views/item.less
|
193
190
|
- vendor/assets/stylesheets/semantic-ui/views/list.less
|
194
|
-
- vendor/assets/stylesheets/semantic-ui/views/statistic.css
|
195
191
|
- vendor/assets/stylesheets/semantic-ui/views/statistic.less
|
196
192
|
homepage: ''
|
197
193
|
licenses:
|
@@ -1,6 +0,0 @@
|
|
1
|
-
@import 'semantic-ui/collections/table.less';
|
2
|
-
@import 'semantic-ui/collections/breadcrumb.less';
|
3
|
-
@import 'semantic-ui/collections/message.less';
|
4
|
-
@import 'semantic-ui/collections/grid.less';
|
5
|
-
@import 'semantic-ui/collections/menu.less';
|
6
|
-
@import 'semantic-ui/collections/form.less';
|
@@ -1,12 +0,0 @@
|
|
1
|
-
@import 'semantic-ui/elements/header.less';
|
2
|
-
@import 'semantic-ui/elements/progress.less';
|
3
|
-
@import 'semantic-ui/elements/segment.less';
|
4
|
-
@import 'semantic-ui/elements/loader.less';
|
5
|
-
@import 'semantic-ui/elements/step.less';
|
6
|
-
@import 'semantic-ui/elements/button.less';
|
7
|
-
@import 'semantic-ui/elements/input.less';
|
8
|
-
@import 'semantic-ui/elements/label.less';
|
9
|
-
@import 'semantic-ui/elements/divider.less';
|
10
|
-
@import 'semantic-ui/elements/image.less';
|
11
|
-
@import 'semantic-ui/elements/basic.icon.less';
|
12
|
-
@import 'semantic-ui/elements/icon.less';
|
@@ -1,16 +0,0 @@
|
|
1
|
-
@import 'semantic-ui/modules/popup.less';
|
2
|
-
@import 'semantic-ui/modules/dimmer.less';
|
3
|
-
@import 'semantic-ui/modules/rating.less';
|
4
|
-
@import 'semantic-ui/modules/accordion.less';
|
5
|
-
@import 'semantic-ui/modules/transition.less';
|
6
|
-
@import 'semantic-ui/modules/checkbox.less';
|
7
|
-
@import 'semantic-ui/modules/search.less';
|
8
|
-
@import 'semantic-ui/modules/video.less';
|
9
|
-
@import 'semantic-ui/modules/nag.less';
|
10
|
-
@import 'semantic-ui/modules/shape.less';
|
11
|
-
@import 'semantic-ui/modules/modal.less';
|
12
|
-
@import 'semantic-ui/modules/sidebar.less';
|
13
|
-
@import 'semantic-ui/modules/reveal.less';
|
14
|
-
@import 'semantic-ui/modules/tab.less';
|
15
|
-
@import 'semantic-ui/modules/dropdown.less';
|
16
|
-
@import 'semantic-ui/modules/chatroom.less';
|
@@ -1,27 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* # Statistic
|
3
|
-
*
|
4
|
-
*
|
5
|
-
* Copyright 2013 Contributors
|
6
|
-
* Released under the MIT license
|
7
|
-
* http://opensource.org/licenses/MIT
|
8
|
-
*
|
9
|
-
* Released: Aug 20, 2013
|
10
|
-
*/
|
11
|
-
/*******************************
|
12
|
-
Statistic
|
13
|
-
*******************************/
|
14
|
-
.ui.statistic {
|
15
|
-
text-align: center;
|
16
|
-
}
|
17
|
-
/*******************************
|
18
|
-
Content
|
19
|
-
*******************************/
|
20
|
-
.ui.statistic > .number {
|
21
|
-
font-size: 4em;
|
22
|
-
font-weight: bold;
|
23
|
-
color: rgba(0, 0, 0, 0.7);
|
24
|
-
}
|
25
|
-
.ui.statistic > .description {
|
26
|
-
opacity: 0.8;
|
27
|
-
}
|