-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
247 lines (205 loc) · 5.2 KB
/
style.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
/* Cookie Bar Styles */
#RMcookiePermissionContent {
display: flex;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background-color: #f8f9fa;
padding: 10px;
box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
justify-content: space-between;
align-items: center;
z-index: 1000;
}
.RM-cookie-bar {
background-color: #000; /* Rast Mobile dark color */
color: #fff;
padding: 20px;
position: fixed;
bottom: 0;
width: 100%;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
display: flex;
align-items: center;
justify-content: space-between;
}
.RM-cookie-logo {
width: 75px; /* or your preferred size */
margin-right: 15px;
}
.RM-cookie-message {
margin: 0;
color: #333;
}
.RM-cookie-buttons button {
margin-left: 10px;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
color:white;
}
.RM-cookie-buttons button:hover {
background-color: #0056b3;
}
.RM-cookie-socials {
display: flex;
align-items: center;
margin-right: 15px; /* Sağ kenardan biraz boşluk */
}
.social-link {
color: #000000;
margin-left: 10px; /* ikonlar arası boşluk */
font-size: 20px; /* İkon büyüklüğü */
transition: color 0.7s ease; /* Renk değişimi için geçiş efekti */
}
.social-link:hover {
color: #aaa; /* Hover durumunda ikon rengi */
}
.RM-btn-accept {
background-color: #4CAF50; /* Rast Mobile's accent color for acceptance */
}
.RM-btn-reject {
background-color: #f44336; /* A contrasting color for rejection */
}
.RM-btn-settings {
background-color: #008CBA; /* A neutral color for settings */
}
/* Cookie Modal Styles */
.RM-cookie-modal {
position: fixed;
z-index: 1001;
left: 50%;
top: 50%;
width: 100%; /* Full width on smaller screens */
max-width: 100%; /* Ensure modal does not exceed screen size */
margin: 0 10px; /* Add some margin to the left and right */
transform: translate(-50%, -50%) scale(1); /* Adjust scale for smaller screens */
background-color: white;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
display: none;
}
.RM-cookie-modal-content {
padding: 20px;
}
.RM-cookie-modal-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.RM-cookie-modal-title {
font-size: 20px;
margin: 0;
}
.RM-cookie-modal-close-btn {
border: none;
background: none;
cursor: pointer;
font-size: 20px;
}
.RM-cookie-modal-body ul {
list-style: none;
padding: 0;
}
.RM-cookie-modal-footer {
margin-top: 15px;
display: flex;
justify-content: flex-end;
}
.RM-cookie-modal-footer .RM-btn {
padding: 8px 16px;
border: none;
border-radius: 4px;
cursor: pointer;
font-weight: bold;
transition: background-color 0.3s ease;
}
.RM-btn-accept-all {
background-color: #4CAF50; /* Yeşil renk, kabul için */
color: white;
}
.RM-btn-accept-all:hover {
background-color: #388E3C; /* Daha koyu bir yeşil, hover durumu için */
}
.RM-btn-reject-all {
background-color: #f44336; /* Kırmızı renk, reddetme için */
color: white;
}
.RM-btn-reject-all:hover {
background-color: #D32F2F; /* Daha koyu bir kırmızı, hover durumu için */
}
.RM-cookie-modal-close {
border: none;
background: none;
color: #AAAAAA;
font-size: 24px;
cursor: pointer;
}
.RM-cookie-modal-close:hover {
color: #888888;
}
.RM-cookie-modal-footer button {
padding: 5px 15px;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
.RM-cookie-modal-footer button:hover {
background-color: #0056b3;
}
#RMcookieCategoryList table {
width: 100%;
border-collapse: collapse;
margin-top: 15px;
}
#RMcookieCategoryList th, #RMcookieCategoryList td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
#RMcookieCategoryList th {
background-color: #f2f2f2;
}
#RMcookieCategoryList button {
margin-right: 5px;
padding: 5px 10px;
cursor: pointer;
border: 1px solid #ddd;
border-radius: 4px;
background-color: #007bff;
color: white;
}
#RMcookieCategoryList button:hover {
background-color: #0056b3;
}
.RM-cookie-modal-footer button {
padding: 5px 10px;
margin-right: 10px;
/* Additional styling */
}
@media (min-width: 768px) {
/* Adjustments for larger screens */
.RM-cookie-bar {
flex-direction: row; /* Display items in a row for larger screens */
align-items: center; /* Align items in the center for larger screens */
}
.RM-cookie-logo {
margin-bottom: 0; /* No bottom margin on larger screens */
}
.RM-cookie-message {
flex: 1; /* Allow message to fill available space */
margin-bottom: 0; /* No bottom margin on larger screens */
}
.RM-cookie-buttons {
justify-content: flex-end; /* Align buttons to the end on larger screens */
}
.RM-cookie-modal {
width: 80%; /* Modal width adjusted for larger screens */
max-width: 500px; /* Max modal width for larger screens */
margin: 0; /* No side margins on larger screens */
transform: translate(-50%, -50%) scale(1); /* Reset scale for larger screens */
}
}