kolibrios.org/dropdown.css

75 lines
1.3 KiB
CSS
Raw Normal View History

#lang-dropdown
{
position: fixed;
z-index:9100;
color: #fff;
display: none;
opacity: 0;
filter:alpha(opacity=0);
}
#lang-dropdown::before
{
content: '';
display: block;
position: absolute;
border: 10px solid #333;
border-left: 10px solid rgba(255, 255, 255, 0);
border-right: 10px solid rgba(255, 255, 255, 0);
border-top: 0px solid rgba(255, 255, 255, 0);
top: -10px;
left: 50%;
margin-left: -10px;
}
#lang-dropdown > ul
{
display: block;
border-radius: 5px;
border: 1px solid #333;
box-shadow: 0 0 5px #000;
box-shadow: 0 0 10px rgba(0,0,0,0.4);
overflow: hidden;
background: #333;
}
#lang-dropdown > ul > li a
{
display: block;
padding: 0 50px 0 20px;
font-size: 0.8em;
line-height: 3;
border-top: 1px solid rgba(255, 255, 255, 0.06);
border-bottom: 1px solid rgba(0, 0, 0, 0.07);
text-decoration: none;
color: #fff !important;
}
#lang-dropdown > ul > li a:hover
{
background: #444;
border-bottom: 1px solid rgba(0, 0, 0, 0.32);
}
#lang-dropdown > ul > li a.sel {
color: #888 !important;
}
#lang-dropdown > ul > li a > img
{
display: inline-block;
vertical-align: middle;
margin-right: 10px;
margin-top: -3px;
}
#lang-dropdown > ul > li:first-child a
{
border-top: none;
}
#lang-dropdown > ul > li:last-child a
{
border-bottom: none;
}