metro-ui-rails-cn 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +18 -0
- data/.gitmodules +3 -0
- data/Gemfile +4 -0
- data/README.md +54 -0
- data/Rakefile +15 -0
- data/lib/generators/metro/layout/layout_generator.rb +19 -0
- data/lib/generators/metro/layout/templates/layout.html.erb +89 -0
- data/lib/metro-ui-rails-cn.rb +10 -0
- data/lib/metro/ui/convert.rb +64 -0
- data/lib/metro/ui/rails/engine.rb +15 -0
- data/lib/metro/ui/rails/metro.rb +2 -0
- data/lib/metro/ui/rails/version.rb +7 -0
- data/metro-ui-rails-cn.gemspec +26 -0
- data/test/convert_test.rb +28 -0
- data/test/test_helper.rb +2 -0
- data/vendor/assets/images/.DS_Store +0 -0
- data/vendor/assets/images/metro-ui-css/1.jpg +0 -0
- data/vendor/assets/images/metro-ui-css/1005-BizSpark-261x230.jpg +0 -0
- data/vendor/assets/images/metro-ui-css/2.jpg +0 -0
- data/vendor/assets/images/metro-ui-css/3.jpg +0 -0
- data/vendor/assets/images/metro-ui-css/4.jpg +0 -0
- data/vendor/assets/images/metro-ui-css/5.jpg +0 -0
- data/vendor/assets/images/metro-ui-css/Calendar128.png +0 -0
- data/vendor/assets/images/metro-ui-css/Camera48.png +0 -0
- data/vendor/assets/images/metro-ui-css/InternetExplorer128.png +0 -0
- data/vendor/assets/images/metro-ui-css/Mail128.png +0 -0
- data/vendor/assets/images/metro-ui-css/Market128.png +0 -0
- data/vendor/assets/images/metro-ui-css/Music128.png +0 -0
- data/vendor/assets/images/metro-ui-css/Picture128.png +0 -0
- data/vendor/assets/images/metro-ui-css/Rss128.png +0 -0
- data/vendor/assets/images/metro-ui-css/Video128.png +0 -0
- data/vendor/assets/images/metro-ui-css/YouTube128.png +0 -0
- data/vendor/assets/images/metro-ui-css/armor.png +0 -0
- data/vendor/assets/images/metro-ui-css/author.jpg +0 -0
- data/vendor/assets/images/metro-ui-css/bage-activity.png +0 -0
- data/vendor/assets/images/metro-ui-css/bage-alert.png +0 -0
- data/vendor/assets/images/metro-ui-css/bage-attention.png +0 -0
- data/vendor/assets/images/metro-ui-css/bage-available.png +0 -0
- data/vendor/assets/images/metro-ui-css/bage-away.png +0 -0
- data/vendor/assets/images/metro-ui-css/bage-busy.png +0 -0
- data/vendor/assets/images/metro-ui-css/bage-error.png +0 -0
- data/vendor/assets/images/metro-ui-css/bage-newMessage.png +0 -0
- data/vendor/assets/images/metro-ui-css/bage-paused.png +0 -0
- data/vendor/assets/images/metro-ui-css/bage-playing.png +0 -0
- data/vendor/assets/images/metro-ui-css/bage-unavailable.png +0 -0
- data/vendor/assets/images/metro-ui-css/chrome.png +0 -0
- data/vendor/assets/images/metro-ui-css/collapse24-black.png +0 -0
- data/vendor/assets/images/metro-ui-css/collapse24.png +0 -0
- data/vendor/assets/images/metro-ui-css/collapse32-black.png +0 -0
- data/vendor/assets/images/metro-ui-css/collapse32.png +0 -0
- data/vendor/assets/images/metro-ui-css/download-32.png +0 -0
- data/vendor/assets/images/metro-ui-css/excel2013icon.png +0 -0
- data/vendor/assets/images/metro-ui-css/expand24-black.png +0 -0
- data/vendor/assets/images/metro-ui-css/expand24.png +0 -0
- data/vendor/assets/images/metro-ui-css/expand32-black.png +0 -0
- data/vendor/assets/images/metro-ui-css/expand32.png +0 -0
- data/vendor/assets/images/metro-ui-css/firefox.png +0 -0
- data/vendor/assets/images/metro-ui-css/fonts/7xkFOeTxxO1GMC1suOUYWWhBabBbEjGd1iRmpyoZukE.woff +0 -0
- data/vendor/assets/images/metro-ui-css/fonts/DXI1ORHCpsQm3Vp6mXoaTZ1r3JsPcQLi8jytr04NNhU.woff +0 -0
- data/vendor/assets/images/metro-ui-css/fonts/EInbV5DfGHOiMmvb1Xr-hp1r3JsPcQLi8jytr04NNhU.woff +0 -0
- data/vendor/assets/images/metro-ui-css/fonts/K88pR3goAWT7BTt32Z01mz8E0i7KZn-EPnyo3HZu7kw.woff +0 -0
- data/vendor/assets/images/metro-ui-css/fonts/k3k702ZOKiLJc3WVjuplzJ1r3JsPcQLi8jytr04NNhU.woff +0 -0
- data/vendor/assets/images/metro-ui-css/fork-32.png +0 -0
- data/vendor/assets/images/metro-ui-css/github.png +0 -0
- data/vendor/assets/images/metro-ui-css/grid.png +0 -0
- data/vendor/assets/images/metro-ui-css/icons-white.png +0 -0
- data/vendor/assets/images/metro-ui-css/icons.png +0 -0
- data/vendor/assets/images/metro-ui-css/ie.png +0 -0
- data/vendor/assets/images/metro-ui-css/lock-open.png +0 -0
- data/vendor/assets/images/metro-ui-css/lock.png +0 -0
- data/vendor/assets/images/metro-ui-css/logo-jetbrains.jpg +0 -0
- data/vendor/assets/images/metro-ui-css/logo32.png +0 -0
- data/vendor/assets/images/metro-ui-css/michael.jpg +0 -0
- data/vendor/assets/images/metro-ui-css/myface.jpg +0 -0
- data/vendor/assets/images/metro-ui-css/onenote2013icon.png +0 -0
- data/vendor/assets/images/metro-ui-css/opera.png +0 -0
- data/vendor/assets/images/metro-ui-css/pull24-dark.png +0 -0
- data/vendor/assets/images/metro-ui-css/pull24.png +0 -0
- data/vendor/assets/images/metro-ui-css/responsive.png +0 -0
- data/vendor/assets/images/metro-ui-css/row24.png +0 -0
- data/vendor/assets/images/metro-ui-css/shield-user.png +0 -0
- data/vendor/assets/images/metro-ui-css/simple.png +0 -0
- data/vendor/assets/images/metro-ui-css/star32.png +0 -0
- data/vendor/assets/images/metro-ui-css/stock-up.png +0 -0
- data/vendor/assets/images/metro-ui-css/view-32.png +0 -0
- data/vendor/assets/images/metro-ui-css/windows-8-metro.jpg +0 -0
- data/vendor/assets/images/metro-ui-css/windows8_metro_green_1920_1080.jpg +0 -0
- data/vendor/assets/images/metro-ui-css/word2013icon.png +0 -0
- data/vendor/assets/javascripts/metro-ui-css-js.js +1 -0
- data/vendor/assets/javascripts/metro-ui-css/accordion.js +44 -0
- data/vendor/assets/javascripts/metro-ui-css/buttonset.js +34 -0
- data/vendor/assets/javascripts/metro-ui-css/carousel.js +368 -0
- data/vendor/assets/javascripts/metro-ui-css/dropdown.js +95 -0
- data/vendor/assets/javascripts/metro-ui-css/pagecontrol.js +64 -0
- data/vendor/assets/javascripts/metro-ui-css/rating.js +46 -0
- data/vendor/assets/javascripts/metro-ui-css/tile-slider.js +196 -0
- data/vendor/toolkit/metro-ui-css/accordion.less +69 -0
- data/vendor/toolkit/metro-ui-css/bricks.less +57 -0
- data/vendor/toolkit/metro-ui-css/buttons.less +256 -0
- data/vendor/toolkit/metro-ui-css/cards.less +113 -0
- data/vendor/toolkit/metro-ui-css/carousel.less +109 -0
- data/vendor/toolkit/metro-ui-css/code.less +47 -0
- data/vendor/toolkit/metro-ui-css/colors.less +90 -0
- data/vendor/toolkit/metro-ui-css/forms.less +427 -0
- data/vendor/toolkit/metro-ui-css/grid.less +115 -0
- data/vendor/toolkit/metro-ui-css/hero.less +18 -0
- data/vendor/toolkit/metro-ui-css/icons.less +326 -0
- data/vendor/toolkit/metro-ui-css/images.less +121 -0
- data/vendor/toolkit/metro-ui-css/layout.less +287 -0
- data/vendor/toolkit/metro-ui-css/listview.less +143 -0
- data/vendor/toolkit/metro-ui-css/menus.less +345 -0
- data/vendor/toolkit/metro-ui-css/modern-responsive-max480.less +147 -0
- data/vendor/toolkit/metro-ui-css/modern-responsive-max767.less +211 -0
- data/vendor/toolkit/metro-ui-css/modern-responsive-max979.less +71 -0
- data/vendor/toolkit/metro-ui-css/modern-responsive-min1200.less +28 -0
- data/vendor/toolkit/metro-ui-css/modern-responsive.less +13 -0
- data/vendor/toolkit/metro-ui-css/modern.less +33 -0
- data/vendor/toolkit/metro-ui-css/notices.less +183 -0
- data/vendor/toolkit/metro-ui-css/pagecontrol.less +100 -0
- data/vendor/toolkit/metro-ui-css/progress.less +22 -0
- data/vendor/toolkit/metro-ui-css/rating.less +80 -0
- data/vendor/toolkit/metro-ui-css/reset.less +504 -0
- data/vendor/toolkit/metro-ui-css/routines.less +137 -0
- data/vendor/toolkit/metro-ui-css/sidebar.less +139 -0
- data/vendor/toolkit/metro-ui-css/slider.less +52 -0
- data/vendor/toolkit/metro-ui-css/tables.less +158 -0
- data/vendor/toolkit/metro-ui-css/theme-dark.less +54 -0
- data/vendor/toolkit/metro-ui-css/tiles.less +276 -0
- data/vendor/toolkit/metro-ui-css/typography.less +347 -0
- metadata +229 -0
@@ -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,iVBORw0KGgoAAAANSUh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8FlE/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
|
+
}
|
@@ -0,0 +1,504 @@
|
|
1
|
+
/*! normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */
|
2
|
+
|
3
|
+
/* =============================================================================
|
4
|
+
HTML5 display definitions
|
5
|
+
========================================================================== */
|
6
|
+
|
7
|
+
/*
|
8
|
+
* Corrects block display not defined in IE6/7/8/9 & FF3
|
9
|
+
*/
|
10
|
+
|
11
|
+
article,
|
12
|
+
aside,
|
13
|
+
details,
|
14
|
+
figcaption,
|
15
|
+
figure,
|
16
|
+
footer,
|
17
|
+
header,
|
18
|
+
hgroup,
|
19
|
+
nav,
|
20
|
+
section,
|
21
|
+
summary {
|
22
|
+
display: block;
|
23
|
+
}
|
24
|
+
|
25
|
+
/*
|
26
|
+
* Corrects inline-block display not defined in IE6/7/8/9 & FF3
|
27
|
+
*/
|
28
|
+
|
29
|
+
audio,
|
30
|
+
canvas,
|
31
|
+
video {
|
32
|
+
display: inline-block;
|
33
|
+
*display: inline;
|
34
|
+
*zoom: 1;
|
35
|
+
}
|
36
|
+
|
37
|
+
/*
|
38
|
+
* Prevents modern browsers from displaying 'audio' without controls
|
39
|
+
* Remove excess height in iOS5 devices
|
40
|
+
*/
|
41
|
+
|
42
|
+
audio:not([controls]) {
|
43
|
+
display: none;
|
44
|
+
height: 0;
|
45
|
+
}
|
46
|
+
|
47
|
+
/*
|
48
|
+
* Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
|
49
|
+
* Known issue: no IE6 support
|
50
|
+
*/
|
51
|
+
|
52
|
+
[hidden] {
|
53
|
+
display: none;
|
54
|
+
}
|
55
|
+
|
56
|
+
|
57
|
+
/* =============================================================================
|
58
|
+
Base
|
59
|
+
========================================================================== */
|
60
|
+
|
61
|
+
/*
|
62
|
+
* 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
|
63
|
+
* http://clagnut.com/blog/348/#c790
|
64
|
+
* 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
|
65
|
+
* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
|
66
|
+
*/
|
67
|
+
|
68
|
+
html {
|
69
|
+
font-size: 100%; /* 1 */
|
70
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
71
|
+
-ms-text-size-adjust: 100%; /* 2 */
|
72
|
+
}
|
73
|
+
|
74
|
+
/*
|
75
|
+
* Addresses font-family inconsistency between 'textarea' and other form elements.
|
76
|
+
*/
|
77
|
+
|
78
|
+
html,
|
79
|
+
button,
|
80
|
+
input,
|
81
|
+
select,
|
82
|
+
textarea {
|
83
|
+
font-family: sans-serif;
|
84
|
+
}
|
85
|
+
|
86
|
+
/*
|
87
|
+
* Addresses margins handled incorrectly in IE6/7
|
88
|
+
*/
|
89
|
+
|
90
|
+
body {
|
91
|
+
margin: 0;
|
92
|
+
}
|
93
|
+
|
94
|
+
|
95
|
+
/* =============================================================================
|
96
|
+
Links
|
97
|
+
========================================================================== */
|
98
|
+
|
99
|
+
/*
|
100
|
+
* Addresses outline displayed oddly in Chrome
|
101
|
+
*/
|
102
|
+
|
103
|
+
a:focus {
|
104
|
+
outline: thin dotted;
|
105
|
+
}
|
106
|
+
|
107
|
+
/*
|
108
|
+
* Improves readability when focused and also mouse hovered in all browsers
|
109
|
+
* people.opera.com/patrickl/experiments/keyboard/test
|
110
|
+
*/
|
111
|
+
|
112
|
+
a:hover,
|
113
|
+
a:active {
|
114
|
+
outline: 0;
|
115
|
+
}
|
116
|
+
|
117
|
+
|
118
|
+
/* =============================================================================
|
119
|
+
Typography
|
120
|
+
========================================================================== */
|
121
|
+
|
122
|
+
/*
|
123
|
+
* Addresses font sizes and margins set differently in IE6/7
|
124
|
+
* Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5
|
125
|
+
*/
|
126
|
+
|
127
|
+
h1 {
|
128
|
+
font-size: 2em;
|
129
|
+
margin: 0.67em 0;
|
130
|
+
}
|
131
|
+
|
132
|
+
h2 {
|
133
|
+
font-size: 1.5em;
|
134
|
+
margin: 0.83em 0;
|
135
|
+
}
|
136
|
+
|
137
|
+
h3 {
|
138
|
+
font-size: 1.17em;
|
139
|
+
margin: 1em 0;
|
140
|
+
}
|
141
|
+
|
142
|
+
h4 {
|
143
|
+
font-size: 1em;
|
144
|
+
margin: 1.33em 0;
|
145
|
+
}
|
146
|
+
|
147
|
+
h5 {
|
148
|
+
font-size: 0.83em;
|
149
|
+
margin: 1.67em 0;
|
150
|
+
}
|
151
|
+
|
152
|
+
h6 {
|
153
|
+
font-size: 0.75em;
|
154
|
+
margin: 2.33em 0;
|
155
|
+
}
|
156
|
+
|
157
|
+
/*
|
158
|
+
* Addresses styling not present in IE7/8/9, S5, Chrome
|
159
|
+
*/
|
160
|
+
|
161
|
+
abbr[title] {
|
162
|
+
border-bottom: 1px dotted;
|
163
|
+
}
|
164
|
+
|
165
|
+
/*
|
166
|
+
* Addresses style set to 'bolder' in FF3+, S4/5, Chrome
|
167
|
+
*/
|
168
|
+
|
169
|
+
b,
|
170
|
+
strong {
|
171
|
+
font-weight: bold;
|
172
|
+
}
|
173
|
+
|
174
|
+
blockquote {
|
175
|
+
margin: 1em 40px;
|
176
|
+
}
|
177
|
+
|
178
|
+
/*
|
179
|
+
* Addresses styling not present in S5, Chrome
|
180
|
+
*/
|
181
|
+
|
182
|
+
dfn {
|
183
|
+
font-style: italic;
|
184
|
+
}
|
185
|
+
|
186
|
+
/*
|
187
|
+
* Addresses styling not present in IE6/7/8/9
|
188
|
+
*/
|
189
|
+
|
190
|
+
mark {
|
191
|
+
background: #ff0;
|
192
|
+
color: #000;
|
193
|
+
}
|
194
|
+
|
195
|
+
/*
|
196
|
+
* Addresses margins set differently in IE6/7
|
197
|
+
*/
|
198
|
+
|
199
|
+
p,
|
200
|
+
pre {
|
201
|
+
margin: 1em 0;
|
202
|
+
}
|
203
|
+
|
204
|
+
/*
|
205
|
+
* Corrects font family set oddly in IE6, S4/5, Chrome
|
206
|
+
* en.wikipedia.org/wiki/User:Davidgothberg/Test59
|
207
|
+
*/
|
208
|
+
|
209
|
+
pre,
|
210
|
+
code,
|
211
|
+
kbd,
|
212
|
+
samp {
|
213
|
+
font-family: monospace, serif;
|
214
|
+
_font-family: 'courier new', monospace;
|
215
|
+
font-size: 1em;
|
216
|
+
}
|
217
|
+
|
218
|
+
/*
|
219
|
+
* Improves readability of pre-formatted text in all browsers
|
220
|
+
*/
|
221
|
+
|
222
|
+
pre {
|
223
|
+
white-space: pre;
|
224
|
+
white-space: pre-wrap;
|
225
|
+
word-wrap: break-word;
|
226
|
+
}
|
227
|
+
|
228
|
+
/*
|
229
|
+
* 1. Addresses CSS quotes not supported in IE6/7
|
230
|
+
* 2. Addresses quote property not supported in S4
|
231
|
+
*/
|
232
|
+
|
233
|
+
/* 1 */
|
234
|
+
|
235
|
+
q {
|
236
|
+
quotes: none;
|
237
|
+
}
|
238
|
+
|
239
|
+
/* 2 */
|
240
|
+
|
241
|
+
q:before,
|
242
|
+
q:after {
|
243
|
+
content: '';
|
244
|
+
content: none;
|
245
|
+
}
|
246
|
+
|
247
|
+
small {
|
248
|
+
font-size: 75%;
|
249
|
+
}
|
250
|
+
|
251
|
+
/*
|
252
|
+
* Prevents sub and sup affecting line-height in all browsers
|
253
|
+
* gist.github.com/413930
|
254
|
+
*/
|
255
|
+
|
256
|
+
sub,
|
257
|
+
sup {
|
258
|
+
font-size: 75%;
|
259
|
+
line-height: 0;
|
260
|
+
position: relative;
|
261
|
+
vertical-align: baseline;
|
262
|
+
}
|
263
|
+
|
264
|
+
sup {
|
265
|
+
top: -0.5em;
|
266
|
+
}
|
267
|
+
|
268
|
+
sub {
|
269
|
+
bottom: -0.25em;
|
270
|
+
}
|
271
|
+
|
272
|
+
|
273
|
+
/* =============================================================================
|
274
|
+
Lists
|
275
|
+
========================================================================== */
|
276
|
+
|
277
|
+
/*
|
278
|
+
* Addresses margins set differently in IE6/7
|
279
|
+
*/
|
280
|
+
|
281
|
+
dl,
|
282
|
+
menu,
|
283
|
+
ol,
|
284
|
+
ul {
|
285
|
+
margin: 1em 0;
|
286
|
+
}
|
287
|
+
|
288
|
+
dd {
|
289
|
+
margin: 0 0 0 40px;
|
290
|
+
}
|
291
|
+
|
292
|
+
/*
|
293
|
+
* Addresses paddings set differently in IE6/7
|
294
|
+
*/
|
295
|
+
|
296
|
+
menu,
|
297
|
+
ol,
|
298
|
+
ul {
|
299
|
+
padding: 0 0 0 40px;
|
300
|
+
}
|
301
|
+
|
302
|
+
/*
|
303
|
+
* Corrects list images handled incorrectly in IE7
|
304
|
+
*/
|
305
|
+
|
306
|
+
nav ul,
|
307
|
+
nav ol {
|
308
|
+
list-style: none;
|
309
|
+
list-style-image: none;
|
310
|
+
}
|
311
|
+
|
312
|
+
|
313
|
+
/* =============================================================================
|
314
|
+
Embedded content
|
315
|
+
========================================================================== */
|
316
|
+
|
317
|
+
/*
|
318
|
+
* 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
|
319
|
+
* 2. Improves image quality when scaled in IE7
|
320
|
+
* code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
|
321
|
+
*/
|
322
|
+
|
323
|
+
img {
|
324
|
+
border: 0; /* 1 */
|
325
|
+
-ms-interpolation-mode: bicubic; /* 2 */
|
326
|
+
}
|
327
|
+
|
328
|
+
/*
|
329
|
+
* Corrects overflow displayed oddly in IE9
|
330
|
+
*/
|
331
|
+
|
332
|
+
svg:not(:root) {
|
333
|
+
overflow: hidden;
|
334
|
+
}
|
335
|
+
|
336
|
+
|
337
|
+
/* =============================================================================
|
338
|
+
Figures
|
339
|
+
========================================================================== */
|
340
|
+
|
341
|
+
/*
|
342
|
+
* Addresses margin not present in IE6/7/8/9, S5, O11
|
343
|
+
*/
|
344
|
+
|
345
|
+
figure {
|
346
|
+
margin: 0;
|
347
|
+
}
|
348
|
+
|
349
|
+
|
350
|
+
/* =============================================================================
|
351
|
+
Forms
|
352
|
+
========================================================================== */
|
353
|
+
|
354
|
+
/*
|
355
|
+
* Corrects margin displayed oddly in IE6/7
|
356
|
+
*/
|
357
|
+
|
358
|
+
form {
|
359
|
+
margin: 0;
|
360
|
+
}
|
361
|
+
|
362
|
+
/*
|
363
|
+
* Define consistent border, margin, and padding
|
364
|
+
*/
|
365
|
+
|
366
|
+
fieldset {
|
367
|
+
border: 1px solid #c0c0c0;
|
368
|
+
margin: 0 2px;
|
369
|
+
padding: 0.35em 0.625em 0.75em;
|
370
|
+
}
|
371
|
+
|
372
|
+
/*
|
373
|
+
* 1. Corrects color not being inherited in IE6/7/8/9
|
374
|
+
* 2. Corrects text not wrapping in FF3
|
375
|
+
* 3. Corrects alignment displayed oddly in IE6/7
|
376
|
+
*/
|
377
|
+
|
378
|
+
legend {
|
379
|
+
border: 0; /* 1 */
|
380
|
+
padding: 0;
|
381
|
+
white-space: normal; /* 2 */
|
382
|
+
*margin-left: -7px; /* 3 */
|
383
|
+
}
|
384
|
+
|
385
|
+
/*
|
386
|
+
* 1. Corrects font size not being inherited in all browsers
|
387
|
+
* 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
|
388
|
+
* 3. Improves appearance and consistency in all browsers
|
389
|
+
*/
|
390
|
+
|
391
|
+
button,
|
392
|
+
input,
|
393
|
+
select,
|
394
|
+
textarea {
|
395
|
+
font-size: 100%; /* 1 */
|
396
|
+
margin: 0; /* 2 */
|
397
|
+
vertical-align: baseline; /* 3 */
|
398
|
+
*vertical-align: middle; /* 3 */
|
399
|
+
}
|
400
|
+
|
401
|
+
/*
|
402
|
+
* Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
|
403
|
+
*/
|
404
|
+
|
405
|
+
button,
|
406
|
+
input {
|
407
|
+
line-height: normal; /* 1 */
|
408
|
+
}
|
409
|
+
|
410
|
+
/*
|
411
|
+
* 1. Improves usability and consistency of cursor style between image-type 'input' and others
|
412
|
+
* 2. Corrects inability to style clickable 'input' types in iOS
|
413
|
+
* 3. Removes inner spacing in IE7 without affecting normal text inputs
|
414
|
+
* Known issue: inner spacing remains in IE6
|
415
|
+
*/
|
416
|
+
|
417
|
+
button,
|
418
|
+
input[type="button"],
|
419
|
+
input[type="reset"],
|
420
|
+
input[type="submit"] {
|
421
|
+
cursor: pointer; /* 1 */
|
422
|
+
-webkit-appearance: button; /* 2 */
|
423
|
+
*overflow: visible; /* 3 */
|
424
|
+
}
|
425
|
+
|
426
|
+
/*
|
427
|
+
* Re-set default cursor for disabled elements
|
428
|
+
*/
|
429
|
+
|
430
|
+
button[disabled],
|
431
|
+
input[disabled] {
|
432
|
+
cursor: default;
|
433
|
+
}
|
434
|
+
|
435
|
+
/*
|
436
|
+
* 1. Addresses box sizing set to content-box in IE8/9
|
437
|
+
* 2. Removes excess padding in IE8/9
|
438
|
+
* 3. Removes excess padding in IE7
|
439
|
+
Known issue: excess padding remains in IE6
|
440
|
+
*/
|
441
|
+
|
442
|
+
input[type="checkbox"],
|
443
|
+
input[type="radio"] {
|
444
|
+
box-sizing: border-box; /* 1 */
|
445
|
+
padding: 0; /* 2 */
|
446
|
+
*height: 13px; /* 3 */
|
447
|
+
*width: 13px; /* 3 */
|
448
|
+
}
|
449
|
+
|
450
|
+
/*
|
451
|
+
* 1. Addresses appearance set to searchfield in S5, Chrome
|
452
|
+
* 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
|
453
|
+
*/
|
454
|
+
|
455
|
+
input[type="search"] {
|
456
|
+
-webkit-appearance: textfield; /* 1 */
|
457
|
+
-moz-box-sizing: content-box;
|
458
|
+
-webkit-box-sizing: content-box; /* 2 */
|
459
|
+
box-sizing: content-box;
|
460
|
+
}
|
461
|
+
|
462
|
+
/*
|
463
|
+
* Removes inner padding and search cancel button in S5, Chrome on OS X
|
464
|
+
*/
|
465
|
+
|
466
|
+
input[type="search"]::-webkit-search-decoration,
|
467
|
+
input[type="search"]::-webkit-search-cancel-button {
|
468
|
+
-webkit-appearance: none;
|
469
|
+
}
|
470
|
+
|
471
|
+
/*
|
472
|
+
* Removes inner padding and border in FF3+
|
473
|
+
* www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
|
474
|
+
*/
|
475
|
+
|
476
|
+
button::-moz-focus-inner,
|
477
|
+
input::-moz-focus-inner {
|
478
|
+
border: 0;
|
479
|
+
padding: 0;
|
480
|
+
}
|
481
|
+
|
482
|
+
/*
|
483
|
+
* 1. Removes default vertical scrollbar in IE6/7/8/9
|
484
|
+
* 2. Improves readability and alignment in all browsers
|
485
|
+
*/
|
486
|
+
|
487
|
+
textarea {
|
488
|
+
overflow: auto; /* 1 */
|
489
|
+
vertical-align: top; /* 2 */
|
490
|
+
}
|
491
|
+
|
492
|
+
|
493
|
+
/* =============================================================================
|
494
|
+
Tables
|
495
|
+
========================================================================== */
|
496
|
+
|
497
|
+
/*
|
498
|
+
* Remove most spacing between table cells
|
499
|
+
*/
|
500
|
+
|
501
|
+
table {
|
502
|
+
border-collapse: collapse;
|
503
|
+
border-spacing: 0;
|
504
|
+
}
|