forked from fanruan/fineui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
454 lines
9.5 KiB
454 lines
9.5 KiB
/* http://meyerweb.com/eric/tools/css/reset/ |
|
v2.0 | 20110126 |
|
License: none (public domain) |
|
*/ |
|
html, |
|
body, |
|
div, |
|
span, |
|
applet, |
|
object, |
|
iframe, |
|
h1, |
|
h2, |
|
h3, |
|
h4, |
|
h5, |
|
h6, |
|
p, |
|
blockquote, |
|
pre, |
|
a, |
|
abbr, |
|
acronym, |
|
address, |
|
big, |
|
cite, |
|
code, |
|
del, |
|
dfn, |
|
em, |
|
img, |
|
ins, |
|
kbd, |
|
q, |
|
s, |
|
samp, |
|
small, |
|
strike, |
|
strong, |
|
sub, |
|
sup, |
|
tt, |
|
var, |
|
b, |
|
u, |
|
i, |
|
center, |
|
dl, |
|
dt, |
|
dd, |
|
ol, |
|
ul, |
|
li, |
|
fieldset, |
|
form, |
|
label, |
|
legend, |
|
table, |
|
caption, |
|
tbody, |
|
tfoot, |
|
thead, |
|
tr, |
|
th, |
|
td, |
|
article, |
|
aside, |
|
canvas, |
|
details, |
|
embed, |
|
figure, |
|
figcaption, |
|
footer, |
|
header, |
|
hgroup, |
|
menu, |
|
nav, |
|
output, |
|
ruby, |
|
section, |
|
summary, |
|
time, |
|
mark, |
|
audio, |
|
video { |
|
margin: 0; |
|
padding: 0; |
|
border: 0; |
|
font-size: 100%; |
|
font: inherit; |
|
vertical-align: baseline; |
|
} |
|
/* HTML5 display-role reset for older browsers */ |
|
article, |
|
aside, |
|
details, |
|
figcaption, |
|
figure, |
|
footer, |
|
header, |
|
hgroup, |
|
menu, |
|
nav, |
|
section { |
|
display: block; |
|
} |
|
body { |
|
line-height: 1; |
|
} |
|
ol, |
|
ul { |
|
list-style: none; |
|
} |
|
blockquote, |
|
q { |
|
quotes: none; |
|
} |
|
blockquote:before, |
|
blockquote:after, |
|
q:before, |
|
q:after { |
|
content: ''; |
|
content: none; |
|
} |
|
table { |
|
border-collapse: collapse; |
|
border-spacing: 0; |
|
} |
|
.bi-flex-center-layout { |
|
display: box; |
|
/* OLD - Android 4.4- */ |
|
display: -webkit-box; |
|
/* OLD - iOS 6-, Safari 3.1-6 */ |
|
display: -moz-box; |
|
/* OLD - Firefox 19- (buggy but mostly works) */ |
|
display: -ms-flexbox; |
|
/* TWEENER - IE 10 */ |
|
display: -webkit-flex; |
|
/* NEW - Chrome */ |
|
display: flex; |
|
/* NEW, Spec - Opera 12.1, Firefox 20+ */ |
|
/* 09版 */ |
|
-webkit-box-orient: horizontal; |
|
/* 12版 */ |
|
-webkit-flex-direction: row; |
|
-moz-flex-direction: row; |
|
-ms-flex-direction: row; |
|
-o-flex-direction: row; |
|
flex-direction: row; |
|
/* 09版 */ |
|
-webkit-box-pack: center; |
|
/* 12版 */ |
|
-webkit-justify-content: center; |
|
-moz-justify-content: center; |
|
-ms-justify-content: center; |
|
-o-justify-content: center; |
|
justify-content: center; |
|
/* 09版 */ |
|
-webkit-box-align: center; |
|
/* 12版 */ |
|
-webkit-align-items: center; |
|
-moz-align-items: center; |
|
-ms-align-items: center; |
|
-o-align-items: center; |
|
align-items: center; |
|
} |
|
.bi-flex-horizontal-layout { |
|
display: box; |
|
/* OLD - Android 4.4- */ |
|
display: -webkit-box; |
|
/* OLD - iOS 6-, Safari 3.1-6 */ |
|
display: -moz-box; |
|
/* OLD - Firefox 19- (buggy but mostly works) */ |
|
display: -ms-flexbox; |
|
/* TWEENER - IE 10 */ |
|
display: -webkit-flex; |
|
/* NEW - Chrome */ |
|
display: flex; |
|
/* NEW, Spec - Opera 12.1, Firefox 20+ */ |
|
/* 09版 */ |
|
-webkit-box-orient: horizontal; |
|
/* 12版 */ |
|
-webkit-flex-direction: row; |
|
-moz-flex-direction: row; |
|
-ms-flex-direction: row; |
|
-o-flex-direction: row; |
|
flex-direction: row; |
|
/* 09版 */ |
|
-webkit-box-pack: flex-start; |
|
/* 12版 */ |
|
-webkit-justify-content: flex-start; |
|
-moz-justify-content: flex-start; |
|
-ms-justify-content: flex-start; |
|
-o-justify-content: flex-start; |
|
justify-content: flex-start; |
|
/* 09版 */ |
|
-webkit-box-align: flex-start; |
|
/* 12版 */ |
|
-webkit-align-items: flex-start; |
|
-moz-align-items: flex-start; |
|
-ms-align-items: flex-start; |
|
-o-align-items: flex-start; |
|
align-items: flex-start; |
|
/* 09版 */ |
|
/*-webkit-box-lines: multiple;*/ |
|
/* 12版 */ |
|
-webkit-flex-wrap: nowrap; |
|
-moz-flex-wrap: nowrap; |
|
-ms-flex-wrap: nowrap; |
|
-o-flex-wrap: nowrap; |
|
flex-wrap: nowrap; |
|
} |
|
.bi-flex-horizontal-layout.middle { |
|
/* 09版 */ |
|
-webkit-box-align: center; |
|
/* 12版 */ |
|
-webkit-align-items: center; |
|
-moz-align-items: center; |
|
-ms-align-items: center; |
|
-o-align-items: center; |
|
align-items: center; |
|
} |
|
.bi-flex-horizontal-layout.bottom { |
|
/* 09版 */ |
|
-webkit-box-align: flex-end; |
|
/* 12版 */ |
|
-webkit-align-items: flex-end; |
|
-moz-align-items: flex-end; |
|
-ms-align-items: flex-end; |
|
-o-align-items: flex-end; |
|
align-items: flex-end; |
|
} |
|
.bi-flex-vertical-center { |
|
display: box; |
|
/* OLD - Android 4.4- */ |
|
display: -webkit-box; |
|
/* OLD - iOS 6-, Safari 3.1-6 */ |
|
display: -moz-box; |
|
/* OLD - Firefox 19- (buggy but mostly works) */ |
|
display: -ms-flexbox; |
|
/* TWEENER - IE 10 */ |
|
display: -webkit-flex; |
|
/* NEW - Chrome */ |
|
display: flex; |
|
/* NEW, Spec - Opera 12.1, Firefox 20+ */ |
|
/* 09版 */ |
|
-webkit-box-orient: horizontal; |
|
/* 12版 */ |
|
-webkit-flex-direction: row; |
|
-moz-flex-direction: row; |
|
-ms-flex-direction: row; |
|
-o-flex-direction: row; |
|
flex-direction: row; |
|
/* 09版 */ |
|
-webkit-box-pack: flex-start; |
|
/* 12版 */ |
|
-webkit-justify-content: flex-start; |
|
-moz-justify-content: flex-start; |
|
-ms-justify-content: flex-start; |
|
-o-justify-content: flex-start; |
|
justify-content: flex-start; |
|
/* 09版 */ |
|
-webkit-box-align: center; |
|
/* 12版 */ |
|
-webkit-align-items: center; |
|
-moz-align-items: center; |
|
-ms-align-items: center; |
|
-o-align-items: center; |
|
align-items: center; |
|
/* 09版 */ |
|
/*-webkit-box-lines: multiple;*/ |
|
/* 12版 */ |
|
-webkit-flex-wrap: nowrap; |
|
-moz-flex-wrap: nowrap; |
|
-ms-flex-wrap: nowrap; |
|
-o-flex-wrap: nowrap; |
|
flex-wrap: nowrap; |
|
} |
|
.bi-flex-wrapper-center-layout .flex-wrapper-center-layout-wrapper { |
|
display: box; |
|
/* OLD - Android 4.4- */ |
|
display: -webkit-box; |
|
/* OLD - iOS 6-, Safari 3.1-6 */ |
|
display: -moz-box; |
|
/* OLD - Firefox 19- (buggy but mostly works) */ |
|
display: -ms-flexbox; |
|
/* TWEENER - IE 10 */ |
|
display: -webkit-flex; |
|
/* NEW - Chrome */ |
|
display: flex; |
|
/* NEW, Spec - Opera 12.1, Firefox 20+ */ |
|
/* 09版 */ |
|
-webkit-box-orient: horizontal; |
|
/* 12版 */ |
|
-webkit-flex-direction: row; |
|
-moz-flex-direction: row; |
|
-ms-flex-direction: row; |
|
-o-flex-direction: row; |
|
flex-direction: row; |
|
/* 09版 */ |
|
-webkit-box-pack: center; |
|
/* 12版 */ |
|
-webkit-justify-content: center; |
|
-moz-justify-content: center; |
|
-ms-justify-content: center; |
|
-o-justify-content: center; |
|
justify-content: center; |
|
/* 09版 */ |
|
-webkit-box-align: center; |
|
/* 12版 */ |
|
-webkit-align-items: center; |
|
-moz-align-items: center; |
|
-ms-align-items: center; |
|
-o-align-items: center; |
|
align-items: center; |
|
min-width: 100%; |
|
min-height: 100%; |
|
float: left; |
|
} |
|
.bi-flex-wrapper-horizontal-layout .flex-wrapper-horizontal-layout-wrapper { |
|
display: box; |
|
/* OLD - Android 4.4- */ |
|
display: -webkit-box; |
|
/* OLD - iOS 6-, Safari 3.1-6 */ |
|
display: -moz-box; |
|
/* OLD - Firefox 19- (buggy but mostly works) */ |
|
display: -ms-flexbox; |
|
/* TWEENER - IE 10 */ |
|
display: -webkit-flex; |
|
/* NEW - Chrome */ |
|
display: flex; |
|
/* NEW, Spec - Opera 12.1, Firefox 20+ */ |
|
/* 09版 */ |
|
-webkit-box-orient: horizontal; |
|
/* 12版 */ |
|
-webkit-flex-direction: row; |
|
-moz-flex-direction: row; |
|
-ms-flex-direction: row; |
|
-o-flex-direction: row; |
|
flex-direction: row; |
|
/* 09版 */ |
|
-webkit-box-pack: flex-start; |
|
/* 12版 */ |
|
-webkit-justify-content: flex-start; |
|
-moz-justify-content: flex-start; |
|
-ms-justify-content: flex-start; |
|
-o-justify-content: flex-start; |
|
justify-content: flex-start; |
|
/* 09版 */ |
|
-webkit-box-align: flex-start; |
|
/* 12版 */ |
|
-webkit-align-items: flex-start; |
|
-moz-align-items: flex-start; |
|
-ms-align-items: flex-start; |
|
-o-align-items: flex-start; |
|
align-items: flex-start; |
|
/* 09版 */ |
|
/*-webkit-box-lines: multiple;*/ |
|
/* 12版 */ |
|
-webkit-flex-wrap: nowrap; |
|
-moz-flex-wrap: nowrap; |
|
-ms-flex-wrap: nowrap; |
|
-o-flex-wrap: nowrap; |
|
flex-wrap: nowrap; |
|
min-height: 100%; |
|
} |
|
.bi-flex-wrapper-horizontal-layout .flex-wrapper-horizontal-layout-wrapper.middle { |
|
/* 09版 */ |
|
-webkit-box-align: center; |
|
/* 12版 */ |
|
-webkit-align-items: center; |
|
-moz-align-items: center; |
|
-ms-align-items: center; |
|
-o-align-items: center; |
|
align-items: center; |
|
} |
|
.bi-flex-wrapper-horizontal-layout .flex-wrapper-horizontal-layout-wrapper.bottom { |
|
/* 09版 */ |
|
-webkit-box-align: flex-end; |
|
/* 12版 */ |
|
-webkit-align-items: flex-end; |
|
-moz-align-items: flex-end; |
|
-ms-align-items: flex-end; |
|
-o-align-items: flex-end; |
|
align-items: flex-end; |
|
} |
|
.bi-flex-wrapper-vertical-center .flex-wrapper-vertical-center-wrapper { |
|
display: box; |
|
/* OLD - Android 4.4- */ |
|
display: -webkit-box; |
|
/* OLD - iOS 6-, Safari 3.1-6 */ |
|
display: -moz-box; |
|
/* OLD - Firefox 19- (buggy but mostly works) */ |
|
display: -ms-flexbox; |
|
/* TWEENER - IE 10 */ |
|
display: -webkit-flex; |
|
/* NEW - Chrome */ |
|
display: flex; |
|
/* NEW, Spec - Opera 12.1, Firefox 20+ */ |
|
/* 09版 */ |
|
-webkit-box-orient: horizontal; |
|
/* 12版 */ |
|
-webkit-flex-direction: row; |
|
-moz-flex-direction: row; |
|
-ms-flex-direction: row; |
|
-o-flex-direction: row; |
|
flex-direction: row; |
|
/* 09版 */ |
|
-webkit-box-pack: flex-start; |
|
/* 12版 */ |
|
-webkit-justify-content: flex-start; |
|
-moz-justify-content: flex-start; |
|
-ms-justify-content: flex-start; |
|
-o-justify-content: flex-start; |
|
justify-content: flex-start; |
|
/* 09版 */ |
|
-webkit-box-align: center; |
|
/* 12版 */ |
|
-webkit-align-items: center; |
|
-moz-align-items: center; |
|
-ms-align-items: center; |
|
-o-align-items: center; |
|
align-items: center; |
|
/* 09版 */ |
|
/*-webkit-box-lines: multiple;*/ |
|
/* 12版 */ |
|
-webkit-flex-wrap: nowrap; |
|
-moz-flex-wrap: nowrap; |
|
-ms-flex-wrap: nowrap; |
|
-o-flex-wrap: nowrap; |
|
flex-wrap: nowrap; |
|
min-height: 100%; |
|
float: left; |
|
} |
|
/****添加计算宽度的--运算符直接需要space****/ |
|
/****** common color(常用颜色,可用于普遍场景) *****/ |
|
/**** custom color(自定义颜色,用于特定场景) ****/ |
|
.bi-inline-center-adapt-layout:after { |
|
display: inline-block; |
|
width: 0; |
|
min-height: 100%; |
|
vertical-align: middle; |
|
content: ' '; |
|
} |
|
/****添加计算宽度的--运算符直接需要space****/ |
|
/****** common color(常用颜色,可用于普遍场景) *****/ |
|
/**** custom color(自定义颜色,用于特定场景) ****/ |
|
.bi-inline-vertical-adapt-layout:after { |
|
display: inline-block; |
|
width: 0; |
|
min-height: 100%; |
|
vertical-align: middle; |
|
content: ' '; |
|
}
|
|
|