expressionui 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -7
- data/.gitignore +4 -0
- data/expressionui.gemspec +8 -8
- data/lib/expressionui/version.rb +1 -1
- data/lib/expressionui.rb +2 -0
- data/vendor/assets/javascripts/expressionui.modal.js +6 -3
- data/vendor/assets/javascripts/expressionui.notify.js +1 -1
- data/vendor/assets/javascripts/expressionui.popover.js +60 -50
- data/vendor/assets/stylesheets/{_app_classes.css.sass → expressionui/_app_classes.css.sass} +0 -9
- data/vendor/assets/stylesheets/{_boilerplate.css.sass → expressionui/_boilerplate.css.sass} +3 -1
- data/vendor/assets/stylesheets/{_forms.css.sass → expressionui/_forms.css.sass} +4 -44
- data/vendor/assets/stylesheets/{_helpers.css.sass → expressionui/_helpers.css.sass} +67 -67
- data/vendor/assets/stylesheets/{_modals.css.sass → expressionui/_modals.css.sass} +6 -40
- data/vendor/assets/stylesheets/{_notifications.css.sass → expressionui/_notifications.css.sass} +0 -0
- data/vendor/assets/stylesheets/{_popover.css.sass → expressionui/_popover.css.sass} +0 -0
- data/vendor/assets/stylesheets/expressionui/_variables.css.sass +32 -0
- data/vendor/assets/stylesheets/expressionui.css.sass +9 -0
- metadata +104 -86
- data/pkg/expressionui-0.0.3.gem +0 -0
- data/vendor/assets/stylesheets/_variables.css.sass +0 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
|
4
|
-
|
5
|
-
SHA512:
|
6
|
-
|
7
|
-
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 4361cb6c624e6bd4626febad29df3d00a9c4bf44
|
4
|
+
data.tar.gz: 1c11a83bf839cdd0ff2f548d58b686b9b6ae7a16
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 20d087de204b120314b8e0e7186762790c56b48ee6346290c1edc0cd928b585d9faf10938ca755006e015bf5d154345c4dc8868802bd1d55cd3d1fce43c8a716
|
7
|
+
data.tar.gz: 3ab368c7ab62eb2a6377a881494f8e8891b67e0ef2b2c6cf5f6b05de58ebeca1ea4693989a6f8a8e23c311577177997aa29ede2ccb398a5711580c2acd087c78
|
data/.gitignore
CHANGED
data/expressionui.gemspec
CHANGED
@@ -8,19 +8,19 @@ Gem::Specification.new do |gem|
|
|
8
8
|
gem.version = Expressionui::VERSION
|
9
9
|
gem.authors = ["Jason Cypret"]
|
10
10
|
gem.email = ["jason@jasoncypret.com"]
|
11
|
-
gem.description = %q{JavaScript and SASS
|
11
|
+
gem.description = %q{A set of small JavaScript and SASS plugins that are designed to be reusable and enhance your UI. Ready to play with the Rails Asset Pipeline for faster and easier web development.}
|
12
12
|
gem.summary = %q{Some awesome SASS and JS shiz for your rails project}
|
13
13
|
gem.homepage = "http://jasoncypret.github.io/expressionUI/"
|
14
14
|
gem.license = "MIT"
|
15
15
|
|
16
16
|
|
17
|
-
gem.add_development_dependency
|
18
|
-
gem.add_development_dependency
|
19
|
-
gem.add_development_dependency
|
20
|
-
gem.add_development_dependency
|
21
|
-
gem.
|
22
|
-
gem.
|
23
|
-
|
17
|
+
gem.add_development_dependency "bundler", "~> 1.3"
|
18
|
+
gem.add_development_dependency "rake"
|
19
|
+
gem.add_development_dependency "railties", "~> 3.1"
|
20
|
+
gem.add_development_dependency "compass-rails"
|
21
|
+
gem.add_dependency "compass-normalize"
|
22
|
+
gem.add_dependency "animate.sass-rails"
|
23
|
+
|
24
24
|
|
25
25
|
gem.files = `git ls-files`.split($/)
|
26
26
|
gem.require_paths = ["lib"]
|
data/lib/expressionui/version.rb
CHANGED
data/lib/expressionui.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/* expressionUI modal
|
1
|
+
/* expressionUI modal v1.0
|
2
2
|
* https://github.com/jasoncypret/expressionUI
|
3
3
|
*
|
4
4
|
* Copyright (c) 2013 Jason Cypret (http://jasoncypret.com/)
|
@@ -61,7 +61,7 @@
|
|
61
61
|
}
|
62
62
|
buildModal = '<div id="' + options.id + '" class="dialog_container ' + isMobile + ' ' + options.height + '">' + overlay + '<div style="width:' + options.width + ';" class="dialog">';
|
63
63
|
if (options.header) {
|
64
|
-
buildModal += '<h1><span class="container">' + options.title + '
|
64
|
+
buildModal += '<h1><span class="container"><span class="title">' + options.title + '</span><a href="javascript:;" id="' + options.closeID + '" class="closeDialog ' + options.closeClass + '">x</a></span></h1>';
|
65
65
|
} else {
|
66
66
|
buttons += '<a href="javascript:;" class="closeDialog"><span>Cancel</span></a>';
|
67
67
|
}
|
@@ -81,7 +81,9 @@
|
|
81
81
|
$('#' + options.id + ' .dialog').dialog('position', options);
|
82
82
|
$('#' + options.id).dialog('_setupEvents', options);
|
83
83
|
$(options.appendTo).addClass("dialog_open");
|
84
|
-
options.
|
84
|
+
if(!options.ajaxTarget){
|
85
|
+
options.afterOpen.call();
|
86
|
+
}
|
85
87
|
},
|
86
88
|
ajax: function (options) {
|
87
89
|
var _this = $(this)
|
@@ -91,6 +93,7 @@
|
|
91
93
|
}
|
92
94
|
_this.load(options.ajax, function (response, status, xhr) {
|
93
95
|
_this.parents('.dialogBody').find('.notify').notify("close")
|
96
|
+
options.afterOpen.call();
|
94
97
|
if (status == "error") {
|
95
98
|
var msg = "Sorry but there was an error: ";
|
96
99
|
alert(msg + xhr.status + " " + xhr.statusText);
|
@@ -6,57 +6,67 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
(function ($) {
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
9
|
+
$.fn.popover = function (options) {
|
10
|
+
var defaults = {
|
11
|
+
content: $('.popover'),
|
12
|
+
padding: 0,
|
13
|
+
aOffset: 55,
|
14
|
+
afterOpen: $.noop,
|
15
|
+
afterClose: $.noop,
|
16
|
+
flush: false
|
17
|
+
};
|
18
|
+
options = $.extend({}, defaults, options);
|
19
|
+
var left = $(this).offset().left + ($(this).outerWidth() / 2),
|
20
|
+
top = $(this).offset().top + ($(this).outerHeight() / 2),
|
21
|
+
winTopMax = $(window).height() / 2,
|
22
|
+
winLeftMax = $(window).width() / 2,
|
23
|
+
pos = '',
|
24
|
+
num = 0,
|
25
|
+
tooltipHeight,
|
26
|
+
tooltipWidth;
|
27
|
+
|
28
|
+
pos = options.position;
|
29
|
+
if(!pos){
|
24
30
|
(top >= 1 && top - $(window).scrollTop() <= winTopMax) ? pos = 'top' : pos = 'bottom';
|
25
31
|
(left >= 1 && left - $(window).scrollLeft() <= winLeftMax) ? pos += 'left' : pos += 'right';
|
26
|
-
options.content.addClass('popover_container ' + pos).css({visibility: 'hidden', display: 'block', zIndex: '9999'});
|
27
|
-
tooltipHeight = options.content.outerHeight();
|
28
|
-
tooltipWidth = options.content.outerWidth();
|
29
|
-
switch (pos) {
|
30
|
-
case "topleft":
|
31
|
-
top += ( $(this).outerHeight() * Math.PHI ) + options.padding;
|
32
|
-
left -= options.aOffset / (Math.PHI * Math.PHI);
|
33
|
-
break;
|
34
|
-
case "topright":
|
35
|
-
top += ( $(this).outerHeight() * Math.PHI ) + options.padding;
|
36
|
-
left -= tooltipWidth - options.aOffset;
|
37
|
-
break;
|
38
|
-
case "bottomleft":
|
39
|
-
top -= tooltipHeight + ($(this).outerHeight() / 2);
|
40
|
-
left -= options.aOffset / (Math.PHI * Math.PHI);
|
41
|
-
break;
|
42
|
-
case "bottomright":
|
43
|
-
top -= tooltipHeight + ($(this).outerHeight() / 2);
|
44
|
-
left -= tooltipWidth - options.aOffset;
|
45
|
-
break;
|
46
|
-
}
|
47
|
-
options.content.css({ 'left': left + 'px', 'top': top + 'px', 'display': 'none', 'visibility': 'visible' }).show();
|
48
|
-
$(this).addClass('popover_active')
|
49
|
-
var removePopup = function (e) {
|
50
|
-
num++;
|
51
|
-
if (num > 1) {
|
52
|
-
$(options.content).removeClass('popover_container topleft bottomleft topright bottomright').hide();
|
53
|
-
$(document).unbind('click.popover content.scroll');
|
54
|
-
$('.popover_active').removeClass('popover_active')
|
55
|
-
}
|
56
|
-
};
|
57
|
-
$(document).bind('click.popover content.scroll', removePopup);
|
58
32
|
}
|
59
|
-
})(jQuery);
|
60
33
|
|
61
|
-
|
62
|
-
|
34
|
+
|
35
|
+
options.content.addClass('popover_container ' + pos).css({visibility: 'hidden', display: 'block', zIndex: '9999'});
|
36
|
+
if(options.flush) options.content.addClass('flush');
|
37
|
+
tooltipHeight = options.content.outerHeight();
|
38
|
+
tooltipWidth = options.content.outerWidth();
|
39
|
+
switch (pos) {
|
40
|
+
case "topleft":
|
41
|
+
top += ($(this).height() / (options.flush ? 2 : 1)) + options.padding * 2;
|
42
|
+
left += -$(this).width() / 2 - options.aOffset;
|
43
|
+
break;
|
44
|
+
case "bottomleft":
|
45
|
+
top += -tooltipHeight - $(this).height() / 2 - options.padding;
|
46
|
+
left += -$(this).width() / 2 - options.aOffset;
|
47
|
+
break;
|
48
|
+
case "topright":
|
49
|
+
top += $(this).height() + options.padding * 2;
|
50
|
+
left += $(this).width() - (tooltipWidth + (options.aOffset *2));
|
51
|
+
break;
|
52
|
+
case "bottomright":
|
53
|
+
top += -$(this).height() / 2 - tooltipHeight - options.padding;
|
54
|
+
left += $(this).width() - (tooltipWidth + (options.aOffset * 2));
|
55
|
+
break;
|
56
|
+
}
|
57
|
+
|
58
|
+
options.content.css({ 'left': left + 'px', 'top': top + 'px', 'display': 'none', 'visibility': 'visible' }).show();
|
59
|
+
|
60
|
+
options.afterOpen.apply(this, [options.content])
|
61
|
+
|
62
|
+
// You could add an active_popover class to $(this)
|
63
|
+
$(document).bind('click.popover', function(e) {
|
64
|
+
num++;
|
65
|
+
if (num > 1) {
|
66
|
+
$(options.content).removeClass('popover_container topleft bottomleft topright bottomright').hide();
|
67
|
+
options.afterClose.apply(this, [options.content])
|
68
|
+
$(document).unbind('click.popover');
|
69
|
+
}
|
70
|
+
});
|
71
|
+
}
|
72
|
+
})(jQuery);
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@import normalize
|
2
|
+
|
1
3
|
*
|
2
4
|
margin: 0
|
3
5
|
padding: 0
|
@@ -192,7 +194,7 @@ table
|
|
192
194
|
border-collapse: collapse
|
193
195
|
border-spacing: 0
|
194
196
|
|
195
|
-
+font-face("
|
197
|
+
+font-face("#{$icon_font}", font-files("#{$icon_font}.woff#{$ver}", woff, "#{$icon_font}.otf#{$ver}", opentype, "#{$icon_font}.svg#$icon_font#{$ver}", svg), "#{$icon_font}.eot#{$ver}", "normal", "normal")
|
196
198
|
|
197
199
|
|
198
200
|
|
@@ -246,17 +246,13 @@ select
|
|
246
246
|
color: tint(black, 40%)
|
247
247
|
&.icon
|
248
248
|
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
249
|
&.inside
|
255
|
-
.
|
250
|
+
.field
|
256
251
|
margin: $pad 0
|
257
252
|
padding: 2px 10px
|
258
253
|
position: relative
|
259
254
|
width: 291px
|
255
|
+
+form_text_input_color
|
260
256
|
&.check
|
261
257
|
background: none
|
262
258
|
+box-shadow(none)
|
@@ -273,26 +269,6 @@ select
|
|
273
269
|
&:hover
|
274
270
|
color: white
|
275
271
|
border-bottom: none
|
276
|
-
&:hover
|
277
|
-
+box-shadow(none)
|
278
|
-
&.drop
|
279
|
-
background: none
|
280
|
-
+box-shadow(none)
|
281
|
-
border: none
|
282
|
-
padding: 0
|
283
|
-
width: auto
|
284
|
-
&:hover
|
285
|
-
+box-shadow(none)
|
286
|
-
&.small
|
287
|
-
width: 200px
|
288
|
-
.hoverhelp
|
289
|
-
width: 27px
|
290
|
-
height: 20px
|
291
|
-
background: url("../images/content/home_sprite.png#{$ver}") 0 -269px no-repeat
|
292
|
-
display: block
|
293
|
-
position: absolute
|
294
|
-
right: -10px
|
295
|
-
top: 6px
|
296
272
|
label
|
297
273
|
+inline_block
|
298
274
|
font-size: 11px
|
@@ -315,31 +291,15 @@ select
|
|
315
291
|
font-size: 11px
|
316
292
|
&:focus
|
317
293
|
outline: none
|
318
|
-
&.errorField
|
319
|
-
border: 1px solid #BA2528
|
320
|
-
&:before, & .before
|
321
|
-
content: ''
|
322
|
-
before: ''
|
323
|
-
width: 27px
|
324
|
-
height: 20px
|
325
|
-
background: url("../images/content/home_sprite.png#{$ver}") 0 -249px no-repeat
|
326
|
-
display: block
|
327
|
-
position: absolute
|
328
|
-
right: 10px
|
329
|
-
.hoverhelp
|
330
|
-
right: 9px
|
331
|
-
background: none
|
332
|
-
&:hover, &.hover
|
333
|
-
+box-shadow(rgba(black, 0.12) 0 1px 2px inset, rgba(white, 0.65) 0 1px 0 0, rgba(#00A8FF, .34) 0 1px 8px 0)
|
334
294
|
.group
|
335
295
|
margin: $pad 0
|
336
296
|
&.nopad
|
337
297
|
margin: 0
|
338
298
|
.button
|
339
299
|
margin: 0
|
340
|
-
.
|
300
|
+
.field
|
341
301
|
margin: 0 !important
|
342
302
|
float: left
|
343
303
|
width: 294px
|
344
|
-
& + .
|
304
|
+
& + .field
|
345
305
|
float: right
|
@@ -10,13 +10,10 @@
|
|
10
10
|
display: block
|
11
11
|
|
12
12
|
=font_stack
|
13
|
-
font-family:
|
13
|
+
font-family: $font_stack, sans-serif
|
14
14
|
|
15
15
|
=serif
|
16
|
-
font-family:
|
17
|
-
|
18
|
-
=logo_serif
|
19
|
-
font-family: "rooney-web"
|
16
|
+
font-family: $serif, serif
|
20
17
|
|
21
18
|
=inline_block
|
22
19
|
display: -moz-inline-stack
|
@@ -53,6 +50,11 @@
|
|
53
50
|
height: auto !important
|
54
51
|
height: $size
|
55
52
|
|
53
|
+
=max_width($size)
|
54
|
+
max-width: $size
|
55
|
+
width: auto !important
|
56
|
+
width: $size
|
57
|
+
|
56
58
|
=text_color($base_color, $shadow: true)
|
57
59
|
@if lightness($base_color) > 75%
|
58
60
|
color: shade($base_color, 60%)
|
@@ -73,18 +75,18 @@
|
|
73
75
|
@else if $direction == bottom
|
74
76
|
+background(linear_gradient($base_color, shade($base_color, 30%)))
|
75
77
|
|
76
|
-
=smart_border($base_color, $direction: both)
|
78
|
+
=smart_border($base_color, $size: 1px, $direction: both)
|
77
79
|
@if $direction == both
|
78
|
-
border:
|
79
|
-
border-top:
|
80
|
-
border-bottom:
|
80
|
+
border: $size solid shade($base_color, 20%)
|
81
|
+
border-top: $size solid shade($base_color, 10%)
|
82
|
+
border-bottom: $size solid shade($base_color, 40%)
|
81
83
|
@else if $direction == top
|
82
|
-
border:
|
83
|
-
border-top:
|
84
|
+
border: $size solid shade($base_color, 20%)
|
85
|
+
border-top: $size solid $base_color
|
84
86
|
@else if $direction == bottom
|
85
|
-
border:
|
86
|
-
border-top:
|
87
|
-
border-bottom:
|
87
|
+
border: $size solid shade($base_color, 30%)
|
88
|
+
border-top: $size solid shade($base_color, 15%)
|
89
|
+
border-bottom: $size solid shade($base_color, 50%)
|
88
90
|
|
89
91
|
=btn_color($base_color, $behind: null)
|
90
92
|
+smart_gradient($base_color)
|
@@ -93,58 +95,58 @@
|
|
93
95
|
@else
|
94
96
|
+smart_border($behind)
|
95
97
|
|
96
|
-
=
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
+text_color($base_color)
|
137
|
-
+text-shadow(none)
|
138
|
-
@if lightness($base_color) == 100%
|
139
|
-
border: 1px solid shade($base_color, 10%)
|
140
|
-
+border-radius(3px)
|
141
|
-
&:hover, &:active
|
142
|
-
@if lightness($base_color) == 100%
|
143
|
-
border: 1px solid shade($base_color, 20%)
|
144
|
-
background: shade($base_color, 10%)
|
145
|
-
+box-shadow(shade($base_color, 20%) 0 2px 0 inset)
|
98
|
+
=btn($base_color, $behind: null, $style: flat)
|
99
|
+
@if $style == flat
|
100
|
+
outline: 0
|
101
|
+
text-align: center
|
102
|
+
text-transform: capitalize
|
103
|
+
text-decoration: none
|
104
|
+
font-weight: 600
|
105
|
+
line-height: 1em
|
106
|
+
+font_stack
|
107
|
+
width: auto
|
108
|
+
+inline-block
|
109
|
+
padding: 8px 11px
|
110
|
+
font-size: 1em
|
111
|
+
+border-radius(2px)
|
112
|
+
+box-shadow(rgba(white, 0.3) 0 1px 0 inset, rgba(black, 0.20) 0 2px 2px 0)
|
113
|
+
cursor: pointer
|
114
|
+
+btn_color($base_color, $behind)
|
115
|
+
border: 0
|
116
|
+
&:hover
|
117
|
+
+box-shadow(rgba(white, 0.6) 0 1px 3px inset, rgba(black, 0.20) 0 2px 2px 0)
|
118
|
+
+btn_color(tint($base_color, 10%), $behind)
|
119
|
+
&:active
|
120
|
+
+box-shadow(rgba(black, 0.6) 0 2px 4px inset, rgba(black, 0.50) 0 1px 0 0)
|
121
|
+
+btn_color(shade($base_color, 10%), $behind)
|
122
|
+
@else
|
123
|
+
outline: 0
|
124
|
+
border: 0
|
125
|
+
text-align: center
|
126
|
+
text-transform: capitalize
|
127
|
+
text-decoration: none
|
128
|
+
font-weight: 600
|
129
|
+
line-height: 1em
|
130
|
+
+font_stack
|
131
|
+
width: auto
|
132
|
+
+inline-block
|
133
|
+
padding: 10px 13px
|
134
|
+
font-size: 1em
|
135
|
+
+border-radius(2px)
|
136
|
+
cursor: pointer
|
137
|
+
background: $base_color
|
146
138
|
+text_color($base_color)
|
147
139
|
+text-shadow(none)
|
140
|
+
@if lightness($base_color) == 100%
|
141
|
+
border: 1px solid shade($base_color, 10%)
|
142
|
+
+border-radius(3px)
|
143
|
+
&:hover, &:active
|
144
|
+
@if lightness($base_color) == 100%
|
145
|
+
border: 1px solid shade($base_color, 20%)
|
146
|
+
background: shade($base_color, 10%)
|
147
|
+
+box-shadow(shade($base_color, 20%) 0 2px 0 inset)
|
148
|
+
+text_color($base_color)
|
149
|
+
+text-shadow(none)
|
148
150
|
|
149
151
|
=shadow_scroll($background: #E5E5E5, $top: 62px, $left: 56px, $right: 0, $height: 10px, $z-index: 1111)
|
150
152
|
&:before
|
@@ -169,8 +171,6 @@
|
|
169
171
|
width: 100%
|
170
172
|
z-index: ($z-index)+1
|
171
173
|
|
172
|
-
|
173
|
-
|
174
174
|
=text_replace
|
175
175
|
text-indent: 100%
|
176
176
|
white-space: nowrap
|
@@ -246,7 +246,7 @@
|
|
246
246
|
@content
|
247
247
|
|
248
248
|
=icon_font
|
249
|
-
font-family:
|
249
|
+
font-family: $icon_font
|
250
250
|
font-weight: normal !important
|
251
251
|
-webkit-font-smoothing: antialiased
|
252
252
|
|
@@ -1,10 +1,10 @@
|
|
1
|
-
@import
|
2
|
-
@import
|
3
|
-
@import
|
4
|
-
@import
|
1
|
+
@import animate
|
2
|
+
@import animate/shared
|
3
|
+
@import animate/animations/bouncing-entrances/bounceInUp
|
4
|
+
@import animate/animations/bouncing-exits/bounceOutDown
|
5
5
|
|
6
6
|
//Need to add this here as it is a global module
|
7
|
-
|
7
|
+
//@import partials/uielements/modals/create_collections
|
8
8
|
|
9
9
|
$modal_footer_height: (68px)-$pad
|
10
10
|
$borderColor: #cacaca
|
@@ -126,38 +126,4 @@ $borderColor: #cacaca
|
|
126
126
|
width: 95% !important
|
127
127
|
.dialogBody
|
128
128
|
height: 100%
|
129
|
-
overflow-y: auto
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
// WRONG PLACE FOR THIS
|
136
|
-
.colorpicker
|
137
|
-
.preview
|
138
|
-
float: left
|
139
|
-
width: 50px
|
140
|
-
height: 50px
|
141
|
-
margin: 0 10px 0 0
|
142
|
-
border: 1px solid #efefef
|
143
|
-
#picker
|
144
|
-
cursor: crosshair
|
145
|
-
|
146
|
-
|
147
|
-
// WRONG PLACE FOR THIS
|
148
|
-
#idea_modal
|
149
|
-
width: 500px
|
150
|
-
label
|
151
|
-
display: block
|
152
|
-
margin-bottom: 5px
|
153
|
-
input, textarea
|
154
|
-
width: 100%
|
155
|
-
font-size: 14px
|
156
|
-
padding: 5px
|
157
|
-
border: 1px solid $borderColor
|
158
|
-
input#inputTitle
|
159
|
-
margin-bottom: 15px
|
160
|
-
textarea
|
161
|
-
margin-bottom: 5px
|
162
|
-
|
163
|
-
|
129
|
+
overflow-y: auto
|
data/vendor/assets/stylesheets/{_notifications.css.sass → expressionui/_notifications.css.sass}
RENAMED
File without changes
|
File without changes
|
@@ -0,0 +1,32 @@
|
|
1
|
+
// General
|
2
|
+
// -------------------------
|
3
|
+
$pad: 10px !default
|
4
|
+
$ver: "?v=0.51" !default
|
5
|
+
|
6
|
+
|
7
|
+
// Responsive breakpoints
|
8
|
+
// -------------------------
|
9
|
+
$mobile: 700px !default
|
10
|
+
$tablet: 701px !default
|
11
|
+
$desktop: 1200px !default
|
12
|
+
$large_desktop: 1500px !default
|
13
|
+
|
14
|
+
|
15
|
+
// Colors
|
16
|
+
// -------------------------
|
17
|
+
$main: #20BBA6 !default
|
18
|
+
$accent: #00AFD1 !default
|
19
|
+
$contrast: #1D3037 !default
|
20
|
+
$background: #EAEDF1 !default
|
21
|
+
$highlight: #F27935 !default
|
22
|
+
|
23
|
+
|
24
|
+
// Text
|
25
|
+
// -------------------------
|
26
|
+
$font_size: 12px !default
|
27
|
+
$link: blue !default
|
28
|
+
$title: #585050 !default
|
29
|
+
$text_color: #141414 !default
|
30
|
+
$font_stack: "Helvetica" !default
|
31
|
+
$serif: "Georgia" !default
|
32
|
+
$icon_font: "expressionui_font" !default
|
@@ -0,0 +1,9 @@
|
|
1
|
+
@import compass
|
2
|
+
@import expressionui/variables
|
3
|
+
@import expressionui/helpers
|
4
|
+
@import expressionui/notifications
|
5
|
+
@import expressionui/modals
|
6
|
+
@import expressionui/forms
|
7
|
+
@import expressionui/popover
|
8
|
+
@import expressionui/boilerplate
|
9
|
+
@import expressionui/app_classes
|
metadata
CHANGED
@@ -1,91 +1,108 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: expressionui
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- Jason Cypret
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2013-05-31 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
15
14
|
name: bundler
|
16
|
-
|
17
|
-
|
18
|
-
requirements:
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
19
17
|
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version:
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.3'
|
22
20
|
type: :development
|
23
|
-
version_requirements: *id001
|
24
|
-
- !ruby/object:Gem::Dependency
|
25
|
-
name: rake
|
26
21
|
prerelease: false
|
27
|
-
|
28
|
-
requirements:
|
29
|
-
- &id004
|
30
|
-
- ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: "0"
|
33
|
-
type: :development
|
34
|
-
version_requirements: *id002
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: railties
|
37
|
-
prerelease: false
|
38
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
39
|
-
requirements:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
40
24
|
- - ~>
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version:
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
43
34
|
type: :development
|
44
|
-
version_requirements: *id003
|
45
|
-
- !ruby/object:Gem::Dependency
|
46
|
-
name: jquery-rails
|
47
35
|
prerelease: false
|
48
|
-
|
49
|
-
requirements:
|
50
|
-
-
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: railties
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.1'
|
51
48
|
type: :development
|
52
|
-
version_requirements: *id005
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: sass-rails
|
55
49
|
prerelease: false
|
56
|
-
|
57
|
-
requirements:
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
58
52
|
- - ~>
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: 3.
|
61
|
-
|
62
|
-
version_requirements: *id006
|
63
|
-
- !ruby/object:Gem::Dependency
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.1'
|
55
|
+
- !ruby/object:Gem::Dependency
|
64
56
|
name: compass-rails
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
69
62
|
type: :development
|
70
|
-
|
71
|
-
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: compass-normalize
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
72
84
|
name: animate.sass-rails
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
73
91
|
prerelease: false
|
74
|
-
|
75
|
-
requirements:
|
76
|
-
-
|
77
|
-
|
78
|
-
|
79
|
-
description: JavaScript and SASS
|
80
|
-
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description: A set of small JavaScript and SASS plugins that are designed to be reusable
|
98
|
+
and enhance your UI. Ready to play with the Rails Asset Pipeline for faster and
|
99
|
+
easier web development.
|
100
|
+
email:
|
81
101
|
- jason@jasoncypret.com
|
82
102
|
executables: []
|
83
|
-
|
84
103
|
extensions: []
|
85
|
-
|
86
104
|
extra_rdoc_files: []
|
87
|
-
|
88
|
-
files:
|
105
|
+
files:
|
89
106
|
- .gitignore
|
90
107
|
- Gemfile
|
91
108
|
- Gemfile.lock
|
@@ -95,44 +112,45 @@ files:
|
|
95
112
|
- expressionui.gemspec
|
96
113
|
- lib/expressionui.rb
|
97
114
|
- lib/expressionui/version.rb
|
98
|
-
- pkg/expressionui-0.0.3.gem
|
99
115
|
- vendor/assets/javascripts/expressionui.modal.js
|
100
116
|
- vendor/assets/javascripts/expressionui.notify.js
|
101
117
|
- vendor/assets/javascripts/expressionui.popover.js
|
102
|
-
- vendor/assets/stylesheets/
|
103
|
-
- vendor/assets/stylesheets/
|
104
|
-
- vendor/assets/stylesheets/
|
105
|
-
- vendor/assets/stylesheets/
|
106
|
-
- vendor/assets/stylesheets/
|
107
|
-
- vendor/assets/stylesheets/
|
108
|
-
- vendor/assets/stylesheets/
|
109
|
-
- vendor/assets/stylesheets/
|
118
|
+
- vendor/assets/stylesheets/expressionui.css.sass
|
119
|
+
- vendor/assets/stylesheets/expressionui/_app_classes.css.sass
|
120
|
+
- vendor/assets/stylesheets/expressionui/_boilerplate.css.sass
|
121
|
+
- vendor/assets/stylesheets/expressionui/_forms.css.sass
|
122
|
+
- vendor/assets/stylesheets/expressionui/_helpers.css.sass
|
123
|
+
- vendor/assets/stylesheets/expressionui/_modals.css.sass
|
124
|
+
- vendor/assets/stylesheets/expressionui/_notifications.css.sass
|
125
|
+
- vendor/assets/stylesheets/expressionui/_popover.css.sass
|
126
|
+
- vendor/assets/stylesheets/expressionui/_variables.css.sass
|
110
127
|
- vendor/assets/stylesheets/expressionui/loading/_dots_round.css.sass
|
111
128
|
- vendor/assets/stylesheets/expressionui/loading/_progress.css.sass
|
112
129
|
- vendor/assets/stylesheets/expressionui/loading/_spinner.css.sass
|
113
130
|
- vendor/assets/stylesheets/expressionui/loading/_three_dots.css.sass
|
114
131
|
homepage: http://jasoncypret.github.io/expressionUI/
|
115
|
-
licenses:
|
132
|
+
licenses:
|
116
133
|
- MIT
|
117
134
|
metadata: {}
|
118
|
-
|
119
135
|
post_install_message:
|
120
136
|
rdoc_options: []
|
121
|
-
|
122
|
-
require_paths:
|
137
|
+
require_paths:
|
123
138
|
- lib
|
124
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
125
|
-
requirements:
|
126
|
-
-
|
127
|
-
|
128
|
-
|
129
|
-
|
139
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - '>='
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '0'
|
144
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - '>='
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '0'
|
130
149
|
requirements: []
|
131
|
-
|
132
150
|
rubyforge_project:
|
133
|
-
rubygems_version: 2.0.
|
151
|
+
rubygems_version: 2.0.3
|
134
152
|
signing_key:
|
135
153
|
specification_version: 4
|
136
154
|
summary: Some awesome SASS and JS shiz for your rails project
|
137
155
|
test_files: []
|
138
|
-
|
156
|
+
has_rdoc:
|
data/pkg/expressionui-0.0.3.gem
DELETED
Binary file
|
@@ -1,34 +0,0 @@
|
|
1
|
-
// General
|
2
|
-
$pad: 10px
|
3
|
-
$ver: '?v=0.51'
|
4
|
-
|
5
|
-
// Responsive breakpoints
|
6
|
-
$mobile: 700px
|
7
|
-
$tablet: 701px
|
8
|
-
$desktop: 1200px
|
9
|
-
$large_desktop: 1900px
|
10
|
-
|
11
|
-
// Colors
|
12
|
-
$border: #DBDBDB
|
13
|
-
$highlight: #925CA7
|
14
|
-
$accent: #33BCB9
|
15
|
-
$badge: #F35919
|
16
|
-
$mobile_background: #E8E8E8
|
17
|
-
$dark_grey: shade(#58595B, 10%)
|
18
|
-
|
19
|
-
// UI Element Colors
|
20
|
-
|
21
|
-
// UI Element Sizing
|
22
|
-
$left_nav: 56px
|
23
|
-
$right_info: 271px
|
24
|
-
$top_nav: 58px
|
25
|
-
$sub_nav: 55px
|
26
|
-
$top_border: 4px
|
27
|
-
$mobile_nav_height: 40px
|
28
|
-
$card_width: 290px
|
29
|
-
$brain_drawer: 60px
|
30
|
-
|
31
|
-
// Text
|
32
|
-
$link: blue
|
33
|
-
$title: #585050
|
34
|
-
$text_color: #141414
|