this.localeChoices = new KeyNavList(d, { onChoose: this.setLocale.bindAsEventListener(this) });
- popdown = new Element('A', { className: 'popdown' }).insert(' ').observe('click', function() {
+ popdown = new Element('SPAN', { className: 'spellcheckPopdownImg' }).observe('click', function() {
$('spellcheckpopdown').clonePosition(this.statusButton, {
setHeight: false,
setWidth: false,
padding-left: 4px;
padding-right: 4px;
}
-.dimpActions .disabled img, .dimpActions .disabled span.popdownImg {
+.dimpActions .disabled img, .dimpActions .disabled span.popdownImg, .dimpActions .disabled span.spellcheckPopdownImg {
filter: alpha(opacity=25);
-moz-opacity: .25;
opacity: .25;
}
-.dimpActions .popdown:hover {
+.dimpActions span.popdown:hover, .dimpActions span.spellcheckPopdownImg:hover {
border-left: 1px solid #fff;
border-top: 1px solid #fff;
border-right: 1px solid #000;
border-bottom: 1px solid #000;
margin: -1px;
}
-.dimpActions .disabled .popdown:hover {
+.dimpActions .disabled span.popdown:hover, .dimpActions .disabled span.spellcheckPopdownImg {
border: 0;
cursor: default;
padding-left: 2px;
div.dimpActionsCompose, div.dimpActionsMsg {
border-bottom: 1px solid #999;
}
-div.dimpActionsCompose a.popdown {
- margin-right: 4px;
-}
#previewPane {
overflow: auto;
}
/* Images */
-span.iconImg, span.contextImg {
+span.iconImg, span.contextImg, span.spellcheckPopdownImg {
display: inline-block;
height: 16px;
width: 16px;
span.whitelistImg {
background-image: url("graphics/whitelist.png");
}
-span.popdownImg {
+span.popdownImg, span.spellcheckPopdownImg {
background-image: url("graphics/popdown.png");
margin-right: 0px;
}
}
/* Popdown styles. */
-a.popdown {
+span.spellcheckPopdownImg {
cursor: pointer;
background: url("graphics/popdown.png") no-repeat center center;
- padding-left: 6px;
- padding-right: 6px;
+ display: inline-block;
+ height: 16px;
+ width: 16px;
+ vertical-align: top;
+ margin-left: 3px;
}
-a.popdown:hover {
- padding-left: 5px;
- padding-right: 5px;
+span.spellcheckPopdownImg:hover {
border-left: 1px solid #fff;
border-top: 1px solid #fff;
border-right: 1px solid #000;
border-bottom: 1px solid #000;
+ margin: -1px -1px -1px 2px;
}
/* Other styles used in IMP. */