1#botmon__admin { 2 3 section[role="tabpanel"] { 4 margin: .25rem 0; 5 } 6 7 /* icon items */ 8 .has_icon { 9 display: inline-flex; 10 align-items: center; 11 width: auto; 12 white-space: nowrap; 13 } 14 .icon_only { 15 display: inline-grid; 16 grid-template-columns: 20px max-content; 17 width: 20px; max-width: 20px; 18 } 19 20 .has_icon, .icon_only { 21 & { 22 align-items: center; 23 overflow: hidden; 24 column-gap: .2em; 25 min-width: 20px; 26 } 27 28 &::before { 29 content: ''; 30 display: inline-block; 31 width: 20px; min-width: 20px; max-width: 20px; 32 height: 20px; 33 background: transparent none center no-repeat; 34 background-position: 0 0; 35 background-size: 20px; 36 } 37 38 /* user info Icon */ 39 &.user_known::before { background-image: url('img/user.svg') } 40 41 /* IP Address types */ 42 &.ipaddr::before { background-image: url('img/addr.png') } 43 &.ip4::before { background-position-y: -20px } 44 &.ip6::before { background-position-y: -40px } 45 &.ipnet::before { background-position-y: -60px } 46 &.ipother::before { background-image: url('img/more.svg') } 47 48 /* Bot icons */ 49 &.bot::before { background-image: url('img/bots.png') } 50 &.bot_googlebot::before, &.bot_googleads::before, &.bot_googleapi::before, 51 &.bot_googleother::before, &.bot_googinspct::before { background-position-y: -20px } 52 &.bot_bingbot::before { background-position-y: -40px } 53 &.bot_applebot::before { background-position-y: -60px } 54 &.bot_openai::before, &.bot_chatgpt::before { background-position-y: -80px } 55 &.bot_metabots::before, &.bot_metauser::before { background-position-y: -100px } 56 &.bot_ahrefs::before { background-position-y: -120px } 57 &.bot_seznambot::before { background-position-y: -140px } 58 &.bot_claude::before { background-position-y: -160px } 59 &.bot_baidu::before { background-position-y: -180px } 60 &.bot_reddit::before { background-position-y: -200px } 61 &.bot_wayback::before { background-position-y: -220px } 62 &.bot_alibaba::before { background-position-y: -241px } 63 &.bot_ibou::before { background-position-y: -260px } 64 &.bot_discord::before { background-position-y: -280px } 65 &.bot_twitter::before { background-position-y: -300px } 66 &.bot_goognblm::before { background-position-y: -320px } 67 &.bot_whatsapp::before { background-position-y: -340px } 68 &.bot_perplexity::before, &.bot_perplexityusr::before { background-position-y: -360px } 69 &.bot_tiktok::before { background-position-y: -380px } 70 &.bot_claudeusr::before { background-position-y: -400px } 71 &.bot_yahoolp::before { background-position-y: -420px } 72 &.bot_other::before { background-image: url('img/more.svg') } 73 74 /* platform icons */ 75 &.platform::before { background-image: url('img/platforms.png') } 76 &.pf_win10::before { background-position-y: -20px } 77 &.pf_winold::before, dd.platform_winold::before, 78 &.pf_winsrvr:before { background-position-y: -40px } 79 &.pf_macos::before { background-position-y: -60px } 80 &.pf_macosold::before { background-position-y: -80px } 81 &.pf_ios::before { background-position-y: -100px } 82 &.pf_android::before { background-position-y: -120px } 83 &.pf_androidold::before { background-position-y: -140px } 84 &.pf_linux::before { background-position-y: -160px } 85 &.pf_bsd::before { background-position-y: -180px } 86 &.pf_chromium::before { background-position-y: -200px } 87 &.pf_hmos::before { background-position-y: -220px } 88 &.pf_tizen::before { background-position-y: -240px } 89 &.pf_fire::before { background-position-y: -260px } 90 &.pf_app::before { background-position-y: -280px } 91 &.pf_other::before { background-image: url('img/more.svg') } 92 93 /* browser icons */ 94 &.client::before { background-image: url('img/clients.png') } 95 &.cl_firefox::before, &.cl_ffios::before { background-position-y: -20px } 96 &.cl_safari::before { background-position-y: -40px } 97 &.cl_chrome::before { background-position-y: -60px } 98 &.cl_msedge::before { background-position-y: -80px } 99 &.cl_msie::before { background-position-y: -100px } 100 &.cl_opera::before { background-position-y: -120px } 101 &.cl_brave::before { background-position-y: -140px } 102 &.cl_ddg::before { background-position-y: -160px } 103 &.cl_samsung::before { background-position-y: -180px } 104 &.cl_huawei::before { background-position-y: -200px } 105 &.cl_vivaldi::before { background-position-y: -220px } 106 &.cl_aol::before { background-position-y: -240px } 107 &.cl_ya::before { background-position-y: -260px } 108 &.cl_silk::before { background-position-y: -280px } 109 &.cl_ffold::before { background-position-y: -300px } 110 &.cl_chromeold::before { background-position-y: -320px } 111 &.cl_ecosia::before { background-position-y: -340px } 112 &.cl_webkit::before { background-position-y: -360px } 113 &.cl_operaold::before { background-position-y: -380px } 114 &.cl_wget::before { background-position-y: -400px } 115 &.cl_python::before { background-position-y: -420px } 116 &.cl_privacybrowser::before { background-position-y: -440px } 117 &.cl_other::before { background-image: url('img/more.svg') } 118 119 /* Captcha statuses */ 120 &.captcha::before { background-image: url('img/captcha.png') } 121 &.cap_Y::before { background-position-y: -20px } 122 &.cap_YN::before, &.cap_YYN::before { background-position-y: -40px } 123 &.cap_W::before { background-position-y: -60px } 124 &.cap_H::before { background-position-y: -80px } 125 &.cap_X::before { background-position-y: -100px } 126 &.cap_YH::before, &.cap_YYH::before { background-position-y: -120px } 127 &.cap_YNH::before { background-position-y: -140px } 128 &.cap_YY::before { background-position-y: -160px } 129 &.cap_N::before { background-position-y: -180px } 130 131 /* Country flags */ 132 /* Note: flag images and CSS adapted from: https://github.com/lafeber/world-flags-sprite/ */ 133 &.country::before { 134 content: ''; 135 height: 20px; width: 20px; 136 background:url(img/flags.png) no-repeat 0 0; 137 background-size: 20px auto; 138 } 139 &.ctry_eu::before { background-position-y: -161px } 140 &.ctry_ad::before { background-position-y: -441px } 141 &.ctry_ae::before { background-position-y: -461px } 142 &.ctry_af::before { background-position-y: -481px } 143 &.ctry_ag::before { background-position-y: -501px } 144 &.ctry_ai::before { background-position-y: -521px } 145 &.ctry_al::before { background-position-y: -541px } 146 &.ctry_am::before { background-position-y: -561px } 147 &.ctry_ao::before { background-position-y: -581px } 148 &.ctry_aq::before { background-position-y: -601px } 149 &.ctry_ar::before { background-position-y: -621px } 150 &.ctry_as::before { background-position-y: -641px } 151 &.ctry_at::before { background-position-y: -661px } 152 &.ctry_au::before { background-position-y: -681px } 153 &.ctry_aw::before { background-position-y: -701px } 154 &.ctry_ax::before { background-position-y: -721px } 155 &.ctry_az::before { background-position-y: -741px } 156 &.ctry_ba::before { background-position-y: -761px } 157 &.ctry_bb::before { background-position-y: -781px } 158 &.ctry_bd::before { background-position-y: -801px } 159 &.ctry_be::before { background-position-y: -821px } 160 &.ctry_bf::before { background-position-y: -841px } 161 &.ctry_bg::before { background-position-y: -861px } 162 &.ctry_bh::before { background-position-y: -881px } 163 &.ctry_bi::before { background-position-y: -901px } 164 &.ctry_bj::before { background-position-y: -921px } 165 &.ctry_bm::before { background-position-y: -941px } 166 &.ctry_bn::before { background-position-y: -961px } 167 &.ctry_bo::before { background-position-y: -981px } 168 &.ctry_br::before { background-position-y: -1001px } 169 &.ctry_bs::before { background-position-y: -1021px } 170 &.ctry_bt::before { background-position-y: -1041px } 171 &.ctry_bw::before { background-position-y: -1061px } 172 &.ctry_by::before { background-position-y: -1081px } 173 &.ctry_bz::before { background-position-y: -1101px } 174 &.ctry_ca::before { background-position-y: -1121px } 175 &.ctry_cd::before { background-position-y: -1141px } 176 &.ctry_cf::before { background-position-y: -1161px } 177 &.ctry_cg::before { background-position-y: -1181px } 178 &.ctry_ch::before { background-position-y: -1201px } 179 &.ctry_ci::before { background-position-y: -1221px } 180 &.ctry_ck::before { background-position-y: -1241px } 181 &.ctry_cl::before { background-position-y: -1261px } 182 &.ctry_cm::before { background-position-y: -1281px } 183 &.ctry_cn::before { background-position-y: -1301px } 184 &.ctry_co::before { background-position-y: -1321px } 185 &.ctry_cr::before { background-position-y: -1341px } 186 &.ctry_cu::before { background-position-y: -1361px } 187 &.ctry_cv::before { background-position-y: -1381px } 188 &.ctry_cy::before { background-position-y: -1401px } 189 &.ctry_cz::before { background-position-y: -1421px } 190 &.ctry_de::before { background-position-y: -1441px } 191 &.ctry_dj::before { background-position-y: -1461px } 192 &.ctry_dk::before { background-position-y: -1481px } 193 &.ctry_dm::before { background-position-y: -1501px } 194 &.ctry_do::before { background-position-y: -1521px } 195 &.ctry_dz::before { background-position-y: -1541px } 196 &.ctry_ec::before { background-position-y: -1561px } 197 &.ctry_ee::before { background-position-y: -1581px } 198 &.ctry_eg::before { background-position-y: -1601px } 199 &.ctry_eh::before { background-position-y: -1621px } 200 &.ctry_er::before { background-position-y: -1641px } 201 &.ctry_es::before { background-position-y: -1661px } 202 &.ctry_et::before { background-position-y: -1681px } 203 &.ctry_fi::before { background-position-y: -1701px } 204 &.ctry_fj::before { background-position-y: -1721px } 205 &.ctry_fm::before { background-position-y: -1741px } 206 &.ctry_fo::before { background-position-y: -1761px } 207 &.ctry_fr::before, &.ctry_bl::before, &.ctry_cp::before, &.ctry_mf::before, 208 &.ctry_yt::before { background-position-y: -1781px } 209 &.ctry_ga::before { background-position-y: -1801px } 210 &.ctry_gb::before, &.ctry_bg::before, &.ctry_uk::before, 211 &.ctry_sh::before { background-position-y: -1821px } 212 &.ctry_gd::before { background-position-y: -1841px } 213 &.ctry_ge::before { background-position-y: -1861px } 214 &.ctry_gg::before { background-position-y: -1881px } 215 &.ctry_gh::before { background-position-y: -1901px } 216 &.ctry_gi::before { background-position-y: -1921px } 217 &.ctry_gl::before { background-position-y: -1941px } 218 &.ctry_gm::before { background-position-y: -1961px } 219 &.ctry_gn::before { background-position-y: -1981px } 220 &.ctry_gp::before { background-position-y: -2001px } 221 &.ctry_gq::before { background-position-y: -2021px } 222 &.ctry_gr::before { background-position-y: -2041px } 223 &.ctry_gt::before { background-position-y: -2061px } 224 &.ctry_gu::before { background-position-y: -2081px } 225 &.ctry_gw::before { background-position-y: -2101px } 226 &.ctry_gy::before { background-position-y: -2121px } 227 &.ctry_hk::before { background-position-y: -2141px } 228 &.ctry_hn::before { background-position-y: -2161px } 229 &.ctry_hr::before { background-position-y: -2181px } 230 &.ctry_ht::before { background-position-y: -2201px } 231 &.ctry_hu::before { background-position-y: -2221px } 232 &.ctry_id::before, &.ctry_mc::before { background-position-y: -2241px } 233 &.ctry_ie::before { background-position-y: -2261px } 234 &.ctry_il::before { background-position-y: -2281px } 235 &.ctry_im::before { background-position-y: -2301px } 236 &.ctry_in::before { background-position-y: -2321px } 237 &.ctry_iq::before { background-position-y: -2341px } 238 &.ctry_ir::before { background-position-y: -2361px } 239 &.ctry_is::before { background-position-y: -2381px } 240 &.ctry_it::before { background-position-y: -2401px } 241 &.ctry_je::before { background-position-y: -2421px } 242 &.ctry_jm::before { background-position-y: -2441px } 243 &.ctry_jo::before { background-position-y: -2461px } 244 &.ctry_jp::before { background-position-y: -2481px } 245 &.ctry_ke::before { background-position-y: -2501px } 246 &.ctry_kg::before { background-position-y: -2521px } 247 &.ctry_kh::before { background-position-y: -2541px } 248 &.ctry_ki::before { background-position-y: -2561px } 249 &.ctry_km::before { background-position-y: -2581px } 250 &.ctry_kn::before { background-position-y: -2601px } 251 &.ctry_kp::before { background-position-y: -2621px } 252 &.ctry_kr::before { background-position-y: -2641px } 253 &.ctry_kw::before { background-position-y: -2661px } 254 &.ctry_ky::before { background-position-y: -2681px } 255 &.ctry_kz::before { background-position-y: -2701px } 256 &.ctry_la::before { background-position-y: -2721px } 257 &.ctry_lb::before { background-position-y: -2741px } 258 &.ctry_lc::before { background-position-y: -2761px } 259 &.ctry_li::before { background-position-y: -2781px } 260 &.ctry_lk::before { background-position-y: -2801px } 261 &.ctry_lr::before { background-position-y: -2821px } 262 &.ctry_ls::before { background-position-y: -2841px } 263 &.ctry_lt::before { background-position-y: -2861px } 264 &.ctry_lu::before { background-position-y: -2881px } 265 &.ctry_lv::before { background-position-y: -2901px } 266 &.ctry_ly::before { background-position-y: -2921px } 267 &.ctry_ma::before { background-position-y: -2941px } 268 &.ctry_md::before { background-position-y: -2961px } 269 &.ctry_me::before { background-position-y: -2981px } 270 &.ctry_mg::before { background-position-y: -3001px } 271 &.ctry_mh::before { background-position-y: -3021px } 272 &.ctry_mk::before { background-position-y: -3041px } 273 &.ctry_ml::before { background-position-y: -3061px } 274 &.ctry_mm::before { background-position-y: -3081px } 275 &.ctry_mn::before { background-position-y: -3101px } 276 &.ctry_mo::before { background-position-y: -3121px } 277 &.ctry_mq::before { background-position-y: -3141px } 278 &.ctry_mr::before { background-position-y: -3161px } 279 &.ctry_ms::before { background-position-y: -3181px } 280 &.ctry_mt::before { background-position-y: -3201px } 281 &.ctry_mu::before { background-position-y: -3221px } 282 &.ctry_mv::before { background-position-y: -3241px } 283 &.ctry_mw::before { background-position-y: -3261px } 284 &.ctry_mx::before { background-position-y: -3281px } 285 &.ctry_my::before { background-position-y: -3301px } 286 &.ctry_mz::before { background-position-y: -3321px } 287 &.ctry_na::before { background-position-y: -3341px } 288 &.ctry_nc::before { background-position-y: -3361px } 289 &.ctry_ne::before { background-position-y: -3381px } 290 &.ctry_ng::before { background-position-y: -3401px } 291 &.ctry_ni::before { background-position-y: -3421px } 292 &.ctry_nl::before, 293 &.ctry_bq::before { background-position-y: -3441px } 294 &.ctry_no::before, &.ctry_bv::before , &.ctry_nq::before, 295 &.ctry_sj::before { background-position-y: -3461px } 296 &.ctry_np::before { background-position-y: -3481px } 297 &.ctry_nr::before { background-position-y: -3501px } 298 &.ctry_nz::before { background-position-y: -3521px } 299 &.ctry_om::before { background-position-y: -3541px } 300 &.ctry_pa::before { background-position-y: -3561px } 301 &.ctry_pe::before { background-position-y: -3581px } 302 &.ctry_pf::before { background-position-y: -3601px } 303 &.ctry_pg::before { background-position-y: -3621px } 304 &.ctry_ph::before { background-position-y: -3641px } 305 &.ctry_pk::before { background-position-y: -3661px } 306 &.ctry_pl::before { background-position-y: -3681px } 307 &.ctry_pr::before { background-position-y: -3701px } 308 &.ctry_ps::before { background-position-y: -3721px } 309 &.ctry_pt::before { background-position-y: -3741px } 310 &.ctry_pw::before { background-position-y: -3761px } 311 &.ctry_py::before { background-position-y: -3781px } 312 &.ctry_qa::before { background-position-y: -3801px } 313 &.ctry_re::before { background-position-y: -3821px } 314 &.ctry_ro::before { background-position-y: -3841px } 315 &.ctry_rs::before { background-position-y: -3861px } 316 &.ctry_ru::before { background-position-y: -3881px } 317 &.ctry_rw::before { background-position-y: -3901px } 318 &.ctry_sa::before { background-position-y: -3921px } 319 &.ctry_sb::before { background-position-y: -3941px } 320 &.ctry_sc::before { background-position-y: -3961px } 321 &.ctry_sd::before { background-position-y: -3981px } 322 &.ctry_se::before { background-position-y: -4001px } 323 &.ctry_sg::before { background-position-y: -4021px } 324 &.ctry_si::before { background-position-y: -4041px } 325 &.ctry_sk::before { background-position-y: -4061px } 326 &.ctry_sl::before { background-position-y: -4081px } 327 &.ctry_sm::before { background-position-y: -4101px } 328 &.ctry_sn::before { background-position-y: -4121px } 329 &.ctry_so::before { background-position-y: -4141px } 330 &.ctry_sr::before { background-position-y: -4161px } 331 &.ctry_st::before { background-position-y: -4181px } 332 &.ctry_sv::before { background-position-y: -4201px } 333 &.ctry_sy::before { background-position-y: -4221px } 334 &.ctry_sz::before { background-position-y: -4241px } 335 &.ctry_tc::before { background-position-y: -4261px } 336 &.ctry_td::before { background-position-y: -4281px } 337 &.ctry_tg::before { background-position-y: -4301px } 338 &.ctry_th::before { background-position-y: -4321px } 339 &.ctry_tj::before { background-position-y: -4341px } 340 &.ctry_tl::before { background-position-y: -4361px } 341 &.ctry_tm::before { background-position-y: -4381px } 342 &.ctry_tn::before { background-position-y: -4401px } 343 &.ctry_to::before { background-position-y: -4421px } 344 &.ctry_tr::before { background-position-y: -4441px } 345 &.ctry_tt::before { background-position-y: -4461px } 346 &.ctry_tv::before { background-position-y: -4481px } 347 &.ctry_tw::before { background-position-y: -4501px } 348 &.ctry_tz::before { background-position-y: -4521px } 349 &.ctry_ua::before { background-position-y: -4541px } 350 &.ctry_ug::before { background-position-y: -4561px } 351 &.ctry_us::before { background-position-y: -4581px } 352 &.ctry_uy::before { background-position-y: -4601px } 353 &.ctry_uz::before { background-position-y: -4621px } 354 &.ctry_va::before { background-position-y: -4641px } 355 &.ctry_vc::before { background-position-y: -4661px } 356 &.ctry_ve::before { background-position-y: -4681px } 357 &.ctry_vg::before { background-position-y: -4701px } 358 &.ctry_vi::before { background-position-y: -4721px } 359 &.ctry_vn::before { background-position-y: -4741px } 360 &.ctry_vu::before { background-position-y: -4761px } 361 &.ctry_ws::before { background-position-y: -4781px } 362 &.ctry_ye::before { background-position-y: -4801px } 363 &.ctry_za::before { background-position-y: -4821px } 364 &.ctry_zm::before { background-position-y: -4841px } 365 &.ctry_zw::before { background-position-y: -4861px } 366 &.ctry_sx::before { background-position-y: -4881px } 367 &.ctry_cw::before { background-position-y: -4901px } 368 &.ctry_ss::before { background-position-y: -4921px } 369 &.ctry_nu::before { background-position-y: -4941px } 370 371 &.ctry_local::before { background-image: url('img/addr.png') } /* localhost */ 372 &.ctry_other::before { background-image: url('img/more.svg') } /* other countries */ 373 374 /* Session icons */ 375 &.session::before { background-image: url('img/idtyp.png') } 376 &.typ_dw::before { background-position-y: -20px } 377 &.typ_php::before { background-position-y: -40px } 378 &.typ_ip::before { background-position-y: -60px } 379 &.typ_usr::before { background-position-y: -80px } 380 &.typ_rnd::before { background-position-y: -100px } 381 382 /* External link icons */ 383 &.extlink::before { background-image: url('img/links.png') } 384 &.extlink.ipinfo::before { background-position-y: -40px } 385 &.extlink.abuseipdb::before { background-position-y: -20px } 386 387 /* Common referers icons */ 388 &.referer::before { background-image: url('img/referers.png') } 389 &.ref_null::before { background-position-y: -20px } 390 &.ref_google::before { background-position-y: -40px } 391 &.ref_bing::before { background-position-y: -60px } 392 &.ref_yahoo::before { background-position-y: -80px } 393 &.ref_dokuwiki::before { background-position-y: -100px } 394 &.ref_duckduckgo::before { background-position-y: -120px } 395 &.ref_ecosia::before { background-position-y: -140px } 396 &.ref_yandex::before { background-position-y: -160px } 397 &.ref_chatgpt::before { background-position-y: -180px } 398 &.ref_brave::before { background-position-y: -200px } 399 &.ref_wikipedia::before { background-position-y: -220px } 400 &.ref_denkfehler::before { background-position-y: -240px } 401 &.ref_fallacies::before { background-position-y: -260px } 402 &.ref_facebook::before { background-position-y: -280px } 403 &.ref_discord::before { background-position-y: -300px } 404 &.ref_other::before { background-image: url('img/more.svg') } 405 406 /* seen-by icons */ 407 &.seenby::before { background-image: url('img/stages.png') } 408 &.sb_srv::before { background-position-y: -20px } 409 &.sb_log::before { background-position-y: -40px } 410 &.sb_srvlog::before { background-position-y: -60px } 411 &.sb_tck::before { background-position-y: -80px } 412 &.sb_srvtck::before { background-position-y: -100px } 413 &.sb_logtck::before { background-position-y: -120px } 414 &.sb_srvlogtck::before { background-position-y: -140px } 415 } 416 417 .page_icon { 418 display: inline-flex; 419 column-gap: .25em; 420 align-items: center; 421 } 422 .page_icon::before { 423 content: ''; 424 display: inline-block; 425 width: 20px; min-width: 20px; max-width: 20px; 426 height: 20px; 427 background: transparent url('img/page.svg') center no-repeat; 428 background-position: 0 0; 429 background-size: 20px; 430 } 431 432 /* grid layout for the overview: */ 433 .botmon_bots_grid, .botmon_webmetrics_grid, .botmon_traffic_grid, .botmon_captcha_grid { 434 & { 435 display: grid; 436 grid-gap: 0 .33em; 437 } 438 dl { 439 dd { 440 display: flex; 441 justify-content: space-between; 442 align-items: center; 443 column-gap: .5em; 444 } 445 } 446 } 447 .botmon_bots_grid { 448 &[data-geoip="disabled"] { 449 & { 450 grid-template-columns: 1fr 1fr 1fr; 451 } 452 #botmon__botcountries { 453 display: none; 454 } 455 } 456 &:not([data-geoip="disabled"]) { 457 grid-template-columns: 1fr 1fr 1fr 1fr; 458 } 459 } 460 .botmon_webmetrics_grid { 461 &[data-geoip="disabled"] { 462 & { 463 grid-template-columns: 1fr 1fr 1fr; 464 } 465 #botmon__today__wm_countries { 466 display: none; 467 } 468 } 469 &:not([data-geoip="disabled"]) { 470 grid-template-columns: 1fr 1fr 1fr 1fr; 471 } 472 } 473 .botmon_traffic_grid { 474 & { 475 grid-template-columns: 2fr 1fr; 476 } 477 #botmon__today__wm_pages, #botmon__today__wm_referers { 478 & { 479 max-width: 100%; 480 overflow: hidden; 481 } 482 dd a { 483 white-space: nowrap; 484 overflow: hidden; 485 text-overflow: ellipsis; 486 } 487 } 488 } 489 .botmon_captcha_grid { 490 grid-template-columns: 1fr 1fr 1fr; 491 } 492 493 /* The tabs bar */ 494 #botmon__tabs ul.tabs li { 495 a[aria-selected="true"] { 496 background-color: #DDD; 497 color: #111; 498 } 499 a[aria-selected="false"] { 500 background-color: #EEE; 501 color: #111; 502 } 503 } 504 505 /* the "today" tab: */ 506 #botmon__latest { 507 508 /* item header */ 509 header { 510 background-color: #F0F0F0; 511 color: #333; 512 border: #999 solid 1px; 513 border-radius: .5rem .5rem 0 0; 514 margin: .5rem 0 1pt 0; 515 padding: .25rem .5rem; 516 font-size: 1rem; 517 line-height: 1.25; 518 } 519 520 /* list formatting */ 521 dl { 522 & { 523 border-left: #555 solid 1px; 524 padding-left: .5rem; 525 margin: 0; 526 font-size: 1rem; 527 line-height: 1.5; 528 } 529 &:first-child { 530 border-left: none; 531 padding-left: 0; 532 } 533 dt { 534 margin-bottom: .2em; 535 } 536 dd { 537 padding: 0; margin: 0; 538 } 539 dd.spaced { 540 display: flex; 541 justify-content: space-between; 542 } 543 dd:nth-child(even) { 544 background-color: #EEE; 545 } 546 } 547 548 /* Content */ 549 #botmon__today__content { 550 & details { 551 & { 552 margin: 0 0 1pt 0; 553 text-align: left; 554 } 555 summary { 556 & { 557 display: flex; 558 justify-content: flex-start; 559 align-items: center; 560 column-gap: .25em; 561 font-weight: bold; 562 font-size: 1rem; 563 line-height: 1.5; 564 margin: 0; 565 padding: .25em; 566 color: #333; 567 cursor: pointer; 568 } 569 &::marker { 570 content: none; 571 display: none; 572 } 573 &::before { 574 content: ''; 575 display: inline-block; 576 width: 1.25em; min-width: 1.25em; max-width: 1.25em; 577 height: 1.25em; 578 background: transparent url('img/chevron.svg') center no-repeat; 579 background-size: 1.25em; 580 transform: rotate(-90deg); 581 transition-duration: .25s; 582 } 583 } 584 &[open] { 585 & > summary::before { 586 transform: rotate(0deg); 587 } 588 } 589 & > div { 590 padding: .5rem; 591 border: #999 solid 1px; 592 border-top-width: 0; 593 border-radius: 0 0 .25rem .25rem; 594 } 595 & details summary { 596 & { 597 background-color: transparent; 598 border: transparent none 0; 599 } 600 span.title { 601 flex-grow: 1; 602 } 603 a.ext_info { 604 display: inline-block; 605 width: 1.25em; height: 1.25em; 606 overflow: hidden; 607 border-radius: 50%; 608 } 609 a.ext_info::before { 610 content: ''; 611 display: inline-block; 612 width: 1.25em; height: 1.25em; 613 background: transparent url('img/info.svg') center no-repeat 614 } 615 } 616 } 617 & > details > summary { 618 background-color: #F0F0F0; 619 border: #999 solid 1px; 620 } 621 } 622 623 /* visitor lists: */ 624 #botmon__today__visitorlists { 625 & > details summary { 626 border-radius: .5em; 627 } 628 details ul { 629 margin: 0; 630 padding: 0; 631 list-style: none; 632 } 633 details ul > li { 634 margin: 0 0 0 .75rem; 635 padding: 0; 636 color: #000; 637 } 638 details ul > li > details { 639 border: #ccc solid 1px; 640 border-radius: .5em; 641 } 642 details ul > li > details > summary { 643 display: grid; 644 grid-template-columns: 1.25em minmax(calc(100px + 4em), auto) max-content; 645 justify-items: stretch; 646 justify-content: stretch; 647 align-items: center; 648 column-gap: .5em; 649 font-weight: normal; 650 font-size: 1rem; 651 line-height: 1.5; 652 background-color: #F0F0F0; 653 border-bottom: #CCC solid 1px; 654 border-radius: .7em; 655 overflow: auto; 656 } 657 details ul > li > details > summary.noServer { 658 opacity: 67%; 659 } 660 details ul > li > details > summary > span { 661 display: flex; 662 align-items: center; 663 column-gap: .25em; 664 } 665 details ul > li > details > summary > span:first-child { 666 justify-content: flex-start; 667 } 668 details ul > li > details > summary > span:last-child { 669 justify-content: flex-end; 670 } 671 details ul > li > details > summary > span > span[title] { 672 cursor: help; 673 } 674 675 dl.visitor_details { 676 & { 677 display: grid; 678 grid-template-columns: min-content auto; 679 gap: .25em .5em; 680 border-left: transparent none 0; 681 margin: .5rem .5rem .25rem 0; 682 } 683 dt { 684 grid-column: 1; 685 white-space: nowrap; 686 } 687 dd { 688 grid-column: 2; 689 background-color: transparent; 690 } 691 dd.pages { 692 ul { 693 li { 694 & { 695 display: flex; 696 flex-direction: column; 697 line-height: 1.2rem; 698 margin: 0; 699 padding: 0 .25em; 700 } 701 &:nth-child(odd) { 702 background-color: #DFDFDF; 703 } 704 &.detailled { 705 outline: red dotted 1pt; 706 } 707 div.row { 708 display: flex; 709 flex-direction: row; 710 justify-content: space-between; 711 align-items: baseline; 712 white-space: nowrap; 713 line-height: 1.35em; 714 } 715 span { 716 display: inline-block; 717 } 718 } 719 } 720 a[hreflang] { 721 overflow: hidden; 722 text-overflow: ellipsis; 723 padding: 2pt 0 0 2pt; 724 725 } 726 a[hreflang]::after { 727 content: attr(hreflang); 728 font-size: smaller; 729 color: #666; 730 border: #666 solid 1px; 731 line-height: 1.25; 732 border-radius: 2pt; 733 padding: 0 1pt; 734 margin-left: .2em; 735 } 736 span.first-seen { 737 min-width: 4.2em; 738 text-align: right; 739 } 740 span.visit-length { 741 font-size: smaller; 742 } 743 span.bounce { 744 width: 1.25em; height: 1.25em; 745 overflow: hidden; 746 } 747 span.bounce::before { 748 display: inline-block; 749 content: ''; 750 width: 1.25em; height: 1em; 751 background: transparent url('img/bounce.svg') center no-repeat; 752 background-size: .95em; 753 } 754 span.referer { 755 font-size: smaller; 756 margin-left: .67rem; 757 } 758 } 759 } 760 761 dd.eval > ul { 762 li { 763 display: flex; 764 justify-content: space-between; 765 align-items: center; 766 } 767 li:nth-child(odd) { 768 background-color: #DFDFDF; 769 } 770 li.total { 771 border-top: #333 solid 1px; 772 font-style: italic; 773 } 774 } 775 776 /* user agent */ 777 span.agent::before { 778 background-image: url('img/info.svg') 779 } 780 781 /* pages seen */ 782 span.pageseen, span.pageviews { 783 border: #999 solid 1px; 784 padding: 0 2px; 785 font-size: smaller; 786 border-radius: .5em; 787 margin-right: .25em; 788 min-width: fit-content; 789 } 790 span.pageseen::before { 791 content : ''; 792 display: inline-block; 793 width: 1.25em; min-width: 1.25em; max-width: 1.25em; height: 1.25em; 794 background: transparent url('img/page.svg') center no-repeat; 795 background-size: 1.25em; 796 } 797 span.pageviews::before { 798 content : ''; 799 display: inline-block; 800 width: 1.25em; height: 1.25em; 801 background: transparent url('img/views.svg') center no-repeat; 802 background-size: 1.25em; 803 } 804 } 805 806 /* item footer */ 807 footer { 808 & { 809 display: flex; 810 align-items: center; 811 column-gap: .25rem; 812 background-color: #F0F0F0; 813 color: #333; 814 border: #999 solid 1px; 815 border-radius: 0 0 .5rem .5rem; 816 margin: 1pt 0 0 0; 817 padding: .25rem .5rem; 818 line-height: 1.25; 819 } 820 & > svg { 821 width: 1.25em; height: 1.25em; 822 fill: #333; 823 flex-shrink: 0; 824 } 825 & > span { 826 font-size: .96rem; 827 line-height: 1.25rem; 828 } 829 & > span.error { 830 color: #961D1B; 831 font-weight: bold; 832 } 833 } 834 } 835 836 /* the log tab: */ 837 #botmon__log { 838 839 #botmon__loglist { 840 & { 841 border: #999 solid 1px; 842 background-color: #F0F0F0; 843 margin: .5rem 0 0 0; 844 padding: .5em; 845 border-radius: .5em 1pt 1pt .5em; 846 list-style: none inside; 847 display: block; 848 min-height: 24rem; 849 max-height: 32rem; 850 overflow: hidden auto 851 } 852 li { 853 & { 854 margin: 0; padding: 0; 855 } 856 &:nth-child(even) { 857 background-color: #DFDFDF; 858 } 859 &.skipped { color: #626262; font-style: italic;} 860 &.success { color: #217121; } 861 &.error { color: #bb2929; } 862 } 863 } 864 } 865} 866 867/* dark mode overrides */ 868@media (prefers-color-scheme: dark) { 869 body.darkmode.mode_admin #botmon__admin { 870 871 #botmon__tabs ul.tabs li { 872 a[aria-selected="true"] { 873 background-color: #0c0c0d; 874 color: #adadb3; 875 } 876 a[aria-selected="false"] { 877 background-color: #39393D; 878 color: #ADADB3; 879 } 880 } 881 882 #botmon__latest { 883 884 header { 885 background-color: #0c0c0d; 886 color: #adadb3; 887 border-color: #666; 888 } 889 890 /* list formatting */ 891 dl { 892 & { 893 border-left-color: #777; 894 } 895 dt { 896 color: #adadb3; 897 } 898 dd:nth-child(even) { 899 background-color: #333; 900 } 901 } 902 903 #botmon__today__content > details { 904 summary { 905 & { 906 background-color: #0c0c0d; 907 color: #adadb3; 908 border-color: #666; 909 } 910 &::after { 911 color: #76b0fd; 912 } 913 } 914 & > div { 915 border-color: #666; 916 } 917 } 918 919 /* visitor lists: */ 920 #botmon__today__visitorlists { 921 details ul > li { 922 & { 923 color: #aeaeae; 924 } 925 & > details { 926 border-color: #666; 927 } 928 & > details summary { 929 background-color: #171717; 930 } 931 } 932 933 dl.visitor_details { 934 dd.pages { 935 ul li:nth-child(odd) { 936 background-color: #333; 937 } 938 } 939 } 940 941 dd.eval > ul { 942 li:nth-child(odd) { 943 background-color: #333; 944 } 945 li.total { 946 border-top-color: #CCC; 947 } 948 } 949 span.pageseen, span.pageviews { 950 border-color: #555; 951 } 952 953 } 954 955 footer { 956 & { 957 background-color: #0c0c0d; 958 color: #adadb3; 959 border-color: #666; 960 } 961 & > svg { 962 fill: #777; 963 } 964 & > span.error { 965 color: #961D1B; 966 } 967 } 968 } 969 970 #botmon__log { 971 #botmon__loglist { 972 & { 973 border-color: #CCC; 974 background-color: #232327; 975 } 976 li { 977 &:nth-child(even) { background-color: #39393D; } 978 &.info { color: #a2a2a2;} 979 &.success { color: #50b750; } 980 &.error { color: #f87d7d; } 981 } 982 } 983 } 984 985 } 986} 987/* layout overrides for narrow screens: */ 988@media (max-width: 1024px) { 989 #botmon__admin #botmon__latest { 990 .botmon_traffic_grid { 991 & { 992 grid-template-columns: 1fr !important; 993 } 994 dt { 995 margin: .5em 0; 996 } 997 dl { 998 border-left: transparent none 0; 999 padding-left: 0; 1000 } 1001 } 1002 } 1003} 1004 1005@media (max-width: 800px) { 1006 #botmon__admin #botmon__latest #botmon__today__visitorlists { 1007 dl.visitor_details { 1008 & { 1009 display: block; 1010 margin-top: .5rem; 1011 } 1012 dt { 1013 margin-left: .67rem; 1014 font-size: smaller; 1015 } 1016 dd { 1017 margin-left: 1.5rem; 1018 } 1019 dd.pages, dd.eval { 1020 margin-left: 0; 1021 } 1022 } 1023 } 1024} 1025 1026@media (max-width: 670px) { 1027 #botmon__admin #botmon__latest { 1028 .botmon_bots_grid, .botmon_webmetrics_grid, .botmon_captcha_grid { 1029 & { 1030 grid-template-columns: 1fr !important; 1031 } 1032 dt { 1033 margin: .5em 0; 1034 } 1035 dl { 1036 border-left: transparent none 0; 1037 padding-left: 0; 1038 } 1039 } 1040 } 1041} 1042 1043@media (max-width: 440px) { 1044 #botmon__admin #botmon__latest #botmon__today__content details > div { padding: .25em; } 1045 #botmon__admin #botmon__latest #botmon__today__visitorlists details ul > li { margin-left: 0; } 1046 #botmon__admin #botmon__latest #botmon__today__visitorlists details ul > li > details > summary { column-gap: .1em; } 1047}