macbury-metro-ui-rails 0.15.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. data/.gitignore +21 -0
  2. data/.gitmodules +3 -0
  3. data/Gemfile +4 -0
  4. data/README.md +44 -0
  5. data/Rakefile +74 -0
  6. data/lib/generators/metro/layout/layout_generator.rb +19 -0
  7. data/lib/generators/metro/layout/templates/layout.html.erb +92 -0
  8. data/lib/metro/ui/rails/engine.rb +16 -0
  9. data/lib/metro/ui/rails/metro.rb +2 -0
  10. data/lib/metro/ui/rails/version.rb +7 -0
  11. data/lib/metro-ui-rails.rb +10 -0
  12. data/metro-ui-rails.gemspec +20 -0
  13. data/vendor/assets/fonts/metro-ui/iconFont.eot +0 -0
  14. data/vendor/assets/fonts/metro-ui/iconFont.svg +2005 -0
  15. data/vendor/assets/fonts/metro-ui/iconFont.ttf +0 -0
  16. data/vendor/assets/fonts/metro-ui/iconFont.woff +0 -0
  17. data/vendor/assets/javascripts/metro-ui/accordion.js +44 -0
  18. data/vendor/assets/javascripts/metro-ui/buttonset.js +34 -0
  19. data/vendor/assets/javascripts/metro-ui/carousel.js +368 -0
  20. data/vendor/assets/javascripts/metro-ui/dropdown.js +95 -0
  21. data/vendor/assets/javascripts/metro-ui/input-control.js +103 -0
  22. data/vendor/assets/javascripts/metro-ui/pagecontrol.js +64 -0
  23. data/vendor/assets/javascripts/metro-ui/rating.js +249 -0
  24. data/vendor/assets/javascripts/metro-ui/slider.js +248 -0
  25. data/vendor/assets/javascripts/metro-ui/tile-drag.js +332 -0
  26. data/vendor/assets/javascripts/metro-ui/tile-slider.js +196 -0
  27. data/vendor/assets/javascripts/metro-ui.js +10 -0
  28. data/vendor/toolkit/metro-ui/accordion.less +69 -0
  29. data/vendor/toolkit/metro-ui/bricks.less +59 -0
  30. data/vendor/toolkit/metro-ui/buttons.less +434 -0
  31. data/vendor/toolkit/metro-ui/cards.less +113 -0
  32. data/vendor/toolkit/metro-ui/carousel.less +109 -0
  33. data/vendor/toolkit/metro-ui/code.less +47 -0
  34. data/vendor/toolkit/metro-ui/colors.less +115 -0
  35. data/vendor/toolkit/metro-ui/forms.less +434 -0
  36. data/vendor/toolkit/metro-ui/grid.less +115 -0
  37. data/vendor/toolkit/metro-ui/hero.less +18 -0
  38. data/vendor/toolkit/metro-ui/icons.less +1168 -0
  39. data/vendor/toolkit/metro-ui/images.less +121 -0
  40. data/vendor/toolkit/metro-ui/jqgrid.less +12 -0
  41. data/vendor/toolkit/metro-ui/layout.less +287 -0
  42. data/vendor/toolkit/metro-ui/listview.less +143 -0
  43. data/vendor/toolkit/metro-ui/menus.less +249 -0
  44. data/vendor/toolkit/metro-ui/modern-responsive-max480.less +147 -0
  45. data/vendor/toolkit/metro-ui/modern-responsive-max767.less +241 -0
  46. data/vendor/toolkit/metro-ui/modern-responsive-max979.less +97 -0
  47. data/vendor/toolkit/metro-ui/modern-responsive-min1200.less +28 -0
  48. data/vendor/toolkit/metro-ui/modern-responsive.less +13 -0
  49. data/vendor/toolkit/metro-ui/modern.less +35 -0
  50. data/vendor/toolkit/metro-ui/notices.less +185 -0
  51. data/vendor/toolkit/metro-ui/pagecontrol.less +100 -0
  52. data/vendor/toolkit/metro-ui/progress.less +22 -0
  53. data/vendor/toolkit/metro-ui/rating.less +80 -0
  54. data/vendor/toolkit/metro-ui/reset.less +504 -0
  55. data/vendor/toolkit/metro-ui/routines.less +141 -0
  56. data/vendor/toolkit/metro-ui/sidebar.less +136 -0
  57. data/vendor/toolkit/metro-ui/slider.less +67 -0
  58. data/vendor/toolkit/metro-ui/tables.less +164 -0
  59. data/vendor/toolkit/metro-ui/theme-dark.less +54 -0
  60. data/vendor/toolkit/metro-ui/tiles.less +285 -0
  61. data/vendor/toolkit/metro-ui/typography.less +347 -0
  62. metadata +139 -0
@@ -0,0 +1,97 @@
1
+ /*
2
+ * Metro UI CSS
3
+ * Copyright 2012 Sergey Pimenov
4
+ * Licensed under the MIT Lilcense
5
+ *
6
+ * responsive.less
7
+ */
8
+
9
+ /* Portrait tablet to landscape and desktop */
10
+ @media (min-width: 768px) and (max-width: 979px) {
11
+ .span1 {width: 42px;}
12
+ .span2 {width: 104px;}
13
+ .span3 {width: 166px;}
14
+ .span4 {width: 228px;}
15
+ .span5 {width: 290px;}
16
+ .span6 {width: 352px;}
17
+ .span7 {width: 414px;}
18
+ .span8 {width: 476px;}
19
+ .span9 {width: 538px;}
20
+ .span10 {width: 600px;}
21
+ .span11 {width: 662px;}
22
+ .span12 {width: 724px;}
23
+
24
+ .offset1 {margin-left: 62px; }
25
+ .offset2 {margin-left: 124px;}
26
+ .offset3 {margin-left: 186px;}
27
+ .offset4 {margin-left: 248px;}
28
+ .offset5 {margin-left: 310px;}
29
+ .offset6 {margin-left: 372px;}
30
+ .offset7 {margin-left: 434px;}
31
+ .offset8 {margin-left: 496px;}
32
+ .offset9 {margin-left: 558px;}
33
+ .offset10 {margin-left: 620px;}
34
+ .offset11 {margin-left: 682px;}
35
+ .offset12 {margin-left: 744px;}
36
+
37
+ .nav-bar {
38
+ .nav-bar-inner {
39
+ .pull-menu {
40
+ display: inline-block;
41
+ }
42
+
43
+ & > .divider {
44
+ display: none;
45
+ }
46
+
47
+ .element {
48
+ float: none;
49
+ }
50
+
51
+ & > ul.menu {
52
+ display: none;
53
+ float: none;
54
+ margin: 5px;
55
+
56
+ & > li {
57
+ display: block;
58
+ float: none;
59
+ width: 100%;
60
+ margin-left: 0;
61
+ padding-left: 5px;
62
+ //border-bottom: 1px #ccc solid;
63
+
64
+ a {
65
+ display: block;
66
+ float: none;
67
+ }
68
+
69
+ .dropdown-menu {
70
+ position: relative;
71
+ width: 100%;
72
+ border: 0;
73
+ }
74
+ }
75
+ }
76
+
77
+ [data-role=dropdown] {
78
+ margin-right: 20px !important;
79
+ & > a {
80
+ cursor: pointer;
81
+ &:before {
82
+ position: absolute;
83
+ content: "\203A";
84
+ display: block;
85
+ font-size: 1.4em;
86
+ left: 100%;
87
+ margin-left: -10px;
88
+ top: 8px;
89
+ .rotate(90deg);
90
+ }
91
+ }
92
+ }
93
+
94
+ }
95
+ }
96
+
97
+ }
@@ -0,0 +1,28 @@
1
+ /*
2
+ * Metro UI CSS
3
+ * Copyright 2012 Sergey Pimenov
4
+ * Licensed under the MIT Lilcense
5
+ *
6
+ * responsive.less
7
+ */
8
+
9
+ /* Large desktop */
10
+ @media (min-width: 1200px) {
11
+
12
+ }
13
+
14
+ @media (min-width: 980px) {
15
+ .nav-bar {
16
+ .nav-bar-inner {
17
+ .pull-menu {
18
+ display: none;
19
+ }
20
+ & > ul.menu {
21
+ display: block !important;
22
+ }
23
+ }
24
+ }
25
+ }
26
+
27
+
28
+
@@ -0,0 +1,13 @@
1
+ /*
2
+ * Metro UI CSS
3
+ * Copyright 2012 Sergey Pimenov
4
+ * Licensed under the MIT Lilcense
5
+ *
6
+ * responsive.less
7
+ */
8
+
9
+ @import "colors.less";
10
+ @import "modern-responsive-min1200.less";
11
+ @import "modern-responsive-max979.less";
12
+ @import "modern-responsive-max767.less";
13
+ @import "modern-responsive-max480.less";
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Metro UI CSS v 0.1.6
3
+ * Copyright 2012 Sergey Pimenov
4
+ * Licensed under the MIT Lilcense
5
+ */
6
+
7
+ @import "reset.less";
8
+
9
+ @import "routines.less";
10
+ @import "icons.less";
11
+ @import "colors.less";
12
+ @import "bricks.less";
13
+ @import "typography.less";
14
+ @import "layout.less";
15
+ @import "buttons.less";
16
+ @import "tables.less";
17
+ @import "grid.less";
18
+
19
+ @import "hero.less";
20
+ @import "menus.less";
21
+ @import "sidebar.less";
22
+ @import "notices.less";
23
+ @import "tiles.less";
24
+ @import "forms.less";
25
+ @import "images.less";
26
+ @import "cards.less";
27
+ @import "code.less";
28
+ @import "pagecontrol.less";
29
+ @import "accordion.less";
30
+ @import "rating.less";
31
+ @import "progress.less";
32
+ @import "carousel.less";
33
+ @import "listview.less";
34
+ @import "slider.less";
35
+
@@ -0,0 +1,185 @@
1
+ /*
2
+ * Metro UI CSS
3
+ * Copyright 2012 Sergey Pimenov
4
+ * Licensed under the MIT Lilcense
5
+ *
6
+ * Notices.less
7
+ */
8
+
9
+ .replies {
10
+ //list-style: none;
11
+ //margin: 0;
12
+ //padding: 0;
13
+ .unstyled;
14
+
15
+ & > div, & > li, & > span {
16
+ .medium-brick;
17
+ #font > .normal;
18
+ height: auto;
19
+ padding: 10px;
20
+
21
+ .avatar {
22
+ width: 50px;
23
+ height: 50px;
24
+ overflow: hidden;
25
+ display: table-cell;
26
+ vertical-align:middle !important;
27
+ background: #6e6e6e;
28
+ box-shadow-bottom: inset 0px 0px 3px #fff;
29
+
30
+ img {
31
+ width: 100%;
32
+ height: 100%;
33
+ display:inline-block !important;
34
+ vertical-align:middle !important;
35
+ }
36
+ }
37
+
38
+ .reply {
39
+ margin-left: 60px;
40
+ margin-top: -50px;
41
+
42
+ .date {
43
+ float: right;
44
+ font-size: 55%;
45
+ color: @white;
46
+ }
47
+ .author {
48
+ color: @white;
49
+ }
50
+ .text {
51
+ .tertiary-text;
52
+ color: @white;
53
+ line-height: 16px;
54
+ &:hover {
55
+ color: @white;
56
+ }
57
+ }
58
+ }
59
+
60
+ .sticker {
61
+ width: 0;
62
+ height: 0;
63
+ border-top: 10px solid @white;
64
+ position: absolute;
65
+ display: block;
66
+ z-index: 1000;
67
+ }
68
+
69
+ .sticker.sticker-color-blue {border-color: @blue !important;}
70
+ .sticker.sticker-color-blueLight {border-color: @blueLight !important;}
71
+ .sticker.sticker-color-blueDark {border-color: @blueDark !important;}
72
+ .sticker.sticker-color-green {border-color: @green !important;}
73
+ .sticker.sticker-color-greenLight {border-color: @greenLight !important;}
74
+ .sticker.sticker-color-greenDark {border-color: @greenDark !important;}
75
+ .sticker.sticker-color-red {border-color: @red !important;}
76
+ .sticker.sticker-color-yellow {border-color: @yellow !important;}
77
+ .sticker.sticker-color-orange {border-color: @orange !important;}
78
+ .sticker.sticker-color-orangeDark {border-color: @orangeDark !important;}
79
+ .sticker.sticker-color-pink {border-color: @pink !important;}
80
+ .sticker.sticker-color-pinkDark {border-color: @pinkDark !important;}
81
+ .sticker.sticker-color-purple {border-color: @purple !important;}
82
+ .sticker.sticker-color-darken {border-color: @darken !important;}
83
+ .sticker.sticker-color-white {border-color: @white !important;}
84
+ .sticker.sticker-color-lighten {border-color: @lighten !important;}
85
+ .sticker.sticker-color-grayDark {border-color: @grayDark !important;}
86
+
87
+ .sticker.sticker-left {
88
+ border-left: 20px solid transparent !important;
89
+ left: -20px;
90
+ }
91
+
92
+ .sticker.sticker-right {
93
+ border-right: 20px solid transparent !important;
94
+ right: -20px;
95
+ }
96
+ }
97
+ }
98
+
99
+
100
+ .notices {
101
+ list-style: none;
102
+ margin: 0;
103
+ padding: 0;
104
+
105
+ & > div, & > li, & > span, & > a {
106
+ //width: 385px;
107
+ width: 100%;
108
+ height: 90px;
109
+ display: block;
110
+ overflow: hidden;
111
+ position: relative;
112
+ margin-bottom: 10px;
113
+
114
+ .notice-header, .header {
115
+ position: relative;
116
+ background: transparent;
117
+ #font > .subheader-secondary;
118
+ font-size: 12pt;
119
+ margin-top: 5px;
120
+ margin-left: 10px;
121
+ }
122
+
123
+ .notice-text, .text {
124
+ position: relative;
125
+ margin-right: 50px;
126
+ margin-left: 10px;
127
+ color: #fff;
128
+ #font > .small;
129
+ margin-top: -5px;
130
+ line-height: 16px;
131
+ }
132
+
133
+ .notice-icon, .icon {
134
+ position: absolute;
135
+ right: 10px;
136
+ bottom: 5px;
137
+
138
+ img {
139
+ width: 32px;
140
+ height: 32px;
141
+ }
142
+ }
143
+
144
+ .notice-image, .image {
145
+ max-height: 48px;
146
+ width: 48px;
147
+ height: 48px;
148
+ margin: 20px 20px 20px 20px;
149
+ float: left;
150
+
151
+ img {
152
+ width: 48px;
153
+ height: 48px;
154
+ }
155
+ }
156
+
157
+ .close {
158
+ z-index: 2;
159
+ position: absolute;
160
+ top: 5px;
161
+ right: 10px;
162
+ cursor: pointer;
163
+ font-weight: bold;
164
+ text-decoration: none;
165
+ color: #fff !important;
166
+ }
167
+ .close::before {
168
+ content: "\00d7";
169
+ color: #fff !important;
170
+ }
171
+
172
+ .image-large {
173
+ width: 88px;
174
+ height: 88px;
175
+ margin: 1px 10px 1px 1px;
176
+ overflow: hidden;
177
+ float: left;
178
+
179
+ img {
180
+ width: 88px;
181
+ height: 88px;
182
+ }
183
+ }
184
+ }
185
+ }
@@ -0,0 +1,100 @@
1
+ /*
2
+ * Metro UI CSS
3
+ * Copyright 2012 Sergey Pimenov
4
+ * Licensed under the MIT Lilcense
5
+ *
6
+ * PageControl.less
7
+ *
8
+ */
9
+
10
+ .page-control {
11
+ position: relative;
12
+ .clearfix;
13
+
14
+ & > ul {
15
+ .unstyled;
16
+ .clearfix;
17
+ position: absolute;
18
+ z-index: 5;
19
+ width: 100%;
20
+ background-color: rgba(217, 217, 217, 0.16);
21
+ height: 30px;
22
+
23
+ li:first-child {
24
+ margin-left: 20px;
25
+ }
26
+
27
+ li {
28
+ float: left;
29
+ display: block;
30
+ text-align: center;
31
+
32
+ img {
33
+ float: left;
34
+ width: 16px;
35
+ height: 16px;
36
+ margin-right: 5px;
37
+ margin-top: 3px;
38
+ }
39
+
40
+ &.active {
41
+ border: 1px #ccc solid;
42
+ border-bottom: 0;
43
+ background-color: #fff;
44
+
45
+ span, a {
46
+ color: @blue;
47
+ }
48
+ }
49
+
50
+ span, a {
51
+ text-decoration: none;
52
+ //text-transform: uppercase;
53
+ display: block;
54
+ float: left;
55
+ padding: 5px 10px;
56
+ color: #1e1e1e;
57
+ #font > .navigation;
58
+ cursor: pointer;
59
+ outline: 0;
60
+ }
61
+ }
62
+ }
63
+
64
+ &.tabs-right {
65
+ & > ul {
66
+ li {
67
+ .place-right;
68
+ }
69
+ }
70
+ }
71
+
72
+ .frames {
73
+ margin-top: 28px;
74
+ width: 100%;
75
+ min-height: 50px;
76
+ border: 1px #ccc solid;
77
+
78
+ .frame {
79
+ width: 100%;
80
+ min-height: 100%;
81
+ height: auto;
82
+ display: none;
83
+ padding: 20px;
84
+
85
+ &.active {
86
+ display: block;
87
+ }
88
+ }
89
+ }
90
+ }
91
+
92
+ .page-control ul {
93
+ display: block;
94
+ overflow: visible;
95
+ }
96
+ .page-control {
97
+ .menu-pull, .menu-pull-bar {
98
+ display: none;
99
+ }
100
+ }
@@ -0,0 +1,22 @@
1
+ /*
2
+ * Metro UI CSS
3
+ * Copyright 2012 Sergey Pimenov
4
+ * Licensed under the MIT Lilcense
5
+ *
6
+ * Progress.less
7
+ */
8
+
9
+ .progress-bar {
10
+ height: 5px;
11
+ width: 100%;
12
+ margin-bottom: 10px;
13
+
14
+ .bar {
15
+ float: left;
16
+ width: 0;
17
+ background-color: #008287;
18
+ height: 100%;
19
+ }
20
+
21
+ .clearfix;
22
+ }
@@ -0,0 +1,80 @@
1
+ /*
2
+ * Metro UI CSS
3
+ * Copyright 2012 Sergey Pimenov
4
+ * Licensed under the MIT Lilcense
5
+ *
6
+ * rating.less
7
+ */
8
+
9
+ @image_big_star: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAABOCAYAAADRl20RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4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jlGOThBQTVDRENEQURDNUQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5QzA5Qjg2QTFDRjUxMUUyOUY5OEFBNUNEQ0RBREM1RCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5QzA5Qjg2QjFDRjUxMUUyOUY5OEFBNUNEQ0RBREM1RCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pu4JKw4AAAILSURBVHjavJRPSFRRFIfnjUM22hiFTM4YlNhSIQKjaCdRCYlki2jjqsEgN4FbN7rUdtHKhbhrkdBsWigUVKtwaRakxuj8IUMYC9xMTt/B895Mj3vfzKh04ePd+879nXfvub93nWQyGbK085CDfVMwHLK3CxC3BW3CKJyFzkaFruAcREwT5GVLgLBJ9/rDFy+J8DRctmWm9frGP2FZJufhF/TBqVBwW4NVKLt7/A3voWARlOQr8FlE/uJIcMUi3NYztVa1wyKMa6GswoQ+9+ATfK+qbtx/HG47CWcgo0su6Z5zWvWEFvIgUywWc/vtsAXrPn/uabI22DEVp1B90PnHT0egWYd/4Et1wkg2mzV7cWpmlEeR+Ou6vYpI/ozr8LBRkz8ABwZJYnST40xOd+mk6vZKKyltDN744kU5jiswF+DT577xW1lReH9iXLJfha81DC7H8Axuodl2yuWyWxA5p3kYMojkJ3iE4KW3R1eo4os8NgzCBUT3g6p6z7LM2ySNBgndrJu65Be6t1YYMArJKBfsNZiFHpaWhif0+3X5w7YvytVxl8kp2HVf0n+n906G5CcqNaY4JroXP4xAsy0edJOLye805NVLSx+PbnKSmE3OPv6zyb/dvNGwydFUTM5eapocgdnkiK0mR3Q4k5P0mE1Oxn9MztLSUL/JmZwCz+T0PZOT3DP5XwEGAJj+1ghmlpwuAAAAAElFTkSuQmCC);
11
+
12
+ .static-rating {
13
+ background: @image_big_star top left repeat-x;
14
+ height: 26px;
15
+ width: 134px;
16
+ margin-bottom: 10px;
17
+
18
+ .rating-value {
19
+ background: @image_big_star top left repeat-x;
20
+ background-position: left -26px;
21
+ height: 26px;
22
+ width: 0;
23
+ }
24
+
25
+ &.small {
26
+ background: @image_small_star top left repeat-x;
27
+ height: 12px;
28
+ width: 70px;
29
+ margin-bottom: 5px;
30
+
31
+ .rating-value {
32
+ background: @image_small_star top left repeat-x;
33
+ background-position: left -13px;
34
+ height: 12px;
35
+ width: 0;
36
+ }
37
+ }
38
+
39
+ .clearfix;
40
+ }
41
+
42
+ .rating {
43
+ a {
44
+ float: left;
45
+ display: block;
46
+ width: 26px;
47
+ height: 26px;
48
+ position: relative;
49
+ background: @image_big_star top left;
50
+
51
+ &.rated {
52
+ background-position: 0 -26px;
53
+ }
54
+
55
+ &.hover {
56
+ background-position: 0 -52px;
57
+ }
58
+ }
59
+
60
+ &.small {
61
+ a {
62
+ float: left;
63
+ display: block;
64
+ width: 12px;
65
+ height: 12px;
66
+ position: relative;
67
+ background: @image_small_star top left;
68
+
69
+ &.rated {
70
+ background-position: 0 -13px;
71
+ }
72
+
73
+ &.hover {
74
+ background-position: 0 -26px;
75
+ }
76
+ }
77
+ }
78
+
79
+ .clearfix;
80
+ }