我需要帮助尝试将此 LESS 嵌套 CSS 转换为标准 CSS。有人可以帮忙吗?
.leftNav {
a.TopLevel {
float:none;
}
ul#topnav {
> li {
float:none;
height: 2em;
margin: 2px;
background-color: rgb(1,64,117);
border: 1px solid rgb(1,64,117);
color: #fff;
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0.03, rgb(30,94,147)), color-stop(0.99, rgb(1,64,117)) );
background: -moz-linear-gradient(center top, rgb(30,94,147) 3%, rgb(1,64,117) 99% );
}
> li .sub {
left:120px;
top: 0px;
}
> li > h2 > a {
color: #fff;
}
> li:hover > h2 > a, > li > h2 > a:hover, li > h2 > a:focus, a.TopLevel.active, a.TopLevel.active:hover {
background-position: top left;
color: #bbb;
}
li:hover {
}
}
#topNavContainer {
position:absolute;
left: 17px;
top: 100px;
}
.headertable, .wrapper {
margin-left: 120px;
}
}