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