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,269 @@
1
+ //Off screen
2
+
3
+ //
4
+ //@variables
5
+ //
6
+
7
+ //General
8
+ $off-screen-navigation-color: #EFEFEF !default;
9
+ $off-screen-navigation-width: 80% !default;
10
+ $off-screen-navigation-font-weight: 100 !default;
11
+ $off-screen-navigation-background-color: #333 !default;
12
+ $off-screen-z-index: 1 !default;
13
+ $off-screen-left-padding: 1rem !default;
14
+ $off-screen-vertical-padding: 0.7rem !default;
15
+ $off-screen-text-shadow-color: $off-screen-navigation-color !default;
16
+ $off-screen-text-shadow-alpha: 0.1 !default;
17
+
18
+ //Links
19
+ $off-screen-font-size: 1.2rem !default;
20
+ $off-screen-include-link-hover-transition: true !default;
21
+ $off-screen-link-padding: 1rem !default;
22
+ $include-separator-to-links: true !default;
23
+
24
+ //List Header
25
+ $off-screen-list-header-transform: uppercase !default;
26
+ $off-screen-list-header-font-weight: bold !default;
27
+ $off-screen-list-header-font-size: 0.7rem !default;
28
+
29
+ //Divider
30
+ $off-screen-divider-color: lighten($off-screen-navigation-background-color, 10%) !default;
31
+ $off-screen-divider-margin: 0.21428571rem !default;
32
+
33
+ //Back link
34
+ $off-screen-back-link-padding: 0.5rem 1rem !default;
35
+ $off-screen-back-link-font-weight: 300 !default;
36
+ $off-screen-back-link-letter-spacing: 1px !default;
37
+ $off-screen-back-link-font-size: 0.9rem !default;
38
+ $off-screen-back-link-background: rgba(#000, 0.1) !default;
39
+ $off-screen-back-link-text-transform: uppercase !default;
40
+ $off-screen-back-link-border-color: #000 !default;
41
+ $off-screen-back-link-border-alpha: 0.2 !default;
42
+
43
+ //Header
44
+ $off-screen-header-padding: 1rem !default;
45
+ $off-screen-header-font-weight: 200 !default;
46
+
47
+ $off-screen-toggle-menu-left-position: 0.71428571rem !default;
48
+ $off-screen-toggle-menu-brand-name-padding-left: $off-screen-toggle-menu-left-position + 1.42857143rem !default;
49
+ $off-screen-toggle-color: #FFF !default;
50
+
51
+ //Menu toggle
52
+ $off-screen-toggle-padding-left: px-to-rems(34) !default;
53
+
54
+ .off-screen {
55
+ .navigation-bar {
56
+ .brand-section {
57
+ .brand-name {
58
+ a {
59
+ padding-left: $off-screen-toggle-padding-left;
60
+ &:before {
61
+ content: '';
62
+ width: 16px;
63
+ height: 0;
64
+ position: absolute;
65
+ left: $off-screen-toggle-menu-left-position;
66
+ top: $navigation-bar-toggle-icon-top-position;
67
+ @include box-shadow(0 10px 0 1px $off-screen-toggle-color,
68
+ 0 16px 0 1px $off-screen-toggle-color,
69
+ 0 22px 0 1px $off-screen-toggle-color);
70
+ display: none;
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+
78
+ .off-screen {
79
+ position: relative;
80
+ left: 0;
81
+ @include backface-visibility(hidden);
82
+
83
+
84
+ .off-screen-navigation {
85
+ position: absolute; /* we can't use fixed here :( */
86
+ top: 0;
87
+ left: 0;
88
+ bottom: 0;
89
+ z-index: $off-screen-z-index;
90
+ width: $off-screen-navigation-width;
91
+ height: 100%;
92
+ min-height: 100%;
93
+ @include transform( translate3d(-100%, 0, 0));
94
+ color: darken($off-screen-navigation-color, 10%);
95
+
96
+ a {
97
+ text-decoration: none;
98
+ }
99
+
100
+ ul {
101
+ margin: 0;
102
+ padding: 0;
103
+ list-style: none;
104
+ background: $off-screen-navigation-background-color;
105
+ li {
106
+
107
+ & > a {
108
+ display: block;
109
+ padding: $off-screen-vertical-padding 0 $off-screen-vertical-padding $off-screen-left-padding;
110
+ outline: none;
111
+ font-size: $off-screen-font-size;
112
+ text-shadow: 0 0 1px rgba($off-screen-text-shadow-color, $off-screen-text-shadow-alpha);
113
+ @if($off-screen-include-link-hover-transition){
114
+ @include transition(background 0.3s, box-shadow 0.3s);
115
+ }
116
+ }
117
+
118
+ &.off-screen-list-header {
119
+ text-transform: $off-screen-list-header-transform;
120
+ padding-left: $off-screen-left-padding;
121
+ padding-top: $off-screen-left-padding;
122
+ padding-bottom: $off-screen-left-padding / 2;
123
+ font-weight: $off-screen-list-header-font-weight;
124
+ font-size: $off-screen-list-header-font-size;
125
+ }
126
+
127
+ &.off-screen-divider {
128
+ border-bottom: 1px solid $off-screen-divider-color;
129
+ margin: $off-screen-divider-margin auto;
130
+ }
131
+
132
+ a {
133
+ color: $off-screen-navigation-color;
134
+ padding: $off-screen-link-padding;
135
+ }
136
+ }
137
+ }
138
+
139
+ a {
140
+ font-weight: $off-screen-navigation-font-weight;
141
+ @if($include-separator-to-links) {
142
+ border-bottom: 1px solid rgba($off-screen-navigation-color, 0.1);
143
+ }
144
+
145
+ &.navigation-back {
146
+ padding: $off-screen-back-link-padding;
147
+ background: $off-screen-back-link-background;
148
+ outline: none;
149
+ color: $off-screen-navigation-color;
150
+ text-transform: $off-screen-back-link-text-transform;
151
+ letter-spacing: $off-screen-back-link-letter-spacing;
152
+ font-weight: $off-screen-back-link-font-weight;
153
+ display: block;
154
+ font-size: $off-screen-back-link-font-size;
155
+ position: relative;
156
+ @include transition(none);
157
+ border-top: 1px solid rgba($off-screen-back-link-border-color, $off-screen-back-link-border-alpha);
158
+ border-bottom: 1px solid rgba($off-screen-back-link-border-color, $off-screen-back-link-border-alpha);
159
+
160
+ &:hover {
161
+ background: rgba($off-screen-back-link-border-color,0.1);
162
+ }
163
+ }
164
+
165
+ &:hover {
166
+ color: darken($off-screen-navigation-color, 10%);
167
+ background: rgba($off-screen-navigation-background-color, $off-screen-back-link-border-alpha);
168
+ }
169
+ }
170
+ }
171
+
172
+ }
173
+
174
+
175
+ .off-screen-level {
176
+ position: absolute;
177
+ top: 0;
178
+ left: 0;
179
+ width: 100%;
180
+ height: 100%;
181
+ background: $off-screen-navigation-background-color;
182
+ @include translate3d(-100%, 0, 0);
183
+
184
+ .off-screen-header {
185
+ padding: $off-screen-header-padding;
186
+ font-weight: $off-screen-header-font-weight;
187
+ text-align: center;
188
+
189
+ .header {
190
+ color: $off-screen-navigation-color;
191
+ }
192
+ }
193
+ }
194
+
195
+ /* overlays for pusher and for level that gets covered */
196
+ .off-screen::after,
197
+ .off-screen-level::after,
198
+ .off-screen-level::before {
199
+ position: absolute;
200
+ top: 0;
201
+ right: 0;
202
+ width: 0;
203
+ height: 0;
204
+ content: '';
205
+ @include opacity(0);
206
+ }
207
+
208
+ .off-screen::after,
209
+ .off-screen-level::after {
210
+ @include transition(opacity 0.3s, width 0.1s 0.3s, height 0.1s 0.3s);
211
+ }
212
+
213
+ .off-screen-level::after {
214
+ z-index: -1;
215
+ }
216
+
217
+ .off-screen.off-screen-pushed::after,
218
+ .off-screen-level.off-screen-level-overlay::after {
219
+ width: 100%;
220
+ height: 100%;
221
+ @include opacity(1);
222
+ @include transition(opacity 0.3s);
223
+ }
224
+
225
+ .off-screen,
226
+ .off-screen-level {
227
+ @include transition(all 0.5s);
228
+ }
229
+
230
+ /* overlap */
231
+ .off-screen-overlap .off-screen-level.off-screen-level-open {
232
+ @include translate3d(-40px, 0, 0);
233
+ }
234
+
235
+ /* First level */
236
+ .off-screen-navigation > .off-screen-level,
237
+ .off-screnn-navigation > .off-screen-level.off-screen-level-open,
238
+ .off-screen-navigation.off-screen-overlap > .off-screen-level,
239
+ .off-screen-navigation.off-screen-overlap > .off-screen-level.off-screen-level-open {
240
+ @include translate3d(0, 0, 0);
241
+ @include box-shadow(none);
242
+ }
243
+
244
+ /* cover */
245
+ .off-screen-cover .off-screen-level.off-screen-level-open {
246
+ @include translate3d(0, 0, 0);
247
+ }
248
+
249
+ .off-screen-cover .off-screen-level.off-screen-level-open > ul > li > .off-screen-level:not(.off-screen-level-open) {
250
+ @include translate3d(-100%, 0, 0);
251
+ }
252
+
253
+ /* Fallback example for browsers that don't support 3D transforms (and no JS fallback) */
254
+ /* We'll show the first level only */
255
+ .no-csstransforms3d .off-screen,
256
+ .no-js .off-screen {
257
+ padding-left: 300px;
258
+ }
259
+
260
+ .no-csstransforms3d .off-screen-navigation .off-screen-level,
261
+ .no-js .off-screen-navigation .off-screen-level {
262
+ display: none;
263
+ }
264
+
265
+ .no-csstransforms3d .off-screen-navigation > .off-screen-level,
266
+ .no-js .off-screen-navigation > .off-screen-level {
267
+ display: block;
268
+ }
269
+
@@ -0,0 +1,78 @@
1
+ //Pagination
2
+
3
+ //
4
+ //@variables
5
+ //
6
+
7
+ $pagination-bg-color: #2980b9 !default;
8
+ $pagination-margin: 0 !default;
9
+ $pagination-color: #08c !default;
10
+ $pagination-font-size: px-to-rems(13) !default;
11
+ $pagination-list-items-padding: px-to-rems(2) px-to-rems(9) !default;
12
+ $pagination-border-radius: 0px !default;
13
+ $pagination-active-items-bg-color: $pagination-bg-color !default;
14
+ $pagination-active-items-color: #FFF !default;
15
+ $pagination-disabled-color: #FFF !default;
16
+ $pagination-disabled-cursor: not-allowed !default;
17
+
18
+ $include-pagination-transition-list-items: true !default;
19
+
20
+ //Pagination alignment
21
+ $include-pagination-alignment-center: true !default;
22
+ $include-pagination-alignment-right: true !default;
23
+
24
+
25
+ ul.pagination {
26
+ margin: $pagination-margin;
27
+ font-size: $pagination-font-size;
28
+
29
+ display: block;
30
+ color: $pagination-color;
31
+
32
+ & > li {
33
+ display: inline-block;
34
+
35
+ & > a,
36
+ & > span {
37
+ padding: $pagination-list-items-padding;
38
+ @if($include-pagination-transition-list-items) {
39
+ @include transition((background 0.3s ease-out, color 0.3s ease-out));
40
+ }
41
+ @include border-radius($pagination-border-radius);
42
+ }
43
+
44
+ & > a:hover,
45
+ &.active > a,
46
+ &.active > span {
47
+ background: $pagination-active-items-bg-color;
48
+ @include border-radius($pagination-border-radius);
49
+ color: $pagination-active-items-color;
50
+ text-decoration: none;
51
+ }
52
+
53
+ &.disabled {
54
+ & > a,
55
+ & > a:hover,
56
+ & > span {
57
+ background: lighten($pagination-bg-color, 35%);
58
+ color: $pagination-disabled-color;
59
+ cursor: $pagination-disabled-cursor;
60
+ @include border-radius($pagination-border-radius);
61
+ }
62
+ }
63
+ }
64
+
65
+ //Pagination Alignment
66
+ @if($include-pagination-alignment-center) {
67
+ &.center {
68
+ text-align: center;
69
+ }
70
+ }
71
+
72
+ @if($include-pagination-alignment-right) {
73
+ &.right {
74
+ text-align: right;
75
+ }
76
+ }
77
+ }
78
+
@@ -0,0 +1,244 @@
1
+ //Responsive utilities
2
+
3
+ //
4
+ //@variables
5
+ //
6
+
7
+ // General settings
8
+
9
+ $media-display: "only screen" !default;
10
+
11
+ // Responsive screen sizes
12
+ $extra-small-screen: 34.28571429rem !default;
13
+ $extra-small-screen-max: 34.21428571rem !default;
14
+ $extra-small-media: "(max-width: #{$extra-small-screen-max})" !default;
15
+
16
+ $small-screen: 54.85714286rem !default;
17
+ $small-screen-max: 54.78571429rem !default;
18
+ $small-screen-media: "(max-width: #{$small-screen-max})" !default;
19
+ $small-screen-range: "(min-width: #{$small-screen}) and (max-width: #{$small-screen-max})" !default;
20
+
21
+ $medium-screen: 70.85714286rem !default;
22
+ $medium-screen-max: 70.78571429rem !default;
23
+ $medium-screen-range: "(min-width: #{$medium-screen}) and (max-width: #{$medium-screen-max})" !default;
24
+
25
+ $large-screen: 85.71428571rem !default;
26
+ $large-screen-range: "(min-width: #{$large-screen})" !default;
27
+
28
+ // Responsive screen orientations
29
+ $portrait-media: "#{$media-display} and (orientation: portrait)" !default;
30
+ $landscape-media: "#{$media-display} and (orientation: landscape)" !default;
31
+
32
+
33
+ //Visible on extra small style
34
+ .visible-on-xsmall {
35
+ @include responsive-invisibility();
36
+ @media #{$extra-small-media} {
37
+ @include responsive-visibility();
38
+ }
39
+ &.visible-on-small {
40
+ @media #{$small-screen-range} {
41
+ @include responsive-visibility();
42
+ }
43
+ }
44
+ &.visible-on-medium {
45
+ @media #{$medium-screen-range} {
46
+ @include responsive-visibility();
47
+ }
48
+ }
49
+ &.visible-on-large {
50
+ @media #{$large-screen-range} {
51
+ @include responsive-visibility();
52
+ }
53
+ }
54
+ }
55
+
56
+ //Visible on small style
57
+ .visible-on-small {
58
+ @include responsive-invisibility();
59
+ &.visible-on-xsmall {
60
+ @media #{$extra-small-media} {
61
+ @include responsive-visibility();
62
+ }
63
+ }
64
+ @media #{$small-screen-range} {
65
+ @include responsive-visibility();
66
+ }
67
+ &.visible-on-medium {
68
+ @media #{$medium-screen-range} {
69
+ @include responsive-visibility();
70
+ }
71
+ }
72
+ &.visible-on-large {
73
+ @media #{$large-screen-range} {
74
+ @include responsive-visibility();
75
+ }
76
+ }
77
+ }
78
+
79
+ //Visible on medium style
80
+ .visible-on-medium {
81
+ @include responsive-invisibility();
82
+
83
+ &.visible-xs {
84
+ @media #{$extra-small-media} {
85
+ @include responsive-visibility();
86
+ }
87
+ }
88
+ &.visible-sm {
89
+ @media #{$small-screen-range} {
90
+ @include responsive-visibility();
91
+ }
92
+ }
93
+ @media #{$medium-screen-range} {
94
+ @include responsive-visibility();
95
+ }
96
+ &.visible-lg {
97
+ @media #{$large-screen-range} {
98
+ @include responsive-visibility();
99
+ }
100
+ }
101
+ }
102
+
103
+ //Visible on large style
104
+ .visible-on-large {
105
+ @include responsive-invisibility();
106
+ &.visible-on-xsmall {
107
+ @media #{$extra-small-media} {
108
+ @include responsive-visibility();
109
+ }
110
+ }
111
+ &.visible-on-small {
112
+ @media #{$small-screen-range} {
113
+ @include responsive-visibility();
114
+ }
115
+ }
116
+ &.visible-on-medium {
117
+ @media #{$medium-screen-range} {
118
+ @include responsive-visibility();
119
+ }
120
+ }
121
+ @media #{$large-screen-range} {
122
+ @include responsive-visibility();
123
+ }
124
+ }
125
+
126
+ //Hidden on extra small style
127
+ .hidden-on-xsmall {
128
+ @include responsive-visibility();
129
+ @media #{$small-screen-media} {
130
+ @include responsive-invisibility();
131
+ }
132
+ &.hidden-on-small {
133
+ @media #{$small-screen-range} {
134
+ @include responsive-invisibility();
135
+ }
136
+ }
137
+ &.hidden-on-medium {
138
+ @media #{$medium-screen-range} {
139
+ @include responsive-invisibility();
140
+ }
141
+ }
142
+ &.hidden-on-large {
143
+ @media #{$large-screen-range} {
144
+ @include responsive-invisibility();
145
+ }
146
+ }
147
+ }
148
+
149
+ //Hidden on small style
150
+ .hidden-on-small {
151
+ @include responsive-visibility();
152
+ &.hidden-on-xsmall {
153
+ @media #{$extra-small-media} {
154
+ @include responsive-invisibility();
155
+ }
156
+ }
157
+ @media #{$small-screen-range} {
158
+ @include responsive-invisibility();
159
+ }
160
+ &.hidden-on-medium {
161
+ @media #{$medium-screen-range} {
162
+ @include responsive-invisibility();
163
+ }
164
+ }
165
+ &.hidden-on-large {
166
+ @media #{$large-screen-range} {
167
+ @include responsive-invisibility();
168
+ }
169
+ }
170
+ }
171
+
172
+ //Hidden on medium style
173
+ .hidden-on-medium {
174
+ @include responsive-visibility();
175
+ &.hidden-on-xsmall {
176
+ @media #{$extra-small-media} {
177
+ @include responsive-invisibility();
178
+ }
179
+ }
180
+ &.hidden-on-small {
181
+ @media #{$small-screen-range} {
182
+ @include responsive-invisibility();
183
+ }
184
+ }
185
+ @media #{$medium-screen-range} {
186
+ @include responsive-invisibility();
187
+ }
188
+ &.hidden-on-large {
189
+ @media #{$large-screen-range} {
190
+ @include responsive-invisibility();
191
+ }
192
+ }
193
+ }
194
+
195
+ //Hidden on large style
196
+ .hidden-on-large {
197
+ @include responsive-visibility();
198
+ &.hidden-on-xsmall {
199
+ @media #{$extra-small-media} {
200
+ @include responsive-invisibility();
201
+ }
202
+ }
203
+ &.hidden-on-small {
204
+ @media #{$small-screen-range} {
205
+ @include responsive-invisibility();
206
+ }
207
+ }
208
+ &.hidden-on-medium {
209
+ @media #{$medium-screen-range} {
210
+ @include responsive-invisibility();
211
+ }
212
+ }
213
+ @media #{$large-screen-range} {
214
+ @include responsive-invisibility();
215
+ }
216
+ }
217
+
218
+ //Portrait media styling
219
+ @media #{$portrait-media} {
220
+ .show-on-portrait,
221
+ .hide-on-landscape
222
+ {
223
+ @include responsive-visibility();
224
+ }
225
+ .hide-on-portrait,
226
+ .show-on-landscape
227
+ {
228
+ @include responsive-invisibility();
229
+ }
230
+ }
231
+
232
+ //Landscape media styling
233
+ @media #{$landscape-media} {
234
+ .show-on-landscape,
235
+ .hide-on-portrait
236
+ {
237
+ @include responsive-visibility();
238
+ }
239
+ .hide-on-landscape,
240
+ .show-on-portrait
241
+ {
242
+ @include responsive-invisibility();
243
+ }
244
+ }