Tiny nav
This commit is contained in:
parent
9b96509899
commit
55f776f095
1 changed files with 7 additions and 25 deletions
|
@ -3,15 +3,13 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
ul.main_menu {
|
ul.main_menu {
|
||||||
@include border-radius(4px);
|
|
||||||
margin: auto;
|
margin: auto;
|
||||||
margin: 30px 0;
|
margin: 30px 0;
|
||||||
border: 1px solid #BBB;
|
margin-top: 10px;
|
||||||
|
border-bottom: 1px solid #DDD;
|
||||||
height: 37px;
|
height: 37px;
|
||||||
@include bg-gray-gradient;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@include shade;
|
|
||||||
.count {
|
.count {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -1px;
|
top: -1px;
|
||||||
|
@ -24,9 +22,6 @@ ul.main_menu {
|
||||||
line-height: 14px;
|
line-height: 14px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #777;
|
color: #777;
|
||||||
background: #f2f2f2;
|
|
||||||
border-top: 1px solid #CCC;
|
|
||||||
@include border-radius(8px);
|
|
||||||
}
|
}
|
||||||
.label {
|
.label {
|
||||||
background: $hover;
|
background: $hover;
|
||||||
|
@ -38,23 +33,10 @@ ul.main_menu {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
width: 1%;
|
width: 1%;
|
||||||
border-right: 1px solid #DDD;
|
|
||||||
border-left: 1px solid #EEE;
|
|
||||||
border-bottom: 2px solid #CFCFCF;
|
|
||||||
|
|
||||||
&:first-child{
|
|
||||||
@include border-radius(5px 0 0 5px);
|
|
||||||
border-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
background-color: #D5D5D5;
|
border-bottom: 2px solid #474D57;
|
||||||
border-right: 1px solid #BBB;
|
a {
|
||||||
border-left: 1px solid #BBB;
|
color: $style_color;
|
||||||
@include border-radius(0 0 1px 1px);
|
|
||||||
&:first-child{
|
|
||||||
border-bottom: none;
|
|
||||||
border-left: none;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -73,10 +55,10 @@ ul.main_menu {
|
||||||
a {
|
a {
|
||||||
display: block;
|
display: block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: bold;
|
font-weight: normal;
|
||||||
height: 35px;
|
height: 35px;
|
||||||
line-height: 36px;
|
line-height: 36px;
|
||||||
color: $style_color;
|
color: #777;
|
||||||
text-shadow: 0 1px 1px white;
|
text-shadow: 0 1px 1px white;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue