Remove superfluous element names where ID is specified

This commit is contained in:
Amir E. Aharoni
2012-11-16 19:10:42 +02:00
parent 1dd303d50e
commit 83db5460b2
2 changed files with 5 additions and 4 deletions

View File

@@ -133,7 +133,8 @@ div.uls-region {
transition: opacity 0.15s linear; transition: opacity 0.15s linear;
} }
#map-block:hover, #map-block:hover a { #map-block:hover,
#map-block:hover a {
opacity: 1; opacity: 1;
color: #333; color: #333;
} }
@@ -159,7 +160,7 @@ div.uls-region {
cursor: pointer; cursor: pointer;
} }
input#languagefilter { .uls-menu .languagefilter {
border: 1px solid #c9c9c9; border: 1px solid #c9c9c9;
border-radius: 2px 2px 2px 2px; border-radius: 2px 2px 2px 2px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
@@ -173,7 +174,7 @@ input#languagefilter {
} }
input:focus#languagefilter { .uls-menu .languagefilter:focus {
border: 1px solid #3366bb; border: 1px solid #3366bb;
} }

View File

@@ -95,7 +95,7 @@
this.top = this.options.top; this.top = this.options.top;
this.shown = false; this.shown = false;
this.initialized = false; this.initialized = false;
this.$languageFilter = this.$menu.find( 'input#languagefilter' ); this.$languageFilter = this.$menu.find( '#languagefilter' );
this.$regionFilters = this.$menu.find( '.uls-region' ); this.$regionFilters = this.$menu.find( '.uls-region' );
this.$resultsView = this.$menu.find( 'div.uls-language-list' ); this.$resultsView = this.$menu.find( 'div.uls-language-list' );
this.render(); this.render();