furatto 0.0.3 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +25 -18
  3. data/furatto.gemspec +4 -0
  4. data/lib/furatto.rb +3 -10
  5. data/lib/furatto/version.rb +1 -1
  6. data/lib/furatto_rails_helpers/furatto_helpers.rb +19 -0
  7. data/lib/generators/furatto/install_generator.rb +46 -0
  8. data/lib/generators/furatto/templates/application.html.erb +28 -0
  9. data/vendor/assets/javascripts/furatto.js +1822 -0
  10. data/vendor/assets/stylesheets/furatto.scss +76 -0
  11. data/vendor/assets/stylesheets/furatto/_alerts.scss +130 -0
  12. data/vendor/assets/stylesheets/furatto/_base.scss +138 -0
  13. data/vendor/assets/stylesheets/furatto/_button-groups.scss +85 -0
  14. data/vendor/assets/stylesheets/furatto/_buttons.scss +266 -0
  15. data/{app → vendor}/assets/stylesheets/furatto/_date_picker.date.scss +0 -0
  16. data/{app → vendor}/assets/stylesheets/furatto/_date_picker.scss +1 -0
  17. data/{app → vendor}/assets/stylesheets/furatto/_dropdown.scss +0 -0
  18. data/vendor/assets/stylesheets/furatto/_experimental.scss +81 -0
  19. data/{app → vendor}/assets/stylesheets/furatto/_footer.scss +0 -0
  20. data/vendor/assets/stylesheets/furatto/_forms.scss +269 -0
  21. data/vendor/assets/stylesheets/furatto/_functions.scss +18 -0
  22. data/vendor/assets/stylesheets/furatto/_global.scss +51 -0
  23. data/vendor/assets/stylesheets/furatto/_grid.scss +142 -0
  24. data/vendor/assets/stylesheets/furatto/_images.scss +122 -0
  25. data/vendor/assets/stylesheets/furatto/_labels.scss +97 -0
  26. data/vendor/assets/stylesheets/furatto/_media_queries.scss +200 -0
  27. data/vendor/assets/stylesheets/furatto/_mixins.scss +143 -0
  28. data/vendor/assets/stylesheets/furatto/_modal.scss +297 -0
  29. data/vendor/assets/stylesheets/furatto/_navigation.scss +127 -0
  30. data/vendor/assets/stylesheets/furatto/_navigation_bar.scss +338 -0
  31. data/vendor/assets/stylesheets/furatto/_off_screen.scss +269 -0
  32. data/vendor/assets/stylesheets/furatto/_pagination.scss +78 -0
  33. data/vendor/assets/stylesheets/furatto/_responsive_utilities.scss +244 -0
  34. data/vendor/assets/stylesheets/furatto/_selectors.scss +44 -0
  35. data/vendor/assets/stylesheets/furatto/_settings.scss +0 -0
  36. data/vendor/assets/stylesheets/furatto/_suraido.scss +214 -0
  37. data/vendor/assets/stylesheets/furatto/_tables.scss +166 -0
  38. data/vendor/assets/stylesheets/furatto/_tabs.scss +26 -0
  39. data/vendor/assets/stylesheets/furatto/_toolbars.scss +199 -0
  40. data/vendor/assets/stylesheets/furatto/_tooltips.scss +92 -0
  41. data/vendor/assets/stylesheets/furatto/_typography.scss +243 -0
  42. data/{app → vendor}/assets/stylesheets/normalize.scss +22 -19
  43. metadata +86 -49
  44. data/app/assets/fonts/fontawesome/FontAwesome.otf +0 -0
  45. data/app/assets/fonts/fontawesome/fontawesome-webfont.eot +0 -0
  46. data/app/assets/fonts/fontawesome/fontawesome-webfont.svg +0 -399
  47. data/app/assets/fonts/fontawesome/fontawesome-webfont.ttf +0 -0
  48. data/app/assets/fonts/fontawesome/fontawesome-webfont.woff +0 -0
  49. data/app/assets/fonts/meteocons-webfont.eot +0 -0
  50. data/app/assets/fonts/meteocons-webfont.svg +0 -81
  51. data/app/assets/fonts/meteocons-webfont.ttf +0 -0
  52. data/app/assets/fonts/meteocons-webfont.woff +0 -0
  53. data/app/assets/javascripts/furatto.js +0 -5978
  54. data/app/assets/javascripts/furatto.min.js +0 -3
  55. data/app/assets/stylesheets/font-awesome.css.erb +0 -2495
  56. data/app/assets/stylesheets/furatto.scss +0 -86
  57. data/app/assets/stylesheets/furatto/_alerts.scss +0 -80
  58. data/app/assets/stylesheets/furatto/_base.scss +0 -99
  59. data/app/assets/stylesheets/furatto/_buttons.scss +0 -125
  60. data/app/assets/stylesheets/furatto/_code.scss +0 -67
  61. data/app/assets/stylesheets/furatto/_dashboard.scss +0 -36
  62. data/app/assets/stylesheets/furatto/_fonts.scss +0 -26
  63. data/app/assets/stylesheets/furatto/_forms.scss +0 -307
  64. data/app/assets/stylesheets/furatto/_grid.scss +0 -60
  65. data/app/assets/stylesheets/furatto/_images.scss +0 -64
  66. data/app/assets/stylesheets/furatto/_labels.scss +0 -44
  67. data/app/assets/stylesheets/furatto/_mixins.scss +0 -200
  68. data/app/assets/stylesheets/furatto/_modal.scss +0 -365
  69. data/app/assets/stylesheets/furatto/_nav.scss +0 -104
  70. data/app/assets/stylesheets/furatto/_navbar.scss +0 -216
  71. data/app/assets/stylesheets/furatto/_panel.scss +0 -277
  72. data/app/assets/stylesheets/furatto/_responsive_navbar.scss +0 -195
  73. data/app/assets/stylesheets/furatto/_responsive_tables.scss +0 -28
  74. data/app/assets/stylesheets/furatto/_responsive_utilities.scss +0 -182
  75. data/app/assets/stylesheets/furatto/_responsiveslides.scss +0 -185
  76. data/app/assets/stylesheets/furatto/_tables.scss +0 -90
  77. data/app/assets/stylesheets/furatto/_toolbars.scss +0 -116
  78. data/app/assets/stylesheets/furatto/_tooltips.scss +0 -131
  79. data/app/assets/stylesheets/furatto/_typography.scss +0 -224
  80. data/app/assets/stylesheets/furatto/_variables.scss +0 -625
@@ -0,0 +1,122 @@
1
+ //Images
2
+
3
+ //
4
+ //@variables
5
+ //
6
+
7
+ @import "functions";
8
+
9
+ //Images variations
10
+ $img-radius: px-to-rems(3) !default;
11
+ $img-round: 50rem !default;
12
+
13
+ //Image general settings
14
+ $img-polaroid-padding: 0.28571429rem !default;
15
+ $img-polaroid-background: #FFF !default;
16
+ $img-polaroid-border-width: 0.07142857rem !default;
17
+ $img-polaroid-border-style: solid !default;
18
+ $img-polaroid-border-color: rgba(#000, 0.2) !default;
19
+ $img-display: inline-block !default;
20
+ $img-frame-margin: 5px !default;
21
+
22
+ //Experimental
23
+ $include-img-experimental: true !default;
24
+ $include-img-flexible-ratios: true !default;
25
+
26
+ //
27
+ //@mixin
28
+ //
29
+ @mixin img-responsive($display: $img-display) {
30
+ max-width: 100%;
31
+ height: auto;
32
+ display: $display;
33
+ }
34
+
35
+ //General img styling
36
+ //Deprecated on IE9+
37
+ img {
38
+ -ms-interpolation-mode: bicubic;
39
+ vertical-align: middle;
40
+
41
+ //Images responsive styling
42
+ &.responsive {
43
+ @include img-responsive;
44
+ }
45
+
46
+ //Circular images
47
+ &.circular {
48
+ @include border-radius($img-round);
49
+ }
50
+
51
+ //Well images
52
+ &.radius {
53
+ @include border-radius($img-radius);
54
+ }
55
+
56
+ //Images with borders
57
+ &.polaroid {
58
+ padding: $img-polaroid-padding;
59
+ border: $img-polaroid-border-width $img-polaroid-border-style $img-polaroid-border-color;
60
+ background: $img-polaroid-background;
61
+ }
62
+
63
+ }
64
+
65
+ //iOS fix for rounded and polaroid images
66
+ .img-frame {
67
+ display: $img-display;
68
+ border: $img-polaroid-border-width $img-polaroid-border-style $img-polaroid-border-color;
69
+
70
+ img {
71
+ margin: $img-frame-margin;
72
+ }
73
+
74
+ &.circular {
75
+ @include border-radius($img-round);
76
+ img {
77
+ @extend .circular;
78
+ }
79
+ }
80
+ }
81
+
82
+ //Experimental
83
+ // Kudos to Nicolas Gallagher
84
+ @if($include-img-experimental) {
85
+ .cover-image {
86
+ display: block;
87
+ overflow: hidden;
88
+ position: relative;
89
+ background-position: 50%;
90
+ background-repeat: no-repeat;
91
+ background-size: cover;
92
+ margin: 0 auto 1em;
93
+ max-height: 300px;
94
+ max-width: 100%;
95
+
96
+ @if($include-img-flexible-ratios == false) {
97
+ padding-bottom: 50%;
98
+ }
99
+
100
+ &:before {
101
+ content: '';
102
+ display: block;
103
+ width:100%;
104
+ }
105
+
106
+ @if($include-img-flexible-ratios) {
107
+ &.ratio-2by1:before {
108
+ padding-bottom: 50%;
109
+ }
110
+ &.ratio-3by1:before {
111
+ padding-bottom: 33.33%;
112
+ }
113
+ &.ratio-4by1:before {
114
+ padding-bottom: 25%;
115
+ }
116
+ &.ratio-4by3:before {
117
+ padding-bottom: 75%;
118
+ }
119
+ }
120
+
121
+ }
122
+ }
@@ -0,0 +1,97 @@
1
+ //Labels
2
+
3
+ //
4
+ //@variables
5
+ //
6
+ @import "functions";
7
+
8
+ //Label general settings
9
+ $label-padding: px-to-rems(3) px-to-rems(6) !default;
10
+ $label-font-size: px-to-rems(11) !default;
11
+ $label-font-weight: normal !default;
12
+ $label-font-color: #FFF !default;
13
+ $label-font-shadow-alpha: 0.20 !default;
14
+ $label-font-shadow-x: 0 !default;
15
+ $label-font-shadow-y: -1px !default;
16
+ $label-hover-decoration: none !default;
17
+ $label-default-background: #95A5A6 !default;
18
+
19
+ //Label variations
20
+ $label-radius: px-to-rems(3) !default;
21
+ $label-round: px-to-rems(1000) !default;
22
+
23
+ //Label background variations
24
+ $label-primary-background: #3498db !default;
25
+ $label-success-background: #2ecc71 !default;
26
+ $label-danger-background: #e74c3c !default;
27
+ $label-warning-background: #e67e22 !default;
28
+
29
+ //
30
+ //@mixin
31
+ // We use this mixin to build the general settings for labels
32
+ //
33
+ @mixin label-base {
34
+ display: inline-block;
35
+ *display: inline-block;
36
+ padding: $label-padding;
37
+ font-size: $label-font-size;
38
+ font-weight: $label-font-weight;
39
+ color: $label-font-color;
40
+ vertical-align: baseline;
41
+ white-space: nowrap;
42
+ text-shadow: $label-font-shadow-x $label-font-shadow-y 0 rgba(0,0,0, $label-font-shadow-alpha);
43
+
44
+ &:hover {
45
+ text-decoration: $label-hover-decoration;
46
+ }
47
+ }
48
+
49
+ //
50
+ //@mixin
51
+ // We use this mixin to add styling to the labels
52
+ //
53
+ // $background-color - Is the background for the labels. Default: $label-default-background
54
+
55
+ @mixin label-style($background-color: $label-default-background) {
56
+ background: $background-color;
57
+ }
58
+
59
+
60
+ //
61
+ //@mixin
62
+ //
63
+ // We use this mixin to let the user create custom buttons
64
+ // $background-color - Is the background color for the button to create. Default: $label-default-background
65
+ // $include-round - Wheter or not to add the round style on the custom button
66
+ // $include-radius - Wheter or not to add the radius size style on the custom button
67
+ // Example .custom-label { @include label($background-color: #1abc9c); }
68
+ //
69
+
70
+ @mixin label($background-color: $label-default-background, $include-round: true, $include-radius: true) {
71
+ @include label-base;
72
+ @include label-style($background-color);
73
+
74
+ @if $include-round {
75
+ &.round { @include border-radius($label-round); }
76
+ }
77
+
78
+ @if $include-radius {
79
+ &.radius { @include border-radius($label-radius); }
80
+ }
81
+ }
82
+
83
+ //Label style definition
84
+ .label {
85
+ @include label-base;
86
+ @include label-style;
87
+
88
+ &.round { @include border-radius($label-round); }
89
+ &.radius { @include border-radius($label-radius); }
90
+
91
+
92
+ //Label styles
93
+ &.primary { @include label-style($label-primary-background); }
94
+ &.success { @include label-style($label-success-background); }
95
+ &.danger { @include label-style($label-danger-background); }
96
+ &.warning { @include label-style($label-warning-background); }
97
+ }
@@ -0,0 +1,200 @@
1
+ //Media queries
2
+ // Based on Rafal Bromirski Sass example - http://twitter.com/paranoida
3
+
4
+ //
5
+ //@variables
6
+ //
7
+
8
+ @mixin screen($resMin, $resMax)
9
+ {
10
+ @media #{$media-display} and (min-width: $resMin) and (max-width: $resMax)
11
+ {
12
+ @content;
13
+ }
14
+ }
15
+
16
+ @mixin max-screen($res)
17
+ {
18
+ @media #{$media-display} and (max-width: $res)
19
+ {
20
+ @content;
21
+ }
22
+ }
23
+
24
+ @mixin min-screen($res)
25
+ {
26
+ @media #{$media-display} and (min-width: $res)
27
+ {
28
+ @content;
29
+ }
30
+ }
31
+
32
+ @mixin screen-height($resMin, $resMax)
33
+ {
34
+ @media #{$media-display} and (min-height: $resMin) and (max-height: $resMax)
35
+ {
36
+ @content;
37
+ }
38
+ }
39
+
40
+ @mixin max-screen-height($res)
41
+ {
42
+ @media #{$media-display} and (max-height: $res)
43
+ {
44
+ @content;
45
+ }
46
+ }
47
+
48
+ @mixin min-screen-height($res)
49
+ {
50
+ @media #{$media-display} and (min-height: $res)
51
+ {
52
+ @content;
53
+ }
54
+ }
55
+
56
+ // ---------------------------------------------------------------------------------------------------------------------
57
+ // --- hdpi ------------------------------------------------------------------------------------------------------------
58
+ // ---------------------------------------------------------------------------------------------------------------------
59
+
60
+ // Based on bourbon hidpi-media-queries file (https://github.com/thoughtbot/bourbon/blob/master/app/assets/stylesheets/css3/_hidpi-media-query.scss)
61
+ // HiDPI mixin. Default value set to 1.3 to target Google Nexus 7 (http://bjango.com/articles/min-device-pixel-ratio/)
62
+
63
+ @mixin hdpi($ratio: 1.3)
64
+ {
65
+ @media only screen and (-webkit-min-device-pixel-ratio: $ratio),
66
+ only screen and (min--moz-device-pixel-ratio: $ratio),
67
+ only screen and (-o-min-device-pixel-ratio: #{$ratio}/1),
68
+ only screen and (min-resolution: #{round($ratio*96)}dpi),
69
+ only screen and (min-resolution: #{$ratio}dppx)
70
+ {
71
+ @content;
72
+ }
73
+ }
74
+
75
+ // ---------------------------------------------------------------------------------------------------------------------
76
+ // --- iphone ----------------------------------------------------------------------------------------------------------
77
+ // ---------------------------------------------------------------------------------------------------------------------
78
+
79
+ @mixin phone
80
+ {
81
+ $deviceMinWidth: 320px;
82
+ $deviceMaxWidth: 480px;
83
+
84
+ @media #{$media-display} and (min-width: $deviceMinWidth) and (max-width: $deviceMaxWidth) {
85
+ @content;
86
+ }
87
+ }
88
+
89
+ // ---------------------------------------------------------------------------------------------------------------------
90
+ // --- iphone-retina ---------------------------------------------------------------------------------------------------
91
+ // ---------------------------------------------------------------------------------------------------------------------
92
+
93
+ @mixin iphone4($orientation: all)
94
+ {
95
+ $deviceMinWidth: 320px;
96
+ $deviceMaxWidth: 480px;
97
+ $devicePixelRatio: 2;
98
+ $deviceAspectRatio: '2/3';
99
+
100
+ @if $orientation == all
101
+ {
102
+ @media only screen and (min-device-width: $deviceMinWidth) and (max-device-width: $deviceMaxWidth)
103
+ and (-webkit-device-pixel-ratio: $devicePixelRatio) and (device-aspect-ratio: $deviceAspectRatio)
104
+ {
105
+ @content;
106
+ }
107
+ }
108
+ @else
109
+ {
110
+ @media only screen and (min-device-width: $deviceMinWidth) and (max-device-width: $deviceMaxWidth)
111
+ and (-webkit-device-pixel-ratio: $devicePixelRatio) and (device-aspect-ratio: 2/3) and (orientation:#{$orientation})
112
+ {
113
+ @content;
114
+ }
115
+ }
116
+ }
117
+
118
+ // ---------------------------------------------------------------------------------------------------------------------
119
+ // --- iphone-5 --------------------------------------------------------------------------------------------------------
120
+ // ---------------------------------------------------------------------------------------------------------------------
121
+
122
+ @mixin iphone5($orientation: all)
123
+ {
124
+ $deviceMinWidth: 320px;
125
+ $deviceMaxWidth: 568px;
126
+ $devicePixelRatio: 2;
127
+ $deviceAspectRatio: '40/71';
128
+
129
+ @if $orientation == all
130
+ {
131
+ @media only screen and (min-device-width: $deviceMinWidth) and (max-device-width: $deviceMaxWidth)
132
+ and (-webkit-device-pixel-ratio: $devicePixelRatio) and (device-aspect-ratio: $deviceAspectRatio)
133
+ {
134
+ @content;
135
+ }
136
+ }
137
+ @else
138
+ {
139
+ @media only screen and (min-device-width: $deviceMinWidth) and (max-device-width: $deviceMaxWidth)
140
+ and (-webkit-device-pixel-ratio: $devicePixelRatio) and (device-aspect-ratio: $deviceAspectRatio) and (orientation:#{$orientation})
141
+ {
142
+ @content;
143
+ }
144
+ }
145
+ }
146
+
147
+ // ---------------------------------------------------------------------------------------------------------------------
148
+ // --- ipads (all) -----------------------------------------------------------------------------------------------------
149
+ // ---------------------------------------------------------------------------------------------------------------------
150
+
151
+ @mixin ipad($orientation: all)
152
+ {
153
+ $deviceMinWidth: 768px;
154
+ $deviceMaxWidth: 1024px;
155
+
156
+ @if $orientation == all
157
+ {
158
+ @media only screen and (min-device-width: $deviceMinWidth) and (max-device-width: $deviceMaxWidth)
159
+ {
160
+ @content;
161
+ }
162
+ }
163
+ @else
164
+ {
165
+ @media only screen and (min-device-width: $deviceMinWidth) and (max-device-width: $deviceMaxWidth)
166
+ and (orientation:#{$orientation})
167
+ {
168
+ @content;
169
+ }
170
+ }
171
+ }
172
+
173
+ // ---------------------------------------------------------------------------------------------------------------------
174
+ // --- ipad-retina -----------------------------------------------------------------------------------------------------
175
+ // ---------------------------------------------------------------------------------------------------------------------
176
+
177
+ @mixin ipad-retina($orientation: all)
178
+ {
179
+ $deviceMinWidth: 768px;
180
+ $deviceMaxWidth: 1024px;
181
+ $devicePixelRatio: 2;
182
+
183
+ @if $orientation == all
184
+ {
185
+ @media only screen and (min-device-width: $deviceMinWidth) and (max-device-width: $deviceMaxWidth)
186
+ and (-webkit-device-pixel-ratio: $devicePixelRatio)
187
+ {
188
+ @content;
189
+ }
190
+ }
191
+ @else
192
+ {
193
+ @media only screen and (min-device-width: $deviceMinWidth) and (max-device-width: $deviceMaxWidth)
194
+ and (-webkit-device-pixel-ratio: $devicePixelRatio) and (orientation:#{$orientation})
195
+ {
196
+ @content;
197
+ }
198
+ }
199
+ }
200
+
@@ -0,0 +1,143 @@
1
+ //Mixins
2
+
3
+ //Hyphens mixin
4
+ @mixin hyphens($mode: auto) {
5
+ word-wrap: break-word;
6
+ -webkit-hyphens: $mode;
7
+ -moz-hyphens: $mode;
8
+ -ms-hyphens: $mode; // IE10+
9
+ -o-hyphens: $mode;
10
+ hyphens: $mode;
11
+ }
12
+
13
+ //Mixins to define the visibility media queries support
14
+ @mixin responsive-invisibility {
15
+ display: none !important;
16
+
17
+ tr, th, td {
18
+ display: none !important;
19
+ }
20
+ }
21
+
22
+ @mixin responsive-visibility {
23
+ display: block !important;
24
+
25
+ &.btn {
26
+ display: inline-block !important;
27
+ }
28
+
29
+ tr {
30
+ display: table-row !important;
31
+ }
32
+
33
+ th, td {
34
+ display: table-cell !important;
35
+ }
36
+ }
37
+
38
+
39
+ // Mixin to set the touch callout actions for different vendors
40
+ @mixin touch-callout($value: none) {
41
+ -webkit-touch-callout: $value;
42
+ -webkit-user-select: $value;
43
+ -khtml-user-select: $value;
44
+ -moz-user-select: moz-#{$value};
45
+ -ms-user-select: $value;
46
+ user-select: $value;
47
+ }
48
+
49
+ // Mixin to add support for retina display on images
50
+ @mixin retina-image($image, $width, $height) {
51
+ @media (min--moz-device-pixel-ratio: 1.3),
52
+ (-o-min-device-pixel-ratio: 2.6/2),
53
+ (-webkit-min-device-pixel-ratio: 1.3),
54
+ (min-device-pixel-ratio: 1.3),
55
+ (min-resolution: 1.3dppx) {
56
+ /* on retina, use image that's scaled by 2 */
57
+ background-image: url($image);
58
+ background-size: $width $height;
59
+ }
60
+ }
61
+
62
+ // Mixin that will truncate text
63
+ @mixin truncate-text {
64
+ overflow: hidden;
65
+ text-overflow: ellipsis;
66
+ white-space: nowrap;
67
+ }
68
+
69
+ // Mixin to set the abs position of any element
70
+ @mixin absPosition($top: auto, $right: auto, $bottom: auto, $left: auto) {
71
+ position: absolute;
72
+ top: $top;
73
+ right: $right;
74
+ bottom: $bottom;
75
+ left: $left;
76
+ }
77
+
78
+ // Hidden text - by Nicolas Gallagher
79
+ @mixin hidden-text {
80
+ font: 0/0 a;
81
+ text-shadow: none;
82
+ color: transparent;
83
+ }
84
+
85
+ // Font-size mixin, with IE7 & IE8 support, CSS tricks courtesy
86
+ @mixin font-size($size: 1.6, $line: $size * 1.25) {
87
+ font-size: ($size * 10) + px;
88
+ line-height: ($line * 10) + px;
89
+ font-size: $size + rem;
90
+ line-height: $line + rem;
91
+ }
92
+
93
+ // Animation keyframes
94
+ @mixin keyframes($name) {
95
+ @-webkit-keyframes #{$name} {
96
+ @content
97
+ }
98
+ @-moz-keyframes #{$name} {
99
+ @content
100
+ }
101
+ @-ms-keyframes #{$name} {
102
+ @content
103
+ }
104
+ @-o-keyframes #{$name} {
105
+ @content
106
+ }
107
+ @keyframes #{$name} {
108
+ @content
109
+ }
110
+ }
111
+
112
+ // Animation mixin
113
+ @mixin animation($value) {
114
+ -webkit-animation: $value;
115
+ -moz-animation: $value;
116
+ -ms-animation: $value;
117
+ -o-animation: $value;
118
+ animation: $value;
119
+ }
120
+
121
+
122
+ // Embossing and letterpress effect
123
+ @mixin box-emboss($outerOpacity, $innerOpacity) {
124
+ @include box-shadow(rgba(white, $outerOpacity) 0 1p 0,
125
+ rgba(black, $innerOpacity) 0 1px 0 inset);
126
+ }
127
+
128
+ // Flexbox
129
+
130
+ @mixin flexbox-display {
131
+ display: -webkit-box;
132
+ display: -webkit-flex;
133
+ display: -moz-box;
134
+ display: -ms-flexbox;
135
+ display: flex;
136
+ }
137
+
138
+ @mixin flex($value: 1) {
139
+ -webkit-flex: $value;
140
+ -moz-flex: $value;
141
+ -ms-flex: $value;
142
+ flex: $value;
143
+ }