Remove some styling to unbreak firefox.
This commit is contained in:
@@ -93,18 +93,11 @@ BabyStats.prototype.buildStylesheet_ = function() {
|
|||||||
inputs.style.fontSize = '28px';
|
inputs.style.fontSize = '28px';
|
||||||
inputs.style.textAlign = 'center';
|
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(
|
style.sheet.insertRule(
|
||||||
'.babyStatsChildName:focus, ' +
|
'.babyStatsChildName:focus, ' +
|
||||||
'.babyStatsYourName:focus {}', 0);
|
'.babyStatsYourName:focus {}', 0);
|
||||||
var focus = style.sheet.cssRules[0];
|
var focus = style.sheet.cssRules[0];
|
||||||
focus.style.outline = 'none';
|
focus.style.outline = 'none';
|
||||||
focus.style.textDecoration = 'underline';
|
|
||||||
|
|
||||||
style.sheet.insertRule('babyStatsGridContainer {}', 0);
|
style.sheet.insertRule('babyStatsGridContainer {}', 0);
|
||||||
var gridContainer = style.sheet.cssRules[0];
|
var gridContainer = style.sheet.cssRules[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user