Remove some styling to unbreak firefox.

This commit is contained in:
Ian Gulliver
2015-12-26 22:56:46 -08:00
parent b7e30894dd
commit 38d0b75260

View File

@@ -93,18 +93,11 @@ BabyStats.prototype.buildStylesheet_ = function() {
inputs.style.fontSize = '28px';
inputs.style.textAlign = 'center';
style.sheet.insertRule(
'.babyStatsChildName::-webkit-input-placeholder, ' +
'.babyStatsYourName::-webkit-input-placeholder {}', 0);
var placeholders = style.sheet.cssRules[0];
placeholders.style.color = 'rgba(248,202,0,0.6)';
style.sheet.insertRule(
'.babyStatsChildName:focus, ' +
'.babyStatsYourName:focus {}', 0);
var focus = style.sheet.cssRules[0];
focus.style.outline = 'none';
focus.style.textDecoration = 'underline';
style.sheet.insertRule('babyStatsGridContainer {}', 0);
var gridContainer = style.sheet.cssRules[0];