diff --git a/mobile/android/themes/core/aboutMemory.css b/mobile/android/themes/core/aboutMemory.css index a4f0887da59d..d568903cb286 100644 --- a/mobile/android/themes/core/aboutMemory.css +++ b/mobile/android/themes/core/aboutMemory.css @@ -10,6 +10,7 @@ html { background: -moz-Dialog; + color: -moz-DialogText; font: message-box; } @@ -31,6 +32,7 @@ div.section { border: 1px solid ThreeDShadow; border-radius: 10px; background: -moz-Field; + color: -moz-FieldText; } div.opsRow { @@ -40,6 +42,7 @@ div.opsRow { border: 1px solid ThreeDShadow; border-radius: 10px; background: -moz-Field; + color: -moz-FieldText; display: inline-block; } @@ -65,25 +68,38 @@ h1 { } h2 { - background: #ddd; padding-left: .1em; } +.accuracyWarning, .badInputWarning, .invalid { + /* + * Technically this should be used with the default background colour, + * instead we're using the default field background colour, + * I hope this will be okay. + */ + color: -moz-activehyperlinktext; +} + .accuracyWarning { - color: #d22; } .badInputWarning { - color: #f00; } .treeline { - color: #888; + color: -moz-FieldText; + opacity: 0.5; +} + +/* + * We might like to style these but cannot find a colour that always + * contrasts with the background colour. + */ +.mrValue, .mrName, .mrNote { } .mrValue { font-weight: bold; - color: #400; } .mrPerc { @@ -92,14 +108,6 @@ h2 { .mrSep { } -.mrName { - color: #004; -} - -.mrNote { - color: #604; -} - .hasKids { cursor: pointer; } @@ -130,11 +138,6 @@ h2 { display: none; } -.invalid { - color: #fff; - background-color: #f00; -} - /* Mobile-specific parts go here. */ /* buttons are different sizes and overlapping without this */ diff --git a/toolkit/components/aboutmemory/content/aboutMemory.css b/toolkit/components/aboutmemory/content/aboutMemory.css index b63bbac13ca1..8a94d1ac171f 100644 --- a/toolkit/components/aboutmemory/content/aboutMemory.css +++ b/toolkit/components/aboutmemory/content/aboutMemory.css @@ -10,6 +10,7 @@ html { background: -moz-Dialog; + color: -moz-DialogText; font: message-box; } @@ -31,6 +32,7 @@ div.section { border: 1px solid ThreeDShadow; border-radius: 10px; background: -moz-Field; + color: -moz-FieldText; } div.opsRow { @@ -40,6 +42,7 @@ div.opsRow { border: 1px solid ThreeDShadow; border-radius: 10px; background: -moz-Field; + color: -moz-FieldText; display: inline-block; } @@ -66,7 +69,6 @@ h1 { } h2 { - background: #ddd; padding-left: .1em; } @@ -80,21 +82,35 @@ a.upDownArrow { -moz-user-select: none; /* no need to include this when cutting+pasting */ } +.accuracyWarning, .badInputWarning, .invalid { + /* + * Technically this should be used with the default background colour, + * instead we're using the default field background colour, + * I hope this will be okay. + */ + color: -moz-activehyperlinktext; +} + .accuracyWarning { - color: #d22; } .badInputWarning { - color: #f00; } .treeline { - color: #888; + color: -moz-FieldText; + opacity: 0.5; +} + +/* + * We might like to style these but cannot find a colour that always + * contrasts with the background colour. + */ +.mrValue, .mrName, .mrNote { } .mrValue { font-weight: bold; - color: #400; } .mrPerc { @@ -103,14 +119,6 @@ a.upDownArrow { .mrSep { } -.mrName { - color: #004; -} - -.mrNote { - color: #604; -} - .hasKids { cursor: pointer; } @@ -141,11 +149,6 @@ a.upDownArrow { display: none; } -.invalid { - color: #fff; - background-color: #f00; -} - /* Desktop-specific parts go here. */ .hasKids:hover {