-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
101 lines (87 loc) · 1.76 KB
/
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
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
body,
#reviews-container,
#select-option,
#scroll-button,
#scroll-to-top-button {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}
#reviews-container {
position: fixed;
top: 20px;
right: 20px;
background-color: rgba(255, 255, 255, 0.95);
border-radius: 12px;
padding: 16px;
font-size: 14px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
z-index: 9999;
max-width: 280px;
transition: all 0.3s ease;
}
#reviews-score,
#trusted-reviews,
#review-trend {
margin-bottom: 12px;
padding: 8px;
border-radius: 8px;
transition: all 0.3s ease;
}
.controls-container {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 16px;
}
#select-option {
padding: 8px;
border-radius: 6px;
border: 1px solid #e0e0e0;
background-color: white;
font-size: 14px;
transition: all 0.3s ease;
}
#select-option:focus {
outline: none;
border-color: #4285f4;
box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}
.scroll-buttons {
display: flex;
gap: 8px;
}
#scroll-button,
#scroll-to-top-button {
padding: 6px 10px;
border-radius: 4px;
border: none;
color: white;
font-size: 12px;
cursor: pointer;
transition: all 0.3s ease;
}
#scroll-button {
background-color: #4285f4;
}
#scroll-button:hover {
background-color: #3367d6;
}
#scroll-to-top-button {
background-color: #34a853;
width: auto;
padding: 6px 8px;
}
#scroll-to-top-button:hover {
background-color: #2e8b47;
}
#review-trend {
font-weight: 500;
color: white;
}
#review-trend.trend-unavailable {
background-color: #9e9e9e;
}
/* Add hover effect for the container */
#reviews-container:hover {
box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}