semantic-ui-rails 0.8.4.1 → 0.8.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/app/assets/javascripts/semantic-ui/modules/accordion.js +1 -1
- data/app/assets/javascripts/semantic-ui/modules/behavior/api.js +1 -1
- data/app/assets/javascripts/semantic-ui/modules/behavior/form.js +1 -1
- data/app/assets/javascripts/semantic-ui/modules/behavior/state.js +1 -1
- data/app/assets/javascripts/semantic-ui/modules/chatroom.js +1 -1
- data/app/assets/javascripts/semantic-ui/modules/checkbox.js +1 -1
- data/app/assets/javascripts/semantic-ui/modules/dimmer.js +1 -1
- data/app/assets/javascripts/semantic-ui/modules/dropdown.js +1 -1
- data/app/assets/javascripts/semantic-ui/modules/modal.js +2 -2
- data/app/assets/javascripts/semantic-ui/modules/nag.js +1 -1
- data/app/assets/javascripts/semantic-ui/modules/rating.js +1 -1
- data/app/assets/javascripts/semantic-ui/modules/search.js +1 -1
- data/app/assets/javascripts/semantic-ui/modules/shape.js +1 -1
- data/app/assets/javascripts/semantic-ui/modules/sidebar.js +1 -1
- data/app/assets/javascripts/semantic-ui/modules/tab.js +1 -1
- data/app/assets/javascripts/semantic-ui/modules/transition.js +1 -2
- data/app/assets/javascripts/semantic-ui/modules/video.js +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/image.less +181 -181
- data/app/assets/stylesheets/semantic-ui/modules/accordion.less +197 -197
- data/app/assets/stylesheets/semantic-ui/modules/chatroom.less +280 -280
- data/app/assets/stylesheets/semantic-ui/modules/dimmer.less +2 -0
- data/app/assets/stylesheets/semantic-ui/modules/modal.less +5 -2
- data/app/assets/stylesheets/semantic-ui/modules/nag.less +172 -172
- data/app/assets/stylesheets/semantic-ui/modules/popup.less +255 -255
- data/app/assets/stylesheets/semantic-ui/modules/video.less +98 -98
- data/lib/generators/semantic/install/templates/semantic-ui.css.less +1 -1
- data/lib/semantic/ui/rails/version.rb +1 -1
- data/semantic-ui-rails.gemspec +1 -0
- data/semantic.thor +15 -5
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b12ac9b8bbdd79cbeb1e2c163549882a7989d80
|
4
|
+
data.tar.gz: c024ffac7eb24535145ea900ebcced52a10d6574
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6077505cf91bc59ce74e69b4fcdab70b6cdc216f331f58ce1ae60a98c1c48aa9779eb94bce6d4648efd865c011d4fd072736909eb9d9b7a827ac2ea5e3e6dd8
|
7
|
+
data.tar.gz: 14c3c145068368ebc38ee4d9b2a50676384092e1074713963bdf106398287b41c23a77e12a7a97f078065d9e2880518f66bb87accd24d9144bb84deb1404e7c7
|
data/README.md
CHANGED
@@ -229,6 +229,7 @@ $.fn.modal = function(parameters) {
|
|
229
229
|
module.debug('Showing modal');
|
230
230
|
module.cacheSizes();
|
231
231
|
module.set.position();
|
232
|
+
module.set.type();
|
232
233
|
|
233
234
|
if( $otherModals.filter(':visible').size() > 0 ) {
|
234
235
|
module.debug('Other modals visible, queueing show animation');
|
@@ -421,7 +422,6 @@ $.fn.modal = function(parameters) {
|
|
421
422
|
active: function() {
|
422
423
|
module.add.keyboardShortcuts();
|
423
424
|
module.save.focus();
|
424
|
-
module.set.type();
|
425
425
|
$module
|
426
426
|
.addClass(className.active)
|
427
427
|
;
|
@@ -597,7 +597,7 @@ $.fn.modal = function(parameters) {
|
|
597
597
|
return false;
|
598
598
|
}
|
599
599
|
else {
|
600
|
-
module.error(error.method);
|
600
|
+
module.error(error.method, query);
|
601
601
|
return false;
|
602
602
|
}
|
603
603
|
});
|
@@ -577,7 +577,6 @@ $.fn.transition = function() {
|
|
577
577
|
return false;
|
578
578
|
}
|
579
579
|
else {
|
580
|
-
module.error(error.method);
|
581
580
|
return false;
|
582
581
|
}
|
583
582
|
});
|
@@ -597,7 +596,7 @@ $.fn.transition = function() {
|
|
597
596
|
else if(response !== undefined) {
|
598
597
|
returnedValue = response;
|
599
598
|
}
|
600
|
-
return found;
|
599
|
+
return found || false;
|
601
600
|
}
|
602
601
|
};
|
603
602
|
module.initialize();
|
@@ -1,181 +1,181 @@
|
|
1
|
-
/*
|
2
|
-
* # Semantic - Image
|
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
|
-
Image
|
15
|
-
*******************************/
|
16
|
-
|
17
|
-
.ui.image {
|
18
|
-
position: relative;
|
19
|
-
display: inline-block;
|
20
|
-
vertical-align: middle;
|
21
|
-
max-width: 100%;
|
22
|
-
background-color: rgba(0, 0, 0, 0.05);
|
23
|
-
}
|
24
|
-
img.ui.image {
|
25
|
-
display: block;
|
26
|
-
background: none;
|
27
|
-
}
|
28
|
-
.ui.image img {
|
29
|
-
display: block;
|
30
|
-
max-width: 100%;
|
31
|
-
height: auto;
|
32
|
-
}
|
33
|
-
|
34
|
-
/*******************************
|
35
|
-
States
|
36
|
-
*******************************/
|
37
|
-
|
38
|
-
|
39
|
-
.ui.disabled.image {
|
40
|
-
cursor: default;
|
41
|
-
opacity: 0.3;
|
42
|
-
}
|
43
|
-
|
44
|
-
|
45
|
-
/*******************************
|
46
|
-
Variations
|
47
|
-
*******************************/
|
48
|
-
|
49
|
-
/*--------------
|
50
|
-
Rounded
|
51
|
-
---------------*/
|
52
|
-
|
53
|
-
.ui.rounded.images .image,
|
54
|
-
.ui.rounded.images img,
|
55
|
-
.ui.rounded.image img,
|
56
|
-
.ui.rounded.image {
|
57
|
-
-webkit-border-radius: 0.3125em;
|
58
|
-
-moz-border-radius: 0.3125em;
|
59
|
-
border-radius: 0.3125em;
|
60
|
-
}
|
61
|
-
|
62
|
-
/*--------------
|
63
|
-
Circular
|
64
|
-
---------------*/
|
65
|
-
|
66
|
-
.ui.circular.images .image,
|
67
|
-
.ui.circular.images img,
|
68
|
-
.ui.circular.image img,
|
69
|
-
.ui.circular.image {
|
70
|
-
-webkit-border-radius: 500rem;
|
71
|
-
-moz-border-radius: 500rem;
|
72
|
-
border-radius: 500rem;
|
73
|
-
}
|
74
|
-
|
75
|
-
/*--------------
|
76
|
-
Fluid
|
77
|
-
---------------*/
|
78
|
-
|
79
|
-
.ui.fluid.images,
|
80
|
-
.ui.fluid.image,
|
81
|
-
.ui.fluid.images img,
|
82
|
-
.ui.fluid.image img {
|
83
|
-
display: block;
|
84
|
-
width: 100%;
|
85
|
-
}
|
86
|
-
|
87
|
-
|
88
|
-
/*--------------
|
89
|
-
Avatar
|
90
|
-
---------------*/
|
91
|
-
|
92
|
-
.ui.avatar.images .image,
|
93
|
-
.ui.avatar.images img,
|
94
|
-
.ui.avatar.image img,
|
95
|
-
.ui.avatar.image {
|
96
|
-
margin-right: 0.5em;
|
97
|
-
|
98
|
-
display: inline-block;
|
99
|
-
width: 2em;
|
100
|
-
height: 2em;
|
101
|
-
|
102
|
-
-webkit-border-radius: 500rem;
|
103
|
-
-moz-border-radius: 500rem;
|
104
|
-
border-radius: 500rem;
|
105
|
-
}
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
/*-------------------
|
110
|
-
Floated
|
111
|
-
--------------------*/
|
112
|
-
|
113
|
-
.ui.floated.image,
|
114
|
-
.ui.floated.images {
|
115
|
-
float: left;
|
116
|
-
margin-right: 1em;
|
117
|
-
margin-bottom: 1em;
|
118
|
-
}
|
119
|
-
.ui.right.floated.images,
|
120
|
-
.ui.right.floated.image {
|
121
|
-
float: right;
|
122
|
-
margin-bottom: 1em;
|
123
|
-
margin-left: 1em;
|
124
|
-
}
|
125
|
-
|
126
|
-
|
127
|
-
/*--------------
|
128
|
-
Sizes
|
129
|
-
---------------*/
|
130
|
-
|
131
|
-
.ui.tiny.images .image,
|
132
|
-
.ui.tiny.images img,
|
133
|
-
.ui.tiny.image {
|
134
|
-
width: 20px;
|
135
|
-
font-size: 0.7rem;
|
136
|
-
}
|
137
|
-
.ui.mini.images .image,
|
138
|
-
.ui.mini.images img,
|
139
|
-
.ui.mini.image {
|
140
|
-
width: 35px;
|
141
|
-
font-size: 0.8rem;
|
142
|
-
}
|
143
|
-
.ui.small.images .image,
|
144
|
-
.ui.small.images img,
|
145
|
-
.ui.small.image {
|
146
|
-
width: 80px;
|
147
|
-
font-size: 0.9rem;
|
148
|
-
}
|
149
|
-
.ui.medium.images .image,
|
150
|
-
.ui.medium.images img,
|
151
|
-
.ui.medium.image {
|
152
|
-
width: 300px;
|
153
|
-
font-size: 1rem;
|
154
|
-
}
|
155
|
-
.ui.large.images .image,
|
156
|
-
.ui.large.images img,
|
157
|
-
.ui.large.image {
|
158
|
-
width: 450px;
|
159
|
-
font-size: 1.1rem;
|
160
|
-
}
|
161
|
-
.ui.huge.images .image,
|
162
|
-
.ui.huge.images img,
|
163
|
-
.ui.huge.image {
|
164
|
-
width: 600px;
|
165
|
-
font-size: 1.2rem;
|
166
|
-
}
|
167
|
-
|
168
|
-
/*******************************
|
169
|
-
Groups
|
170
|
-
*******************************/
|
171
|
-
|
172
|
-
.ui.images {
|
173
|
-
font-size: 0em;
|
174
|
-
margin: 0em -0.25rem 0rem;
|
175
|
-
}
|
176
|
-
|
177
|
-
.ui.images .image,
|
178
|
-
.ui.images img {
|
179
|
-
display: inline-block;
|
180
|
-
margin: 0em 0.25em 0.5em;
|
181
|
-
}
|
1
|
+
/*
|
2
|
+
* # Semantic - Image
|
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
|
+
Image
|
15
|
+
*******************************/
|
16
|
+
|
17
|
+
.ui.image {
|
18
|
+
position: relative;
|
19
|
+
display: inline-block;
|
20
|
+
vertical-align: middle;
|
21
|
+
max-width: 100%;
|
22
|
+
background-color: rgba(0, 0, 0, 0.05);
|
23
|
+
}
|
24
|
+
img.ui.image {
|
25
|
+
display: block;
|
26
|
+
background: none;
|
27
|
+
}
|
28
|
+
.ui.image img {
|
29
|
+
display: block;
|
30
|
+
max-width: 100%;
|
31
|
+
height: auto;
|
32
|
+
}
|
33
|
+
|
34
|
+
/*******************************
|
35
|
+
States
|
36
|
+
*******************************/
|
37
|
+
|
38
|
+
|
39
|
+
.ui.disabled.image {
|
40
|
+
cursor: default;
|
41
|
+
opacity: 0.3;
|
42
|
+
}
|
43
|
+
|
44
|
+
|
45
|
+
/*******************************
|
46
|
+
Variations
|
47
|
+
*******************************/
|
48
|
+
|
49
|
+
/*--------------
|
50
|
+
Rounded
|
51
|
+
---------------*/
|
52
|
+
|
53
|
+
.ui.rounded.images .image,
|
54
|
+
.ui.rounded.images img,
|
55
|
+
.ui.rounded.image img,
|
56
|
+
.ui.rounded.image {
|
57
|
+
-webkit-border-radius: 0.3125em;
|
58
|
+
-moz-border-radius: 0.3125em;
|
59
|
+
border-radius: 0.3125em;
|
60
|
+
}
|
61
|
+
|
62
|
+
/*--------------
|
63
|
+
Circular
|
64
|
+
---------------*/
|
65
|
+
|
66
|
+
.ui.circular.images .image,
|
67
|
+
.ui.circular.images img,
|
68
|
+
.ui.circular.image img,
|
69
|
+
.ui.circular.image {
|
70
|
+
-webkit-border-radius: 500rem;
|
71
|
+
-moz-border-radius: 500rem;
|
72
|
+
border-radius: 500rem;
|
73
|
+
}
|
74
|
+
|
75
|
+
/*--------------
|
76
|
+
Fluid
|
77
|
+
---------------*/
|
78
|
+
|
79
|
+
.ui.fluid.images,
|
80
|
+
.ui.fluid.image,
|
81
|
+
.ui.fluid.images img,
|
82
|
+
.ui.fluid.image img {
|
83
|
+
display: block;
|
84
|
+
width: 100%;
|
85
|
+
}
|
86
|
+
|
87
|
+
|
88
|
+
/*--------------
|
89
|
+
Avatar
|
90
|
+
---------------*/
|
91
|
+
|
92
|
+
.ui.avatar.images .image,
|
93
|
+
.ui.avatar.images img,
|
94
|
+
.ui.avatar.image img,
|
95
|
+
.ui.avatar.image {
|
96
|
+
margin-right: 0.5em;
|
97
|
+
|
98
|
+
display: inline-block;
|
99
|
+
width: 2em;
|
100
|
+
height: 2em;
|
101
|
+
|
102
|
+
-webkit-border-radius: 500rem;
|
103
|
+
-moz-border-radius: 500rem;
|
104
|
+
border-radius: 500rem;
|
105
|
+
}
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
/*-------------------
|
110
|
+
Floated
|
111
|
+
--------------------*/
|
112
|
+
|
113
|
+
.ui.floated.image,
|
114
|
+
.ui.floated.images {
|
115
|
+
float: left;
|
116
|
+
margin-right: 1em;
|
117
|
+
margin-bottom: 1em;
|
118
|
+
}
|
119
|
+
.ui.right.floated.images,
|
120
|
+
.ui.right.floated.image {
|
121
|
+
float: right;
|
122
|
+
margin-bottom: 1em;
|
123
|
+
margin-left: 1em;
|
124
|
+
}
|
125
|
+
|
126
|
+
|
127
|
+
/*--------------
|
128
|
+
Sizes
|
129
|
+
---------------*/
|
130
|
+
|
131
|
+
.ui.tiny.images .image,
|
132
|
+
.ui.tiny.images img,
|
133
|
+
.ui.tiny.image {
|
134
|
+
width: 20px;
|
135
|
+
font-size: 0.7rem;
|
136
|
+
}
|
137
|
+
.ui.mini.images .image,
|
138
|
+
.ui.mini.images img,
|
139
|
+
.ui.mini.image {
|
140
|
+
width: 35px;
|
141
|
+
font-size: 0.8rem;
|
142
|
+
}
|
143
|
+
.ui.small.images .image,
|
144
|
+
.ui.small.images img,
|
145
|
+
.ui.small.image {
|
146
|
+
width: 80px;
|
147
|
+
font-size: 0.9rem;
|
148
|
+
}
|
149
|
+
.ui.medium.images .image,
|
150
|
+
.ui.medium.images img,
|
151
|
+
.ui.medium.image {
|
152
|
+
width: 300px;
|
153
|
+
font-size: 1rem;
|
154
|
+
}
|
155
|
+
.ui.large.images .image,
|
156
|
+
.ui.large.images img,
|
157
|
+
.ui.large.image {
|
158
|
+
width: 450px;
|
159
|
+
font-size: 1.1rem;
|
160
|
+
}
|
161
|
+
.ui.huge.images .image,
|
162
|
+
.ui.huge.images img,
|
163
|
+
.ui.huge.image {
|
164
|
+
width: 600px;
|
165
|
+
font-size: 1.2rem;
|
166
|
+
}
|
167
|
+
|
168
|
+
/*******************************
|
169
|
+
Groups
|
170
|
+
*******************************/
|
171
|
+
|
172
|
+
.ui.images {
|
173
|
+
font-size: 0em;
|
174
|
+
margin: 0em -0.25rem 0rem;
|
175
|
+
}
|
176
|
+
|
177
|
+
.ui.images .image,
|
178
|
+
.ui.images img {
|
179
|
+
display: inline-block;
|
180
|
+
margin: 0em 0.25em 0.5em;
|
181
|
+
}
|