-
Notifications
You must be signed in to change notification settings - Fork 0
/
ucw.css
76 lines (69 loc) · 1.55 KB
/
ucw.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
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
/* Element before any script is run */
.uc-widget {
border: 0;
}
/* UC Widget main container */
.uc-widget-container {
position: relative;
width: 100%;
min-height: 200px;
}
/* UC Widget background image */
.uc-widget-background {
width: 100%;
height: 100%;
min-height: 200px;
object-fit: cover;
}
/* UC Widget embedding containing text and buttons */
.uc-widget-embedding {
position: absolute;
display: grid;
justify-content: center;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
background: rgba(255, 255, 255, 0.95);
border-radius: 4px;
padding: 10px;
}
/* UC Widget embedding adjustments for different displays */
@media (min-device-width: 0) {
.uc-widget-embedding {
width: 90%;
}
}
@media (min-device-width: 768px) {
.uc-widget-embedding {
width: 60%;
}
}
/* UC Widget embedding text styles */
.uc-widget-text {
line-height: 1.6rem;
word-spacing: .05rem;
margin: 1.2em 0;
text-align: center;
max-width: 400px;
}
/* UC Widget controls container styles */
.uc-widget-control {
display: grid;
justify-content: center;
}
/* UC Widget embedding accept button styles */
.uc-widget-accept {
background: #0096ff;
cursor: pointer;
-webkit-transition: background-color 0.2s ease-in-out;
transition: background-color 0.2s ease-in-out;
border: none;
border-radius: 4px;
color: #fafafa;
justify-content: center;
padding: 12px 16px;
max-width: 350px;
}
.uc-widget-accept:hover {
background: #0078cc;
}