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

Unified Diff: chrome/skin/firstRun.css

Issue 9078049: First run page (Closed)
Patch Set: Created Dec. 28, 2012, 11:06 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
Index: chrome/skin/firstRun.css
===================================================================
--- a/chrome/skin/firstRun.css
+++ b/chrome/skin/firstRun.css
@@ -17,14 +17,6 @@
@namespace url("http://www.w3.org/1999/xhtml");
-@media not handheld
-{
- body
- {
- font-size: 130%;
- }
-}
-
/** This should be unnecessary in Gecko 2.0 and above. */
*[hidden]
{
@@ -33,39 +25,294 @@
body
{
- background-image: url(abp-icon-big.png);
- background-repeat: no-repeat;
- background-position: 95% 5%;
- font-family: Arial,sans-serif;
+ font-family: Arial, sans-serif;
+ font-size: 16px;
+ line-height: 140%;
+ color: #000000;
+ background: repeating-linear-gradient(0deg, #F8F6F5, #F6F4F2 50%, #FCFBF9);
+ background: -moz-repeating-linear-gradient(0deg, #F8F6F5, #F6F4F2 50%, #FCFBF9);
+ background: -webkit-repeating-linear-gradient(0deg, #F5F4F3, #FAF9F8 50%, #F5F4F3);
+ background-size: 5px 5px;
+ margin: 0 auto;
+ padding: 0;
+ max-width: 900px;
}
-.sectionTitle
+a:link, a:visited
{
- font-weight: bold;
+ color: #7d7d7d;
}
-#listNameContainer,
-#listNone
+button, .arrow
{
- margin: 1em 2em;
+ cursor: pointer;
}
-#listNone
+header, p
{
- font-style: italic;
+ margin: 15px 0 5px;
}
-#acceptableAds
+#content
{
- font-size: 80%;
- font-weight: bold;
-}
-#acceptableAds > *
-{
- font-weight: normal;
+ padding: 0 90px;
}
-.sectionContainer
+header
{
- margin: 1em 2em;
+ padding-left: 148px;
+ background-image: url(adblockplus_128.png);
+ background-position: 0% 50%;
+ background-repeat: no-repeat;
+ min-height: 128px;
+ vertical-align: middle;
+ line-height: 1;
+ display: -webkit-box;
+ display: -moz-box;
+ display: box;
+ box-orient: vertical;
+ -webkit-box-orient: vertical;
+ -moz-box-orient: vertical;
+ box-pack: center;
+ -webkit-box-pack: center;
+ -moz-box-pack: center;
}
+
+header h1
+{
+ font-size: 40px;
+ margin: 0;
+}
+
+h2
+{
+ font-size: 22px;
+ color: #cc0000;
+ margin: 30px 0px 20px;
+}
+
+#features {
+ padding-bottom: 140px;
+}
+
+.feature {
+ position: relative;
+ vertical-align: middle;
+ text-align: center;
+ margin: 0 90px 0 70px;
+ text-align: left;
+ min-height: 70px;
+}
+
+.feature h1
+{
+ padding-right: 0.3em;
+}
+
+.feature h1:after
+{
+ content: ":";
+}
+
+.feature h1, .feature p
+{
+ font-size: 14px;
+ display: inline;
+}
+
+.feature img
+{
+ position: absolute;
+ margin-left: -70px;
+ width: 57px;
+ height: 57px;
+}
+
+.feature button
+{
+ font-size: 14px;
+ position: absolute;
+ top: 0px;
+ right: 0px;
+ margin-right: -90px;
+ width: 80px;
+ height: 30px;
+ color: #fff;
+ font-weight: normal;
+ background: #62c52b;
+ background: -webkit-linear-gradient(top, #62c52b, #4f9d22);
+ background: -moz-linear-gradient(top, #62c52b, #4f9d22);
+ background: -ms-linear-gradient(top, #62c52b, #4f9d22);
+ background: linear-gradient(top, #62c52b, #4f9d22);
+ box-shadow: 0 1px 0 0 #486c15, 0 2px 0 0 #517422;
+ text-shadow: 2px 2px 2px #327d14;
+ border: none;
+ border-radius: 3px;
+ bottom: 7px;
+ -webkit-transition: box-shadow 0.3s ease;
+ -moz-transition: box-shadow 0.3s ease;
+ -ms-transition: box-shadow 0.3s ease;
+ transition: box-shadow 0.3s ease;
+}
+
+.feature button:hover
+{
+ box-shadow: 0px 2px 7px #486c15, 0 1px 0 0 #486c15;
+}
+
+.feature button:active
+{
+ background: #4f9d22;
+ background: -webkit-linear-gradient(bottom, #62c52b, #4f9d22);
+ background: -moz-linear-gradient(bottom, #62c52b, #4f9d22);
+ background: -ms-linear-gradient(bottom, #62c52b, #4f9d22);
+ background: linear-gradient(bottom, #62c52b, #4f9d22);
+ box-shadow: 0px 0px 7px #486c15;
+ -webkit-transition: none;
+ -moz-transition: none;
+ -ms-transition: none;
+ transition: none;
+ bottom: 4px;
+}
+
+#shade
+{
+ -webkit-transition: opacity 0.2s ease;
+ -moz-transition: opacity 0.2s ease;
+ -ms-transition: opacity 0.2s ease;
+ transition: opacity 0.2s ease;
+ opacity: 0.0;
+ position: fixed;
+ margin-left: 10px;
+ bottom: 70px;
+ z-index: 100;
+}
+
+.arrow
+{
+ width: 0;
+ height: 0;
+ border: 30px solid transparent;
+ border-top-color: #000;
+}
+
+footer
+{
+ position: fixed;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ padding: 70px 0 0;
+ text-align: center;
+ background: -webkit-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 50px);
+ background: -moz-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 50px);
+ background: -ms-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 50px);
+ background: linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 50px);
+}
+
+footer h1
+{
+ margin: 0;
+ font-size: 18px;
+ color: #666;
+ position: fixed;
+ bottom: 70px;
+ left: 0;
+ right: 0;
+ -webkit-transition: opacity .3s ease;
+ -moz-transition: opacity .3s ease;
+ -ms-transition: opacity .3s ease;
+ transition: opacity .3s ease;
+ opacity: 1;
+}
+
+#social ul
+{
+ list-style: none;
+ padding: 0;
+ margin: 0;
+}
+
+#social ul:hover + h1
+{
+ opacity: 0;
+}
+
+#social ul:hover li { opacity:0.3; }
+
+
+
+#social ul li
+{
+ display: inline-block;
+ margin: 0px 5px;
+ -webkit-transition: opacity .5s ease, bottom .3s ease;
+ -moz-transition: opacity .5s ease, bottom .3s ease;
+ -ms-transition: opacity .5s ease, bottom .3s ease;
+ transition: opacity .5s ease, bottom .3s ease;
+ position: relative;
+ bottom: -30px;
+}
+
+#social ul li:hover
+{
+ opacity: 1.0;
+ bottom: 0px;
+}
+
+@media (max-width:640px), (max-height:500px)
+{
+ body
+ {
+ font-size: 14px;
+ max-width: 810px;
+ }
+
+ #content
+ {
+ padding: 0 45px;
+ }
+ header
+ {
+ background-size: auto 102px;
+ min-height: 102px;
+ padding-left: 110px;
+ }
+
+ header h1
+ {
+ font-size: 26px;
+ }
+
+ h2
+ {
+ font-size: 18px;
+ }
+
+ .feature h1, .feature p
+ {
+ font-size: 12px;
+ }
+
+ #shade
+ {
+ bottom: 80px;
+ margin-left: 5px;
+ }
+
+ .arrow
+ {
+ border-width: 15px;
+ }
+
+ footer
+ {
+ padding-top: 60px;
+ }
+
+ footer h1
+ {
+ font-size: 16px;
+ }
+}
+

Powered by Google App Engine
This is Rietveld