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