Skip to content

Commit 0bbf7da

Browse files
committed
v 1.1.1
1 parent 1ed829f commit 0bbf7da

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

css/aui.css

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1891,6 +1891,62 @@ input.aui-counter-input {
18911891
color: #666;
18921892
-webkit-animation: rotate 1s infinite linear;
18931893
}
1894+
/*tab切换类*/
1895+
.aui-tab {
1896+
width: 100%;
1897+
overflow: hidden;
1898+
}
1899+
.aui-tab-nav {
1900+
width: 100%;
1901+
display: box;
1902+
display: -webkit-box;
1903+
font-size: 16px;
1904+
height: 45px;
1905+
box-sizing: border-box;
1906+
overflow: hidden;
1907+
background-color: #fff;
1908+
}
1909+
.aui-tab-nav li {
1910+
height: 45px;
1911+
line-height: 45px;
1912+
min-width: 70px;
1913+
box-flex: 1;
1914+
-webkit-box-flex: 1;
1915+
text-align: center;
1916+
color: #666;
1917+
box-sizing: border-box;
1918+
border-bottom: 2px solid transparent;
1919+
width: 100%;
1920+
}
1921+
.aui-tab-nav li.active {
1922+
color: #1abc9c;
1923+
border-bottom: 2px #1abc9c solid;
1924+
-webkit-animation: fadeIn .5s ease both;
1925+
animation: fadeIn .5s ease both;
1926+
}
1927+
.aui-tab-nav.aui-tab-border {
1928+
background-color: transparent;
1929+
border: 1px solid #1abc9c;
1930+
border-radius: 3px;
1931+
}
1932+
.aui-tab-nav.aui-tab-border li {
1933+
width: 1%;
1934+
overflow: hidden;
1935+
line-height: 43px;
1936+
color: #1abc9c;
1937+
background-color: #ffffff;
1938+
border-color: #1abc9c;
1939+
border-left: 1px solid #1abc9c;
1940+
}
1941+
.aui-tab-nav.aui-tab-border li:first-child {
1942+
border-left: 0px solid #1abc9c;
1943+
}
1944+
.aui-tab-nav.aui-tab-border li.active {
1945+
background-color: #1abc9c;
1946+
color: #fff;
1947+
-webkit-animation: fadeIn .5s ease both;
1948+
animation: fadeIn .5s ease both;
1949+
}
18941950
/*
18951951
*瀑布流样式
18961952
*/

0 commit comments

Comments
 (0)