@import "config"; /* =SWITCHER --------------------------- */ #switcher { height: 35px; font-size: 11px; left: auto; margin: 0 !important; min-width: 50px; overflow: visible; padding-right: 5px; position: absolute; right: 0; top: 0; z-index: 5000; ul { li { display: inline; float: left; margin: 0 0 0 1px; overflow: visible; padding: 5px 0 0 0; position: relative; &:hover ul { display: block; } &:hover, &:focus { a { background-color: #000; color: #fff; cursor: pointer; } } &#login-link, &#logout-link, &.location { a { border: 0; color: #ccc !important; display: block; text-decoration: none; &:hover, &:focus { color: #fff !important; } } } &#logout-link, &#login-link { a { padding-right: 10px !important; } } &.location { a { &.choose { background-image: url("@{imgpath}/arrow_dropdown.png"); background-position: 88% 12px; background-repeat: no-repeat; color: #ccc !important; cursor: default; padding-right: 25px !important; &:hover, &:focus { background-position: 88% -28px; } } } &:hover, &:focus { a { background-position: 88% -28px; opacity: 1; } } } a, span { background-color: rgb(33,71,112); background-color: rgba(0,0,0,0.2); color: #eee; display: block; height: 30px; line-height: 28px; padding: 0 10px; } span { color: rgb(139,163,180); color: rgba(255,255,255,0.5); } a { &:hover, &:focus { background-color: #000; color: #fff; cursor: pointer; } &.here { padding-right: 15px; } } } ul { background: rgb(0,0,0); display: none; left: 0px; padding-bottom: 5px; position: absolute; top: 100%; width: 100%; z-index: 2000; li { display: block; float: none !important; /* padding: 4px 0 0 0; */ text-align: left; a { border-left: 0 !important; cursor: pointer; display: block; float: none !important; height: auto; line-height: 16px; padding-bottom: 5px !important; } } } } } .template-dashboard #switcher ul li.dashboard a { background: rgb(0,0,0); }