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

Unified Diff: chrome/browser/resources/ntp_android/opentabs_tablet.css

Issue 10831317: Upstream Android NTP resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved .png files to separate CL 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
Index: chrome/browser/resources/ntp_android/opentabs_tablet.css
diff --git a/chrome/browser/resources/ntp_android/opentabs_tablet.css b/chrome/browser/resources/ntp_android/opentabs_tablet.css
new file mode 100644
index 0000000000000000000000000000000000000000..7df6d62a83d55357cce8589a6413fd29aea30482
--- /dev/null
+++ b/chrome/browser/resources/ntp_android/opentabs_tablet.css
@@ -0,0 +1,61 @@
+/* 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. */
+
+body[device='tablet'] #open_tabs_container {
+ padding-bottom: 40px;
+}
+
+body[device='tablet'] #open_tabs_container .page-list>div {
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
+ margin: 40px auto 0 auto;
+ max-width: 550px;
+ min-width: 500px;
+}
+
+@media only screen and (min-device-width: 700px) {
+ body[device='tablet'] #open_tabs_container .page-list>div {
+ max-width: 650px;
+ }
+}
+
+body[device='tablet'] .session-children-container>div:last-child {
+ border-bottom: none;
+}
+
+body[device='tablet'] #open_tabs_container .session-header .list-item {
+ background: #F2F2F2;
+ border-bottom: 1px solid #E7E7E7;
+ color: #777;
+ font-size: 0.8em;
+ padding: 20px 0 20px 0;
+}
+
+body[device='tablet'] #open_tabs_container .list-item {
+ background: #FAFAFA;
+ border: 1px solid #E0E0E0;
+ border-bottom: none;
+}
+
+body[device='tablet'] #open_tabs_container .list-item-active,
+body[device='tablet'] #open_tabs_container .session-header
+ .list-item.list-item-active {
+ -webkit-tap-highlight-color: transparent;
+ background: rgba(51, 181, 229, 0.4);
+}
+
+body[device='tablet'] .session-name {
+ color: #333;
+ font-size: 1.1em;
+ font-weight: bold;
+ line-height: 1.8em;
+}
+
+body[device='tablet'] .session-last-synced {
+ font-weight: normal;
+}
+
+body[device='tablet'] #open_tabs_container .session-children-container
+ .list-item:first-child {
+ border-top: none;
+}
« no previous file with comments | « chrome/browser/resources/ntp_android/opentabs.css ('k') | chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698