Files
scummvm-web/css/lang-menu.css
T
Ori Avtalion 659018ae64 WEB: Move language button to the top of the screen
Also changed page width to fit the language button on mobile devices
2016-04-26 15:29:09 +03:00

109 lines
2.0 KiB
CSS

#lang-wrapper {
margin-right: 10px;
float: right;
position: relative;
top: 0px;
}
code.text-badge {
background-color: #00007f;
color: white;
margin: 0 8px 0 8px;
padding: 0 2px 0 2px;
}
#langmenu {
margin: 0 auto;
font-size: 8pt;
list-style: none;
padding: 0 0px;
}
#langmenu > li {
float: left;
height: 29px;
padding-right: 2px;
margin-top: 0px;
margin-bottom: 0px;
position: relative;
background: url(../images/header-background.gif) repeat-x;
cursor: pointer;
border-left: 1px solid #cecece;
border-right: 1px solid #cecece;
border-bottom: 1px solid #cecece;
border-radius: 0 0 4px 4px;
-moz-border-radius: 0 0 4px 4px;
-webkit-border-radius: 0 0 4px 4px;
}
#langmenu > li > span {
display: inline;
width: auto;
position: relative;
top: 4px;
color: #000000;
text-decoration: none;
font-size: 9pt;
text-shadow: 0 1px 2px #fff;
font-weight: 700;
padding: 0px 20px 0px 10px;
background: url(../images/dropdown.png) no-repeat right center;
}
#langmenu > li > span > img {
display: inline;
vertical-align: middle;
}
#langmenu > li > ul {
position: absolute;
top: 27px;
left: 0px;
border-radius: 0 0 4px 4px;
-moz-border-radius: 0 0 4px 4px;
-webkit-border-radius: 0 0 4px 4px;
border-left: 1px solid #505050;
border-right: 1px solid #505050;
border-bottom: 1px solid #505050;
padding: 10px 10px 10px 0px;
display: none;
background: #f6f6f6;
z-index: 1000;
cursor: default;
}
#langmenu > li:hover > span {
background: url(../images/dropdown-over.png) no-repeat right center;
color: rgb(168, 39, 9);
}
#langmenu > li:hover > ul {
display: block;
}
#langmenu li ul {
padding-right: 0px;
}
#langmenu li ul li {
width: 100%;
float: left;
list-style: none;
}
#langmenu li ul li a {
position: relative;
color: #000000;
text-decoration: none;
font-size: 9pt;
font-weight: bold;
display: block;
padding: 5px 0px 5px 0px;
}
#langmenu li ul li a:hover {
color: #ffffff;
padding: 5px 0px 5px 0px;
background: url(../images/par-head.png) repeat-x;
}