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

Unified Diff: chrome/browser/resources/ntp_search/mock/debug.css

Issue 10829131: Refactoring NTP5: new implementation of TilePage and MostVisitedPage (which now inherits from Thumb… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Manually fixing mock_data_autogen.js lines with more than 80 chars. Created 8 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/resources/ntp_search/mock/mock.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/ntp_search/mock/debug.css
diff --git a/chrome/browser/resources/ntp_search/mock/debug.css b/chrome/browser/resources/ntp_search/mock/debug.css
new file mode 100644
index 0000000000000000000000000000000000000000..1e3e32776f9a490ea56700ecf9ee65b400c96585
--- /dev/null
+++ b/chrome/browser/resources/ntp_search/mock/debug.css
@@ -0,0 +1,124 @@
+/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file. */
+
+/* =========================================================================
+ TODO(pedrosimonetti): Work around. The following rules are being used
+ to temporarily hide elements we are not using, and reset the styling
+ according to the new specification.
+ ========================================================================= */
+
+#ntp5 #card-slider-frame {
+ bottom: 0;
+ position: absolute;
+ top: inherit;
+}
+
+#ntp5 .dot .selection-bar,
+#ntp5 .tile-page-scrollbar,
+#ntp5 .top-margin,
+#ntp5 #footer,
+#ntp5 #page-switcher-start,
+#ntp5 #page-switcher-end {
+ display: none;
+}
+
+#ntp5 .tile-page {
+ display: block;
+}
+
+#ntp5 #dot-list {
+ display: inline-block;
+ margin: 0 auto;
+}
+
+#ntp5 .dot {
+ display: inline-block;
+ max-width: 119px;
+}
+
+#ntp5 .dot input {
+ color: #666;
+ font-size: 1.1667em;
+ font-weight: normal;
+ text-align: center;
+}
+
+#ntp5 #dot-list .dot.selected input {
+ color: rgb(221, 75, 57);
+}
+
+#ntp5 #page-list {
+ margin-top: 0;
+ padding-bottom: 0;
+}
+
+#ntp5 .thumbnail-image {
+ border-radius: 2px;
+ opacity: 1;
+}
+
+#ntp5 .tile-page-content {
+ padding: 0;
+}
+
+#ntp5 #notification-container {
+ bottom: inherit;
+}
+
+body.bare-minimum#ntp5 #dot-list {
+ visibility: visible;
+}
+
+/* =========================================================================
+ End of work around
+ ========================================================================= */
+
+/* -----------------------------------------------------------------------------
+ Debug
+----------------------------------------------------------------------------- */
+
+.debug #card-slider-frame {
+ bottom: 0;
+ height: 95%;
+ position: absolute;
+ text-align: center;
+ width: 100%;
+}
+
+.debug #page-list {
+ height: 100% !important;
+}
+
+.debug .animate-tile .tile-cell {
+ -webkit-transition: all 201ms ease-in-out;
+}
+
+.debug #page-list-menu {
+ background: rgb(255, 170, 255);
+}
+
+.debug .tile-page-content {
+ background: rgb(119, 255, 255);
+}
+
+.debug .tile-row {
+ background: rgb(255, 255, 119);
+}
+
+.debug .hide-row {
+ opacity: 0.35;
+}
+
+.debug .hide-col-0 .tile-col-0,
+.debug .hide-col-1 .tile-col-1,
+.debug .hide-col-2 .tile-col-2,
+.debug .hide-col-3 .tile-col-3,
+.debug .hide-col-4 .tile-col-4,
+.debug .hide-col-5 .tile-col-5,
+.debug .hide-col-6 .tile-col-6,
+.debug .hide-col-7 .tile-col-7,
+.debug .hide-col-8 .tile-col-8,
+.debug .hide-col-9 .tile-col-9 {
+ background-color: lightgray;
+}
« no previous file with comments | « no previous file | chrome/browser/resources/ntp_search/mock/mock.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698