RegionFilter is a basic jquery plugin to work with ULS to select languages based on regions. PS2: Added a css class for elements with regionfilter. Used it for visual indication of selection. Plus some clean up. Change-Id: Ib01b4077435f98665075310e285e68f8538eeb4e
139 lines
2.3 KiB
CSS
139 lines
2.3 KiB
CSS
.uls-trigger {
|
|
/* @embed */
|
|
background: url('../images/icon-language.png') no-repeat scroll left center transparent;
|
|
padding-left: 36px;
|
|
}
|
|
|
|
.uls-menu {
|
|
position: fixed;
|
|
z-index: 1000;
|
|
display: none;
|
|
min-width: 600px;
|
|
min-height: 500px;
|
|
margin-top: 1px;
|
|
width: 50%;
|
|
|
|
/* Styling */
|
|
background-color: #ffffff;
|
|
border: 1px solid #ccc;
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
*border-right-width: 2px;
|
|
*border-bottom-width: 2px;
|
|
-webkit-border-radius: 5px;
|
|
-moz-border-radius: 5px;
|
|
border-radius: 5px;
|
|
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
|
-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
|
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
|
-webkit-background-clip: padding-box;
|
|
-moz-background-clip: padding;
|
|
background-clip: padding-box;
|
|
}
|
|
|
|
.uls-menu-header {
|
|
margin: 2%;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.uls-lang-selector {
|
|
margin: 2%;
|
|
}
|
|
|
|
.uls-menu-header-left {
|
|
float: left;
|
|
}
|
|
|
|
.uls-menu-header-left h1 {
|
|
font-weight: bold;
|
|
padding-top: 12px;
|
|
border:none;
|
|
padding-bottom: 3px;
|
|
}
|
|
|
|
.uls-menu-header-right {
|
|
float: right;
|
|
}
|
|
|
|
.uls-worldmap {
|
|
/* @embed */
|
|
background: url('../images/world_map.png') no-repeat scroll left center transparent;
|
|
width: 400px;
|
|
height: 197px;
|
|
}
|
|
|
|
.uls-region {
|
|
float: left;
|
|
cursor: pointer;
|
|
width: 133px;
|
|
padding: 0;
|
|
margin: 0;
|
|
height: 197px;
|
|
position: relative;
|
|
}
|
|
|
|
.uls-region a {
|
|
position: absolute;
|
|
bottom: 0;
|
|
}
|
|
|
|
.uls-region:hover {
|
|
outline: 1px solid #0E90D2;
|
|
}
|
|
|
|
.regionselector.active {
|
|
background: black;
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.icon-close {
|
|
/* @embed */
|
|
background: url('../images/close.png') no-repeat scroll left center transparent;
|
|
float: right;
|
|
padding: 10px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Language list */
|
|
.uls-language-list {
|
|
height: 300px;
|
|
overflow: auto;
|
|
margin-top: 2%;
|
|
}
|
|
|
|
.uls-language-list ul {
|
|
list-style: none;
|
|
margin-left: 0;
|
|
-moz-column-count: 3;
|
|
-webkit-column-count: 3;
|
|
column-count: 3;
|
|
}
|
|
|
|
.uls-language-list ul li {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.uls-language-list strong {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.uls-language-list a {
|
|
color: #0645AD;
|
|
}
|
|
|
|
input#languagefilter {
|
|
height: 20px;
|
|
border: 1px solid #0E90D2;
|
|
border-right: none;
|
|
width: 95%;
|
|
}
|
|
|
|
span.search-button {
|
|
/* @embed */
|
|
background: url('../images/search.png') no-repeat scroll left center transparent;
|
|
cursor: pointer;
|
|
height: 22px;
|
|
border: 1px solid #0E90D2;
|
|
position: absolute;
|
|
width: 20px;
|
|
border-left: none;
|
|
} |