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. */
5 /* Google Drive welcome banners.*/
6 .drive-welcome-wrapper {
7 /* This image looks good in high DPI as is. */
8 background-image: url
(chrome://resources
/images
/clouds
.png
);
9 background-repeat: repeat-x
;
14 background-image: -webkit-image-set
(
15 url
('../images/files/ui/drive_logo.png') 1x,
16 url
('../images/files/ui/2x/drive_logo.png') 2x);
17 background-repeat: no-repeat
;
20 .drive-welcome-links {
21 -webkit-box-orient: horizontal
;
25 .drive-welcome-button {
26 -webkit-user-select: none
;
27 background-image: linear-gradient
(to bottom
, #f5f5f5, #f1f1f1);
28 border: 1px solid rgba
(0,0,0,0.1);
32 display: inline-block
;
39 transition: all
218ms;
42 .drive-welcome-button:hover {
43 background-image: linear-gradient
(to bottom
, #f8f8f8, #f1f1f1);
44 border-color: #C6C6C6;
45 box-shadow: 0 1px 1px rgba
(0,0,0,0.1);
50 .drive-welcome-button:active {
51 background-image: linear-gradient
(to bottom
, #f6f6f6, #f1f1f1);
52 box-shadow: inset
0 1px 2px rgba
(0,0,0,0.1);
56 .drive-welcome-button.drive-welcome-start {
58 linear-gradient
(to bottom
, rgb
(77, 144, 254), rgb
(71, 135, 237));
59 border-color: rgb
(48, 121, 237);
61 text-decoration: none
;
64 .drive-welcome-button.drive-welcome-start:hover {
66 linear-gradient
(to bottom
, rgb
(77, 144, 254), rgb
(53, 122, 232));
67 border-color: rgb
(47, 91, 183);
68 box-shadow: 0 1px 1px rgba
(0,0,0,0.1);
71 /* Header welcome banner. */
72 .drive-welcome.header {
77 transition: height
180ms ease
, visibility
0 linear
180ms;
80 .dialog-container:not([drive-welcome='header']) .drive-welcome.header {
85 .drive-welcome.header .drive-welcome-wrapper {
86 -webkit-box-orient: horizontal
;
87 background-size: 308px 100px;
96 .drive-welcome.header .drive-welcome-icon {
97 background-position: center
18px;
98 background-size: 51px 44px;
102 .drive-welcome.header .drive-welcome-message {
104 -webkit-box-orient: vertical
;
105 display: -webkit-box
;
108 .drive-welcome.header .drive-welcome-title {
114 .drive-welcome.header .drive-welcome-text {
118 .drive-welcome.header .drive-welcome-dismiss {
122 /* Full page welcome banner. */
123 .drive-welcome.page {
131 .dialog-container:not([drive-welcome='page']) .drive-welcome.page {
135 .drive-welcome.page .cr-dialog-close {
139 .drive-welcome.page .drive-welcome-wrapper {
140 -webkit-box-align: center
;
141 -webkit-box-orient: vertical
;
142 background-size: 520px 173px;
144 display: -webkit-box
;
153 .drive-welcome.page .drive-welcome-icon {
154 background-position: center center
;
162 .drive-welcome.page .drive-welcome-message {
168 .drive-welcome.page .drive-welcome-title {
174 .drive-welcome.page .drive-welcome-text {
178 .drive-welcome.page .drive-welcome-dismiss {
182 body:not
([type
='full-page']) .drive-welcome
.page
.drive-welcome-wrapper
{
183 background-position: 0 0;
186 body:not
([type
='full-page']) .drive-welcome
.page
.drive-welcome-icon
{