Preview: ddsmoothmenu.css
Size: 4.39 KB
/home/godevadmin/public_html/admin/css/ddsmoothmenu.css
.ddsmoothmenu{
font: normal 12px arial bold;
text-transform:uppercase;
width: 100%;
background:#f1f6f4;
}
.ddsmoothmenu ul{
margin: 0;
padding: 0;
list-style-type: none;
margin-top: 2px;
}
/*Top level list items*/
.ddsmoothmenu ul li{
position: relative;
display: inline;
float: left;
margin-right: 2px;
transition:ul 0.3s ease;
-webkit-transition:ul 0.3s ease;
-moz-transition:ul 0.3s ease;
}
/*Top level menu link items style*/
.ddsmoothmenu ul li a{
font: normal normal normal 14px / 20px "Open Sans", Helvetica, Arial, Verdana, sans-serif;
color: #474950;
text-transform: none;
display: block;
padding: 2px 10px 8px 10px;
text-decoration: none;
line-height:32px;
text-align: center;
}
* html .ddsmoothmenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
display: inline-block;
}
.ddsmoothmenu ul li a:link, .ddsmoothmenu ul li a:visited{
color: #474950;
border:1px solid rgba(255,255,255,0);
border-radius:5px;
}
.ddsmoothmenu ul li a.selected{ /*CSS class that's dynamically added to the currently active menu items' LI A element*/
color: #474950;
}
.ddsmoothmenu ul li a:hover{
color: #2a83ed;
border: 1px solid #2a83ed !important;
}
/*1st sub level menu*/
.ddsmoothmenu ul li ul{
position: absolute;
left: 0;
top:20px;
display: none; /*collapse all sub menus to begin with*/
visibility: hidden;
background-color:#fff;
border:1px solid #EAEAEA;
box-shadow:0 0 5px #EAEAEA;
width: 240px;
padding:10px 0px;
opacity:0;
border-radius:5px;
}
.ddsmoothmenu ul li:hover ul{
opacity:1;
}
/*Sub level menu list items (undo style from Top level List Items)*/
.ddsmoothmenu ul li ul li{
display: list-item;
float: none;
position: relative;
margin:0 10px;
}
/*All subsequent sub menu levels vertical offset after 1st level sub menu */
.ddsmoothmenu ul li ul li ul{
top: -10px;
left:235px !important;
}
/* Sub level menu links style */
.ddsmoothmenu ul li ul li a{
font: normal 14px arial;
padding: 8px 5px;
margin: 0;
border-top-width: 0;
border: none !important;
text-transform:none;
text-align:left;
background:#fff;
color:#838589 !important;
}
.ddsmoothmenu ul li ul li a:hover{
background:#f0f1f1;
border:none !important;
color:#333333;
}
/* Holly Hack for IE \*/
* html .ddsmoothmenu{height: 1%;} /*Holly Hack for IE7 and below*/
/* ######### CSS classes applied to down and right arrow images ######### */
.downarrowclass{
position: absolute;
top: 16px;
right: 10px;
}
.downarrowclass img{
max-width:2px !important;
max-height:2px !important;
}
.rightarrowclass{
position: absolute;
top: 10px;
right: 7px;
}
/* ######### CSS for shadow added to sub menus ######### */
.ddshadow{ /*shadow for NON CSS3 capable browsers*/
position: absolute;
left: 0;
top: 0;
width: 0;
height: 0;
background: none;
}
.toplevelshadow{ /*shadow opacity for NON CSS3 capable browsers. Doesn't work in IE*/
opacity: 0.5;
}
.ddsmoothmenu li a.active{
color:#FFFFFF !important;
background: url(../images/h-icon.png) 7px -50px no-repeat #2982ec; /* Old browsers */
}
.inner-nav{
min-width:598px;
float:right;
margin-top: 8px;
}
.ddsmoothmenu li.home{
background:url(../images/h-icon.png) 7px 14px no-repeat;
}
.ddsmoothmenu li:hover.home{
background:url(../images/h-icon.png) 7px -21px no-repeat;
}
.ddsmoothmenu li.h-actv{
background:url(../images/h-icon.png) 7px -44px no-repeat;
}
.ddsmoothmenu li.abt{
background:url(../images/about-icon.png) 7px 14px no-repeat;
}
.ddsmoothmenu li:hover.abt{
background:url(../images/about-icon.png) 7px -21px no-repeat;
}
.ddsmoothmenu li.supp{
background:url(../images/support-cion.png) 7px 13px no-repeat;
}
.ddsmoothmenu li:hover.supp{
background:url(../images/support-cion.png) 7px -20px no-repeat;
}
.ddsmoothmenu li.servc{
background:url(../images/service-icon.png) 7px 14px no-repeat;
}
.ddsmoothmenu li:hover.servc{
background:url(../images/service-icon.png) 7px -20px no-repeat;
}
.ddsmoothmenu li.pln{
background:url(../images/plan-icon.png) 7px 14px no-repeat;
}
.ddsmoothmenu li:hover.pln{
background:url(../images/plan-icon.png) 7px -20px no-repeat;
}
.ddsmoothmenu li.cnt{
background:url(../images/contact.png) 7px 14px no-repeat;
}
.ddsmoothmenu li:hover.cnt{
background:url(../images/contact.png) 7px -20px no-repeat;
}
Directory Contents
Dirs: 0 × Files: 9