Skip to content

4PDA Dark Forum Mode Mod by tonyst2

Screenshot of 4PDA Dark Forum Mode Mod

Details

Authortonyst2

LicenseNo License

Categoryhttps://4pda.to/forum/

Created

Updated

Size41 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Как и оригинальный стиль добавляет темную тему, но с доработками от меня

Notes

Userstyle doesn't have notes.

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name           4PDA Dark Mode Mod
@namespace      USO Archive
@version        22.11.2022
@license        CC0-1.0
@preprocessor   uso
==/UserStyle== */
@-moz-document url-prefix("http://4pda.to/forum/"), url-prefix("https://4pda.to/forum/") {
/*
License WTFPL -  http://www.wtfpl.net/
Version 0.8.3 
*/
    
    
::-webkit-scrollbar{
  width:8px;
}
::-webkit-scrollbar-thumb{
  border-radius: 10px;
  background-color: #0074cf;
  box-shadow: inset 0 0 6px rgba(0,0,0,.5);
}
::-webkit-scrollbar-track{
  border-radius: 10px;
  background-color: #191919;
  box-shadow: inset 0 0 6px rgba(0,0,0,.4);
}
    
.LgBxVFhgrz1iyH9FVdURG3s1 > li {
    border: 1px solid #2d2d2d;
    background: #191919;
}
.post-block.spoil.open > .block-body:after {
    background: #2d2d2d;
    outline: solid 5px #2d2d2d;
}
    
[class^="icon-"]:before, [class*=" icon-"]:before, .icon.as-text {
    color: white;
}
    
a:link, a:active {
    color: #bdbebd  !important;
}
    
 a:visited {
     color: #bedcf4 !important;
}
    
.form-thread .block {
    border-color: #2d2d2d!important;
}
    
.body-thread-form {
    border-top: 1px solid #2d2d2d;
}
    
.Jkq1UCx3iA .list-group .list-group-item, .sidebar .list-group .list-group-item {
    border-color: #2d2d2d!important;
}

.navbar .nav-text .btn, .navbar .btn {
    border-color: #2d2d2d!important;
}
    
.footer {
    border-top: 1px solid #0072bc;
}
    
*, *:before, *:after {
    border-color: #2d2d2d!important;
}
    
/* Header */
#ipbwrapper #userlinks {
	position: fixed !important;
	z-index: 998 !important;
	width: 99% !important;
	height: 24px !important;
	left: 0px !important;
	background: #191919 !important;
	box-shadow: 0px 6px 12px rgba(55,55,55,0.5) !important;
}
#ipbwrapper .user_home {
	position: absolute !important;
	padding-top: 68px !important;
	right: 20px !important;
}
#submenu  {
	display: block !important;
	position: fixed !important;
	z-index: 999 !important;
	top: 7px !important;
	left: 45% !important;
	width: auto !important;
	margin: auto !important;
	text-align: center !important;
}
#post-member-usercp_menu.popupmenu-new {
	position: fixed !important;
}
.usercp_menu_out, .usercp_menu {
	margin-right: 10px !important;
}
.borderwrap-header td[width="80%"], .catend, #dw-top, #ipb_link_ad, .user-profile-list .margin-block, #logostrip, .riLSCbfFAuDOnrkWbwaB {
    display: none !important;
}
    
.post-edit-reason {
    border: 1px solid #3f3f3f;
}

td.formbuttonrow, .pformstrip, .borderwrap p.formbuttonrow, .borderwrap p.formbuttonrow1 {
    border: none!important;;
    border-bottom: 1px solid #5176b57a!important;
}
    
/* BODY */
body[itemscope], body {
	padding-top: 20px !important;
    background-color: #191919 !important;
}
.minipagelink, .minipagelinklast, .u-note {
    border: none !important;
}
    
    
table.ipbtable, tr.ipbtable, td.ipbtable {
    background: #202020!important;
}
    
.borderwrap.read td.formbuttonrow, .lb-outerContainer, #logostrip, #header, #navbar, #replace_navbar, #list_wrapper, #footer, .menupopup .menu .item, .bg3, .activeusers, select, input.button, .plainborder, .tablefill, .tablepad, .borderwrap p, .popmenubutton-new, .popmenubutton, [data-post] .popmenubutton-new, [data-post] .popmenubutton-new-out, .hidemain, .post-edit-reason, #dw-wrapper, #dw-top, #dw-bottom, .pp-image-thumb-wrap, .pp-image-thumb-wrap-floatright, .pp-image-mini-wrap, .pp-image-mini-wrap-floatright, .resized-linked-image, .darkrow3, .postcolor, .attach-menubutton, .list_item:hover,  #welcome, .errorwrap, #redirectwrap, .attach-messagediv, .exdiv, #ucpmenu, #ucpcontent, .borderwrap, .borderwrapm, .formtable td, .pformleft, .pformleftw, .pformright, .qms_unread_row, .bb-panel-button:hover, .check_list_div, .fieldwrap, .post-block > .block-body, .header, .sidebar, .footer-panel, .search-form, .events-count, .i-code:hover, .slider-content:after, .input-wrap, .captcha, .ed-wrap, td, #ed-0_wrap.ed_wrap, #contacts, .borderwrap > .formsubtitle, #ed-0_ap > table {
    background: none !important;
/*     border: none !important; */
/* 	box-shadow: none !important; */
}
/* text */
body, .user_home a, #navstrip, .formsubtitle, .input-warn, .input-green, .input-checkbox, input, textarea, select, table th, .borderwrap table th, .subtitle, .subtitlediv, .postlinksbar, .forumdesc, .forumdesc a:link, .forumdesc a:visited, .forumdesc a:active, table.ipbtable, tr.ipbtable, td.ipbtable, .usercp_menu, .usercp_menu_out, .popmenubutton-new, .pp-header, .pp-tiny-text, .popupmenu-item-last, .pp-taboff, .pp-tabshaded, .desc, h4, h3, .darkrow1, .lastaction, .pp-datebox em, .quotetop, .quotemain, .ipbtable td, .hidetop, .hidemain, .popupmenu-category, .post-edit-reason, .codemain, .sqlmain, .htmlmain, .codetop, .sqltop, .htmltop,  span[style$="color:#000000"], span[style="color:black"], .resized-linked-image, #loading-layer-inner, form, .ed-wrap .ed-panel-title, .darkrow3, #thread_content .out_message .msg, .navbar-title, .navbar-title > strong, .newslink, .newslink td, .smalltext, .attach-messagediv, .pa_text h2, .foruminfo .foruminfo_news, .foruminfo_news:hover, span[style="font-weight:bold;color:#222222;"], .post-block > .block-title, .post-block > .block-body, .footer-nav .f-note, #ipbwrapper > div, .u-note::after, .ddbp-spec-row, .content, .footer, .maintitle td, .input-ok-content {
    color: #ccc !important;
}
#events_wrapper, .ed-wrap .ed-p-textarea, .ed-wrap .ed-textarea, textarea#message {
	background: #191919 !important;
}
.dipt, .dipt:after, .dipt .dfrml, .dipt .dfrml + .dfrmr, .dipt .dfrmrbrd {
	background: #191919 !important;
	color: #ccc !important;
/* 	box-shadow: 0 1px 0 0 #555 inset !important; */
	-webkit-box-shadow: 0 1px 0 0 #555 inset !important;
	-moz-box-shadow: 0 1px 0 0 #555 inset !important;
}
.post-block {
	border-left: 4px solid #aaa !important;
}
.codemain, .sqlmain, .htmlmain {
    font-family: Consolas, "Courier New", Verdana, Arial, Ubuntu, serif !important;
}
/* text colors replace */
span[style="color:blue"], span[style="color:Blue"], span[style="color:#0000ff"],  span[style="color:darkblue"], span[style="color:royalblue"], span[style="color:indigo"], span[style="color:#000080"], .newslink span, span[style="color:#000099"] {
    color: #508fcf !important;
}
.signature {
    color: #ccc !important;
}
span[style="color:red"], span[style="color:#FF0000"], span[style="color:darkred"], span[style="color:crimson"], .errorwrap p, .globalmesswarncontent  {
    color: #c00 !important;
}
span[style="color:purple"] {
    color: #c8f !important;
}
span[style="color:deeppink"] {
    color: #c06 !important;
}
span[style="color:teal"] {
    color: #3cc !important;
}
span[style="color:green"] {
    color: #6c6 !important;
}
span[style="color:#290063"] {
    color: #58f !important;
}
span[style="color:#CF0CA6"] {
    color: #508fcf !important;
}
.searchlite {
    background-color: #e8eb89 !important;
}
.slider-content .meta-box a {
    background-color: #508fcf !important;
}
    
Jpz1RvVdz1Q0tL a, Jpz1RvVdz1Q0tL a:visited, Jpz1RvVdz1Q0tL a:hover {
    color: #FFF!important;
}
    
Jpz1RvVdz1Q0tL .menu-main-item > a, Jpz1RvVdz1Q0tL .menu-main-item > a:visited {
    color: #ffffff !important;
}

a:hover {
    color: #9df !important
}

/* blocks */
/* .borderwrap,*/ #userlinks, #userlinksguest, .copyright, #gfooter, .moddiv, #dw-body, .curdiv, #loading-layer-inner, .newslink, #ipbcontent, .ipbpagespan, .ipbnav, .ipbnavsmall, #ipbwrapper > .ipbtable, .message_item.in_message, .post-block.tbl.cur, .post-block.tbl.mod, .post-block.tbl.ex, body > div > div > div > div > div > form > ul > li, .footer-nav, .page { 
    background:  #191919 !important;
    border: none !important;
    box-shadow: 0 0 1px white;
    padding: 10px !important;
    border-radius: 1px !important;
    -webkit-border-radius: 1px !important;
    -moz-border-radius: 1px !important;
    -khtml-border-radius: 1px !important;
}
#go_1, .content, .formtable td.formtitle, .formsubtitle, .row2, .pagelink, .pagelinklast, .pagecurrent, .minipagelink, .minipagelinklast, .pp-contentbox-back, .pp-contentbox-entry, .pp-contentbox-entry-noheight, .pp-contentbox-entry-noheight-mod, .pp-contentbox-entry-noheight-sel, .popupmenu-new, .pp-mini-content-entry, .pp-mini-content-entry-noheight, .pp-mini-entry-noheight-shaded, .post1, .post2, .bg1, .toplinks span, .pp-datebox, .popmenubutton-new, .globalmesswrap, .list_item, body[style="background:transparent;"], .globalmesswarnwrap, .list-group .list-group-item:active, .nav4pda, .form-bg, .form-toggle-visible .form-toggle-btn, .sidebar .list-group .list-group-item.active, #nav .active > *, .list-group > .list-group-item:hover, #nav .active:hover, .ac_results, .row1, .popupmenu-new, .usercp_menu, .form, .list_item:hover, .menupopup .menu, .upopupmenu-new, tr td.formbuttonrow, .pformstrip, .borderwrap p.formbuttonrow, .borderwrap p.formbuttonrow1, .bar, .barb, .barc, .popupmenu, .attach-popupmenu, .attach-menu-row-over, .qms_unread_row, .list_item.active, #events-wrapper, .list-group .list-group-item, .dropdown-menu, .slider-content .meta-box, .ddbp-wframe, .navbar, .slider-content, .borderwrap.read .ipbtable.read .post2, .borderwrap.read .ipbtable.read .post1, .borderwrap.read .post1, .borderwrap.read .post1, .borderwrap.read .ipbtable.read .row2, .borderwrap.read .row2, .ed-wrap .ed-vtoggle-normal, .ed-wrap .ed-vtoggle-hover, .ed-wrap .ed-vtoggle-down, #thread_content .thread_timeline .timeline, .textarea-bb-panel, .thread-list .date .text, .form-input, #_fskit {
    background: #191919 !important;
}
tbody .darkrow1 {
	background-color: #444 !important;
}
#ipbwrapper #gfooter, .copyright, .borderwrap {
	box-shadow: none !important;
}
.ac_over, .codemain, .sqlmain, .htmlmain, .searchinput, textarea, .ed-wrap .ed-bbcode-hover, #ipb-file-upload-box, inpu...

Reviews

No reviews yet.