-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
117 lines (117 loc) · 2.49 KB
/
popup.html
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
<!doctype html>
<html>
<head>
<title>Popup | Gistdeck Your CSS</title>
<style>
html {
border-radius: 10px;
height: 100%;
}
body {
background-color: #333;
border: 10px solid #bbb;
border-radius: 5px;
color: white;
font-family: sans-serif;
margin: 0;
width: 300px;
padding: 10px;
}
a {
border-bottom: 1px solid;
color: #fff;
text-decoration: none;
}
a:hover {
border-bottom: none;
}
a:focus {
outline: none;
}
button {
cursor: pointer;
}
button {
-webkit-border-radius: 3px;
border-radius: 3px;
background-color: #eee;
color: #000;
display: block;
font-family: arial,helvetica,sans-serif;
font-size: 15px;
font-weight: bold;
margin: 5px auto;
padding: 6px 0;
width: 135px;
border: 1px solid #000;
}
button:first-child {
margin-top: 0;
}
button:last-child {
margin-bottom: 0;
}
button:not(:disabled):hover,
button:not(:disabled):active {
color: #eee;
}
button:not(:disabled):hover {
background: #555
}
button:not(:disabled):active {
background: #333
}
button:focus {
outline: none;
}
button.set {
background: #f86;
border-color: #f32;
color: #000;
}
button:disabled {
color: graytext;
cursor: default;
}
#wrapper {
display: table-row;
}
#script-button-wrapper,
#style-buttons {
display: table-cell;
height: 100%;
width: 135px;
}
#script-button-wrapper {
border-right: 5px solid #fff;
padding-right: 10px;
position: relative;
}
#script-button-wrapper button {
position: absolute;
top: 0;
bottom: 0;
}
#style-buttons {
border-left: 5px solid #fff;
padding-left: 10px;
}
#message {
background-color: #fff;
color: #944;
margin-top: 10px;
padding: 10px;
}
</style>
</head>
<body>
<div id="wrapper">
<div id="script-button-wrapper">
<button id="script-button">Run</button>
</div>
<div id="style-buttons"></div>
</div>
<div id="message"></div>
<script src="popup.js"></script>
</body>
</html>