github.com/Azareal/Gosora@v0.0.0-20210729070923-553e66b59003/themes/nox/public/main.css (about) 1 {{$darkest_bg := "#222222"}} 2 {{$second_dark_bg := "#292929"}} 3 {{$third_dark_bg := "#333333"}} 4 * { 5 box-sizing: border-box; 6 } 7 body { 8 margin: 0px; 9 padding: 0px; 10 color: #AAAAAA; 11 background-color: {{$darkest_bg}}; 12 font-family: "Segoe UI"; 13 } 14 a { 15 color: #eeeeee; 16 text-decoration: none; 17 } 18 a:hover { 19 color: #cccccc; 20 } 21 ::selection { 22 color: #111111; 23 background-color: #bbbbbb; 24 } 25 26 nav.nav { 27 background: {{$darkest_bg}}; 28 width: calc(100% - 200px); 29 float: left; 30 } 31 ul { 32 list-style-type: none; 33 margin-top: 0px; 34 margin-bottom: 0px; 35 clear: both; 36 } 37 li { 38 float: left; 39 margin-right: 12px; 40 } 41 li a { 42 padding-top: 35px; 43 padding-bottom: 22px; 44 font-size: 18px; 45 display: inline-block; 46 color: #aaaaaa; 47 } 48 #menu_overview { 49 margin-right: 24px; 50 } 51 #menu_overview a { 52 font-size: 22px; 53 padding-bottom: 21px; 54 color: rgb(221,221,221); 55 padding-top: 31px; 56 } 57 .menu_left.menu_active a { 58 border-bottom: 2px solid #777777; 59 padding-bottom: 21px; 60 color: #dddddd; 61 } 62 .menu_alerts .alert_bell, 63 .menu_alerts .alert_counter, 64 .menu_alerts:not(.selectedAlert) .alertList { 65 display: none; 66 } 67 .alertList { 68 display: flex; 69 flex-direction: column; 70 background-color: #444444; 71 position: absolute; 72 border: 1px solid #333333; 73 top: 82px; 74 border-top: none; 75 right: 0px; 76 padding-left: 16px; 77 padding-right: 16px; 78 } 79 .alertItem { 80 padding: 10px; 81 padding-left: 8px; 82 padding-right: 8px; 83 } 84 .alertItem:not(.withAvatar) { 85 padding-top: 6px; 86 padding-bottom: 6px; 87 } 88 .alertItem:not(.withAvatar) a { 89 padding-top: 14px; 90 padding-bottom: 18px; 91 font-size: 17px; 92 } 93 .alertItem.withAvatar { 94 background: none !important; 95 height: 66px; 96 padding-top: 4px; 97 display: flex; 98 padding: 16px; 99 padding-left: 0px; 100 padding-right: 0px; 101 } 102 .alertItem.withAvatar:not(:last-child) { 103 border-bottom: 1px solid #555555; 104 } 105 .alertItem.withAvatar .bgsub { 106 height: 36px; 107 width: 36px; 108 border-radius: 32px; 109 } 110 .alertItem.withAvatar .text { 111 margin-left: 12px; 112 padding-top: 5px; 113 font-size: 16px; 114 } 115 .menu_hamburger > a:after { 116 content: "{{lang "menu_more" . }}"; 117 } 118 .menu_hamburger, .more_menu, .menu_hide { 119 display: none; 120 } 121 .more_menu { 122 position: absolute; 123 background-color: #444444; 124 border: 1px solid #333333; 125 flex-direction: column; 126 list-style-type: none; 127 padding: 16px; 128 padding-top: 12px; 129 padding-bottom: 12px; 130 top: 70px; 131 } 132 .more_menu_selected { 133 display: flex !important; 134 } 135 .more_menu li a { 136 font-size: 17px; 137 padding-top: 0px !important; 138 padding-bottom: 0px !important; 139 } 140 .more_menu li a:not(:last-child) { 141 padding-bottom: 8px !important; 142 } 143 .more_menu .menu_active a { 144 border-bottom: none; 145 } 146 147 .right_of_nav { 148 float: left; 149 width: 200px; 150 background-color: {{$darkest_bg}}; 151 padding-top: 12px; 152 padding-bottom: 12px; 153 padding-right: 12px; 154 } 155 .user_box { 156 display: flex; 157 flex-direction: row; 158 border-radius: 3px; 159 background-color: {{$third_dark_bg}}; 160 padding-top: 11px; 161 padding-bottom: 11px; 162 padding-left: 12px; 163 } 164 .user_box.has_alerts { 165 padding-top: 10px; 166 padding-bottom: 10px; 167 border: 1px solid #444444; 168 } 169 a img:hover { 170 filter: brightness(92%); 171 } 172 .user_box img { 173 display: block; 174 width: 36px; 175 height: 36px; 176 border-radius: 32px; 177 margin-right: 8px; 178 } 179 .user_box .username { 180 display: block; 181 font-size: 16px; 182 padding-top: 4px; 183 line-height: 10px; 184 } 185 .user_box .alerts { 186 font-size: 12px; 187 line-height: 12px; 188 } 189 #container { 190 clear: both; 191 } 192 #back { 193 background: {{$third_dark_bg}}; 194 padding: 24px; 195 padding-top: 12px; 196 clear: both; 197 display: flex; 198 } 199 #main, #main .rowblock { 200 width: 100%; 201 } 202 203 .alert { 204 border-radius: 3px; 205 background-color: #444444; 206 padding: 12px; 207 } 208 209 .shrink_main .sidebar { 210 width: 320px; 211 } 212 .widget_simple .rowitem { 213 line-height: 18px; 214 padding-top: 14px !important; 215 padding-bottom: 14px !important; 216 } 217 .widget_simple.rowhead .rowitem { 218 padding-bottom: 4px !important; 219 } 220 .the_form { 221 border-radius: 3px; 222 background-color: #444444; 223 padding: 16px; 224 } 225 .rowblock:not(.topic_list):not(.rowhead):not(.opthead) .rowitem:not(.post_item), .topic_list .rowitem.rowmsg { 226 border-radius: 3px; 227 background-color: #444444; 228 display: flex; 229 padding: 12px; 230 } 231 .sidebar .rowblock:not(.topic_list):not(.rowhead):not(.opthead) .rowitem, .sidebar .search { 232 margin-left: 12px; 233 } 234 .topics_moderate .can_mod { 235 background-color: #4d4d4d; 236 } 237 .topics_moderate .can_mod:hover { 238 background-color: rgb(78, 78, 98); 239 } 240 .widget_search:first-child { 241 margin-top: 36px; 242 } 243 .widget_search input { 244 width: 100%; 245 height: 30px; 246 margin-left: 0px; 247 } 248 .filter_list { 249 margin-top: 5px; 250 } 251 .colstack_right .colstack_item:not(.colstack_head):not(.rowhead) .rowitem { 252 border-radius: 3px; 253 background-color: #444444; 254 padding: 16px; 255 } 256 .filter_item a { 257 color: #BBBBBB; 258 text-overflow: ellipsis; 259 overflow: hidden; 260 white-space: nowrap; 261 } 262 .colstack_right .colstack_item:not(.colstack_head):not(.rowhead) .rowitem:not(:last-child), .rowmsg { 263 margin-bottom: 8px; 264 } 265 .colstack_right .colstack_head:not(:first-child) { 266 margin-top: 16px; 267 } 268 269 h1, h2, h3, h4, h5 { 270 -webkit-margin-before:0; 271 -webkit-margin-after:0; 272 margin-block-start:0; 273 margin-block-end:0; 274 margin-top:0; 275 margin-bottom:0; 276 font-weight:normal; 277 white-space:nowrap; 278 } 279 280 /* new */ 281 .filter_list { 282 margin-top: 5px; 283 background-color: #444444; 284 margin-left: 12px; 285 border-radius: 3px; 286 } 287 .filter_item { 288 margin-left: 0px !important; 289 border-radius: 0px !important; 290 } 291 .filter_item:hover { 292 background-color: #505050 !important; 293 } 294 .filter_selected { 295 background-color: #555555 !important; 296 } 297 .filter_selected a { 298 color: #CCCCCC; 299 } 300 /* new end */ 301 302 @keyframes fadein { 303 from { opacity: 0; } 304 to { opacity: 1; } 305 } 306 .modal_pane { 307 position: fixed; 308 left: 50%; 309 top: 50%; 310 transform: translate(-50%, -50%); 311 background: #444444; 312 border: 2px solid #333333; 313 border-radius: 5px; 314 padding: 12px; 315 padding-top: 8px; 316 z-index: 9999; 317 animation: fadein 0.8s; 318 } 319 .pane_header { 320 margin-bottom: 2px; 321 } 322 .pane_row { 323 margin-top: 2px; 324 cursor: pointer; 325 } 326 .pane_selected { 327 font-weight: bold; 328 } 329 .pane_buttons { 330 margin-top: 8px; 331 } 332 .mod_floater { 333 position: absolute; 334 right: 10px; 335 bottom: 10px; 336 background: #444444; 337 border-radius: 5px; 338 padding: 12px; 339 padding-top: 8px; 340 width: 200px; 341 } 342 .mod_floater_head span { 343 margin-bottom: 6px; 344 display: block; 345 } 346 .mod_floater_body { 347 display: flex; 348 } 349 .mod_floater_options { 350 width: 100%; 351 margin-right: 10px; 352 padding: 4px; 353 margin-bottom: 0px; 354 } 355 #are_you_sure .rowblock .rowitem.passive { 356 display: flex; 357 flex-direction: column; 358 } 359 360 .rowhead, .opthead, .colstack_head { 361 margin-left: 8px; 362 margin-bottom: 8px; 363 } 364 .rowhead h1, .opthead h1, .colstack_head h1 { 365 font-size: 21px; 366 } 367 .rowhead h1 + h2, .opthead h1 + h2, .colstack_right .colstack_head .rowitem h1 + h2 { 368 margin-left: auto; 369 } 370 371 .sidebar .rowhead { 372 margin-left: 18px; 373 margin-top: 4px; 374 margin-bottom: 8px; 375 } 376 .sidebar .rowhead h1 { 377 font-size: 20px; 378 } 379 .sidebar .rowhead:not(:first-child) h1 { 380 margin-top: 12px; 381 font-size: 19px; 382 } 383 384 h2 { 385 font-size: 18px; 386 margin-top: 12px; 387 margin-bottom: 8px; 388 margin-left: 8px; 389 } 390 .rowhead h2, .colstack_head h2 { 391 margin-top: 0px; 392 margin-bottom: 0px; 393 margin-left: 0px; 394 } 395 396 .topic_create_form { 397 display: flex; 398 } 399 .quick_reply_form, .topic_reply_form, .topic_create_form { 400 background-color: #444444; 401 border-radius: 3px; 402 } 403 .quick_create_form { 404 margin-bottom: 8px; 405 padding: 16px; 406 } 407 .quick_create_form .little_row_avatar { 408 border-radius: 36px; 409 margin-left: 4px; 410 margin-right: 20px; 411 height: 48px; 412 width: 48px; 413 } 414 .quick_create_form .main_form { 415 width: 80%; 416 } 417 .quick_create_form .topic_meta { 418 display: flex; 419 } 420 .quick_create_form input, .quick_create_form select { 421 margin-left: 0px; 422 margin-bottom: 0px; 423 } 424 .quick_create_form .topic_meta .topic_name_row { 425 margin-bottom: 8px; 426 width: 100%; 427 font-size: 14px; 428 } 429 .quick_create_form .topic_meta .topic_name_row:not(:only-child) { 430 margin-left: 6px; 431 } 432 .quick_create_form .topic_meta .topic_name_row:only-child input { 433 margin-left: 0px; 434 } 435 .quick_create_form .topic_meta .topic_name_row input { 436 width: 100%; 437 } 438 .quick_create_form .topic_content_row textarea { 439 width: 100%; 440 height: 60px; 441 resize: vertical; 442 } 443 .quick_create_form .quick_button_row .formitem { 444 display: flex; 445 margin-top: 6px; 446 } 447 .quick_create_form .quick_button_row button, .quick_create_form .quick_button_row label { 448 margin-right: 8px; 449 } 450 .quick_create_form #input_content { 451 width: 100%; 452 height: 100px; 453 resize: vertical; 454 } 455 .uploadItem { 456 display: inline-block; 457 } 458 459 .more_topic_block_initial { 460 display: none; 461 } 462 .more_topic_block_active { 463 display: block; 464 } 465 466 .hide_ajax_topic, 467 .auto_hide, 468 .show_on_edit:not(.edit_opened), 469 .hide_on_edit.edit_opened, 470 .show_on_block_edit:not(.edit_opened), 471 .hide_on_block_edit.edit_opened, 472 .link_select:not(.link_opened) { 473 display: none !important; 474 } 475 476 .topic_list_title_block { 477 display: flex; 478 margin-left: 8px; 479 } 480 .topic_list_title { 481 margin-left: 2px; 482 } 483 .topic_list_title_block .optbox { 484 display: flex; 485 font-size: 17px; 486 margin-top: 3.5px; 487 margin-right: 16px; 488 margin-right: 18px; 489 width: 100%; 490 } 491 .topic_list_title_block .pre_opt:before { 492 content: "{{lang "topics_click_topics_to_select" . }}"; 493 font-size: 17px; 494 margin-right: 20px; 495 } 496 .topic_list_title_block .opt a { 497 color: #afafaf; 498 margin-left: 8px; 499 white-space: nowrap; 500 } 501 .topic_list_title_block .create_topic_opt a:before { 502 content: "{{lang "quick_topic.create_button" . }}"; 503 } 504 .topic_list_title_block .mod_opt a:before { 505 content: "{{lang "topic_list.moderate" . }}"; 506 } 507 .topic_list_title_block .moderate_link.moderate_open:before { 508 content: "{{lang "topic_list.cancel_mod" . }}"; 509 } 510 511 .filter_opt, .dummy_opt { 512 margin-right: auto; 513 } 514 .filter_opt.opt a.filter_opt_label { 515 font-size: 18px; 516 margin-left: 5px; 517 } 518 .filter_opt_pointy { 519 margin-left: -5px; 520 } 521 .link_select { 522 background: #333333; 523 background-color: #444444; 524 position: absolute; 525 border: 1px solid #333333; 526 padding: 16px; 527 padding-top: 10px; 528 padding-bottom: 10px; 529 margin-top: 2px; 530 } 531 .link_select .link_option a { 532 margin-left: 0px; 533 } 534 535 .topic_row:not(:last-child) { 536 margin-bottom: 8px; 537 } 538 .topic_row { 539 border-radius: 3px; 540 background-color: #444444; 541 display: flex; 542 } 543 .topic_left, .topic_right, .topic_middle { 544 padding: 16px; 545 padding-bottom: 10px; 546 padding-top: 16px; 547 display: flex; 548 width: 33%; 549 } 550 .topic_middle { 551 line-height: 20px; 552 } 553 .topic_left { 554 margin-right: auto; 555 } 556 .topic_sticky .topic_left { 557 border-left: 3px solid rgb(215, 155, 0); 558 border-radius: 3px; 559 } 560 .topic_closed .topic_left { 561 border-left: 3px solid grey; 562 border-radius: 3px; 563 } 564 .topic_closed { 565 background-color: #4b4b4b; 566 } 567 .topic_row.topic_selected { 568 background-color: rgb(68, 68, 88); 569 } 570 .new_item .topic_left { 571 border-left: 3px solid rgb(215, 215, 215); 572 border-radius: 3px; 573 } 574 .topic_left img, .topic_right img { 575 border-radius: 24px; 576 height: 38px; 577 width: 38px; 578 margin-right: 10px; 579 } 580 .topic_left img:hover, .topic_right img:hover { 581 filter: brightness(95%); 582 } 583 .topic_inner_left { 584 display: flex; 585 flex-direction: column; 586 width: 92%; 587 } 588 .topic_inner_left .rowtopic { 589 white-space: nowrap; 590 text-overflow: ellipsis; 591 overflow: hidden; 592 } 593 .parent_forum_sep { 594 margin-left: 6px; 595 margin-right: 6px; 596 } 597 .topic_right_inside { 598 display: flex; 599 margin-left: auto; 600 width: 180px; 601 } 602 .topic_right_inside .lastName, .topic_left .rowtopic { 603 font-size: 15px !important; 604 line-height: 22px; 605 margin-top: -2px; 606 } 607 .topic_right_inside .lastName { 608 font-size: 14px; 609 } 610 .topic_right_inside .lastReplyAt, .topic_left .starter { 611 font-size: 14px; 612 line-height: 14px; 613 } 614 .topic_right_inside span { 615 display: flex; 616 flex-direction: column; 617 } 618 .topic_inner_left br, 619 .topic_right_inside br, 620 .topic_inner_right, 621 .topic_list:not(.topic_list_weekviews) .topic_middle .weekViewCount, 622 .topic_list:not(.topic_list_mostviewed) .topic_middle .viewCount, 623 .topic_list_weekviews .topic_middle .likeCount, 624 .topic_list_mostviewed .topic_middle .likeCount { 625 display: none; 626 } 627 .topic_middle_inside { 628 display: flex; 629 flex-direction: column; 630 margin-left: auto; 631 margin-right: auto; 632 margin-top: -3px; 633 width: 80px; 634 } 635 .topic_status_e { 636 display: none; 637 } 638 639 /* TODO: Make a generic version of this so that we can have more blocks which are initially hidden but flip over to visible under certain conditions */ 640 .more_topic_block_initial { 641 display: none; 642 } 643 .more_topic_block_active { 644 display: block; 645 } 646 647 input, select, button, .formbutton, .panel_right_button:not(.has_inner_button), textarea { 648 border-radius: 3px; 649 background: rgb(90,90,90); 650 color: rgb(200,200,200); 651 border: none; 652 padding: 4px; 653 } 654 input:focus, select:focus, textarea:focus { 655 outline: 1px solid rgb(120,120,120); 656 } 657 input:not(input[type=search]):not(input[type=submit]) { 658 background-image: url(./fa-svg/pencil-alt.svg); 659 background-size: 12px; 660 background-repeat: no-repeat; 661 background-position: right 10px bottom 9px; 662 background-position-x: right 10px; 663 } 664 input { 665 padding: 5px; 666 padding-bottom: 3px; 667 font-size: 16px; 668 } 669 input, select { 670 margin-left: 3px; 671 margin-bottom: 4px; 672 } 673 button, .formbutton, .panel_right_button:not(.has_inner_button) { 674 background: rgb(110,110,210); 675 color: rgb(250,250,250); 676 font-family: "Segoe UI"; 677 font-size: 15px; 678 text-align: center; 679 padding: 6px; 680 } 681 .formlabel { 682 margin-bottom: 4px; 683 } 684 /*.formlabel + .formitem { 685 margin-left: 4px; 686 }*/ 687 .formrow { 688 margin-bottom: 6px; 689 } 690 .form_button_row { 691 margin-top: 10px; 692 } 693 .formitem a { 694 margin-bottom: 5px; 695 display: block; 696 } 697 698 .login_mfa_token_row .formlabel { 699 display: none; 700 } 701 .fall_opts { 702 display: flex; 703 } 704 .dont_have_account, .forgot_password { 705 margin-top: 12px; 706 margin-bottom: -8px; 707 } 708 .forgot_password { 709 margin-left: auto; 710 } 711 712 .pageset { 713 display: flex; 714 margin-top: 8px; 715 } 716 .pageitem { 717 font-size: 17px; 718 border-radius: 3px; 719 background-color: #444444; 720 padding: 7px; 721 margin-right: 6px; 722 } 723 .pagefirst, .pagenext, .pageprev, .pagelast { 724 padding-top: 2px; 725 padding-bottom: 6px; 726 } 727 .pagefirst a, .pagenext a, .pageprev a, .pagelast a { 728 font-size: 22px; 729 } 730 .pagecurrent { 731 background-color: #505050; 732 } 733 734 #prevFloat, #nextFloat { 735 display: none; 736 } 737 .forum_list .rowitem { 738 margin-bottom: 8px; 739 display: flex; 740 } 741 .forum_list .forum_left { 742 margin-left: 8px; 743 } 744 .forum_list .forum_nodesc { 745 font-style: italic; 746 } 747 .forum_list .forum_right { 748 display: flex; 749 margin-left: auto; 750 margin-right: 8px; 751 padding-top: 2px; 752 width: 155px; 753 } 754 .forum_list .forum_right img { 755 margin-right: 10px; 756 margin-top: 2px; 757 } 758 .forum_list .forum_right span { 759 line-height: 19px; 760 overflow: hidden; 761 text-overflow: ellipsis; 762 } 763 .forum_list .forum_right span a { 764 white-space: nowrap; 765 } 766 .extra_little_row_avatar { 767 border-radius: 24px; 768 height: 36px; 769 width: 36px; 770 } 771 .extra_little_row_avatar:hover { 772 filter: brightness(92%); 773 } 774 775 .colstack, .topic_item { 776 display: flex; 777 } 778 779 .topic_item .topic_name_forum_sep { 780 font-size: 20px; 781 line-height: 30px; 782 margin-left: 7px; 783 margin-right: 7px; 784 } 785 .topic_item .topic_forum { 786 font-size: 19px; 787 line-height: 30px; 788 color: #cccccc; 789 } 790 .topic_view_count { 791 font-size: 17px; 792 margin-left: auto; 793 margin-right: 20px; 794 margin-top: 6px; 795 } 796 .topic_view_count:after { 797 content: "{{lang "topic.view_count_suffix" . }}"; 798 } 799 .edithead { 800 margin-left: 0px; 801 margin-bottom: 10px; 802 } 803 .topic_name_input { 804 width: 100%; 805 margin-right: 10px; 806 margin-bottom: 0px; 807 margin-left: 0px; 808 } 809 sp.topic_item .submit_edit { 810 /*margin-right: 16px;*/ 811 } 812 .zone_view_topic button, .zone_view_topic .formbutton { 813 padding: 5px; 814 padding-top: 4px; 815 padding-bottom: 4px; 816 } 817 .postImage { 818 width: 100%; 819 max-width: 320px; 820 } 821 video { 822 width: 100%; 823 } 824 blockquote { 825 background-color: #555555; 826 border-radius: 3px; 827 padding: 8px; 828 margin: 0px; 829 margin-top: 8px; 830 margin-bottom: 8px; 831 } 832 blockquote + br { 833 display: none; 834 } 835 blockquote:only-child { 836 margin-top: 0px; 837 margin-bottom: 0px; 838 } 839 blockquote:first-child { 840 margin-top: 0px; 841 } 842 .post_item { 843 display: flex; 844 margin-bottom: 12px; 845 } 846 .userinfo { 847 margin-right: 12px; 848 padding: 24px; 849 padding-bottom: 16px; 850 background-color: #444444; 851 border-radius: 3px; 852 width: 150px; 853 } 854 .userinfo, .user_meta { 855 display: flex; 856 flex-direction: column; 857 } 858 .avatar_item { 859 background-position: 0px -10px; 860 background-size: 78px; 861 } 862 .aitem, .avatar_item { 863 height: 58px; 864 width: 58px; 865 border-radius: 36px; 866 margin-left: auto; 867 margin-right: auto; 868 } 869 .the_name { 870 margin-left: auto; 871 margin-right: auto; 872 white-space: nowrap; 873 display: block; 874 font-size: 18px; 875 margin-top: 8px; 876 line-height: 16px; 877 } 878 .tag_block { 879 display: flex; 880 } 881 .post_tag { 882 white-space: nowrap; 883 margin-left: auto; 884 margin-right: auto; 885 display: block; 886 } 887 .post_item .topic_content_input { 888 resize: vertical; 889 height: 150px; 890 padding: 16px; 891 } 892 .post_item .content_container { 893 border-radius: 3px; 894 width: 100%; 895 display: flex; 896 flex-direction: column; 897 color: #bbbbbb; 898 } 899 .action_item .content_container, .post_item .user_content, .post_item .button_container { 900 background-color: #444444; 901 border-radius: 3px; 902 padding: 16px; 903 } 904 .user_content { 905 word-break: break-word; 906 } 907 .user_content h2 { 908 font-size: 20px; 909 } 910 .user_content h3 { 911 font-size: 19px; 912 } 913 .user_content h2, .user_content h3 { 914 margin-top: 3px; 915 margin-bottom: 12px; 916 margin-left: 0px; 917 } 918 .user_content h2 + br, .user_content h3 + br { 919 display: none; 920 } 921 .user_content strong h2, .user_content strong h3 { 922 font-weight: bold; 923 } 924 .user_content.in_edit { 925 padding: 0px; 926 background: none; 927 } 928 .user_content textarea { 929 resize: vertical; 930 height: 150px; 931 width: 100% !important; 932 padding: 16px; 933 } 934 red { 935 color: red; 936 } 937 .hide_spoil { 938 background-color: grey; 939 color: grey; 940 } 941 .hide_spoil img { 942 border: 0; 943 clip: rect(0 0 0 0); 944 height: 1px; 945 margin: -1px; 946 overflow: hidden; 947 padding: 50px; 948 white-space: nowrap; 949 width: 1px; 950 background-color: grey; 951 } 952 .hide_spoil img { 953 content: " "; 954 } 955 .attach_box { 956 background-color: #5a5555; 957 border-radius: 3px; 958 padding: 16px; 959 } 960 .update_buttons { 961 display: flex; 962 background-color: #444444; 963 border-radius: 4px; 964 margin-top: 4px; /*8 without <br>*/ 965 padding: 6px; 966 } 967 .user_content.in_edit a { 968 margin-right: 8px; 969 } 970 .post_item .button_container { 971 display: flex; 972 margin-top: 8px; 973 margin-bottom: auto; 974 padding: 14px; 975 } 976 .post_item .action_button { 977 margin-right: 5px; 978 font-size: 15px; 979 color: #dddddd; 980 white-space: nowrap; 981 } 982 .post_item .action_button_left, .post_item .action_button_right { 983 display: flex; 984 } 985 .post_item .action_button_right { 986 margin-left: auto; 987 } 988 .post_item .controls:not(.has_likes) .like_count, .action_item .userinfo, .action_item .action_icon { 989 display: none; 990 } 991 .action_item .content_container { 992 padding-top: 12px; 993 padding-bottom: 12px; 994 } 995 .action_item .content_container span { 996 margin-left: auto; 997 margin-right: auto; 998 } 999 1000 input[type=checkbox] { 1001 display: none; 1002 } 1003 input[type=checkbox] + label { 1004 display: inline-flex; 1005 width: 18px; 1006 height: 18px; 1007 margin-bottom: -2px; 1008 margin-right: 8px; 1009 background-color: rgb(90,90,90); 1010 padding-top: 1px; 1011 border-radius: 2px; 1012 } 1013 input[type=checkbox]:checked + label .sel, 1014 input[type=checkbox]:not(:checked):hover + label .sel { 1015 width: 8px; 1016 height: 8px; 1017 margin: auto; 1018 border-radius: 2px; 1019 } 1020 input[type=checkbox]:checked + label .sel { 1021 background: rgb(140,140,140); 1022 } 1023 input[type=checkbox]:not(:checked):hover + label .sel { 1024 background: rgb(120,120,120); 1025 } 1026 .poll_option { 1027 display: flex; 1028 margin-bottom: 10px; 1029 } 1030 .poll_option_text { 1031 line-height: 14px; 1032 } 1033 .poll_buttons { 1034 padding-top: 4px; 1035 } 1036 .poll_buttons button { 1037 margin-right: 8px; 1038 } 1039 .poll_results { 1040 margin-left: 12px; 1041 } 1042 .pollinput { 1043 margin-bottom: 5px; 1044 } 1045 .pollinput:last-child { 1046 margin-bottom: 12px; 1047 } 1048 1049 .ip_item { 1050 display: none; 1051 } 1052 1053 .add_like:before, .remove_like:before { 1054 content:"{{lang "topic.plus_one" . }}"; 1055 } 1056 .remove_like:before { 1057 content:"{{lang "topic.minus_one" . }}"; 1058 } 1059 .button_container .open_edit:after, .edit_item:after { 1060 content:"{{lang "topic.edit_button_text" . }}"; 1061 } 1062 .ip_item_button:after { 1063 content:"{{lang "topic.ip_button_text" . }}"; 1064 }{{$p := .}} 1065 {{range (toArr "quote" "delete" "lock" "unlock" "pin" "unpin" "report")}} 1066 .{{.}}_item:after { 1067 content:"{{lang (concat "topic." . "_button_text") ($p) }}"; 1068 }{{end}} 1069 .like_count:after { 1070 content:"{{lang "topic.like_count_suffix" . }}"; 1071 } 1072 1073 .attach_item { 1074 display: flex; 1075 background-color: #444444; 1076 border-radius: 4px; 1077 margin-top: 8px; 1078 padding: 6px; 1079 text-overflow: ellipsis; 1080 overflow: hidden; 1081 } 1082 .attach_item_selected { 1083 background-color: #446644 1084 } 1085 .attach_item img { 1086 margin-right: 8px; 1087 border-radius: 4px; 1088 } 1089 .attach_edit_bay button { 1090 margin-top: 8px; 1091 margin-left: 8px; 1092 } 1093 1094 /* New */ 1095 .attach_item { 1096 padding: 8px; 1097 width: 100%; 1098 } 1099 .attach_item_item span { 1100 margin-bottom: 4px; 1101 margin-right: auto; 1102 overflow: hidden; 1103 text-overflow: ellipsis; 1104 width: 350px; 1105 } 1106 .attach_image_holder span { 1107 width: 300px; 1108 } 1109 .attach_item button { 1110 margin-top: -1px; 1111 } 1112 .post_item:not(.has_attachs):not(.top_post) .attach_item_buttons, 1113 .post_item:not(.has_attachs) .attach_item_delete, 1114 .has_attachs .update_buttons .add_file_button { 1115 display: none; 1116 } 1117 1118 .zone_view_topic .pageset { 1119 margin-bottom: 14px; 1120 } 1121 .topic_reply_container { 1122 display: flex; 1123 } 1124 1125 .rowlist.bgavatars:not(.not_grid), .micro_grid { 1126 display: grid; 1127 /*grid-gap: 16px; 1128 grid-row-gap: 8px;*/ 1129 grid-gap: 24px; 1130 grid-row-gap: 16px; 1131 grid-template-columns: repeat(3, 1fr); 1132 grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 1133 } 1134 .rowlist.bgavatars.micro_grid, .micro_grid { 1135 grid-gap: 16px; 1136 grid-row-gap: 4px; 1137 grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); 1138 } 1139 .rowlist.bgavatars .rowitem, .micro_grid .rowitem { 1140 display: flex; 1141 flex-direction: column; 1142 /*width: 180px;*/ 1143 background-image: none !important; 1144 margin-bottom: 10px; 1145 padding: 16px; 1146 } 1147 .rowlist.not_grid .rowitem { 1148 flex-direction: row; 1149 } 1150 .rowlist.bgavatars .bgsub, .rowlist.bgavatars .rowTitle, .rowlist.bgavatars .rowAvatar { 1151 margin-left: auto; 1152 margin-right: auto; 1153 } 1154 .rowlist.bgavatars .bgsub { 1155 border-radius: 32px; 1156 height: 64px; 1157 width: 64px; 1158 } 1159 .rowlist.bgavatars .rowTitle { 1160 font-size: 18px; 1161 margin-top: 4px; 1162 } 1163 .rowlist.bgavatars .rowAvatar { 1164 margin-bottom: -4px; 1165 } 1166 .rowlist.bgavatars.not_grid .bgsub { 1167 height: 28px; 1168 width: 28px; 1169 margin-left: 4px; 1170 margin-right: 10px; 1171 } 1172 .rowlist.bgavatars.not_grid .rowTitle { 1173 font-size: 17px; 1174 margin-left: 0px; 1175 margin-top: 0px; 1176 } 1177 .loglist .to_left small { 1178 margin-left: 2px; 1179 font-size: 12px; 1180 } 1181 1182 .ip_search_block { 1183 margin-bottom: 12px; 1184 } 1185 .ip_search_input { 1186 width: 100%; 1187 margin-right: 8px; 1188 } 1189 1190 .footer .widget, .elapsed { 1191 padding: 12px; 1192 border-bottom: 1px solid #555555; 1193 } 1194 .elapsed { 1195 padding: 6px; 1196 background: rgb(82,82,82); 1197 border-radius: 3px; 1198 font-size: 13.5px; 1199 color: rgb(200,200,200); 1200 margin-top: 1px; 1201 margin-bottom: 4px; 1202 padding-bottom: 2px; 1203 padding-top: 3px; 1204 margin-right: 3px; 1205 } 1206 #poweredByHolder { 1207 display: flex; 1208 padding-top: 12px; 1209 padding-left: 16px; 1210 padding-right: 16px; 1211 padding-bottom: 8px; 1212 } 1213 #poweredBy { 1214 margin-right: auto; 1215 } 1216 .footer .widget, #poweredByHolder { 1217 background-color: #444444; 1218 } 1219 1220 .level_complete, .level_future, .level_inprogress, .progressWrap { 1221 display: flex; 1222 } 1223 .level_inprogress { 1224 position: relative; 1225 } 1226 .level_complete { 1227 background-color: rgb(68, 93, 68) !important; 1228 width: 100%; 1229 } 1230 .level_future { 1231 background-color: rgb(88, 68, 68) !important; 1232 width: 100%; 1233 } 1234 .progressWrap { 1235 margin-left: auto; 1236 } 1237 .levelBit { 1238 color: #dadada; 1239 } 1240 /* CSS behaves in stupid ways, so we need to be very specific about this */ 1241 .rowblock:not(.topic_list):not(.rowhead):not(.opthead) .rowitem.level_inprogress:not(.post_item), 1242 .coldyn_item .rowitem.level_inprogress { 1243 padding: 0px !important; 1244 } 1245 .level_inprogress > div { 1246 display: flex; 1247 padding-top: 12px; 1248 padding-bottom: 12px; 1249 padding-left: 12px; 1250 border-radius: 3px; 1251 /*width: 100%;*/ 1252 } 1253 .level_inprogress:not(.level_zero) .levelBit { 1254 background-color: rgb(68, 93, 68) !important; 1255 } 1256 .level_inprogress .levelBit { 1257 display: inline; 1258 position: absolute; 1259 z-index: 1; 1260 } 1261 .level_inprogress .levelBit a { 1262 white-space: nowrap; 1263 } 1264 .level_inprogress .progressWrap { 1265 /*width: 100%;*/ 1266 padding-left: 0px; 1267 padding-right: 12px; 1268 /*background-color: rgb(68, 68, 68) !important;*/ 1269 z-index: 2; 1270 } 1271 .level_inprogress .progressWrap div { 1272 margin-left: auto; 1273 white-space: nowrap; 1274 } 1275 1276 @media(max-width: 600px) { 1277 .rowhead h1, .opthead h1, .colstack_head h1 { 1278 font-size: 19px; 1279 } 1280 .topic_list_title_block .opt { 1281 margin-top: -1px; 1282 } 1283 .topic_list_title_block .opt a { 1284 font-size: 16px; 1285 } 1286 1287 .topic_list .topic_middle { 1288 display: none; 1289 } 1290 .topic_left, .topic_right, .topic_middle { 1291 width: 50%; 1292 } 1293 .topic_right_inside .lastName, .topic_left .rowtopic { 1294 margin-top: -4px; 1295 } 1296 .topic_left img, .topic_right img { 1297 height: 32px; 1298 width: 32px; 1299 } 1300 .topic_list .topic_right_inside .lastReplyAt, .topic_list .topic_left .starter { 1301 white-space: nowrap; 1302 } 1303 1304 .userinfo { 1305 padding: 18px; 1306 width: 140px; 1307 } 1308 .avatar_item { 1309 height: 48px; 1310 width: 48px; 1311 background-size: 68px; 1312 } 1313 .the_name { 1314 font-size: 17px; 1315 } 1316 } 1317 1318 @media(max-width: 500px) { 1319 .sidebar, .topic_view_count { 1320 display: none; 1321 } 1322 1323 .post_item .button_container { 1324 display: block; 1325 margin-top: 8px; 1326 background: transparent; 1327 padding: 0px; 1328 } 1329 .post_item .action_button_left { 1330 display: block; 1331 background-color: #444444; 1332 border-radius: 3px; 1333 padding: 10px; 1334 } 1335 .post_item .action_button_right { 1336 background-color: #444444; 1337 border-radius: 3px; 1338 padding: 10px; 1339 padding-left: 14px; 1340 /*padding-right: 12px;*/ 1341 margin-top: 8px; 1342 } 1343 .post_item .controls:not(.has_likes) .like_count { 1344 display: inline; 1345 } 1346 .post_item .created_at { 1347 margin-left: auto; 1348 } 1349 .post_item, .topic_reply_container { 1350 flex-direction: column; 1351 } 1352 .userinfo { 1353 margin-right: 0px; 1354 width: auto; 1355 flex-direction: row; 1356 margin-bottom: 8px; 1357 padding: 18px; 1358 padding-bottom: 14px; 1359 } 1360 .avatar_item { 1361 height: 46px; 1362 width: 46px; 1363 margin-left: 0px; 1364 margin-right: 0px; 1365 } 1366 .user_meta { 1367 margin-left: 10px; 1368 margin-top: -4px; 1369 } 1370 } 1371 1372 @media(max-width: 460px) { 1373 ul { 1374 background: #3f3f3f; 1375 } 1376 .topic_list_title, .filter_opt_sep { 1377 display: none; 1378 } 1379 .topic_list_title_block .create_topic_opt a:before { 1380 content: "{{lang "quick_topic.create_button_short" . }}"; 1381 } 1382 .topic_list_title_block .mod_opt a:before { 1383 content: "{{lang "topic_list.moderate_short" . }}"; 1384 } 1385 .topic_inner_left .parent_forum, .parent_forum_sep { 1386 display: none; 1387 } 1388 } 1389 1390 @media(max-width: 601px) { 1391 ul { 1392 padding-left: 14px; 1393 } 1394 li a { 1395 padding-bottom: 6px; 1396 font-size: 15px; 1397 color: #bfbfbf; 1398 } 1399 1400 #menu_overview { 1401 margin-right: 10px; 1402 } 1403 #menu_overview a { 1404 font-size: 17px; 1405 padding-bottom: 7px; 1406 color: rgb(226,226,226); 1407 padding-top: 12px; 1408 } 1409 .menu_left.menu_active a { 1410 color: #cfcfcf; 1411 } 1412 } 1413 1414 @media (max-width: 750px) and (min-width: 600px) { 1415 ul { 1416 padding-left: 16px; 1417 } 1418 #menu_overview { 1419 margin-right: 12px; 1420 } 1421 #menu_overview a { 1422 font-size: 19px; 1423 padding-bottom: 5px; 1424 color: rgb(231,231,231); 1425 padding-top: 11px; 1426 } 1427 li a { 1428 padding-bottom: 13px; 1429 font-size: 16px; 1430 color: #cfcfcf; 1431 } 1432 .menu_left.menu_active a { 1433 color: #dddddd; 1434 } 1435 } 1436 1437 @media (max-width: 750px) { 1438 nav.nav { 1439 background: #2a2a2a; 1440 width: 100%; 1441 } 1442 ul { 1443 display: flex; 1444 padding-right: 0px; 1445 } 1446 li { 1447 float: left; 1448 margin-right: 6px; 1449 } 1450 li a { 1451 padding-top: 14px; 1452 display: inline-block; 1453 } 1454 .menu_left.menu_active a { 1455 padding-bottom: 15px; 1456 border: none; 1457 } 1458 .more_menu { 1459 top: 50px; 1460 } 1461 1462 .right_of_nav { 1463 width: auto; 1464 padding: 0px; 1465 } 1466 .user_box, .elapsed { 1467 display: none; 1468 } 1469 #back { 1470 flex-direction: column; 1471 } 1472 1473 .topic_item .topic_name_forum_sep { 1474 font-size: 17px; 1475 line-height: 28px; 1476 margin-left: 5px; 1477 margin-right: 5px; 1478 } 1479 .topic_item .topic_forum { 1480 font-size: 17px; 1481 line-height: 28px; 1482 } 1483 } 1484 1485 @media(min-width: 751px) { 1486 .menu_profile { 1487 display: none; 1488 } 1489 .shrink_main #main { 1490 max-width: calc(100% - 180px); 1491 } 1492 } 1493 {{/**@media(max-width: 850px) { 1494 // 1495 }**/}} 1496 1497 @media(min-width: 1010px) { 1498 #container { 1499 background-color: {{$second_dark_bg}}; 1500 } 1501 #back, .footer { 1502 width: 1000px; 1503 margin-left: auto; 1504 margin-right: auto; 1505 } 1506 .footBlock, .footer { 1507 display: flex; 1508 } 1509 .footer { 1510 flex-direction: column; 1511 } 1512 1513 .userinfo { 1514 width: 180px; 1515 padding-bottom: 18px; 1516 } 1517 .userinfo .avatar_item { 1518 height: 64px; 1519 width: 64px; 1520 background-size: 88px; 1521 } 1522 .userinfo .the_name { 1523 font-size: 19px; 1524 } 1525 .userinfo .post_tag { 1526 font-size: 17px; 1527 } 1528 } 1529 1530 @media(min-width: 1330px) { 1531 nav.nav { 1532 width: calc(85% - 200px) 1533 } 1534 ul { 1535 margin-left: 205px; 1536 } 1537 .right_of_nav { 1538 width: calc(15% + 200px); 1539 } 1540 .user_box { 1541 width: 200px; 1542 } 1543 }