fix textarea css

This commit is contained in:
rlx 2011-10-26 08:59:30 +00:00
parent 7ecb0b2011
commit fb2ae1dee2
3 changed files with 4 additions and 5 deletions

View file

@ -224,6 +224,7 @@ Ox.Input = function(options, self) {
// fixme: is there a better way than this one?
// should at least go into ox.ui.theme.foo.js
// probably better: divs in the background
/*
if (self.options.type == 'textarea') {
Ox.extend(self, {
colors: Ox.Theme() == 'classic' ?
@ -251,6 +252,7 @@ Ox.Input = function(options, self) {
[self.colors[2], self.colors[2], self.colors[2]].join(', ') + '))'
});
}
*/
if (self.hasPasswordPlaceholder) {
self.$input.hide();

View file

@ -264,6 +264,7 @@ Forms
.OxThemeClassic input.OxCheckbox,
.OxThemeClassic input.OxInput,
.OxThemeClassic textarea,
.OxThemeClassic .OxTrack {
//background: -moz-linear-gradient(top, rgb(224, 224, 224), rgb(255, 255, 255));
//background: -webkit-gradient(linear, left top, left bottom, from(rgb(224, 224, 224)), to(rgb(255, 255, 255)));
@ -299,10 +300,6 @@ Forms
background: rgb(224, 224, 224);
}
.OxThemeClassic textarea {
background: rgb(240, 240, 240);
}
.OxThemeClassic .OxLabelSelect > .OxTitle {
border-color: rgb(176, 176, 176);
background: -moz-linear-gradient(top, rgb(224, 224, 224), rgb(192, 192, 192));

View file

@ -257,6 +257,7 @@ Forms
.OxThemeModern input.OxCheckbox,
.OxThemeModern input.OxInput,
.OxThemeModern textarea,
.OxThemeModern .OxTrack {
background: -moz-linear-gradient(top, rgb(0, 0, 0), rgb(32, 32, 32));
background: -o-linear-gradient(top, rgb(0, 0, 0), rgb(32, 32, 32));
@ -289,7 +290,6 @@ Forms
background: rgb(16, 16, 16);
}
.OxThemeModern .OxLabelSelect > .OxTitle {
border-color: rgb(48, 48, 48);
background: -moz-linear-gradient(top, rgb(96, 96, 96), rgb(64, 64, 64));