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

Side by Side Diff: chrome/browser/resources/set_as_default_browser.css

Issue 10539169: Prototype version of the first-run dialog for Windows 8 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update after owners' review. Created 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
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 /* The main (outer) container. */
6 #metro-setup-outer-container {
7 -webkit-box-align: center;
8 -webkit-box-orient: vertical;
9 -webkit-box-pack: center;
10 -webkit-transition: 200ms opacity;
11 background-color: rgba(255, 255, 255, 0.75);
12 bottom: 0;
13 display: -webkit-box;
14 left: 0;
15 overflow: auto;
16 padding: 20px;
17 position: fixed;
18 right: 0;
19 top: 0;
20 }
21
22 /* The page block within the outer container. */
23 #metro-setup-outer-container .page {
24 -webkit-border-radius: 3px;
25 -webkit-box-orient: vertical;
26 -webkit-user-select: none;
27 background: white;
28 background-color: white;
29 color: #333;
30 display: -webkit-box;
31 margin-bottom: 6px;
32 margin-top: 6px;
33 min-width: 400px;
34 padding: 0;
35 position: relative;
36 width: 400px;
37 }
38
39 #metro-setup-outer-container .page .content-area {
40 -webkit-box-flex: 1;
41 overflow: auto;
42 padding: 6px 17px 26px;
43 }
44
45 #metro-setup-overlay {
46 background-color: transparent;
47 margin: 0;
48 width: 100%;
49 }
50
51 /* Page Title. */
52 #metro-title-container {
53 display: block;
54 margin: 37px 44px 35px;
55 text-align: center;
56 }
57
58 #metro-setup-outer-container .page h1 {
59 border-bottom: 0;
60 color: rgb(34, 34, 34);
61 font-size: 340%;
62 font-weight: normal;
63 margin: 0;
64 padding-bottom: 0;
65 padding-top: 13px;
66 text-align: center;
67 }
68
69 #metro-setup-outer-container .page h2 {
70 border-bottom: 0;
71 color: rgb(102, 102, 102);
72 font-size: 160%;
73 font-weight: normal;
74 text-align: center;
75 }
76
77 #metro-setup-overlay .content-area {
78 padding: 10px 15px;
79 text-align: end;
80 }
81
82 /* Action buttons. */
83 #metro-action-box button {
84 -webkit-margin-end: 0.4em;
85 -webkit-margin-start: 0;
86 -webkit-transition: all 218ms;
87 -webkit-user-select: none;
88 border-radius: 2px;
89 display: inline-block;
90 font-size: 13px;
91 height: 32px;
92 line-height: 27px;
93 margin-top: 0;
94 min-width: 80px;
95 }
96
97 #metro-action-box button:hover {
98 -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
99 -webkit-transition: all 0;
100 }
101
102 #metro-action-box button:focus {
103 -webkit-box-shadow: inset 0 0 0 1px white;
104 outline: none;
105 z-index: 4 !important;
106 }
107
108 #metro-action-box button:active,
109 #metro-action-box button:focus:active {
110 -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
111 }
112
113 #metro-action-box button:focus:hover {
114 -webkit-box-shadow: inset 0 0 0 1px white, 0 1px 1px rgba(0, 0, 0, 0.1);
115 }
116
117 #metro-action-box button[disabled],
118 #metro-action-box button[disabled]:hover,
119 #metro-action-box button[disabled]:active {
120 -webkit-box-shadow: none;
121 background-color: rgb(77, 144, 254);
122 border: 1px solid rgb(48, 121, 237);
123 color: white;
124 opacity: 0.5;
125 }
126
127 /* Launch button has a special look-and-feel. */
128 #metro-action-box #launch-button {
129 background-image: -webkit-linear-gradient(top, rgb(77, 144, 254),
130 rgb(71, 135, 237));
131 border: 1px solid rgb(48, 121, 237);
132 color: white;
133 font-weight: bold;
134 }
135
136 #metro-action-box #launch-button:hover {
137 background-image: -webkit-linear-gradient(top, rgb(77, 144, 254),
138 rgb(53, 122, 232));
139 border-color: rgb(47, 91, 183);
140 color: white;
141 }
142
143 #metro-action-box #launch-button:focus {
144 border-color: rgb(77, 144, 254);
145 outline: none;
146 z-index: 4 !important;
147 }
148
149 #metro-action-box #return-button {
150 -webkit-margin-end: auto;
151 -webkit-margin-start: 30px;
152 }
153
154 .button-strip {
155 padding: 7px;
156 }
OLDNEW
« no previous file with comments | « chrome/browser/first_run/first_run_win.cc ('k') | chrome/browser/resources/set_as_default_browser.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698