summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/file_manager/css/dialogs.css
blob: fa0417d2cb0c03be59a64cb8d8199012fff20f2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
 * Copyright (c) 2011 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

.cr-dialog-container {
  position: absolute;
  -webkit-user-select: none;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;

  background: -webkit-radial-gradient(rgba(127, 127, 127, 0.5),
                                      rgba(127, 127, 127, 0.5) 35%,
                                      rgba(0, 0, 0, 0.7));
  opacity: 0;
  -webkit-transition: opacity 0.25s linear;
  overflow: hidden;

  z-index: 9999;
}

.cr-dialog-frame {
  position: absolute;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-box-shadow: 5px 5px 5px rgba(100, 100, 100, 0.5);

  -webkit-transition-duration:  0.25s;
  -webkit-transition-property: none;

  min-width: 25%;
  max-width: 75%;
  border: 1px #aaa solid;
  border-radius: 2px;
  background-color: white;
  padding: 15px;
}

.cr-dialog-text {
  padding-bottom: 10px;
}

.cr-dialog-frame input {
  -webkit-box-sizing: border-box;
  width: 100%;
}

.cr-dialog-buttons {
  display: -webkit-box;
  -webkit-box-orient: horizontal;
  padding-top: 10px;
  -webkit-box-pack: end;
}