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