-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent.css
More file actions
38 lines (35 loc) · 723 Bytes
/
Copy pathcontent.css
File metadata and controls
38 lines (35 loc) · 723 Bytes
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
.dutch-postal-code {
position: relative;
background-color: rgba(255, 235, 59, 0.3);
border-radius: 2px;
padding: 0 2px;
margin: 0 1px;
display: inline-block;
}
.copy-postal-code {
position: absolute;
top: -18px;
right: -5px;
background-color: #fff;
border: 1px solid #ccc;
border-radius: 3px;
width: 20px;
height: 20px;
padding: 0;
font-size: 12px;
cursor: pointer;
opacity: 0;
transition: opacity 0.2s ease;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
justify-content: center;
}
.dutch-postal-code:hover .copy-postal-code {
opacity: 1;
}
.copy-postal-code.copied {
background-color: #4caf50;
color: white;
border-color: #4caf50;
}