fix textarea background CSS (since they may have labels) - still doesn't fix their active state

This commit is contained in:
rolux 2012-06-27 19:04:34 +02:00
parent f364b2b1e0
commit c4d65facc5
3 changed files with 8 additions and 1 deletions

View file

@ -151,7 +151,8 @@ Ox.Input = function(options, self) {
}
})
.addClass(
'OxInput OxMedium Ox' + Ox.toTitleCase(self.options.style) /*+ (
'OxInput OxMedium Ox' + Ox.toTitleCase(self.options.style)
+ (self.options.type == 'textarea' ? ' OxTextarea' : '') /*+ (
self.options.overlap != 'none' ?
' OxOverlap' + Ox.toTitleCase(self.options.overlap) : ''
)*/

View file

@ -288,6 +288,9 @@ Forms
background: -o-linear-gradient(top, rgb(224, 224, 224), rgb(192, 192, 192));
background: -webkit-linear-gradient(top, rgb(224, 224, 224), rgb(192, 192, 192));
}
.OxThemeClassic div.OxInput.OxTextarea {
background: transparent;
}
.OxThemeClassic .OxButton:active {
//background: rgb(160, 160, 160);
background: rgb(192, 192, 192);

View file

@ -290,6 +290,9 @@ Forms
//background: -moz-linear-gradient(left top, left bottom, from(rgb(64, 64, 64)), to(rgb(32, 32, 32)));
//background: -webkit-gradient(linear, left top, left bottom, from(rgb(64, 64, 64)), to(rgb(32, 32, 32)));
}
.OxThemeClassic div.OxInput.OxTextarea {
background: transparent;
}
.OxThemeModern .OxButton:active {
background: rgb(80, 80, 80);
color: rgb(208, 208, 208);