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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright 2014 The Chromium Authors. All rights reserved. 1 /* Copyright 2014 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 /* Set the global 'box-sizing' state to 'border-box'. 5 /* Set the global 'box-sizing' state to 'border-box'.
6 * *::after and *::before used to select pseudo-elements not selectable by *. */ 6 * *::after and *::before used to select pseudo-elements not selectable by *. */
7 7
8 *, 8 *,
9 *::after, 9 *::after,
10 *::before { 10 *::before {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 /* Base typography. */ 74 /* Base typography. */
75 75
76 html { 76 html {
77 font-size: 14px; 77 font-size: 14px;
78 height: 100%; 78 height: 100%;
79 } 79 }
80 80
81 body { 81 body {
82 height: 100%; 82 height: 100%;
83 line-height: 1.4; 83 line-height: 1.4;
84 margin: 0px auto;
84 text-rendering: optimizeLegibility; 85 text-rendering: optimizeLegibility;
85 transition-property: color, background-color; 86 transition-property: color, background-color;
86 transition-duration: 0.5s; 87 transition-duration: 0.5s;
87 transition-timing-function: ease; 88 transition-timing-function: ease;
88 overflow-x: hidden; 89 overflow-x: hidden;
89 -webkit-overflow-scrolling: touch; 90 -webkit-overflow-scrolling: touch;
90 } 91 }
91 92
92 /* Classes for light, dark and sepia themes. 93 /* Classes for light, dark and sepia themes.
93 * Must agree with classes returned by useTheme() in dom_distiller_viewer.js 94 * Must agree with classes returned by useTheme() in dom_distiller_viewer.js
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 h5, 150 h5,
150 h6 { 151 h6 {
151 line-height: 1.296; 152 line-height: 1.296;
152 margin-bottom: 0.444rem; 153 margin-bottom: 0.444rem;
153 } 154 }
154 155
155 /* Content. */ 156 /* Content. */
156 157
157 /* Margins for Show Original link. */ 158 /* Margins for Show Original link. */
158 159
159 #showOriginal { 160 #closeReaderView {
160 margin: auto 1.296rem 1.296rem 5%; 161 background-color: #FFFFFF;
162 border-top: 1px solid #E0E0E0;
163 color: #4285F4;
164 flex: 0 0 auto;
165 font-family: 'Roboto-Medium', 'Open Sans', sans-serif;
166 font-weight: 700;
167 line-height: 14px;
168 margin-top: 24px;
169 padding: 24px 16px;
170 font-size: 14px;
171 text-align: right;
172 text-decoration: none;
173 text-transform: uppercase;
174 width: 100%;
161 } 175 }
162 176
163 #content { 177 #content {
164 margin: 0.2rem 2.2%; 178 margin: 0.2rem 2.2%;
165 } 179 }
166 180
167 /* Main margins. */ 181 #mainContent {
168 182 flex: 1 1 auto;
169 body { 183 margin: 0px auto;
170 max-width: 800px; 184 max-width: 800px;
171 margin: 0px auto 0px auto; 185 width: 100%;
172 }
173
174 #mainContent {
175 margin: auto 0px;
176 } 186 }
177 187
178 #articleHeader { 188 #articleHeader {
179 background-color: rgb(73, 73, 73); 189 background-color: rgb(73, 73, 73);
180 color: white; 190 color: white;
181 min-height: 90px; 191 min-height: 90px;
182 width: 100%; 192 width: 100%;
183 } 193 }
184 194
185 #titleCollapse { 195 #titleCollapse {
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 overflow-x: scroll; 326 overflow-x: scroll;
317 padding: .5em; 327 padding: .5em;
318 } 328 }
319 329
320 .hidden { 330 .hidden {
321 display: none; 331 display: none;
322 } 332 }
323 333
324 /* Footer feedback form. */ 334 /* Footer feedback form. */
325 #contentWrap { 335 #contentWrap {
336 display: flex;
337 flex-flow: column;
326 min-height: 100%; 338 min-height: 100%;
327 overflow: auto; 339 overflow: auto;
328 padding-bottom: 120px;
329 position: relative; 340 position: relative;
330 z-index: 1; 341 z-index: 1;
331 } 342 }
332 343
333 #feedbackContainer { 344 #feedbackContainer {
334 font-size: 14px; 345 font-size: 14px;
335 position: relative; 346 position: relative;
336 z-index: 2; 347 z-index: 2;
337 } 348 }
338 349
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 border-color: rgb(250,36,36); 828 border-color: rgb(250,36,36);
818 } 829 }
819 830
820 #loader.red .circle.red .mask.first .mover { 831 #loader.red .circle.red .mask.first .mover {
821 background-color: rgb(33,89,189); 832 background-color: rgb(33,89,189);
822 } 833 }
823 834
824 #loader.red .circle.red .mask.second .mover { 835 #loader.red .circle.red .mask.second .mover {
825 background-color: rgb(250,36,36); 836 background-color: rgb(250,36,36);
826 } 837 }
OLDNEW
« 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