-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.css
More file actions
105 lines (90 loc) · 1.64 KB
/
Copy pathpopup.css
File metadata and controls
105 lines (90 loc) · 1.64 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
:root {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
color: #111
}
body {
width: 280px;
min-width: 280px;
padding: 1em;
}
h1 {
font-weight: 200;
font-size: xx-large;
margin: 0 0 0.5em;
color: #f60;
}
h2 {
font-weight: 500;
font-size: large;
margin: 0 0 0.5em;
}
section {
margin-bottom: 1em;
}
select {
flex-grow: 1;
padding: 0.5em;
border: 1px solid #ccc;
background-color: #fff;
border-radius: 0.5em;
padding-right: 2em;
}
.controls {
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 0.5em;
button {
flex-grow: 1;
}
}
#custom-size {
display: flex;
width: 100%;
box-sizing: border-box;
align-items: center;
gap: 0.5em;
}
#custom-size[hidden] {
display: none;
}
#custom-w,
#custom-h {
flex: 1 1 0;
min-width: 0;
padding: 0.5em;
border: 1px solid #ccc;
border-radius: 0.5em;
font-size: inherit;
text-align: center;
box-sizing: border-box;
}
button {
color: #222;
padding: 0.5em 2em;
border-radius: 0.5em;
border: 1px solid #0006;
background: linear-gradient(to bottom, #fff, #eee);
box-shadow: #0002 0px 2px 4px 0;
cursor: pointer;
transition: all 0.2s ease;
&:hover {
background: linear-gradient(to bottom, #fff, #fff);
box-shadow: #0002 0px 3px 8px 0;
}
&:active {
background: linear-gradient(to bottom, #eee, #ddd);
box-shadow: #0002 0px 1px 2px 0;
}
&:disabled {
opacity: 0.5;
cursor: not-allowed;
box-shadow: none;
background: linear-gradient(to bottom, #f9f9f9, #f0f0f0);
}
}
#status {
font-size: small;
color: #666;
}