修复 tab 高度问题

This commit is contained in:
fen
2013-10-18 11:59:53 +08:00
parent 3c6456b90b
commit 72ceebe3a5
3 changed files with 88 additions and 114 deletions
+41 -53
View File
@@ -23,10 +23,9 @@ body {
a {
color: #467B96;
text-decoration: none; }
a:hover {
color: #6DA1BB;
text-decoration: underline; }
a:hover {
color: #6DA1BB;
text-decoration: underline; }
code, pre, .mono {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace; }
@@ -120,16 +119,24 @@ select {
* Buttons
*/
button {
display: inline-block;
margin: 0;
padding: 0 12px;
border: none;
background-color: #e9e9e6;
cursor: pointer;
display: inline-block;
padding: 0 12px;
height: 32px;
color: #666;
vertical-align: middle;
cursor: pointer;
zoom: 1;
background-color: #E9E9E6; }
zoom: 1; }
button:hover {
background-color: #e2e2de; }
button:active, button.active {
background-color: #e2e2de; }
button:disabled {
background-color: #f0f0ee;
cursor: default; }
button:disabled {
color: #999; }
.btn-s {
height: 28px; }
@@ -139,29 +146,25 @@ button {
font-size: 1.14286em;
font-weight: bold; }
button:hover {
background: #F6F6F3; }
button:disabled, button:active, button.active {
background: #DDD; }
button:disabled {
color: #AAA;
cursor: default; }
button, .dropdown-menu {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
-ms-border-radius: 2px;
-o-border-radius: 2px;
border-radius: 2px; }
button.primary {
background-color: #467B96;
.primary {
border: none;
background-color: #467b96;
cursor: pointer;
color: #FFF; }
button.primary:hover {
background: #e0eef6;
color: #5591b0; }
button.primary:active, button.primary.active {
background: #dcebf4; }
.primary:hover {
background-color: #41728c; }
.primary:active, .primary.active {
background-color: #41728c; }
.primary:disabled {
background-color: #4b84a0;
cursor: default; }
.btn-group {
display: inline-block; }
@@ -174,22 +177,6 @@ button.primary:active, button.primary.active {
border-radius: 0;
margin-left: -1px; }
.btn-group > a:first-child, .btn-group > span:first-child {
-moz-border-radius-topleft: 2px;
-webkit-border-top-left-radius: 2px;
border-top-left-radius: 2px;
-moz-border-radius-bottomleft: 2px;
-webkit-border-bottom-left-radius: 2px;
border-bottom-left-radius: 2px; }
.btn-group > a:last-child, .btn-group > a.dropdown-toggle, .btn-group > span:last-child, .btn-group > span.dropdown-toggle {
-moz-border-radius-topright: 2px;
-webkit-border-top-right-radius: 2px;
border-top-right-radius: 2px;
-moz-border-radius-bottomright: 2px;
-webkit-border-bottom-right-radius: 2px;
border-bottom-right-radius: 2px; }
.btn-drop {
position: relative; }
@@ -204,9 +191,8 @@ button.primary:active, button.primary.active {
text-align: left;
min-width: 108px;
display: none; }
.dropdown-menu li {
white-space: nowrap; }
.dropdown-menu li {
white-space: nowrap; }
.dropdown-menu li p {
padding: 5px 15px; }
@@ -215,10 +201,9 @@ button.primary:active, button.primary.active {
display: block;
padding: 3px 15px;
color: #666; }
.dropdown-menu li a:hover {
background: #e9e9e9;
text-decoration: none !important; }
.dropdown-menu li a:hover {
background: #e9e9e9;
text-decoration: none !important; }
/**
* 提示信息框
@@ -401,7 +386,7 @@ button.primary:active, button.primary.active {
border: none;
text-align: center; }
/** 增加顶部消息样式 by 70 */
/** 顶部消息样式 by 70 */
.popup {
display: none;
position: absolute;
@@ -887,6 +872,9 @@ a.operate-reply {
/**
* 标签列表
*/
.manage-metas .typecho-list-operate {
margin-top: 0; }
.typecho-page-main ul.tag-list {
list-style: none;
margin: 0;
+37 -55
View File
@@ -1,54 +1,54 @@
@import "compass";
/**
* Buttons
*/
button {
display: inline-block;
margin: 0;
padding: 0 12px;
@mixin button($color) {
border: none;
background-color: $color;
cursor: pointer;
&:hover {
background-color: darken($color, 3%);
// @include background-image(linear-gradient($color, darken($color, 3%)));
}
&:active, &.active {
background-color: darken($color, 3%);
}
&:disabled {
background-color: lighten($color, 3%);
cursor: default;
}
}
button {
@include button(#E9E9E6);
display: inline-block;
padding: 0 12px;
height: 32px;
color: #666;
vertical-align: middle;
cursor: pointer;
zoom: 1;
background-color: #E9E9E6;
&:disabled {
color: #999;
}
}
.btn-s { height: 28px; }
.btn-l { height: 40px; font-size: 1.14286em; font-weight: bold; }
button:hover {
background: #F6F6F3;
}
button:disabled, button:active, button.active {
background: #DDD;
}
button:disabled {
color: #AAA;
cursor: default;
}
button, .dropdown-menu {
border-radius: 2px;
@include border-radius(2px);
}
button.primary {
background-color: #467B96;
.primary {
@include button(#467B96);
color: #FFF;
}
button.primary:hover {
background: #e0eef6;
color: #5591b0;
}
button.primary:active, button.primary.active {
background: #dcebf4;
}
.btn-group {
display: inline-block;
}
@@ -62,24 +62,6 @@ button.primary:active, button.primary.active {
margin-left: -1px;
}
.btn-group > a:first-child, .btn-group > span:first-child {
-moz-border-radius-topleft: 2px;
-webkit-border-top-left-radius: 2px;
border-top-left-radius: 2px;
-moz-border-radius-bottomleft: 2px;
-webkit-border-bottom-left-radius: 2px;
border-bottom-left-radius: 2px;
}
.btn-group > a:last-child, .btn-group > a.dropdown-toggle, .btn-group > span:last-child, .btn-group > span.dropdown-toggle {
-moz-border-radius-topright: 2px;
-webkit-border-top-right-radius: 2px;
border-top-right-radius: 2px;
-moz-border-radius-bottomright: 2px;
-webkit-border-bottom-right-radius: 2px;
border-bottom-right-radius: 2px;
}
.btn-drop {
position: relative;
}
@@ -95,10 +77,10 @@ button.primary:active, button.primary.active {
text-align: left;
min-width: 108px;
display: none;
}
.dropdown-menu li {
white-space: nowrap;
li {
white-space: nowrap;
}
}
.dropdown-menu li p {
@@ -109,9 +91,9 @@ button.primary:active, button.primary.active {
display: block;
padding: 3px 15px;
color: #666;
&:hover {
background: #e9e9e9;
text-decoration: none !important;
}
}
.dropdown-menu li a:hover {
background: #e9e9e9;
text-decoration: none !important;
}
+10 -6
View File
@@ -27,11 +27,10 @@ body {
a {
color: #467B96;
text-decoration: none;
}
a:hover {
color: #6DA1BB;
text-decoration: underline;
&:hover {
color: #6DA1BB;
text-decoration: underline;
}
}
code, pre, .mono {
@@ -80,7 +79,7 @@ a.button:hover, a.balloon-button:hover {
text-align: center;
}
/** 增加顶部消息样式 by 70 */
/** 顶部消息样式 by 70 */
.popup {
display: none;
position: absolute;
@@ -684,6 +683,11 @@ background: #FFF1A8;
/**
* 标签列表
*/
.manage-metas .typecho-list-operate {
margin-top: 0;
}
.typecho-page-main ul.tag-list {
list-style: none;
margin: 0;