forked from sodapng/voice-over-translation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
37 lines (33 loc) · 743 Bytes
/
styles.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
.translation-btn,
.btn-error::before {
box-sizing: border-box;
position: absolute;
left: 50%;
box-shadow: 0px 0px 10px 2px rgba(34, 60, 80, 0.5);
border-radius: 0.5rem;
}
.translation-btn {
width: 5rem;
padding: 1.5rem;
background: no-repeat center black
url(https://icongr.am/entypo/language.svg?size=25&color=ffffff);
top: 3rem;
opacity: 0;
}
.translation-btn:hover {
opacity: 1;
}
.btn-error::before {
content: attr(data-error);
font-size: 1.3rem;
top: 4rem;
transform: translate(-50%);
width: max-content;
padding: 0.5rem;
color: white;
background-color: black;
}
.btn-succes {
background: no-repeat center black
url(https://icongr.am/entypo/controller-paus.svg?size=20&color=ffffff);
}