furatto 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. data/.gitignore +18 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +29 -0
  5. data/Rakefile +1 -0
  6. data/furatto.gemspec +21 -0
  7. data/lib/furatto.rb +16 -0
  8. data/lib/furatto/engine.rb +6 -0
  9. data/lib/furatto/version.rb +3 -0
  10. data/vendor/assets/fonts/fontawesome/FontAwesome.otf +0 -0
  11. data/vendor/assets/fonts/fontawesome/fontawesome-webfont.eot +0 -0
  12. data/vendor/assets/fonts/fontawesome/fontawesome-webfont.svg +399 -0
  13. data/vendor/assets/fonts/fontawesome/fontawesome-webfont.ttf +0 -0
  14. data/vendor/assets/fonts/fontawesome/fontawesome-webfont.woff +0 -0
  15. data/vendor/assets/fonts/meteocons-webfont.eot +0 -0
  16. data/vendor/assets/fonts/meteocons-webfont.svg +81 -0
  17. data/vendor/assets/fonts/meteocons-webfont.ttf +0 -0
  18. data/vendor/assets/fonts/meteocons-webfont.woff +0 -0
  19. data/vendor/assets/images/icheck/aero.png +0 -0
  20. data/vendor/assets/images/icheck/aero@2x.png +0 -0
  21. data/vendor/assets/images/icheck/blue.png +0 -0
  22. data/vendor/assets/images/icheck/blue@2x.png +0 -0
  23. data/vendor/assets/images/icheck/flat.png +0 -0
  24. data/vendor/assets/images/icheck/flat@2x.png +0 -0
  25. data/vendor/assets/images/icheck/green.png +0 -0
  26. data/vendor/assets/images/icheck/green@2x.png +0 -0
  27. data/vendor/assets/images/icheck/grey.png +0 -0
  28. data/vendor/assets/images/icheck/grey@2x.png +0 -0
  29. data/vendor/assets/images/icheck/orange.png +0 -0
  30. data/vendor/assets/images/icheck/orange@2x.png +0 -0
  31. data/vendor/assets/images/icheck/pink.png +0 -0
  32. data/vendor/assets/images/icheck/pink@2x.png +0 -0
  33. data/vendor/assets/images/icheck/purple.png +0 -0
  34. data/vendor/assets/images/icheck/purple@2x.png +0 -0
  35. data/vendor/assets/images/icheck/red.png +0 -0
  36. data/vendor/assets/images/icheck/red@2x.png +0 -0
  37. data/vendor/assets/images/icheck/yellow.png +0 -0
  38. data/vendor/assets/images/icheck/yellow@2x.png +0 -0
  39. data/vendor/assets/images/icons/customize-icon150.png +0 -0
  40. data/vendor/assets/images/icons/flexible-icon.png +0 -0
  41. data/vendor/assets/images/icons/github-128-black.png +0 -0
  42. data/vendor/assets/images/icons/iphone-icon150.png +0 -0
  43. data/vendor/assets/images/icons/lock-icon128.png +0 -0
  44. data/vendor/assets/images/icons/rocket-icon128.png +0 -0
  45. data/vendor/assets/images/icons/rocket-icon150.png +0 -0
  46. data/vendor/assets/images/icons/screen-icon.png +0 -0
  47. data/vendor/assets/images/icons/screens-icon.png +0 -0
  48. data/vendor/assets/images/icons/screens2-icon.png +0 -0
  49. data/vendor/assets/images/next.png +0 -0
  50. data/vendor/assets/images/previous.png +0 -0
  51. data/vendor/assets/images/themes.gif +0 -0
  52. data/vendor/assets/images/toggle.png +0 -0
  53. data/vendor/assets/javascripts/dropdown.js +169 -0
  54. data/vendor/assets/javascripts/furatto.js +15 -0
  55. data/vendor/assets/javascripts/jpanel.js +547 -0
  56. data/vendor/assets/javascripts/jquery.avgrund.js +127 -0
  57. data/vendor/assets/javascripts/jquery.dropkick-1.0.0.js +400 -0
  58. data/vendor/assets/javascripts/jquery.icheck.js +462 -0
  59. data/vendor/assets/javascripts/jquery.tagsinput.js +354 -0
  60. data/vendor/assets/javascripts/jquery.toolbar.js +242 -0
  61. data/vendor/assets/javascripts/legacy.js +140 -0
  62. data/vendor/assets/javascripts/picker.date.js +957 -0
  63. data/vendor/assets/javascripts/picker.js +785 -0
  64. data/vendor/assets/javascripts/picker.time.js +651 -0
  65. data/vendor/assets/javascripts/rainbow-custom.min.js +13 -0
  66. data/vendor/assets/javascripts/responsive-tables.js +67 -0
  67. data/vendor/assets/javascripts/responsiveslides.js +391 -0
  68. data/vendor/assets/javascripts/tooltip.js +353 -0
  69. data/vendor/assets/stylesheets/furatto.scss +101 -0
  70. data/vendor/assets/stylesheets/furatto/_alerts.scss +81 -0
  71. data/vendor/assets/stylesheets/furatto/_base.scss +187 -0
  72. data/vendor/assets/stylesheets/furatto/_buttons.scss +100 -0
  73. data/vendor/assets/stylesheets/furatto/_code.scss +66 -0
  74. data/vendor/assets/stylesheets/furatto/_date_picker.date.scss +266 -0
  75. data/vendor/assets/stylesheets/furatto/_date_picker.scss +158 -0
  76. data/vendor/assets/stylesheets/furatto/_date_picker.time.scss +122 -0
  77. data/vendor/assets/stylesheets/furatto/_dropdown.scss +261 -0
  78. data/vendor/assets/stylesheets/furatto/_font-awesome-ie7.scss +1953 -0
  79. data/vendor/assets/stylesheets/furatto/_fonts.scss +614 -0
  80. data/vendor/assets/stylesheets/furatto/_footer.scss +44 -0
  81. data/vendor/assets/stylesheets/furatto/_forms.scss +290 -0
  82. data/vendor/assets/stylesheets/furatto/_grid.scss +56 -0
  83. data/vendor/assets/stylesheets/furatto/_images.scss +44 -0
  84. data/vendor/assets/stylesheets/furatto/_labels.scss +43 -0
  85. data/vendor/assets/stylesheets/furatto/_layout.scss +0 -0
  86. data/vendor/assets/stylesheets/furatto/_left_navbar.scss +100 -0
  87. data/vendor/assets/stylesheets/furatto/_mixins.scss +283 -0
  88. data/vendor/assets/stylesheets/furatto/_modal.scss +103 -0
  89. data/vendor/assets/stylesheets/furatto/_nav.scss +106 -0
  90. data/vendor/assets/stylesheets/furatto/_navbar.scss +187 -0
  91. data/vendor/assets/stylesheets/furatto/_pagination.scss +158 -0
  92. data/vendor/assets/stylesheets/furatto/_responsive-1200px-min.scss +21 -0
  93. data/vendor/assets/stylesheets/furatto/_responsive-767px-max.scss +82 -0
  94. data/vendor/assets/stylesheets/furatto/_responsive-768px-979px.scss +23 -0
  95. data/vendor/assets/stylesheets/furatto/_responsive_navbar.scss +184 -0
  96. data/vendor/assets/stylesheets/furatto/_responsive_tables.scss +28 -0
  97. data/vendor/assets/stylesheets/furatto/_responsiveslides.scss +202 -0
  98. data/vendor/assets/stylesheets/furatto/_select.scss +191 -0
  99. data/vendor/assets/stylesheets/furatto/_tables.scss +90 -0
  100. data/vendor/assets/stylesheets/furatto/_tags.scss +107 -0
  101. data/vendor/assets/stylesheets/furatto/_toolbars.scss +116 -0
  102. data/vendor/assets/stylesheets/furatto/_tooltips.scss +143 -0
  103. data/vendor/assets/stylesheets/furatto/_typography.scss +266 -0
  104. data/vendor/assets/stylesheets/furatto/_variables.scss +628 -0
  105. data/vendor/assets/stylesheets/furatto/_vrt_navbar.scss +61 -0
  106. data/vendor/assets/stylesheets/furatto/icheck/_aero.scss +64 -0
  107. data/vendor/assets/stylesheets/furatto/icheck/_all.scss +20 -0
  108. data/vendor/assets/stylesheets/furatto/icheck/_blue.scss +64 -0
  109. data/vendor/assets/stylesheets/furatto/icheck/_flat.scss +64 -0
  110. data/vendor/assets/stylesheets/furatto/icheck/_green.scss +64 -0
  111. data/vendor/assets/stylesheets/furatto/icheck/_grey.scss +64 -0
  112. data/vendor/assets/stylesheets/furatto/icheck/_orange.scss +64 -0
  113. data/vendor/assets/stylesheets/furatto/icheck/_pink.scss +64 -0
  114. data/vendor/assets/stylesheets/furatto/icheck/_purple.scss +64 -0
  115. data/vendor/assets/stylesheets/furatto/icheck/_red.scss +64 -0
  116. data/vendor/assets/stylesheets/furatto/icheck/_yellow.scss +64 -0
  117. data/vendor/assets/stylesheets/normalize.scss +403 -0
  118. metadata +162 -0
@@ -0,0 +1,106 @@
1
+ /*------------------------------------*\
2
+ $NAV
3
+ \*------------------------------------*/
4
+ /**
5
+ * Basic button structural styling.
6
+ *
7
+ * Designed and built @kurenn
8
+ */
9
+
10
+ .nav {
11
+ margin-left: 0;
12
+ margin-bottom: $base-line-height;
13
+ list-style: none;
14
+ }
15
+
16
+ // Make links block level
17
+ .nav > li > a {
18
+ display: block;
19
+ }
20
+
21
+ .nav > li > a:hover,
22
+ .nav > li > a:focus {
23
+ text-decoration: none;
24
+ }
25
+
26
+ // Prevent IE8 from misplacing imgs
27
+ // See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
28
+ .nav > li > a > img {
29
+ max-width: none;
30
+ }
31
+
32
+ // Redeclare pull classes because of specifity
33
+ .nav > .pull-right {
34
+ float: right;
35
+ }
36
+
37
+ // DISABLED STATES
38
+ // ---------------
39
+
40
+ // Gray out text
41
+ .nav > .disabled > a {
42
+ color: $light-gray;
43
+ }
44
+ // Nuke hover/focus effects
45
+ .nav > .disabled > a:hover,
46
+ .nav > .disabled > a:focus {
47
+ text-decoration: none;
48
+ background-color: transparent;
49
+ cursor: default;
50
+ }
51
+
52
+ // NAV LIST
53
+ // --------
54
+
55
+ .nav-list {
56
+ padding-left: 15px;
57
+ padding-right: 15px;
58
+ margin-bottom: 0;
59
+ }
60
+ .nav-list > li > a,
61
+ .nav-list .nav-header {
62
+ margin-left: -15px;
63
+ margin-right: -15px;
64
+ text-shadow: 0 1px 0 rgba(255,255,255,.5);
65
+ }
66
+ .nav-list > li > a {
67
+ padding: 3px 15px;
68
+ }
69
+ .nav-list > .active > a,
70
+ .nav-list > .active > a:hover,
71
+ .nav-list > .active > a:focus {
72
+ color: $white;
73
+ text-shadow: 0 -1px 0 rgba(0,0,0,.2);
74
+ background-color: $blue;
75
+ }
76
+ .nav-list [class^="icon_"],
77
+ .nav-list [class*=" icon_"] {
78
+ margin-right: 2px;
79
+ }
80
+ // Dividers (basically an hr) within the dropdown
81
+ .nav-list .divider {
82
+ @include nav-divider();
83
+ }
84
+
85
+ .hrz-nav {
86
+ margin: 10px 0px 20px 0px;
87
+
88
+ li {
89
+ display: inline;
90
+ padding: 0 10px;
91
+ color: #232323;
92
+
93
+ a {
94
+ color: #232323;
95
+
96
+ &:hover {
97
+ text-decoration: underline;
98
+ }
99
+ }
100
+ }
101
+
102
+ .disabled {
103
+ color: $gray;
104
+ }
105
+ }
106
+
@@ -0,0 +1,187 @@
1
+ /*------------------------------------*\
2
+ $NAVBAR
3
+ \*------------------------------------*/
4
+ /**
5
+ * Basic navbar structural styling based on bootstrap.
6
+ * http://twitter.github.io/bootstrap/components.html#navbar
7
+ *
8
+ * Designed and built @kurenn
9
+ */
10
+
11
+ .navbar {
12
+ overflow: visible;
13
+ margin-bottom: $base-line-height;
14
+ font-weight: lighter;
15
+
16
+ .menu-trigger {
17
+ display: none;
18
+ }
19
+
20
+ /*Fix for IE7's bad z-indexing so dropdowns don't appear below content that follows the navbar*/
21
+ *position: relative;
22
+ *z-index: 2;
23
+ }
24
+
25
+ .navbar-alpha {
26
+ background: rgba($navbar-bg-color, $navbar-alpha);
27
+
28
+ .navbar-inner {
29
+ background: rgba($navbar-bg-color, $navbar-alpha);
30
+ }
31
+ }
32
+
33
+ // Inner for background effects
34
+ // Gradient is applied to its own element because overflow visible is not honored by IE when filter is present
35
+ .navbar-inner {
36
+ min-height: $navbar-height;
37
+ padding-left: 20px;
38
+ padding-right: 20px;
39
+ background: $navbar-bg-color;
40
+
41
+ /*Prevent floats from breaking the navbar*/
42
+ @include clearfix;
43
+ }
44
+
45
+ // Override the default collapsed state
46
+ .nav-collapse.collapse {
47
+ height: auto;
48
+ overflow: visible;
49
+ }
50
+
51
+ // Set width to auto for default container
52
+ // We then reset it for fixed navbars in the #gridSystem mixin
53
+ .navbar .container {
54
+ width: auto;
55
+ }
56
+
57
+ .navbar .nav {
58
+ padding-left: 0px;
59
+
60
+ [class^="icon_"], [class*=" icon_"] {
61
+ margin-right: 5px;
62
+ }
63
+ }
64
+
65
+ .navbar .brand {
66
+ float: left;
67
+ display: block;
68
+ margin-right: 20px;
69
+
70
+ /*Vertically center the text given $navbar-height*/
71
+ padding: (($navbar-height - $base-line-height) / 2) 20px (($navbar-height - $base-line-height) / 2);
72
+
73
+ margin-left: -20px; /*negative indent to left-align the text down the page*/
74
+ font-size: 20px;
75
+ font-weight: 200;
76
+ color: $navbar-brand-color;
77
+
78
+ &:hover,
79
+ &:focus {
80
+ text-decoration: none;
81
+ }
82
+ }
83
+
84
+ // Plain text in topbar
85
+ .navbar-text {
86
+ margin-bottom: 0;
87
+ line-height: $navbar-height;
88
+ color: $navbar-text;
89
+ }
90
+
91
+ // Links
92
+ .navbar .nav > li > a {
93
+ float: none;
94
+ /*Vertically center the text given @navbarHeight*/
95
+ padding: (($navbar-height - $base-line-height) / 2) 15px (($navbar-height - $base-line-height) / 2);
96
+ color: $navbar-text;
97
+ text-decoration: none;
98
+ }
99
+
100
+ // Active nav items
101
+ .navbar .nav > .active > a,
102
+ .navbar .nav > .active > a:hover,
103
+ .navbar .nav > .active > a:focus {
104
+ color: $navbar-link-color-active;
105
+ text-decoration: none;
106
+ border-top: 2px solid $green;
107
+
108
+ }
109
+
110
+ // Navbar button for toggling navbar items in responsive layouts
111
+ // These definitions need to come after '.navbar .btn'
112
+ .navbar .btn-navbar {
113
+ display: none;
114
+ float: right;
115
+ padding: 7px 10px;
116
+ margin-left: 5px;
117
+ margin-right: 5px;
118
+ /*.buttonBackground(darken(@navbarBackgroundHighlight, 5%), darken(@navbarBackground, 5%));*/
119
+ /*.box-shadow(~"inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075)");*/
120
+ }
121
+ .navbar .btn-navbar .icon_cloud {
122
+ display: block;
123
+ width: 18px;
124
+ height: 2px;
125
+ background-color: #f5f5f5;
126
+ /*.border-radius(1px);*/
127
+ /*.box-shadow(0 1px 0 rgba(0,0,0,.25));*/
128
+ }
129
+ .btn-navbar .icon_cloud + .icon_cloud {
130
+ margin-top: 3px;
131
+ }
132
+
133
+ //Navigation
134
+ .navbar .nav {
135
+ position: relative;
136
+ left: 0;
137
+ display: block;
138
+ float: left;
139
+ margin: 0 10px 0 0;
140
+
141
+ }
142
+
143
+ .navbar .nav.pull-right {
144
+ float: right; /*redeclare due to specificity*/
145
+ margin-right: 0; /*remove margin on float right nav*/
146
+ }
147
+
148
+ .navbar .nav > li {
149
+ float: left;
150
+ }
151
+
152
+ // Dividers in navbar
153
+ .divider-vertical {
154
+ height: $navbar-height + 7; /*Fix for the navbar*/
155
+ margin: 0 9px;
156
+ border-left: 1px solid $navbar-border;
157
+ }
158
+
159
+ //Static Navbar
160
+ .navbar-static-top {
161
+ position: static;
162
+ margin-bottom: 0; /*remove 18px margin for default navbar*/
163
+ }
164
+
165
+ //Fixed navbar
166
+
167
+ //Navbar fixed top/bottom shared styles
168
+ .navbar-fixed-top,
169
+ .navbar-fixed-bottom {
170
+ position: fixed;
171
+ right: 0;
172
+ left: 0;
173
+ z-index: 1030;
174
+ margin-bottom: 0; /*remove 18px margin for default navbar*/
175
+ }
176
+
177
+ //Fixed to top
178
+ .navbar-fixed-top {
179
+ top: 0;
180
+ }
181
+
182
+ //Fixed to bottom
183
+ .navbar-fixed-bottom {
184
+ bottom: 0;
185
+ }
186
+
187
+
@@ -0,0 +1,158 @@
1
+ /*------------------------------------*\
2
+ $PAGINATION
3
+ \*------------------------------------*/
4
+ /**
5
+ * Basic pagination structural styling based Flat UI Master.
6
+ * https://github.com/tomastrusik/Flat-UI-master
7
+ *
8
+ * Designed and built @kurenn
9
+ */
10
+
11
+ .pagination {
12
+ margin: 20px 0;
13
+ }
14
+
15
+ .pagination ul {
16
+ display: inline-block;
17
+ *display: inline;
18
+ margin-bottom: 0;
19
+ margin-left: 0;
20
+ @include border-radius(4px);
21
+ *zoom: 1;
22
+ @include box-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
23
+ }
24
+
25
+ .pagination ul > li {
26
+ display: inline;
27
+ }
28
+
29
+ .pagination ul > li > a,
30
+ .pagination ul > li > span {
31
+ float: left;
32
+ padding: 4px 12px;
33
+ line-height: 20px;
34
+ text-decoration: none;
35
+ background-color: #ffffff;
36
+ border: 1px solid #dddddd;
37
+ border-left-width: 0;
38
+ }
39
+
40
+ .pagination ul > li > a:hover,
41
+ .pagination ul > .active > a,
42
+ .pagination ul > .active > span {
43
+ background-color: #f5f5f5;
44
+ }
45
+
46
+ .pagination ul > .active > a,
47
+ .pagination ul > .active > span {
48
+ color: #999999;
49
+ cursor: default;
50
+ }
51
+
52
+ .pagination ul > .disabled > span,
53
+ .pagination ul > .disabled > a,
54
+ .pagination ul > .disabled > a:hover {
55
+ color: #999999;
56
+ cursor: default;
57
+ background-color: transparent;
58
+ }
59
+
60
+ .pagination ul > li:first-child > a,
61
+ .pagination ul > li:first-child > span {
62
+ border-left-width: 1px;
63
+ @include border-bottom-left-radius(4px);
64
+ @include border-top-left-radius(4px);
65
+ }
66
+
67
+ .pagination ul > li:last-child > a,
68
+ .pagination ul > li:last-child > span {
69
+ @include border-top-right-radius(4px);
70
+ @include border-bottom-right-radius(4px);
71
+ }
72
+
73
+ .pagination-centered {
74
+ text-align: center;
75
+ }
76
+
77
+ .pagination-right {
78
+ text-align: right;
79
+ }
80
+
81
+ .pagination {
82
+ ul {
83
+ background: $pagination-color;
84
+ @include border-radius(6px);
85
+ @include box-shadow(none);
86
+ > li {
87
+ &:first-child {
88
+ @include border-radius(6px 0 0 6px);
89
+ }
90
+ &:last-child {
91
+ @include border-radius(0 6px 6px 0);
92
+ }
93
+ &.previous,
94
+ &.next {
95
+ > a, > span {
96
+ background: transparent;
97
+ border: none;
98
+ border-right: 2px solid $white !important;
99
+ margin: 0 9px 0 0;
100
+ padding: 11px 17px 12px 17px;
101
+ @include border-radius(6px 0 0 6px);
102
+ @include box-shadow(none !important);
103
+ }
104
+ }
105
+ &.next {
106
+ > a, > span {
107
+ border-left: 2px solid $white !important;
108
+ margin-left: 9px;
109
+ margin-right: 0;
110
+ @include border-radius(0 6px 6px 0);
111
+ }
112
+ }
113
+ &.active {
114
+ > a, > span {
115
+ background-color: $dark-blue;
116
+ border-color: $dark-blue;
117
+ border-width: 2px;
118
+ color: $white;
119
+ margin: 10px 5px 9px;
120
+ padding: 0 4px;
121
+ &:hover, &:focus {
122
+ background-color: $dark-blue;
123
+ border-color: $dark-blue;
124
+ color: $white;
125
+ @include box-shadow(none);
126
+ }
127
+ }
128
+ }
129
+ > a, > span {
130
+ background: $white;
131
+ border: 5px solid $pagination-color;
132
+ border-radius: 50px;
133
+ color: $white;
134
+ line-height: 16px;
135
+ margin: 7px 2px 6px;
136
+ padding: 0 4px;
137
+ @include transition((background 0.2s ease-out, border-color 0s ease-out, color 0.2s ease-out));
138
+ &:hover, :focus {
139
+ background-color: $dark-blue;
140
+ border-color: $dark-blue;
141
+ color: $white;
142
+ @include transition((background 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out));
143
+ }
144
+ &:active {
145
+ background-color: scale-color($dark-blue, $lightness: -15%);
146
+ border-color: scale-color($dark-blue, $lightness: -15%);
147
+ }
148
+ }
149
+ }
150
+ img {
151
+ // For retina 2x image that is scaled down to 14px for all common screens
152
+ height: 14px;
153
+ margin-top: -1px;
154
+ vertical-align: middle;
155
+ width: 13px;
156
+ }
157
+ }
158
+ }