Update style.

This commit is contained in:
Zhongyi Tong
2017-07-21 00:45:00 +08:00
parent d4decfb6af
commit 6cbea1acba

View File

@@ -94,17 +94,17 @@ html, body {
background-size: 28px; background-size: 28px;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
border-radius: 4px; width: 100%;
width: 35px;
height: 35px; height: 35px;
position: relative; position: relative;
margin: 5px 0 2px 0; margin: 5px 0 2px 0;
z-index: 11; z-index: 11;
line-height: 31px; line-height: 31px;
color: #194a2b; color: #eee;
text-align: center; text-align: center;
overflow: hidden; overflow: hidden;
opacity: 0.6; opacity: 0.6;
padding: 2px 0;
} }
.tab .server-tab:hover { .tab .server-tab:hover {
@@ -113,14 +113,13 @@ html, body {
.tab.functional-tab { .tab.functional-tab {
height: 46px; height: 46px;
padding: 0;
} }
.tab.functional-tab.active{ .tab.functional-tab.active .server-tab {
background: #8c9897; padding: 2px 0;
} height: 40px;
background-color: rgba(255, 255, 255, 0.25);
.tab.functional-tab .server-tab{
background: #eee;
} }
.tab.functional-tab .server-tab i { .tab.functional-tab .server-tab i {
@@ -128,12 +127,9 @@ html, body {
line-height: 36px; line-height: 36px;
} }
.tab.functional-tab .server-tab-badge.active {
top: 0px;
}
.tab.active .server-tab { .tab.active .server-tab {
opacity: 1; opacity: 1;
background-color: #648478;
} }
.tab .server-tab-badge.active { .tab .server-tab-badge.active {
@@ -145,9 +141,9 @@ html, body {
font-size: 10px; font-size: 10px;
font-family: sans-serif; font-family: sans-serif;
position: absolute; position: absolute;
right: 3px; right: 5px;
z-index: 15; z-index: 15;
top: 3px; top: 6px;
float: right; float: right;
color: #fff; color: #fff;
text-align: center; text-align: center;
@@ -183,14 +179,6 @@ html, body {
margin-bottom: 5px; margin-bottom: 5px;
} }
.tab.active .server-tab-shortcut {
color: #afd2c6;
}
.tab.active {
background: #648478;
}
/******************* /*******************
* Webview Area * * Webview Area *
*******************/ *******************/