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

Unified Diff: chrome/browser/resources/print_preview/print_preview.css

Issue 10408074: remove chrome_shared.css once and for all (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | « chrome/browser/resources/feedback.js ('k') | chrome/browser/resources/print_preview/print_preview.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/print_preview/print_preview.css
diff --git a/chrome/browser/resources/print_preview/print_preview.css b/chrome/browser/resources/print_preview/print_preview.css
index 8ce7f0afbb163ccfc38ac002610510c02b64415b..b484c2a1e9c429ff1723c7745f6976b081992402 100644
--- a/chrome/browser/resources/print_preview/print_preview.css
+++ b/chrome/browser/resources/print_preview/print_preview.css
@@ -15,23 +15,37 @@ body {
/* Header */
header {
+ -webkit-padding-end: 14px;
-webkit-padding-start: 16px;
}
#print-preview #navbar-container {
+ -webkit-border-end: 1px solid rgb(198, 201, 206);
-webkit-box-orient: vertical;
-webkit-user-select: none;
+ background-color: #f1f1f1;
+ bottom: 0;
display: -webkit-box;
+ /* We set both left and right for the sake of RTL. */
+ left: 0;
+ position: fixed;
+ right: 0;
+ top: 0;
width: 310px;
+ z-index: 2;
}
-#print-preview #navbar-content-title {
- cursor: default;
- text-align: start;
+#navbar-content-title {
+ color: #333;
+ font-size: 200%;
+ font-weight: normal;
+ margin: 0;
+ padding-bottom: 14px;
+ padding-top: 13px;
+ text-shadow: white 0 1px 2px;
}
#print-header {
- -webkit-padding-end: 14px;
padding-bottom: 10px;
padding-top: 10px;
}
@@ -299,12 +313,18 @@ html[dir='rtl'] #decrement {
/* PDF view */
-#print-preview #mainview {
+#mainview {
-webkit-margin-start: 310px;
-webkit-padding-start: 0;
-webkit-user-select: none;
background-color: #ccc;
+ bottom: 0;
+ left: 0;
overflow: hidden;
+ position: absolute;
+ right: 0;
+ top: 0;
+ z-index: 1;
}
#pdf-viewer {
« no previous file with comments | « chrome/browser/resources/feedback.js ('k') | chrome/browser/resources/print_preview/print_preview.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698