Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* The main container */
- .header-nav {
- /* Layout & positioning */
- display: block;
- position: relative;
- margin: 10px auto 0;
- padding: 0;
- height: 43px;
- width: 870px;
- list-style: none;
- border-radius: 0 0 10px 10px;
- z-index: 1000;
- /* Background */
- background: #e777b1; /* Old browsers */
- background: -moz-linear-gradient(top, #e777b1 0%, #e0548f 100%); /* FF3.6+ */
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e777b1), color-stop(100%,#e0548f)); /* Chrome,Safari4+ */
- background: -webkit-linear-gradient(top, #e777b1 0%,#e0548f 100%); /* Chrome10+,Safari5.1+ */
- background: -o-linear-gradient(top, #e777b1 0%,#e0548f 100%); /* Opera 11.10+ */
- background: -ms-linear-gradient(top, #e777b1 0%,#e0548f 100%); /* IE10+ */
- background: linear-gradient(to bottom, #e777b1 0%,#e0548f 100%); /* W3C */
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e777b1', endColorstr='#e0548f',GradientType=0 ); /* IE6-9 */
- }
- .header-nav>li {
- display: block;
- float: left;
- margin: 0;
- padding: 0;
- position: relative;
- }
- /* The main navigation links */
- .header-nav>li>a {
- /* Layout & positioning */
- display: block;
- padding: 15px 20px;
- line-height: 13px;
- /* Typography */
- font-family: Helvetica, Arial, sans-serif;
- text-decoration: none;
- text-transform: uppercase;
- font-size: 13px;
- color: #e7e5e6;
- font-weight: bold;
- }
- /* The hover state of the navigation links */
- .header-nav>li>a:hover, .header-nav>li:hover>a {
- background: #dd4f98;
- }
- .header-nav>li:hover>a:first-child {
- border-radius: 0 0 0 10px;
- }
- .header-nav>.dropdown>a {
- padding-right: 25px;
- }
- /* The '+' sign which indicates a submenu */
- .header-nav>.dropdown>a::after {
- content: "";
- position: absolute;
- top: 19px;
- right: 13px;
- width: 1px;
- height: 5px;
- background: #fff;
- }
- .header-nav>.dropdown>a::before {
- content: "";
- position: absolute;
- top: 21px;
- right: 11px;
- width: 5px;
- height: 1px;
- background: #fff;
- }
- .header-nav>.dropdown>a:hover::after, .header-nav>.dropdown:hover>a::after {
- background: transparent;
- }
- /* General submenu styling */
- .header-nav ul {
- position: absolute;
- list-style: none;
- margin: 0;
- padding: 0;
- padding: 7px 0;
- background: #fff;
- left: -9999px;
- border-bottom: 1px solid #d8d8d8;
- border-left: 1px solid #d8d8d8;
- border-right: 1px solid #d8d8d8;
- box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
- }
- .header-nav ul li {
- position: relative;
- background: #fff;
- padding: 0 9px;
- width: 0px;
- height: 0px;
- }
- /* Level 1 submenus */
- .header-nav>li:hover>ul {
- left: 0px;
- }
- /* Level 2+ submenus */
- .header-nav ul ul {
- border-top: 1px solid #d8d8d8;
- }
- .header-nav ul>li:hover>ul {
- top: -8px;
- left: 148px;
- }
- /* Expanding the submenus on hover */
- .header-nav li:hover>ul>li {
- width: 150px;
- height: 30px;
- }
- /* The links of the submenus */
- .header-nav ul li a {
- /* Layout */
- display: block;
- position: relative;
- padding: 5px 10px;
- border-radius: 3px;
- width: 130px;
- /* Typography */
- font-family: Helvetica, Arial, sans-serif;
- font-size: 12px;
- text-decoration: none;
- color: #dd4f98;
- /* Effects */
- }
- /* The hover state of the submenu links */
- .header-nav ul li a:hover, .header-nav ul li:hover>a {
- background: #dd4f98;
- color: #fff;
- }
- /* The '+' sign indicating a level 2+ submenu */
- .header-nav ul>.dropdown>a::after {
- content: "";
- position: absolute;
- top: 11px;
- right: 8px;
- width: 1px;
- height: 5px;
- background: #f27154;
- }
- .header-nav ul>.dropdown>a::before {
- content: "";
- position: absolute;
- top: 13px;
- right: 6px;
- width: 5px;
- height: 1px;
- background: #f27154;
- }
- .header-nav ul>.dropdown:hover>a::after {
- background: transparent;
- }
- .header-nav ul>.dropdown:hover>a::before {
- background: #fff;
- }
- .foot-nav {
- display: block;
- margin: 30px auto 0;;
- width: 650px;
- height: 30px;
- list-style: none;
- border-radius: 10px;
- border: 1px solid #ccc;
- background: #e1e1e1;
- margin-bottom: 20px;
- opacity: 0.7;
- }
- .foot-nav>li {
- float: left;
- margin: 0 ;
- padding: 0 15px;
- border-right: 1px solid #d3d1d2;
- }
- .foot-nav>li:last-child {
- border-right: none;
- }
- .foot-nav>li>a {
- /* Layout & positioning */
- display: block;
- padding: 15px 10px;
- line-height: 1px;
- text-shadow: 0 1px 0 rgba(255,255,255,0.7);
- /* Typography */
- font-family: Helvetica, Arial, sans-serif;
- text-decoration: none;
- font-size: 12px;
- color: black;
- }
- .foot-nav li.current-menu-item { background: none;}
- /*TOP-NAV*/
- .upper-nav {margin-top: 10px;}
- .top-nav ul{
- display: inline-block;
- margin: 0px;
- padding: 0px;
- list-style: none;
- }
- .top-nav li{
- display: inline-block;
- margin: 0px;
- padding: 0px;
- }
- .top-nav li a {
- display: inline-block;
- padding: 0px 15px 0px 14px;
- background: url(../images/topmenu_item_bg.png) 0 50% no-repeat;
- overflow: hidden;
- color: #969A9F;
- text-decoration: none;
- }
- .top-nav a.first { background: none; }
- .top-nav a.last { padding: 0px 0px 0px 14px; }
- .top-nav li a.active,
- .top-nav li a:hover { text-decoration: underline; }
- .top-nav li.current-menu-item { background: none;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement