-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpopup.css
More file actions
110 lines (95 loc) · 1.79 KB
/
popup.css
File metadata and controls
110 lines (95 loc) · 1.79 KB
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
body {
width: 250px;
font-family: "Arial", "sans-serif";
font-size: 14px;
user-select: none;
background-color: #fafafa;
}
div#url-wrapper {
border-bottom: 1px solid #aaa;
}
div#wb-icon {
width: 50px;
height: 50px;
margin: auto;
background: url('icon-128.png') no-repeat;
background-size: contain;
}
div#favicon {
width: 16px;
height: 16px;
background-image: url('chrome://favicon/https://example.org') no-repeat;
background-size: contain;
margin-bottom: -2px;
display: inline-block;
}
div#url {
display: inline-block;
max-width: 220px;
text-overflow: ellipsis;
overflow: hidden;
}
div#current-url {
font-size: 14px;
text-align: center;
font-weight: bold;
padding: 10px 0 5px 0;
}
div#options-wrapper {
width: 80%;
margin: auto;
position: relative;
padding: 10px 0 10px 0;
}
div#options-wrapper-overlay {
background-color: #fafafadd;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
div#activate-wb {
padding: 10px 0 10px 0;
}
div.width-setting {
width: 150px;
height: 25px;
margin: 10px auto;
}
div.width-setting > button {
width: 40px;
height: 100%;
margin: 0;
padding: 0;
background-color: #ddd;
border: 1px solid black;
}
div.width-setting > input {
width: calc(100% - 2*40px);
height: calc(100% - 2px);
margin: 0;
padding: 0;
border-top: 1px solid black;
border-bottom: 1px solid black;
border-right-style: none;
border-left-style: none;
text-align: center;
}
div.width-setting > input:focus, div.width-setting > button:focus {
outline: none;
}
div#method-selection {
margin: 10px auto;
}
/* Hide arrows in number field */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
/* Firefox */
input[type=number] {
-moz-appearance: textfield;
}