Index: chrome/browser/resources/contextual_search/promo.css |
diff --git a/chrome/browser/resources/contextual_search/promo.css b/chrome/browser/resources/contextual_search/promo.css |
index 9a2649a4fada99b467215ddcfe61d432b8e2d0b2..2977fba687d4b8caf8874a386771771f64f142f3 100644 |
--- a/chrome/browser/resources/contextual_search/promo.css |
+++ b/chrome/browser/resources/contextual_search/promo.css |
@@ -16,26 +16,13 @@ body { |
} |
a { |
- color: #414141; |
text-decoration: none; |
} |
-.colored { |
+a.colored-link { |
color: rgb(66, 133, 244); |
} |
-.label { |
- display: inline-block; |
- font-size: 14px; |
- font-weight: bold; |
- padding: 28px; |
- white-space: nowrap; |
-} |
- |
-.label a { |
- text-transform: uppercase; |
-} |
- |
#button-container { |
text-align: right; |
width: 100%; |
@@ -66,3 +53,32 @@ a { |
height: 100px; |
margin: 0 auto 24px auto; |
} |
+ |
+.label { |
+ display: inline-block; |
+ font-size: 14px; |
+ margin: 14px 0; |
+ /* We use a slightly different top-bottom padding because Roboto has a |
+ rendering bug. */ |
pedro (no code reviews)
2014/09/29 18:18:26
Nit: I would continue saying: "[...] rendering bug
Mathieu
2014/09/29 18:54:39
Done.
|
+ padding: 17px 14px 13px 14px; |
+ white-space: nowrap; |
+} |
+ |
+.label a { |
+ text-transform: uppercase; |
+} |
+ |
+#optin-label { |
+ background-clip: padding-box; |
+ background-color: rgb(66, 133, 244); |
+ border-radius: 3px; |
+ margin-right: 24px; |
+} |
+ |
+#optin-label a { |
+ color: white; |
+} |
+ |
+#optout-label a { |
+ color: rgb(66, 133, 244); |
+} |