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

Side by Side Diff: chrome/browser/resources/options2/options_page.css

Issue 9265020: [uber] make the navigation controls an iframe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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 | Annotate | Revision Log
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
4 */
5
6 body {
7 position: relative;
8 }
9
1 #main-content { 10 #main-content {
2 display: -webkit-box; 11 display: -webkit-box;
3 position: absolute; 12 position: absolute;
4 left: 0; 13 left: 0;
5 right: 0; 14 right: 0;
6 top: 0; 15 top: 0;
7 bottom: 0; 16 bottom: 0;
8 } 17 }
9 18
10 #mainview { 19 #mainview {
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 132
124 /* 133 /*
125 * Override the font-size rule in shared_options.css file. 134 * Override the font-size rule in shared_options.css file.
126 * 16 px font-size proved to be more touch friendly. It increases the touchable 135 * 16 px font-size proved to be more touch friendly. It increases the touchable
127 * area for buttons and input boxes. 136 * area for buttons and input boxes.
128 */ 137 */
129 html[touch-optimized] body { 138 html[touch-optimized] body {
130 font-size: 16px; 139 font-size: 16px;
131 } 140 }
132 141
133 #overlay { 142 #overlay {
csilv 2012/01/20 03:30:11 This seems useful to other web-ui, why move it out
Evan Stade 2012/01/20 03:36:07 it is not used by other webui. If another webui wa
csilv 2012/01/20 03:55:59 That's sounds fine. The extensions page does have
134 /* -155px hack compensates for uber navigation area. */ 143 -webkit-box-align: center;
135 left: -155px; 144 -webkit-box-orient: vertical;
136 /* This padding keeps the dialog from moving too far to the left. 145 -webkit-box-pack: center;
137 * 155px (navigation area) + 40px (dialog shadow) = 195px */ 146 -webkit-transition: 200ms opacity;
138 padding-left: 195px; 147 background-color: rgba(255, 255, 255, 0.75);
139 padding-right: 195px; 148 bottom: 0;
Dan Beam 2012/01/20 00:59:02 confused, why bottom & top? some magic I'm unaware
149 display: -webkit-box;
150 left: 0;
151 overflow: auto;
152 padding: 20px;
153 padding-bottom: 130px;
154 position: fixed;
155 right: 0;
156 top: 0;
140 z-index: 10; 157 z-index: 10;
141 } 158 }
142 159
143 .raw-button, 160 .raw-button,
144 .raw-button:hover, 161 .raw-button:hover,
145 .raw-button:active { 162 .raw-button:active {
146 -webkit-box-shadow: none; 163 -webkit-box-shadow: none;
147 background-color: transparent; 164 background-color: transparent;
148 background-repeat: no-repeat; 165 background-repeat: no-repeat;
149 border: none; 166 border: none;
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 url('chrome://theme/IDR_CONTROLLED_SETTING_RECOMMENDED_LARGE'); 748 url('chrome://theme/IDR_CONTROLLED_SETTING_RECOMMENDED_LARGE');
732 } 749 }
733 750
734 html[dir='rtl'] .controlled-setting-bubble-text { 751 html[dir='rtl'] .controlled-setting-bubble-text {
735 background-position: right top; 752 background-position: right top;
736 } 753 }
737 754
738 .controlled-setting-bubble-action { 755 .controlled-setting-bubble-action {
739 padding: 0 !important; 756 padding: 0 !important;
740 } 757 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698