forked from GoogleChrome/chrome-extensions-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.css
72 lines (64 loc) · 1.28 KB
/
popup.css
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/**
* Copyright (c) 2012 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.
*/
body {
margin: 5px 10px 10px;
}
h1 {
color: #53637D;
font: 26px/1.2 Helvetica, sans-serif;
font-size: 200%;
margin: 0;
padding-bottom: 4px;
text-shadow: white 0 1px 2px;
}
label {
color: #222;
font: 18px/1.4 Helvetica, sans-serif;
margin: 0.5em 0;
display: inline-block;
}
form {
transition: transform 0.25s ease;
width: 563px;
}
button {
display: block;
border-radius: 2px;
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
-webkit-user-select: none;
background: -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
border: 1px solid #AAA;
color: #444;
margin-bottom: 0;
min-width: 4em;
padding: 3px 12px;
margin-top: 0;
font-size: 1.1em;
}
.overlay {
display: block;
text-align: center;
position: absolute;
left: 50%;
top: 50%;
width: 500px;
padding: 20px;
margin: -40px 0 0 -270px;
opacity: 0;
background: rgba(0, 0, 0, 0.75);
border-radius: 5px;
color: #FFF;
font: 1.5em/1.2 Helvetica Neue, sans-serif;
transition: all 1.0s ease;
transform: scale(0);
}
.overlay a {
color: #FFF;
}
.overlay.visible {
opacity: 1;
transform: scale(1);
}