furatto 1.2.7 → 1.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/furatto.gemspec +3 -3
- data/lib/furatto/version.rb +1 -1
- data/vendor/assets/javascripts/furatto.js +15 -11
- data/vendor/assets/stylesheets/furatto/_forms.scss +14 -3
- data/vendor/assets/stylesheets/furatto/_global.scss +0 -2
- data/vendor/assets/stylesheets/furatto/_mixins.scss +60 -0
- data/vendor/assets/stylesheets/furatto/_navigation_bar.scss +20 -5
- data/vendor/assets/stylesheets/furatto/_pagination.scss +1 -1
- data/vendor/assets/stylesheets/furatto/_responsive_utilities.scss +27 -27
- data/vendor/assets/stylesheets/furatto/_text_alignment_utilities.scss +23 -1
- data/vendor/assets/stylesheets/furatto/_theming.scss +69 -0
- data/vendor/assets/stylesheets/furatto/_toolbars.scss +1 -1
- metadata +16 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f8d1512ac2961247bad2e6a7dbd39e34cb98fb4
|
4
|
+
data.tar.gz: f56f283f27859ae50bcabdc7ec92336fc3823e5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f20243d96d84266df0dd51c86ec641715379d6486952326b572b6a0cdbe053542b338e5215bab61f1c52a8dbf90fd2616a22b16d21711f95c8c17fd71fac0db
|
7
|
+
data.tar.gz: 54c867321dc874db424df145dccb969501ae889640bfd2f5622cb0b52393852d104c323a74d1a9b48b00e9e3fbfa4b52ed73616ff0588a723d662b5f7f96e41a
|
data/furatto.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |gem|
|
|
20
20
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
21
21
|
gem.require_paths = ["lib"]
|
22
22
|
|
23
|
-
gem.add_dependency 'railties', '
|
24
|
-
gem.add_dependency "actionpack", '
|
25
|
-
gem.add_dependency "activemodel", '
|
23
|
+
gem.add_dependency 'railties', '>= 3.0'
|
24
|
+
gem.add_dependency "actionpack", '>= 3.0'
|
25
|
+
gem.add_dependency "activemodel", '>= 3.0'
|
26
26
|
end
|
data/lib/furatto/version.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
/*!
|
2
|
-
* Furatto v3.0
|
2
|
+
* Furatto v3.1.0 (http://icalialabs.github.io/furatto/)
|
3
3
|
* Copyright 2014-2014 Icalia Labs
|
4
4
|
* Licensed under MIT (https://github.com/IcaliaLabs/furatto/blob/master/LICENSE)
|
5
5
|
*/
|
6
6
|
|
7
7
|
/*!
|
8
|
-
* Furatto v3.0
|
8
|
+
* Furatto v3.1.0 (http://icalialabs.github.io/furatto/)
|
9
9
|
* Copyright 2014-2014 Icalia Labs
|
10
10
|
* Licensed under MIT (https://github.com/IcaliaLabs/furatto/blob/master/LICENSE)
|
11
11
|
*/
|
@@ -32,12 +32,16 @@ var __bind = function(fn, me){ return function(){ return fn.apply(me, arguments)
|
|
32
32
|
this.init = __bind(this.init, this);
|
33
33
|
this.options = $.extend({}, options);
|
34
34
|
this.$el = $(el);
|
35
|
-
|
36
|
-
|
35
|
+
if (this.$el.is('.modal')) {
|
36
|
+
this.$modal = this.$el;
|
37
|
+
} else {
|
38
|
+
this.$modal = $(this.$el.data('target'));
|
39
|
+
}
|
40
|
+
this.close = this.$modal.find('.modal-close');
|
37
41
|
this.transition = this.$el.data('transition') || "1";
|
38
42
|
this.theme = this.$el.data('theme') || "default";
|
39
|
-
this
|
40
|
-
this
|
43
|
+
this.$modal.addClass("modal-effect-" + this.transition);
|
44
|
+
this.$modal.addClass("" + this.theme);
|
41
45
|
}
|
42
46
|
|
43
47
|
Modal.prototype.init = function() {
|
@@ -50,10 +54,10 @@ var __bind = function(fn, me){ return function(){ return fn.apply(me, arguments)
|
|
50
54
|
};
|
51
55
|
|
52
56
|
Modal.prototype.show = function(ev) {
|
53
|
-
if (this.$el.is('
|
57
|
+
if (this.$el.is('.modal')) {
|
54
58
|
this.$el.addClass('modal-show');
|
55
59
|
} else {
|
56
|
-
this
|
60
|
+
this.$modal.addClass('modal-show');
|
57
61
|
}
|
58
62
|
$('.modal-overlay').addClass('modal-show-overlay');
|
59
63
|
$('body').bind('keyup', this.hideOnEsc);
|
@@ -74,10 +78,10 @@ var __bind = function(fn, me){ return function(){ return fn.apply(me, arguments)
|
|
74
78
|
|
75
79
|
Modal.prototype.hide = function() {
|
76
80
|
$('.modal-overlay').removeClass('modal-show-overlay');
|
77
|
-
if (this.$el.is('
|
81
|
+
if (this.$el.is('.modal')) {
|
78
82
|
this.$el.removeClass('modal-show');
|
79
83
|
} else {
|
80
|
-
this
|
84
|
+
this.$modal.removeClass('modal-show');
|
81
85
|
}
|
82
86
|
$('body').unbind('keyup', this.hideOnEsc);
|
83
87
|
return $('body').unbind('click', this.hideOnDocumentClick);
|
@@ -100,7 +104,7 @@ var __bind = function(fn, me){ return function(){ return fn.apply(me, arguments)
|
|
100
104
|
}
|
101
105
|
});
|
102
106
|
};
|
103
|
-
Furatto.Modal.version = "1.0.
|
107
|
+
Furatto.Modal.version = "1.0.1";
|
104
108
|
$(document).ready(function() {
|
105
109
|
var elementToAppend;
|
106
110
|
if ($('.off-screen').length > 0) {
|
@@ -34,7 +34,12 @@ $form-input-mini-width: 20% !default;
|
|
34
34
|
$form-input-small-width: $form-input-mini-width * 2 !default;
|
35
35
|
$form-input-medium-width: $form-input-mini-width * 3 !default;
|
36
36
|
$form-input-large-width: $form-input-mini-width * 4 !default;
|
37
|
-
$form-input-file-width: 100% !default
|
37
|
+
$form-input-file-width: 100% !default;
|
38
|
+
$form-input-transition-property: all !default;
|
39
|
+
$form-input-transition-duration: 0.1s !default;
|
40
|
+
$form-input-transition-timing-function: ease-in-out !default;
|
41
|
+
$include-input-box-shadow-on-focus: true !default;
|
42
|
+
$include-input-transition: true !default;
|
38
43
|
|
39
44
|
//Validation states
|
40
45
|
$form-label-success-color: #27ae60 !default;
|
@@ -124,8 +129,12 @@ input[type="color"],
|
|
124
129
|
{
|
125
130
|
@include border-radius($form-input-radius);
|
126
131
|
@include box-shadow($form-input-box-shadow);
|
127
|
-
@include single-transition(all 0.1s ease-in-out);
|
128
132
|
@include appearance($ap: none);
|
133
|
+
|
134
|
+
@if($include-input-transition) {
|
135
|
+
@include single-transition($form-input-transition-property $form-input-transition-duration $form-input-transition-timing-function);
|
136
|
+
}
|
137
|
+
|
129
138
|
display: block;
|
130
139
|
width: 100%;
|
131
140
|
height: $form-input-height;
|
@@ -145,7 +154,9 @@ input[type="color"],
|
|
145
154
|
|
146
155
|
//Focus state
|
147
156
|
&:focus {
|
148
|
-
@
|
157
|
+
@if($include-input-box-shadow-on-focus) {
|
158
|
+
@include box-shadow($form-input-focus-box-shadow);
|
159
|
+
}
|
149
160
|
border-color: $form-input-focus-border-color;
|
150
161
|
outline: none;
|
151
162
|
background: $form-input-focus-background-color;
|
@@ -19,7 +19,5 @@ $navigation-inline-list-item-margin-left: px-to-rems(12) !default;
|
|
19
19
|
$navigation-bar-height: 45px !default;
|
20
20
|
$navigation-bar-toggle-icon-top-position: (($navigation-bar-height - 21) / 2) - 6 !default;
|
21
21
|
|
22
|
-
$toolbar-bg-color: #232323 !default;
|
23
|
-
|
24
22
|
// Media queries
|
25
23
|
$media-display: "only screen" !default;
|
@@ -160,3 +160,63 @@
|
|
160
160
|
margin-left: $left-list-item-margin;
|
161
161
|
}
|
162
162
|
}
|
163
|
+
|
164
|
+
// Long text shadows
|
165
|
+
// Brought to you by http://codepen.io/awesomephant/pen/mAxHz
|
166
|
+
@mixin long-shadow($type, $color, $length, $fadeout: true, $skew: false, $direction: right){
|
167
|
+
$shadow: '';
|
168
|
+
@if $skew == false or $type == text{
|
169
|
+
@if $direction == right {
|
170
|
+
@for $i from 0 to $length - 1 {
|
171
|
+
$shadow: $shadow + $i + 'px ' + $i + 'px 0 ' + $color + ',';
|
172
|
+
}
|
173
|
+
}
|
174
|
+
@if $direction == left {
|
175
|
+
@for $i from 0 to $length - 1 {
|
176
|
+
$shadow: $shadow + $i * -1 + 'px ' + $i + 'px 0 ' + $color + ',';
|
177
|
+
}
|
178
|
+
}
|
179
|
+
}
|
180
|
+
|
181
|
+
@if $fadeout == true{
|
182
|
+
@for $i from 1 to $length - 1 {
|
183
|
+
@if $type == text or $skew == false{
|
184
|
+
@if $direction == right{
|
185
|
+
$shadow: $shadow + $i + 'px ' + $i + 'px 0 ' + rgba($color, 1 - $i / $length) + ',';
|
186
|
+
}
|
187
|
+
@if $direction == left{
|
188
|
+
$shadow: $shadow + $i * -1 + 'px ' + $i + 'px 0 ' + rgba($color, 1 - $i / $length) + ',';
|
189
|
+
}
|
190
|
+
}
|
191
|
+
@if ($type == box) and $skew == true{
|
192
|
+
@if $direction == right {
|
193
|
+
$shadow: $shadow + $i + 'px ' + $i + 'px 0 ' + $i * .2 + 'px ' + rgba($color, 1 - $i / $length) + ',';
|
194
|
+
}
|
195
|
+
@if $direction == left {
|
196
|
+
$shadow: $shadow + $i * -1 + 'px ' + $i + 'px 0 ' + $i * .2 + 'px ' + rgba($color, 1 - $i / $length) + ',';
|
197
|
+
}
|
198
|
+
}
|
199
|
+
}
|
200
|
+
$shadow: $shadow + $length + 'px ' + $length + 'px 0 ' + rgba($color, 0);
|
201
|
+
}
|
202
|
+
@if $fadeout == false{
|
203
|
+
@if $skew == true and ( $type == box ){
|
204
|
+
@for $i from 0 to $length - 1 {
|
205
|
+
$shadow: $shadow + $i + 'px ' + $i + 'px 0 ' + $i * .1 + 'px ' + $color + ',';
|
206
|
+
}
|
207
|
+
}
|
208
|
+
$shadow: $shadow + $length + 'px ' + $length + 'px 0 ' + rgba(0,0,0,0);
|
209
|
+
}
|
210
|
+
$shadow: unquote($shadow);
|
211
|
+
@if $type == 'box' {@include box-shadow($shadow);}
|
212
|
+
@if $type == 'text' {text-shadow: $shadow;}
|
213
|
+
}
|
214
|
+
|
215
|
+
// Placeholder mixin
|
216
|
+
@mixin input-placeholder {
|
217
|
+
&.placeholder { @content; }
|
218
|
+
&:-moz-placeholder { @content; }
|
219
|
+
&::-moz-placeholder { @content; }
|
220
|
+
&:-ms-input-placeholder { @content; }
|
221
|
+
&::-webkit-input-placeholder { @content; }
|
222
|
+
}
|
@@ -24,15 +24,18 @@ $navigation-bar-divider-color: scale-color($navigation-bar-background, $lightnes
|
|
24
24
|
$navigation-bar-divider-size: 1px !default;
|
25
25
|
$navigation-bar-divider-style: solid !default;
|
26
26
|
|
27
|
-
//Brand section
|
28
|
-
$navigation-bar-brand-section-font-size: px-to-rems(18) !default;
|
29
|
-
$navigation-bar-brand-section-font-weight: 400 !default;
|
30
|
-
|
31
27
|
//Navigation links settings
|
32
28
|
$navigation-bar-link-color: #FFF !default;
|
33
29
|
$navigation-bar-link-hover-color: #999 !default;
|
34
30
|
$navigation-bar-link-hover-decoration: none !default;
|
35
|
-
$navigation-bar-hover-link-background-color: darken($navigation-bar-background,
|
31
|
+
$navigation-bar-hover-link-background-color: darken($navigation-bar-background, 1%) !default;
|
32
|
+
|
33
|
+
//Brand section
|
34
|
+
$navigation-bar-brand-section-font-size: px-to-rems(18) !default;
|
35
|
+
$navigation-bar-brand-section-font-weight: 400 !default;
|
36
|
+
$navigation-bar-brand-name-color: $navigation-bar-link-color !default;
|
37
|
+
$navigation-bar-brand-name-hover-text-decoration: none !default;
|
38
|
+
$navigation-bar-brand-name-hover-color: $navigation-bar-brand-name-color !default;
|
36
39
|
|
37
40
|
//Buttons settings
|
38
41
|
$navigation-bar-button-font-size: $navigation-font-size !default;
|
@@ -337,6 +340,18 @@ $navigation-bar-collapse-width: 768px !default;
|
|
337
340
|
font-size: $navigation-bar-brand-section-font-size;
|
338
341
|
position: relative;
|
339
342
|
font-weight: $navigation-bar-brand-section-font-weight;
|
343
|
+
|
344
|
+
.brand-name {
|
345
|
+
a {
|
346
|
+
color: $navigation-bar-brand-name-color;
|
347
|
+
|
348
|
+
&:hover {
|
349
|
+
text-decoration: $navigation-bar-brand-name-hover-text-decoration;
|
350
|
+
color: $navigation-bar-brand-name-hover-color;
|
351
|
+
}
|
352
|
+
}
|
353
|
+
}
|
354
|
+
|
340
355
|
li {
|
341
356
|
padding: 0;
|
342
357
|
|
@@ -27,13 +27,13 @@ ul.pagination {
|
|
27
27
|
font-size: $pagination-font-size;
|
28
28
|
|
29
29
|
display: block;
|
30
|
-
color: $pagination-color;
|
31
30
|
|
32
31
|
& > li {
|
33
32
|
display: inline-block;
|
34
33
|
|
35
34
|
& > a,
|
36
35
|
& > span {
|
36
|
+
color: $pagination-color;
|
37
37
|
padding: $pagination-list-items-padding;
|
38
38
|
@if($include-pagination-transition-list-items) {
|
39
39
|
@include transition((background 0.3s ease-out, color 0.3s ease-out));
|
@@ -14,14 +14,14 @@ $extra-small-media: "#{$media-display} and (max-width: #{$extra-small-screen-max
|
|
14
14
|
$small-screen: 768px !default;
|
15
15
|
$small-screen-max: $small-screen - 1 !default;
|
16
16
|
$small-screen-media: "#{$media-display} and (max-width: #{$small-screen-max})" !default;
|
17
|
-
$small-screen-range: "#{$media-display} and (min-width: #{$small-screen}) and (max-width: #{$small-screen-max})" !default;
|
17
|
+
$small-screen-range-media: "#{$media-display} and (min-width: #{$small-screen}) and (max-width: #{$small-screen-max})" !default;
|
18
18
|
|
19
19
|
$medium-screen: 992px !default;
|
20
20
|
$medium-screen-max: $medium-screen - 1 !default;
|
21
|
-
$medium-screen-
|
21
|
+
$medium-screen-media: "#{$media-display} and (min-width: #{$medium-screen}) and (max-width: #{$medium-screen-max})" !default;
|
22
22
|
|
23
23
|
$large-screen: 1200px !default;
|
24
|
-
$large-screen-
|
24
|
+
$large-screen-media: "#{$media-display} and (min-width: #{$large-screen})" !default;
|
25
25
|
|
26
26
|
// Responsive screen orientations
|
27
27
|
$portrait-media: "#{$media-display} and (orientation: portrait)" !default;
|
@@ -35,17 +35,17 @@ $landscape-media: "#{$media-display} and (orientation: landscape)" !default;
|
|
35
35
|
@include responsive-visibility();
|
36
36
|
}
|
37
37
|
&.visible-on-small {
|
38
|
-
@media #{$small-screen-range} {
|
38
|
+
@media #{$small-screen-range-media} {
|
39
39
|
@include responsive-visibility();
|
40
40
|
}
|
41
41
|
}
|
42
42
|
&.visible-on-medium {
|
43
|
-
@media #{$medium-screen-
|
43
|
+
@media #{$medium-screen-media} {
|
44
44
|
@include responsive-visibility();
|
45
45
|
}
|
46
46
|
}
|
47
47
|
&.visible-on-large {
|
48
|
-
@media #{$large-screen-
|
48
|
+
@media #{$large-screen-media} {
|
49
49
|
@include responsive-visibility();
|
50
50
|
}
|
51
51
|
}
|
@@ -59,16 +59,16 @@ $landscape-media: "#{$media-display} and (orientation: landscape)" !default;
|
|
59
59
|
@include responsive-visibility();
|
60
60
|
}
|
61
61
|
}
|
62
|
-
@media #{$small-screen-range} {
|
62
|
+
@media #{$small-screen-range-media} {
|
63
63
|
@include responsive-visibility();
|
64
64
|
}
|
65
65
|
&.visible-on-medium {
|
66
|
-
@media #{$medium-screen-
|
66
|
+
@media #{$medium-screen-media} {
|
67
67
|
@include responsive-visibility();
|
68
68
|
}
|
69
69
|
}
|
70
70
|
&.visible-on-large {
|
71
|
-
@media #{$large-screen-
|
71
|
+
@media #{$large-screen-media} {
|
72
72
|
@include responsive-visibility();
|
73
73
|
}
|
74
74
|
}
|
@@ -84,15 +84,15 @@ $landscape-media: "#{$media-display} and (orientation: landscape)" !default;
|
|
84
84
|
}
|
85
85
|
}
|
86
86
|
&.visible-sm {
|
87
|
-
@media #{$small-screen-range} {
|
87
|
+
@media #{$small-screen-range-media} {
|
88
88
|
@include responsive-visibility();
|
89
89
|
}
|
90
90
|
}
|
91
|
-
@media #{$medium-screen-
|
91
|
+
@media #{$medium-screen-media} {
|
92
92
|
@include responsive-visibility();
|
93
93
|
}
|
94
94
|
&.visible-lg {
|
95
|
-
@media #{$large-screen-
|
95
|
+
@media #{$large-screen-media} {
|
96
96
|
@include responsive-visibility();
|
97
97
|
}
|
98
98
|
}
|
@@ -107,16 +107,16 @@ $landscape-media: "#{$media-display} and (orientation: landscape)" !default;
|
|
107
107
|
}
|
108
108
|
}
|
109
109
|
&.visible-on-small {
|
110
|
-
@media #{$small-screen-range} {
|
110
|
+
@media #{$small-screen-range-media} {
|
111
111
|
@include responsive-visibility();
|
112
112
|
}
|
113
113
|
}
|
114
114
|
&.visible-on-medium {
|
115
|
-
@media #{$medium-screen-
|
115
|
+
@media #{$medium-screen-media} {
|
116
116
|
@include responsive-visibility();
|
117
117
|
}
|
118
118
|
}
|
119
|
-
@media #{$large-screen-
|
119
|
+
@media #{$large-screen-media} {
|
120
120
|
@include responsive-visibility();
|
121
121
|
}
|
122
122
|
}
|
@@ -128,17 +128,17 @@ $landscape-media: "#{$media-display} and (orientation: landscape)" !default;
|
|
128
128
|
@include responsive-invisibility();
|
129
129
|
}
|
130
130
|
&.hidden-on-small {
|
131
|
-
@media #{$small-screen-range} {
|
131
|
+
@media #{$small-screen-range-media} {
|
132
132
|
@include responsive-invisibility();
|
133
133
|
}
|
134
134
|
}
|
135
135
|
&.hidden-on-medium {
|
136
|
-
@media #{$medium-screen-
|
136
|
+
@media #{$medium-screen-media} {
|
137
137
|
@include responsive-invisibility();
|
138
138
|
}
|
139
139
|
}
|
140
140
|
&.hidden-on-large {
|
141
|
-
@media #{$large-screen-
|
141
|
+
@media #{$large-screen-media} {
|
142
142
|
@include responsive-invisibility();
|
143
143
|
}
|
144
144
|
}
|
@@ -152,16 +152,16 @@ $landscape-media: "#{$media-display} and (orientation: landscape)" !default;
|
|
152
152
|
@include responsive-invisibility();
|
153
153
|
}
|
154
154
|
}
|
155
|
-
@media #{$small-screen-range} {
|
155
|
+
@media #{$small-screen-range-media} {
|
156
156
|
@include responsive-invisibility();
|
157
157
|
}
|
158
158
|
&.hidden-on-medium {
|
159
|
-
@media #{$medium-screen-
|
159
|
+
@media #{$medium-screen-media} {
|
160
160
|
@include responsive-invisibility();
|
161
161
|
}
|
162
162
|
}
|
163
163
|
&.hidden-on-large {
|
164
|
-
@media #{$large-screen-
|
164
|
+
@media #{$large-screen-media} {
|
165
165
|
@include responsive-invisibility();
|
166
166
|
}
|
167
167
|
}
|
@@ -176,15 +176,15 @@ $landscape-media: "#{$media-display} and (orientation: landscape)" !default;
|
|
176
176
|
}
|
177
177
|
}
|
178
178
|
&.hidden-on-small {
|
179
|
-
@media #{$small-screen-range} {
|
179
|
+
@media #{$small-screen-range-media} {
|
180
180
|
@include responsive-invisibility();
|
181
181
|
}
|
182
182
|
}
|
183
|
-
@media #{$medium-screen-
|
183
|
+
@media #{$medium-screen-media} {
|
184
184
|
@include responsive-invisibility();
|
185
185
|
}
|
186
186
|
&.hidden-on-large {
|
187
|
-
@media #{$large-screen-
|
187
|
+
@media #{$large-screen-media} {
|
188
188
|
@include responsive-invisibility();
|
189
189
|
}
|
190
190
|
}
|
@@ -199,16 +199,16 @@ $landscape-media: "#{$media-display} and (orientation: landscape)" !default;
|
|
199
199
|
}
|
200
200
|
}
|
201
201
|
&.hidden-on-small {
|
202
|
-
@media #{$small-screen-range} {
|
202
|
+
@media #{$small-screen-range-media} {
|
203
203
|
@include responsive-invisibility();
|
204
204
|
}
|
205
205
|
}
|
206
206
|
&.hidden-on-medium {
|
207
|
-
@media #{$medium-screen-
|
207
|
+
@media #{$medium-screen-media} {
|
208
208
|
@include responsive-invisibility();
|
209
209
|
}
|
210
210
|
}
|
211
|
-
@media #{$large-screen-
|
211
|
+
@media #{$large-screen-media} {
|
212
212
|
@include responsive-invisibility();
|
213
213
|
}
|
214
214
|
}
|
@@ -2,7 +2,10 @@
|
|
2
2
|
//@variables
|
3
3
|
//
|
4
4
|
|
5
|
-
$small-min-width:
|
5
|
+
$extra-small-min-width: 320px !default;
|
6
|
+
$extra-small-max-width: 479px !default;
|
7
|
+
|
8
|
+
$small-min-width: $extra-small-max-width + 1 !default;
|
6
9
|
$small-max-width: 767px !default;
|
7
10
|
|
8
11
|
$medium-min-width: $small-max-width + 1 !default;
|
@@ -79,3 +82,22 @@ $large-min-width: $medium-max-width + 1 !default;
|
|
79
82
|
text-align: right;
|
80
83
|
}
|
81
84
|
}
|
85
|
+
|
86
|
+
//Extra small screen sizes alignment
|
87
|
+
@include screen($resMin: $extra-small-min-width, $resMax: $extra-small-max-width) {
|
88
|
+
.text-center-xsm {
|
89
|
+
text-align: center;
|
90
|
+
}
|
91
|
+
|
92
|
+
.text-left-xsm {
|
93
|
+
text-align: left;
|
94
|
+
}
|
95
|
+
|
96
|
+
.text-justify-xsm {
|
97
|
+
text-align: justify;
|
98
|
+
}
|
99
|
+
|
100
|
+
.text-right-xsm {
|
101
|
+
text-align: right;
|
102
|
+
}
|
103
|
+
}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
// Theming variables
|
2
|
+
//
|
3
|
+
|
4
|
+
//
|
5
|
+
//@variables
|
6
|
+
//
|
7
|
+
|
8
|
+
@function set-smart-color($color) {
|
9
|
+
@if (lightness($color) > 80) {
|
10
|
+
@return #000000; // We return a dark color when the background is light
|
11
|
+
} @else {
|
12
|
+
@return #ffffff; // We return a light color when the background is dark
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
$primary-color: #191818;
|
17
|
+
|
18
|
+
// Navigation bar
|
19
|
+
$navigation-bar-background: $primary-color;
|
20
|
+
$navigation-bar-border-bottom: 1px solid darken($primary-color, 3%);
|
21
|
+
$navigation-bar-color: set-smart-color($primary-color);
|
22
|
+
$navigation-bar-link-color: set-smart-color($primary-color);
|
23
|
+
$navigation-bar-link-hover-color: darken(set-smart-color($primary-color), 5%);
|
24
|
+
$navigation-bar-divider-color: rgba(set-smart-color($primary-color), 0.1);
|
25
|
+
|
26
|
+
//Buttons
|
27
|
+
$button-default-background-color: $primary-color;
|
28
|
+
$button-primary-background: $primary-color;
|
29
|
+
$button-font-color: set-smart-color($primary-color);
|
30
|
+
|
31
|
+
//Labels
|
32
|
+
$label-default-background: $primary-color;
|
33
|
+
$label-primary-background: $primary-color;
|
34
|
+
$label-font-color: set-smart-color($primary-color);
|
35
|
+
|
36
|
+
//Pagination
|
37
|
+
$pagination-bg-color: $primary-color;
|
38
|
+
$pagination-color: lighten($primary-color, 3%);
|
39
|
+
|
40
|
+
//Alerts
|
41
|
+
$alert-primary-background: $primary-color;
|
42
|
+
|
43
|
+
//Blockquote
|
44
|
+
$blockquote-border-primary-color: $primary-color;
|
45
|
+
$blockquote-border-color: $primary-color;
|
46
|
+
|
47
|
+
//Grid
|
48
|
+
$grid-primary-background-color: $primary-color;
|
49
|
+
|
50
|
+
//Tooltip
|
51
|
+
$tooltip-color: $primary-color;
|
52
|
+
|
53
|
+
//Toolbar
|
54
|
+
$toolbar-background-color: $primary-color;
|
55
|
+
$toolbar-primary-background-color: $primary-color;
|
56
|
+
|
57
|
+
//Offscreen
|
58
|
+
$off-screen-navigation-background-color: lighten($primary-color, 5%);
|
59
|
+
|
60
|
+
//Inline navigation
|
61
|
+
$navigation-inline-active-background: $primary-color;
|
62
|
+
$navigation-inline-link-hover: $primary-color;
|
63
|
+
|
64
|
+
//Global
|
65
|
+
$base-link-color: $primary-color;
|
66
|
+
$anchor-color: $primary-color;
|
67
|
+
|
68
|
+
|
69
|
+
|
@@ -108,7 +108,7 @@ $include-toolbar-right-position: true !default;
|
|
108
108
|
|
109
109
|
@if ($include-toolbar-top-position) {
|
110
110
|
.tool-container.tool-top .arrow {
|
111
|
-
border-color: $toolbar-
|
111
|
+
border-color: $toolbar-background-color transparent transparent;
|
112
112
|
left: 50%;
|
113
113
|
bottom: calculate-toolbar-arrow-position($toolbar-arrow-border-width);
|
114
114
|
margin-left: -1 * $toolbar-arrow-border-width;
|
metadata
CHANGED
@@ -1,57 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: furatto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Abraham Kuri Vargas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '3.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '3.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: actionpack
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '3.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '3.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: activemodel
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '3.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '3.0'
|
55
55
|
description: Integrates the Furatto CSS Framework to the Rails assets Pipeline
|
56
56
|
email:
|
57
57
|
- kurenn@icalialabs.com
|
@@ -104,6 +104,7 @@ files:
|
|
104
104
|
- vendor/assets/stylesheets/furatto/_tables.scss
|
105
105
|
- vendor/assets/stylesheets/furatto/_tabs.scss
|
106
106
|
- vendor/assets/stylesheets/furatto/_text_alignment_utilities.scss
|
107
|
+
- vendor/assets/stylesheets/furatto/_theming.scss
|
107
108
|
- vendor/assets/stylesheets/furatto/_toolbars.scss
|
108
109
|
- vendor/assets/stylesheets/furatto/_tooltips.scss
|
109
110
|
- vendor/assets/stylesheets/furatto/_typography.scss
|
@@ -128,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
129
|
version: '0'
|
129
130
|
requirements: []
|
130
131
|
rubyforge_project: furatto-rails
|
131
|
-
rubygems_version: 2.2.
|
132
|
+
rubygems_version: 2.2.2
|
132
133
|
signing_key:
|
133
134
|
specification_version: 4
|
134
135
|
summary: Furatto CSS Framework for Rails 3.1 Asset Pipeline
|