Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Unified Diff: chrome/browser/resources/ntp4/apps_page.css

Issue 12985002: Add a new App launcher promo to the apps page / NTP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/ntp4/apps_page.css
diff --git a/chrome/browser/resources/ntp4/apps_page.css b/chrome/browser/resources/ntp4/apps_page.css
index dbea2ba6480dfe78b00f9bbc2ca5a6bc8579ea5e..baf5dddd937bf01342977e22cff64c01e7b4fc4f 100644
--- a/chrome/browser/resources/ntp4/apps_page.css
+++ b/chrome/browser/resources/ntp4/apps_page.css
@@ -99,3 +99,103 @@
.app .invisible {
visibility: hidden;
}
+
+.app-launcher-promo {
+ background-color: white;
+ border-bottom-width: 3px;
+ border-color: lightgray;
+ border-radius: 2px;
+ border-style: solid;
+ border-top-width: 2px;
+ border-width: 1px;
Dan Beam 2013/03/21 15:45:14 border: 3px solid lightgray; border-radius: 2px; b
MAD 2013/03/21 16:47:47 Done.
+ bottom: 90px;
+ height: 120px;
+ left: 50%;
+ margin-left: -300px;
+ position: fixed;
+ width: 600px;
+}
+
+.app-launcher-promo > .close-button {
+ position: absolute;
+ right: 10px;
+ top: 10px;
+ width: 14px;
+}
+
+.apps-promo-text {
+ color: #222;
+ font-family: Arial, Helvetica, sans-serif;
+ font-size: 16px;
+ font-weight: normal;
Dan Beam 2013/03/21 15:45:14 font: 16px normal Arial, Helvetica, sans-serif;
MAD 2013/03/21 16:47:47 Done.
+ left: 30px;
+ line-height: 24px;
+ position: absolute;
+ top: 30px;
+}
+
+.apps-promo-learn-more {
+ -webkit-box-shadow: rgba(0, 0, 0, 0.0980392) 0 1px 1px 0;
Dan Beam 2013/03/21 15:45:14 ^ remove
MAD 2013/03/21 16:47:47 Done.
+ background-color: rgb(77, 144, 254);
+ border-bottom-color: rgb(47, 91, 183);
+ border-bottom-left-radius: 2px;
+ border-bottom-right-radius: 2px;
+ border-bottom-style: solid;
+ border-bottom-width: 1px;
+ border-image-outset: 0;
+ border-image-repeat: stretch;
+ border-image-slice: 100%;
+ border-image-source: none;
+ border-image-width: 1;
+ border-left-color: rgb(47, 91, 183);
+ border-left-style: solid;
+ border-left-width: 1px;
+ border-right-color: rgb(47, 91, 183);
+ border-right-style: solid;
+ border-right-width: 1px;
+ border-top-color: rgb(47, 91, 183);
+ border-top-left-radius: 2px;
+ border-top-right-radius: 2px;
+ border-top-style: solid;
+ border-top-width: 1px;
Dan Beam 2013/03/21 15:45:14 border: 1px solid rgb(47, 91, 183);
MAD 2013/03/21 16:47:47 Done.
+ box-shadow: rgba(0, 0, 0, 0.0980392) 0 1px 1px 0;
+ color: white;
+ cursor: default;
+ font-family: Arial, Helvetica, sans-serif;
+ font-size: 11px;
+ font-style: normal;
+ font-weight: bold;
+ height: 27px;
+ left: 30px;
+ line-height: 27px;
+ margin-bottom: 0;
+ margin-left: 0;
+ margin-right: 0;
+ margin-top: 0;
Dan Beam 2013/03/21 15:45:14 margin: 0;
MAD 2013/03/21 16:47:47 Done.
+ outline-color: white;
+ outline-style: none;
+ outline-width: 0;
+ padding-bottom: 0;
+ padding-left: 8px;
+ padding-right: 8px;
+ padding-top: 0;
Dan Beam 2013/03/21 15:45:14 padding: 0 8px;
MAD 2013/03/21 16:47:47 Done.
+ position: absolute;
+ text-align: center;
+ text-decoration: none;
+ top: 70px;
+ vertical-align: baseline;
+ width: 90px;
+}
+
+.apps-promo-learn-more:hover {
+ background-image: -webkit-linear-gradient(
+ top, rgb(77, 144, 254), rgb(53, 122, 232));
+ border: 1px solid #404040;
+ border-color: rgb(47, 91, 183);
Dan Beam 2013/03/21 15:45:14 border: 1px solid rgb(47, 91, 183);
MAD 2013/03/21 16:47:47 Done.
+}
+
+.app-launcher-promo > img {
+ bottom: 0;
+ position: absolute;
+ right: 30px;
+}

Powered by Google App Engine
This is Rietveld 408576698