Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: skin/firstRun.css

Issue 29326238: Issue 3031 - Add Adblock Browser section to First Run Page (Closed)
Patch Set: Created Sept. 10, 2015, 8:56 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « skin/abb-logo.png ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skin/firstRun.css
===================================================================
--- a/skin/firstRun.css
+++ b/skin/firstRun.css
@@ -144,6 +144,120 @@
padding: 40px 100px;
}
+#general
+{
+ padding: 40px 0px;
+ max-width: 960px;
+ display: table;
+}
+
+#general > div
+{
+ display: table-cell;
+ width: 50%;
+ vertical-align: top;
+ padding: 0px 50px;
+}
+
+#general > div:first-child
+{
+ border-right: dashed 1px #969085;
+}
+
+html[dir="rtl"] #general > div:first-child
+{
+ border-right: none;
+ border-left: dashed 1px #969085;
+}
+
+#acceptable-ads-block h2
+{
+ margin-bottom: 34px;
+}
+
+#abb-promotion-block h2
+{
+ color: #7795b6;
+ margin-bottom: 40px;
+}
+
+#abb-promotion-block a
+{
+ border: solid 1px #446a96;
+ border-radius: 5px;
+ display: table;
+ padding: 6px 16px;
+ background: -prefix-gradient(to top, #294e76, #6b92be);
+ background: linear-gradient(to top, #294e76, #6b92be);
saroyanm 2015/09/10 09:05:08 I'm not sure what is the best way to have inner bo
+ text-decoration: none;
+ width: 100%;
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+}
+
+#abb-promotion-block a > div
+{
+ display: table-cell;
+ vertical-align: middle;
+ padding: 6px;
+}
+
+#abb-promotion-block a > div:first-child
+{
+ width: 1px;
+}
+
+#abb-promotion-block a div > div:first-child
+{
+ font-size: 22px;
saroyanm 2015/09/10 09:05:08 Please note I did it according to the style guide,
+ color: #ffffff;
+ font-weight: bold;
+}
+
+#abb-promotion-block a div > div:not(first-child)
+{
+ font-size: 12px;
+ color: #9ab7d6;
+}
+
+#abb-promotion-block a:hover
saroyanm 2015/09/10 09:05:08 In the style guide it wasn't obvious how the :hove
+{
+ -moz-box-shadow: 0px 0px 5px #5D5D5D;
+ -webkit-box-shadow: 0px 0px 5px #5D5D5D;
+ box-shadow: 0px 0px 5px #5D5D5D;
+}
+
+#abb-promotion-block a:active
+{
+ -moz-box-shadow: 0px 0px 5px 1px #5D5D5D;
+ -webkit-box-shadow: 0px 0px 5px 1px #5D5D5D;
+ box-shadow: 0px 0px 5px 1px #5D5D5D;
+}
+
+@media (max-width: 960px)
+{
+ #general
+ {
+ padding: 40px 0px;
+ max-width: 960px;
+ display: block;
+ }
+
+ #general > div
+ {
+ display: block;
+ width: auto;
+ vertical-align: top;
+ padding: 0px 50px;
+ }
+
+ #general > div:first-child
+ {
+ border: none;
+ }
+}
+
section > p
{
margin: 15px 0 0 0;
« no previous file with comments | « skin/abb-logo.png ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld