* 20d5e4 Some cleanup to the language filter * bf0c55 Remove unwanted script related code in search method And l10n updates. Change-Id: Iad1bcf4dca611e2004d9fdec776dce14a5f669b2
229 lines
5.3 KiB
CSS
229 lines
5.3 KiB
CSS
.uls-trigger {
|
|
/* @embed */
|
|
background: transparent url('../images/icon-language.png') no-repeat scroll left center;
|
|
/* @embed */
|
|
background-image: -webkit-linear-gradient(transparent, transparent), url('../images/icon-language.svg');
|
|
/* @embed */
|
|
background-image: linear-gradient(transparent, transparent), url('../images/icon-language.svg');
|
|
padding-left: 30px;
|
|
}
|
|
.uls-menu {
|
|
position: absolute;
|
|
z-index: 1000;
|
|
display: none;
|
|
margin-top: 1px;
|
|
/* Styling */
|
|
background-color: #ffffff;
|
|
border: 1px solid #ccc;
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
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-wide {
|
|
min-width: 715px;
|
|
width: 45%;
|
|
}
|
|
|
|
.uls-medium {
|
|
min-width: 360px;
|
|
width: 30%;
|
|
}
|
|
|
|
/* Override the grid */
|
|
.uls-medium.grid .row {
|
|
min-width: 300px;
|
|
}
|
|
|
|
.uls-narrow {
|
|
min-width: 180px;
|
|
width: 20%;
|
|
}
|
|
|
|
/* Override the grid */
|
|
.uls-narrow.grid .row {
|
|
min-width: 150px;
|
|
}
|
|
|
|
/* Leave more space for search input */
|
|
.uls-narrow .uls-search-label {
|
|
background-size: 15px;
|
|
width: 20px;
|
|
}
|
|
|
|
.uls-narrow .uls-search-wrapper {
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.uls-title-region a {
|
|
padding-left: 15px;
|
|
}
|
|
.uls-menu .uls-title {
|
|
font-weight: normal;
|
|
border: none;
|
|
padding-left: 15px;
|
|
font-size: 18pt;
|
|
line-height: 1.25em;
|
|
color: #555;
|
|
}
|
|
.uls-menu .uls-no-results-found-title {
|
|
font-size: 16pt;
|
|
font-weight: bold;
|
|
line-height: 1.5em;
|
|
padding-left: 6px;
|
|
padding-top: 10px;
|
|
margin-top: 0;
|
|
margin-bottom: 15px;
|
|
border-bottom: none;
|
|
color: #555;
|
|
}
|
|
.uls-menu .uls-lcd-region-section .uls-lcd-region-title {
|
|
color: #777;
|
|
font-size: 14pt;
|
|
font-weight: lighter;
|
|
line-height: 1.5em;
|
|
padding-left: 0;
|
|
margin-top: 0;
|
|
margin-bottom: 10px;
|
|
border-bottom: none;
|
|
}
|
|
div.uls-region {
|
|
cursor: pointer;
|
|
padding: 0;
|
|
margin: 0;
|
|
height: 120px;
|
|
border-bottom-color: transparent;
|
|
border-bottom-style: solid;
|
|
border-bottom-width: 2px;
|
|
}
|
|
|
|
.uls-region a {
|
|
bottom: 2px;
|
|
left: 2px;
|
|
padding: 0;
|
|
position: absolute;
|
|
font-size: 13px;
|
|
line-height: 1.2em;
|
|
text-decoration: none;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
width: 99%;
|
|
}
|
|
|
|
.uls-icon-close {
|
|
/* @embed */
|
|
background: transparent url('../images/close.png') no-repeat scroll center center;
|
|
/* @embed */
|
|
background-image: -webkit-linear-gradient(transparent, transparent), url('../images/close.svg');
|
|
/* @embed */
|
|
background-image: linear-gradient(transparent, transparent), url('../images/close.svg');
|
|
float: right;
|
|
padding: 15px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.uls-search {
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F0F0F0', endColorstr='#FBFBFB');
|
|
background: #f8f8f8;
|
|
background: -webkit-gradient(linear, left top, left bottom, from(#F0F0F0), to(#FBFBFB));
|
|
background: -webkit-linear-gradient(top, #F0F0F0, #FBFBFB);
|
|
background: -moz-linear-gradient(top, #F0F0F0, #FBFBFB);
|
|
background: -o-linear-gradient(top, #F0F0F0, #FBFBFB);
|
|
background: linear-gradient(#F0F0F0, #FBFBFB);
|
|
border-top-color: #AAA;
|
|
border-top-style: solid;
|
|
border-top-width: 1px;
|
|
padding: 0.8em 0;
|
|
border-bottom-width: 1px;
|
|
border-bottom-style: solid;
|
|
border-bottom-color: #DDD;
|
|
}
|
|
|
|
/* Make space for magnifying class on the front */
|
|
.uls-search-wrapper {
|
|
position: relative;
|
|
padding-left: 40px;
|
|
margin-right: 5px;
|
|
height: 32px;
|
|
}
|
|
|
|
.uls-search-label {
|
|
background: transparent url('../images/search.png') no-repeat scroll right center;
|
|
background-image: -webkit-linear-gradient(transparent, transparent), url('../images/search.svg');
|
|
/* @embed */
|
|
background-image: linear-gradient(transparent, transparent), url('../images/search.svg');
|
|
background-size: 30px;
|
|
background-position: center center;
|
|
height: 32px;
|
|
width: 40px;
|
|
display: block;
|
|
position: absolute;
|
|
left: 0;
|
|
}
|
|
|
|
.uls-search-input-wrapper {
|
|
position: relative;
|
|
}
|
|
|
|
/* There are two input boxes. This class applies to both of them */
|
|
.uls-filterinput {
|
|
font-size: 14px;
|
|
height: 32px;
|
|
width: 100%;
|
|
/* For the custom clear (X) icon */
|
|
padding: 6px 25px 6px 6px;
|
|
border-width: 1px;
|
|
|
|
display: block;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
/* This is the actual input */
|
|
.uls-languagefilter {
|
|
background-color: transparent;
|
|
border: 1px solid #c9c9c9;
|
|
border-radius: 2px 2px 2px 2px;
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
|
|
color: #333;
|
|
-moz-transition: border 0.15s linear 0s;
|
|
-o-transition: border 0.15s linear 0s;
|
|
-webkit-transition: border 0.15s linear 0s;
|
|
transition: border 0.15s linear 0s;
|
|
}
|
|
|
|
.uls-languagefilter:focus {
|
|
border: 1px solid #3366bb;
|
|
}
|
|
|
|
/* This is the shadow input box showing completion suggestions */
|
|
.uls-filtersuggestion {
|
|
background-color: white;
|
|
color: #888;
|
|
border-radius: 2px 2px 2px 2px;
|
|
box-shadow: 0 1px 2px transparent inset;
|
|
}
|
|
|
|
.uls-languagefilter-clear {
|
|
background: transparent url('../images/clear.png') no-repeat scroll left center;
|
|
background-image: -webkit-linear-gradient(transparent, transparent), url('../images/clear.svg');
|
|
/* @embed */
|
|
background-image: linear-gradient(transparent, transparent), url('../images/clear.svg');
|
|
background-size: 15px;
|
|
cursor: pointer;
|
|
height: 15px;
|
|
width: 15px;
|
|
|
|
/* Vertical margins: (32 - 15) / 2 */
|
|
margin: 8.5px 5px;
|
|
position: absolute;
|
|
right: 0;
|
|
/* Make it appear above the input boxes */
|
|
z-index: 1;
|
|
}
|