global
3 years ago
addons_page.css
3 years ago
consent_mapping_table.css
4 years ago
cookiebot_admin_main.css
3 years ago
dashboard_page.css
3 years ago
debug_info.css
3 years ago
gtm_page.css
4 years ago
multiple_page.css
3 years ago
settings-page.css
3 years ago
support_page.css
3 years ago
cookiebot_admin_main.css
338 lines
| 1 | @font-face { |
| 2 | font-family: 'Inter'; |
| 3 | src: url('../../fonts/Inter-VariableFont.woff2') format('woff2-variations'); |
| 4 | font-weight: 300 900; |
| 5 | font-stretch: 100%; |
| 6 | font-style: normal; |
| 7 | font-display: swap; |
| 8 | } |
| 9 | |
| 10 | #wpcontent { |
| 11 | padding-left: 0; |
| 12 | font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; |
| 13 | background-color: #ffffff; |
| 14 | } |
| 15 | |
| 16 | .cb-wrapper { |
| 17 | width: 100%; |
| 18 | max-width: 1366px; |
| 19 | margin: 0 auto; |
| 20 | } |
| 21 | |
| 22 | .cb-header { |
| 23 | padding: 20px 25px 15px; |
| 24 | border-bottom: 1px solid #d3d3d3; |
| 25 | } |
| 26 | |
| 27 | .cb-body { |
| 28 | padding: 50px 25px 0; |
| 29 | } |
| 30 | |
| 31 | .cb-body .cb-wrapper { |
| 32 | display: grid; |
| 33 | grid-template-columns: .9fr 3.1fr; |
| 34 | grid-column-gap: 30px; |
| 35 | align-items: start; |
| 36 | } |
| 37 | |
| 38 | .cb-main__tabs { |
| 39 | display: grid; |
| 40 | grid-row-gap: 10px; |
| 41 | } |
| 42 | |
| 43 | .cb-main__tabs_item { |
| 44 | border-radius: 7px; |
| 45 | } |
| 46 | |
| 47 | .cb-main__tabs_item.active-item, .cb-main__tabs_item:hover { |
| 48 | background-color: #ECEFFE; |
| 49 | } |
| 50 | |
| 51 | .cb-main__tabs_item a { |
| 52 | font-size: 15px; |
| 53 | color: #141414; |
| 54 | padding: 10px 15px; |
| 55 | text-decoration: none; |
| 56 | display: grid; |
| 57 | grid-template-columns: 1fr 8fr; |
| 58 | grid-column-gap: 5px; |
| 59 | align-items: center; |
| 60 | font-weight: 600; |
| 61 | } |
| 62 | |
| 63 | .cb-main__tabs_item:hover a, .cb-main__tabs_item.active-item a { |
| 64 | color: #1032cf; |
| 65 | } |
| 66 | |
| 67 | .cb-main__tabs__icon{ |
| 68 | margin-right: 8px; |
| 69 | display: block; |
| 70 | width: 28px; |
| 71 | height: 28px; |
| 72 | background-color: #141414; |
| 73 | transition: background-color .25s ease; |
| 74 | -webkit-mask-size: contain; |
| 75 | mask-size: contain; |
| 76 | -webkit-mask-repeat: no-repeat; |
| 77 | mask-repeat: no-repeat; |
| 78 | -webkit-mask-position: center; |
| 79 | mask-position: center; |
| 80 | } |
| 81 | |
| 82 | .cb-main__tabs_item:hover .cb-main__tabs__icon, .cb-main__tabs_item.active-item .cb-main__tabs__icon{ |
| 83 | background-color: #1032cf; |
| 84 | } |
| 85 | |
| 86 | .dashboard-icon { |
| 87 | -webkit-mask-image: url(../../img/icons/dashboard.svg); |
| 88 | mask-image: url(../../img/icons/dashboard.svg); |
| 89 | } |
| 90 | |
| 91 | .settings-icon { |
| 92 | -webkit-mask-image: url(../../img/icons/settings.svg); |
| 93 | mask-image: url(../../img/icons/settings.svg); |
| 94 | } |
| 95 | |
| 96 | .plugins-icon { |
| 97 | -webkit-mask-image: url(../../img/icons/plugins.svg); |
| 98 | mask-image: url(../../img/icons/plugins.svg); |
| 99 | } |
| 100 | |
| 101 | .support-icon { |
| 102 | -webkit-mask-image: url(../../img/icons/support.svg); |
| 103 | mask-image: url(../../img/icons/support.svg); |
| 104 | } |
| 105 | |
| 106 | .debug-icon { |
| 107 | -webkit-mask-image: url(../../img/icons/debug.svg); |
| 108 | mask-image: url(../../img/icons/debug.svg); |
| 109 | } |
| 110 | |
| 111 | .cb-main__page_title { |
| 112 | font-size: 55px; |
| 113 | line-height: 65px; |
| 114 | font-weight: 700; |
| 115 | margin: 0 0 30px; |
| 116 | } |
| 117 | |
| 118 | .cb-btn { |
| 119 | display: inline-block; |
| 120 | margin-top: 18px; |
| 121 | text-decoration: none; |
| 122 | padding: 15px; |
| 123 | font-size: 15px; |
| 124 | line-height: 20px; |
| 125 | font-weight: 500; |
| 126 | border-radius: 7px; |
| 127 | border: none; |
| 128 | cursor: pointer; |
| 129 | box-shadow: unset; |
| 130 | outline: unset; |
| 131 | } |
| 132 | |
| 133 | .cb-btn.hidden { |
| 134 | display: none; |
| 135 | } |
| 136 | |
| 137 | .cb-main-btn, .cb-main-btn:focus { |
| 138 | background-color: #1032cf; |
| 139 | color: #ffffff; |
| 140 | } |
| 141 | |
| 142 | .cb-main-btn:hover { |
| 143 | background-color: #091b70; |
| 144 | color: #ffffff; |
| 145 | } |
| 146 | |
| 147 | .cb-white-btn, .cb-white-btn:focus { |
| 148 | background-color: #ffffff; |
| 149 | color: #141414; |
| 150 | } |
| 151 | |
| 152 | .cb-white-btn:hover { |
| 153 | color: #666666; |
| 154 | } |
| 155 | |
| 156 | .cb-link-btn, .cb-link-btn:focus { |
| 157 | background-color: transparent; |
| 158 | color: #1032cf; |
| 159 | padding: 0; |
| 160 | width: fit-content; |
| 161 | } |
| 162 | |
| 163 | .cb-link-btn:hover { |
| 164 | color: #091b70; |
| 165 | } |
| 166 | |
| 167 | .cb-right-btn { |
| 168 | text-align: right; |
| 169 | } |
| 170 | |
| 171 | .cb-success-btn, .cb-success-btn:focus { |
| 172 | background-color: #076646; |
| 173 | color: #ffffff; |
| 174 | text-align: center; |
| 175 | } |
| 176 | |
| 177 | .cb-main__video { |
| 178 | position: relative; |
| 179 | width: 100%; |
| 180 | height: 0; |
| 181 | padding-bottom: 53%; |
| 182 | } |
| 183 | |
| 184 | .cb-main__video iframe { |
| 185 | position: absolute; |
| 186 | width: 100%; |
| 187 | height: 100%; |
| 188 | } |
| 189 | |
| 190 | input[type="text"] { |
| 191 | width: 100%; |
| 192 | border: 2px solid #d3d3d3; |
| 193 | border-radius: 7px; |
| 194 | padding: 8px 15px; |
| 195 | } |
| 196 | |
| 197 | select#cookiebot-language { |
| 198 | width: 100%; |
| 199 | border: 2px solid #d3d3d3; |
| 200 | border-radius: 7px; |
| 201 | padding: 8px 15px; |
| 202 | max-width: initial; |
| 203 | } |
| 204 | |
| 205 | input[type="radio"] { |
| 206 | width: 22px; |
| 207 | height: 22px; |
| 208 | border: 2px solid #141414; |
| 209 | } |
| 210 | |
| 211 | input[type=radio]:checked::before { |
| 212 | width: 14px; |
| 213 | height: 14px; |
| 214 | margin: 2px; |
| 215 | background-color: #1032cf; |
| 216 | line-height: initial; |
| 217 | } |
| 218 | |
| 219 | input[type="checkbox"] { |
| 220 | width: 22px; |
| 221 | height: 22px; |
| 222 | border: 2px solid #141414; |
| 223 | } |
| 224 | |
| 225 | input[type=checkbox]:checked:before { |
| 226 | content: ''; |
| 227 | width: 26px; |
| 228 | height: 26px; |
| 229 | margin: -4px; |
| 230 | line-height: initial; |
| 231 | background-color: #1032cf; |
| 232 | -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%233582c4%27%2F%3E%3C%2Fsvg%3E"); |
| 233 | mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%233582c4%27%2F%3E%3C%2Fsvg%3E"); |
| 234 | -webkit-mask-size: contain; |
| 235 | mask-size: contain; |
| 236 | } |
| 237 | |
| 238 | .cb-settings__config__data__inner label:not(.switch-checkbox) input[type="radio"], |
| 239 | .cb-settings__config__data__inner label:not(.switch-checkbox) input[type="checkbox"] { |
| 240 | margin-left: -30px; |
| 241 | } |
| 242 | |
| 243 | textarea { |
| 244 | width: 100%; |
| 245 | border: 2px solid #d3d3d3; |
| 246 | border-radius: 7px; |
| 247 | padding: 8px 15px; |
| 248 | } |
| 249 | |
| 250 | .switch-checkbox { |
| 251 | display: flex; |
| 252 | align-items: center; |
| 253 | } |
| 254 | |
| 255 | .switch-checkbox input[type=checkbox]{ |
| 256 | height: 0; |
| 257 | width: 0; |
| 258 | visibility: hidden; |
| 259 | border: none; |
| 260 | min-width: initial; |
| 261 | float: left; |
| 262 | } |
| 263 | |
| 264 | .switch-checkbox .switcher { |
| 265 | cursor: pointer; |
| 266 | width: 70px; |
| 267 | min-width: 70px; |
| 268 | height: 40px; |
| 269 | margin-right: 10px; |
| 270 | background-color: #141414; |
| 271 | display: inline-block; |
| 272 | border-radius: 100px; |
| 273 | position: relative; |
| 274 | transition: 0.3s; |
| 275 | } |
| 276 | |
| 277 | .switch-checkbox .switcher:after { |
| 278 | content: ''; |
| 279 | position: absolute; |
| 280 | top: 5px; |
| 281 | left: 5px; |
| 282 | width: 30px; |
| 283 | height: 30px; |
| 284 | background-color: #fff; |
| 285 | border-radius: 90px; |
| 286 | transition: 0.3s; |
| 287 | } |
| 288 | |
| 289 | .switch-checkbox input[type=checkbox]:checked + .switcher { |
| 290 | background-color: #1032cf; |
| 291 | } |
| 292 | |
| 293 | .switch-checkbox input[type=checkbox]:checked + .switcher:after { |
| 294 | left: calc(100% - 5px); |
| 295 | transform: translateX(-100%); |
| 296 | } |
| 297 | |
| 298 | .switch-checkbox .switcher:active:after { |
| 299 | width: 30px; |
| 300 | } |
| 301 | |
| 302 | .switch-checkbox input[type=checkbox]:disabled + .switcher { |
| 303 | opacity: .5; |
| 304 | } |
| 305 | |
| 306 | .cb-submit__msg { |
| 307 | box-sizing: border-box; |
| 308 | width: 468px; |
| 309 | position: fixed; |
| 310 | bottom: 50px; |
| 311 | right: 75px; |
| 312 | background-color: #076646; |
| 313 | color: #ffffff; |
| 314 | padding: 24px 72px; |
| 315 | font-size: 15px; |
| 316 | line-height: 24px; |
| 317 | font-weight: 600; |
| 318 | box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.25); |
| 319 | border-radius: 8px; |
| 320 | cursor: pointer; |
| 321 | z-index: 20; |
| 322 | } |
| 323 | |
| 324 | .cb-submit__msg:before { |
| 325 | content: url(../../img/icons/check.svg); |
| 326 | position: absolute; |
| 327 | left: 30px; |
| 328 | top: 25px; |
| 329 | } |
| 330 | |
| 331 | .cb-submit__msg:after { |
| 332 | content: '✕'; |
| 333 | position: absolute; |
| 334 | right: 30px; |
| 335 | font-weight: 700; |
| 336 | font-family: monospace; |
| 337 | font-size: 23px; |
| 338 | } |