furatto 0.0.3 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -1,195 +0,0 @@
1
- /*------------------------------------*\
2
- $RESPONSIVE NAVBAR
3
- \*------------------------------------*/
4
- /**
5
- * Responsive navbar strcucture.
6
- *
7
- * Designed and built @kurenn
8
- */
9
-
10
- //Tablets and below
11
- //------------------------------------
12
-
13
- @media (max-width: $nav-bar-collapse-width) {
14
-
15
- .panels {
16
- display: block;
17
- }
18
-
19
- .panel-content {
20
- padding-top: 0 !important;
21
- }
22
-
23
- /*Unfix top navbar*/
24
- /*Remove any padding from the body */
25
-
26
- .navbar {
27
- .menu-trigger {
28
- float: left;
29
- display: block;
30
- margin-left: 5px;
31
- margin-right: 5px;
32
- color: $navbar-text;
33
- font-size: 50px;
34
- line-height: $base-line-height;
35
- padding-top: $base-line-height - 5;
36
- margin-bottom: 7px; /*compensate the navbar height*/
37
-
38
- @include touch-callout;
39
- }
40
- }
41
-
42
- .navbar {
43
- .navbar-inner {
44
- padding-left: 0px;
45
- }
46
- }
47
-
48
- //Unfix the navbar
49
- .navbar-fixed-top,
50
- .navbar-fixed-bottom {
51
- position: static;
52
- }
53
-
54
- .navbar-fixed-bottom {
55
- margin-top: $base-line-height;
56
- }
57
-
58
- // Account for brand name
59
- .navbar .nav .brand {
60
- display: block;
61
- }
62
-
63
- // COLLAPSIBLE NAVBAR
64
- // ------------------
65
- // Nav collapse clears brand
66
- .nav-collapse {
67
- clear: both;
68
- }
69
- // Block-level the nav
70
- .nav-collapse .nav {
71
- float: none;
72
- margin: 0 0 ($base-line-height / 2);
73
- display: none;
74
- }
75
- .nav-collapse .search-navbar-form {
76
- display: none;
77
- }
78
- .nav-collapse .nav > li {
79
- float: none;
80
- }
81
-
82
- .nav-collapse .nav > li > a {
83
- margin-bottom: 2px;
84
- }
85
- .nav-collapse .nav > .divider-vertical {
86
- display: none;
87
- }
88
- .nav-collapse .nav .nav-header {
89
- color: $navbar-text;
90
- text-shadow: none;
91
- }
92
- // Nav and dropdown links in navbar
93
- .nav-collapse .nav > li > a,
94
- .nav-collapse .dropdown-menu a {
95
- padding: 9px 15px;
96
- font-weight: bold;
97
- color: $navbar-text;
98
- /*.border-radius(3px);*/
99
- }
100
-
101
- // Buttons
102
- .nav-collapse .btn {
103
- padding: 4px 10px 4px;
104
- font-weight: normal;
105
- /*.border-radius(@baseBorderRadius);*/
106
- }
107
- .nav-collapse .dropdown-menu li + li a {
108
- margin-bottom: 2px;
109
- }
110
- .nav-collapse .nav > li > a:hover,
111
- .nav-collapse .nav > li > a:focus,
112
- .nav-collapse .dropdown-menu a:hover,
113
- .nav-collapse .dropdown-menu a:focus {
114
- background-color: $navbar-bg-color;
115
- }
116
-
117
- // Buttons in the navbar
118
- .nav-collapse.in .btn-group {
119
- margin-top: 5px;
120
- padding: 0;
121
- }
122
-
123
- // Dropdowns in the navbar
124
- .nav-collapse .dropdown-menu {
125
- position: static;
126
- top: auto;
127
- left: auto;
128
- float: none;
129
- display: none;
130
- max-width: none;
131
- margin: 0 15px;
132
- padding: 0;
133
- background-color: transparent;
134
- border: none;
135
- }
136
- .nav-collapse .open > .dropdown-menu {
137
- display: block;
138
- }
139
-
140
- .nav-collapse .dropdown-menu:before,
141
- .nav-collapse .dropdown-menu:after {
142
- display: none;
143
- }
144
- .nav-collapse .dropdown-menu .divider {
145
- display: none;
146
- }
147
- .nav-collapse .nav > li > .dropdown-menu {
148
- &:before,
149
- &:after {
150
- display: none;
151
- }
152
- }
153
-
154
- //STATIC NAVBAR
155
- //--------------------------------------
156
- .navbar-static .navbar-inner {
157
- padding-left: 10px;
158
- padding-right: 10px;
159
- }
160
-
161
- }
162
-
163
- .navbar-inverse {
164
- [data-toggle="panel"] {
165
- color: $navbar-inverse-text;
166
- }
167
- }
168
-
169
- .panel-content, .panel-left, .panel-content {
170
- position: absolute;
171
- }
172
-
173
- .panel-content {
174
- z-index: 2;
175
- overflow: auto;
176
-
177
- backface-visibility:hidden;
178
- -webkit-backface-visibility:hidden; /* Chrome and Safari */
179
- -moz-backface-visibility:hidden; /* Firefox */
180
- -ms-backface-visibility:hidden; /* Internet Explorer 10+ */
181
- }
182
-
183
- .panels {
184
- position: absolute;
185
- }
186
-
187
- @media (min-width: $nav-bar-collapse-width-desktop) {
188
-
189
- // Required to make the collapsing navbar work on regular desktops
190
- .nav-collapse.collapse {
191
- height: auto !important;
192
- overflow: visible !important;
193
- }
194
-
195
- }
@@ -1,28 +0,0 @@
1
- /*------------------------------------*\
2
- $RESPONSIVE TABLES
3
- \*------------------------------------*/
4
- /**
5
- * Responsive tables strcucture from Zurb Foundation.
6
- * http://zurb.com/playground/responsive-tables
7
- *
8
- * Designed and built @kurenn
9
- */
10
-
11
- @media only screen and (max-width: 768px) {
12
-
13
- table.responsive { margin-bottom: 0; }
14
-
15
- .pinned { position: absolute; left: 0; top: 0; background: #fff; width: 35%; overflow: hidden; overflow-x: scroll; border-right: 1px solid #ccc; border-left: 1px solid #ccc; }
16
- .pinned table { border-right: none; border-left: none; width: 100%; }
17
- .pinned table th, .pinned table td { white-space: nowrap; }
18
- .pinned td:last-child { border-bottom: 0; }
19
-
20
- div.table-wrapper { position: relative; margin-bottom: 20px; overflow: hidden; border-right: 1px solid #ccc; }
21
- div.table-wrapper div.scrollable { margin-left: 35%; }
22
- div.table-wrapper div.scrollable { overflow: scroll; overflow-y: hidden; }
23
-
24
- table.responsive td, table.responsive th { position: relative; white-space: nowrap; overflow: hidden; }
25
- table.responsive th:first-child, table.responsive td:first-child, table.responsive td:first-child, table.responsive.pinned td { display: none; }
26
-
27
- }
28
-
@@ -1,182 +0,0 @@
1
- /*------------------------------------*\
2
- $RESPONSIVE UTILITIES
3
- \*------------------------------------*/
4
- /**
5
- * Designed and built @kurenn
6
- */
7
-
8
- .hidden {
9
- display: none !important;
10
- visibility: hidden !important;
11
- }
12
-
13
-
14
- .visible-xs {
15
- @include responsive-invisibility();
16
- @media (max-width: $screen-xs-max) {
17
- @include responsive-visibility();
18
- }
19
- &.visible-sm {
20
- @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
21
- @include responsive-visibility();
22
- }
23
- }
24
- &.visible-md {
25
- @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
26
- @include responsive-visibility();
27
- }
28
- }
29
- &.visible-lg {
30
- @media (min-width: $screen-lg-min) {
31
- @include responsive-visibility();
32
- }
33
- }
34
- }
35
- .visible-sm {
36
- @include responsive-invisibility();
37
- &.visible-xs {
38
- @media (max-width: $screen-xs-max) {
39
- @include responsive-visibility();
40
- }
41
- }
42
- @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
43
- @include responsive-visibility();
44
- }
45
- &.visible-md {
46
- @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
47
- @include responsive-visibility();
48
- }
49
- }
50
- &.visible-lg {
51
- @media (min-width: $screen-lg-min) {
52
- @include responsive-visibility();
53
- }
54
- }
55
- }
56
- .visible-md {
57
- @include responsive-invisibility();
58
- &.visible-xs {
59
- @media (max-width: $screen-xs-max) {
60
- @include responsive-visibility();
61
- }
62
- }
63
- &.visible-sm {
64
- @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
65
- @include responsive-visibility();
66
- }
67
- }
68
- @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
69
- @include responsive-visibility();
70
- }
71
- &.visible-lg {
72
- @media (min-width: $screen-lg-min) {
73
- @include responsive-visibility();
74
- }
75
- }
76
- }
77
- .visible-lg {
78
- @include responsive-invisibility();
79
- &.visible-xs {
80
- @media (max-width: $screen-xs-max) {
81
- @include responsive-visibility();
82
- }
83
- }
84
- &.visible-sm {
85
- @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
86
- @include responsive-visibility();
87
- }
88
- }
89
- &.visible-md {
90
- @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
91
- @include responsive-visibility();
92
- }
93
- }
94
- @media (min-width: $screen-lg-min) {
95
- @include responsive-visibility();
96
- }
97
- }
98
-
99
- .hidden-xs {
100
- @include responsive-visibility();
101
- @media (max-width: $screen-xs-max) {
102
- @include responsive-invisibility();
103
- }
104
- &.hidden-sm {
105
- @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
106
- @include responsive-invisibility();
107
- }
108
- }
109
- &.hidden-md {
110
- @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
111
- @include responsive-invisibility();
112
- }
113
- }
114
- &.hidden-lg {
115
- @media (min-width: $screen-lg-min) {
116
- @include responsive-invisibility();
117
- }
118
- }
119
- }
120
- .hidden-sm {
121
- @include responsive-visibility();
122
- &.hidden-xs {
123
- @media (max-width: $screen-xs-max) {
124
- @include responsive-invisibility();
125
- }
126
- }
127
- @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
128
- @include responsive-invisibility();
129
- }
130
- &.hidden-md {
131
- @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
132
- @include responsive-invisibility();
133
- }
134
- }
135
- &.hidden-lg {
136
- @media (min-width: $screen-lg-min) {
137
- @include responsive-invisibility();
138
- }
139
- }
140
- }
141
- .hidden-md {
142
- @include responsive-visibility();
143
- &.hidden-xs {
144
- @media (max-width: $screen-xs-max) {
145
- @include responsive-invisibility();
146
- }
147
- }
148
- &.hidden-sm {
149
- @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
150
- @include responsive-invisibility();
151
- }
152
- }
153
- @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
154
- @include responsive-invisibility();
155
- }
156
- &.hidden-lg {
157
- @media (min-width: $screen-lg-min) {
158
- @include responsive-invisibility();
159
- }
160
- }
161
- }
162
- .hidden-lg {
163
- @include responsive-visibility();
164
- &.hidden-xs {
165
- @media (max-width: $screen-xs-max) {
166
- @include responsive-invisibility();
167
- }
168
- }
169
- &.hidden-sm {
170
- @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
171
- @include responsive-invisibility();
172
- }
173
- }
174
- &.hidden-md {
175
- @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
176
- @include responsive-invisibility();
177
- }
178
- }
179
- @media (min-width: $screen-lg-min) {
180
- @include responsive-invisibility();
181
- }
182
- }
@@ -1,185 +0,0 @@
1
- /*------------------------------------*\
2
- $RESPONSIVE SLIDER
3
- \*------------------------------------*/
4
- /**
5
- * Responsive slider strcucture.
6
- * http://responsiveslides.com/
7
- *
8
- * Designed and built @kurenn
9
- */
10
-
11
- .swiper-container {
12
- margin:0 auto;
13
- position:relative;
14
- overflow:hidden;
15
- -webkit-backface-visibility:hidden;
16
- -moz-backface-visibility:hidden;
17
- -ms-backface-visibility:hidden;
18
- -o-backface-visibility:hidden;
19
- backface-visibility:hidden;
20
- /* Fix of Webkit flickering */
21
- z-index:1;
22
-
23
- img {
24
- margin: 0;
25
- }
26
- }
27
- .swiper-wrapper {
28
- position:relative;
29
- width:100%;
30
- -webkit-transition-property:-webkit-transform, left, top;
31
- -webkit-transition-duration:0s;
32
- -webkit-transform:translate3d(0px,0,0);
33
- -webkit-transition-timing-function:ease;
34
-
35
- -moz-transition-property:-moz-transform, left, top;
36
- -moz-transition-duration:0s;
37
- -moz-transform:translate3d(0px,0,0);
38
- -moz-transition-timing-function:ease;
39
-
40
- -o-transition-property:-o-transform, left, top;
41
- -o-transition-duration:0s;
42
- -o-transform:translate3d(0px,0,0);
43
- -o-transition-timing-function:ease;
44
- -o-transform:translate(0px,0px);
45
-
46
- -ms-transition-property:-ms-transform, left, top;
47
- -ms-transition-duration:0s;
48
- -ms-transform:translate3d(0px,0,0);
49
- -ms-transition-timing-function:ease;
50
-
51
- transition-property:transform, left, top;
52
- transition-duration:0s;
53
- transform:translate3d(0px,0,0);
54
- transition-timing-function:ease;
55
- }
56
- .swiper-free-mode > .swiper-wrapper {
57
- -webkit-transition-timing-function: ease-out;
58
- -moz-transition-timing-function: ease-out;
59
- -ms-transition-timing-function: ease-out;
60
- -o-transition-timing-function: ease-out;
61
- transition-timing-function: ease-out;
62
- margin: 0 auto;
63
- }
64
- .swiper-slide {
65
- float: left;
66
-
67
- img {
68
- width: 100%;
69
- }
70
- }
71
-
72
- /* IE10 Windows Phone 8 Fixes */
73
- .swiper-wp8-horizontal {
74
- -ms-touch-action: pan-y;
75
- }
76
- .swiper-wp8-vertical {
77
- -ms-touch-action: pan-x;
78
- }
79
-
80
- /* ===============================================================
81
- Your custom styles, here you need to specify container's and slide's
82
- sizes, pagination, etc.
83
- ================================================================*/
84
- .swiper-container {
85
- /* Specify Swiper's Size: */
86
-
87
- /*width:200px;
88
- height: 100px;*/
89
- }
90
- .swiper-slide {
91
- /* Specify Slides's Size: */
92
-
93
- /*width: 100%;
94
- height: 100%;*/
95
- }
96
- .swiper-slide-active {
97
- /* Specific active slide styling: */
98
-
99
- }
100
- .swiper-slide-visible {
101
- /* Specific visible slide styling: */
102
-
103
- }
104
- /* ===============================================================
105
- Pagination Styles
106
- ================================================================*/
107
- .swiper-pagination-switch {
108
- /* Stylize pagination button: */
109
-
110
- }
111
- .swiper-active-switch {
112
- /* Specific active button style: */
113
-
114
- }
115
- .swiper-visible-switch {
116
- /* Specific visible button style: */
117
-
118
- }
119
-
120
- .swiper-container, .swiper-slide {
121
- height: auto;
122
- }
123
-
124
- .arrow-left, .arrow-right {
125
- position: absolute;
126
- top: 50%;
127
- text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
128
- }
129
-
130
- .swiper-control {
131
- position: absolute;
132
- top: 0;
133
- z-index: 1;
134
- color: #FFF;
135
- font-size: 30px;
136
- cursor: pointer;
137
- height: 100%;
138
- bottom: 0;
139
- width: 15%;
140
- text-align: center;
141
-
142
- &.right {
143
- right: 0;
144
- }
145
-
146
- &.left {
147
- left: 0;
148
- }
149
- }
150
-
151
- .swiper-caption {
152
- text-align: center;
153
- }
154
-
155
- .swiper-pagination {
156
- text-align: center;
157
- width: 100%;
158
- }
159
-
160
- .swiper-pagination-switch {
161
- display: inline-block;
162
- width: 10px;
163
- height: 10px;
164
- border-radius: 10px;
165
- background: #999;
166
- box-shadow: 0px 1px 2px #555 inset;
167
- margin: 0 3px;
168
- cursor: pointer;
169
- }
170
-
171
- .swiper-active-switch {
172
- background: #fff;
173
- }
174
-
175
- @media (max-width: 767px) {
176
- .swiper-caption {
177
- font-size: 0.8em;
178
- }
179
- }
180
-
181
- @media (min-device-width: 768px) and (max-device-with: 1024px) {
182
- .swiper-caption {
183
- font-size: 0.8em;
184
- }
185
- }