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

Unified Diff: components/dom_distiller/core/css/distilledpage.css

Issue 1160113004: HTML exit reader view button (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up Created 5 years, 6 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 | « build/ios/grit_whitelist.txt ('k') | components/dom_distiller/core/css/distilledpage_ios.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/dom_distiller/core/css/distilledpage.css
diff --git a/components/dom_distiller/core/css/distilledpage.css b/components/dom_distiller/core/css/distilledpage.css
index 9ce71eb54e021f3c1c5902f0e2e7340bae54b0dd..e1b42ff0a4218e84ba211b5811399ad098efabe1 100644
--- a/components/dom_distiller/core/css/distilledpage.css
+++ b/components/dom_distiller/core/css/distilledpage.css
@@ -81,6 +81,7 @@ html {
body {
height: 100%;
line-height: 1.4;
+ margin: 0px auto;
text-rendering: optimizeLegibility;
transition-property: color, background-color;
transition-duration: 0.5s;
@@ -156,23 +157,32 @@ h6 {
/* Margins for Show Original link. */
-#showOriginal {
- margin: auto 1.296rem 1.296rem 5%;
+#closeReaderView {
+ background-color: #FFFFFF;
+ border-top: 1px solid #E0E0E0;
+ color: #4285F4;
+ flex: 0 0 auto;
+ font-family: 'Roboto-Medium', 'Open Sans', sans-serif;
+ font-weight: 700;
+ line-height: 14px;
+ margin-top: 24px;
+ padding: 24px 16px;
+ font-size: 14px;
+ text-align: right;
+ text-decoration: none;
+ text-transform: uppercase;
+ width: 100%;
}
#content {
margin: 0.2rem 2.2%;
}
-/* Main margins. */
-
-body {
- max-width: 800px;
- margin: 0px auto 0px auto;
-}
-
#mainContent {
- margin: auto 0px;
+ flex: 1 1 auto;
+ margin: 0px auto;
+ max-width: 800px;
+ width: 100%;
}
#articleHeader {
@@ -323,9 +333,10 @@ pre {
/* Footer feedback form. */
#contentWrap {
+ display: flex;
+ flex-flow: column;
min-height: 100%;
overflow: auto;
- padding-bottom: 120px;
position: relative;
z-index: 1;
}
« no previous file with comments | « build/ios/grit_whitelist.txt ('k') | components/dom_distiller/core/css/distilledpage_ios.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698