forked from natedsaint/chromewut
-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.css
152 lines (152 loc) · 3.61 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
* {
box-sizing: border-box;
}
body {
font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
color:#444;
min-width:300px;
text-align:center;
padding: 5px;
}
body a {
cursor:pointer;
transition:color .1s;
}
textarea {
font-family: "Raleway";
overflow:hidden;
text-align: center;
border:0;
background:none;
resize:none;
box-shadow:none;
outline:none;
cursor:pointer;
width:100%;
display:inline-block;
margin:0;
padding: 8px 36px 12px 0;
}
input[type=text], input[type=url] {
display:block;
margin:0 auto;
width:100%;
text-align: left;
border-radius:4px;
border:1px solid #aaa;
height:20px;
padding: 12px;
}
.linkOptions {
font-size: 0.8em;
}
.copyAsapContainer {
display: inline-block;
height: 48px;
width: 50%;
}
.generateButton:hover {
font-family: "Raleway";
background-color: #0F495C;
color:#fff;
}
.generateButton {
background-color:#666;
border-color: #0F566C;
padding:12px;
margin-top:10px;
display:inline-block;
color:#fff;
border-radius:4px;
text-transform: uppercase;
width: 40%;
}
.generateButton.disabled {
cursor:wait;
background-color:#333;
}
.formFields label {
display:block;
margin: 10px 0 6px 0;
text-align: left;
}
.linkHolder {
width:100%;
margin-top:12px;
position:relative;
margin:10px auto;
opacity:0;
pointer-events:none;
transition:opacity 1s linear;
border: 1px dotted #083D41;
border-radius:4px;
overflow:hidden;
padding:0;
height:38px;
}
.linkHolder::after {
content:'Copied to Clipboard';
display:block;
width:100%;
height:14px;
padding:12px 0;
background:rgba(0,0,0,.8);
color: #fff;
bottom:0;
left:0;
position:absolute;
pointer-events:none;
transition:opacity 0.5s linear;
opacity:0;
}
.linkHolder.copied::after {
opacity:1;
pointer-events:auto;
}
.loaded {
opacity:1;
pointer-events:inherit;
}
#copyButton {
content:'';
display:inline-block;
float:right;
padding:18px;
background:url(copy.png) no-repeat center center #083D41;
border-top-right-radius:4px;
border-bottom-right-radius:4px;
cursor:pointer;
transition:background-color 1s linear;
position: absolute;
top: 0;
right: 0;
}
#copyButton:hover {
background-color:#2A5F63;
transition:background-color .2s linear;
}
.alertContainer {
transition: visibility 0.3s linear, opacity 0.3s linear;
visibility: hidden;
opacity: 0;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border: 20px solid rgba(0, 0, 0, 0.5);
}
.alertContainer.showing {
visibility:visible;
opacity:1;
}
.alertContainer .wrapper {
background-color: #fff;
padding: 15px 10px 10px 10px;
height: 100%;
overflow-y: auto;
}
.alertContainer .message {
padding-bottom: 10px;
text-align: left;
}