Skip to content

DDO Forums 2023 - Classic Style by Yhelm

Screenshot of DDO Forums 2023 - Classic Style

Details

AuthorYhelm

LicenseNo License

Categoryforums.ddo.com

Created

Updated

Size13 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

My attempt to recreate the color pallet from the old DDO Forums.

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           DDO Forums - Classic Mode
@namespace      github.com/openstyles/stylus
@version        1.0.0
@author         Yhelm
==/UserStyle== 
*/

@-moz-document domain("forums.ddo.com") {
    :root {
		--background: #333;
		--focused-background: #999;
		--menu: #333;
		--hover: #999;
		
		--accent: #666;
		--hover-accent: #999;
		
		--primary-text: #e6e6e6;
		--secondary-text: #e8e2be;
    }
	
	html {
		font-weight: 400;
		font-size: .9rem;
		color: var(--primary-text);
	}
	
	/* remove the D&D background image 
	.p-pageWrapper {
		background: var(--background);
	}
	*/
	
	.p-header {
		background: none;
	}
    
	.p-navSticky {
		background: var(--accent);
		margin: .2rem 0 0 0;
		border-bottom: solid 1px var(--hover-accent);
	}
	
	/* NAV */
	
	.p-nav {
		background: none;
	}
	
	.p-nav-list .p-navEl.is-selected {
		background: var(--focused-background);
		color: var(--primary-text);
		font-weight: 500;
	}
	
	.p-nav-list .p-navEl-link.p-navEl-link--splitMenu {
		padding-right: 1rem;
	}
	
	.p-nav-list .p-navEl-splitTrigger {
		padding-left: 2.5px;
		padding-right: 2.5px;
	}
	
	.hScroller-scroll.is-calculated {
		overflow: hidden;
		margin-bottom: 0 !important;
		padding-bottom: 0;
	}
	
    .p-sectionLinks {
        color: var(--primary-text);
        background-color: var(--menu);
		padding: .25rem 0;
    }
	

    .p-navgroup,
	.p-navgroup-link.is-menuOpen {
		background: var(--accent)
	}
	
	.p-navgroup-link:hover {
		background: var(--hover-accent);
	}
    
    .p-navgroup-link {
    float: left;
    padding: 8px 10px;
    border-left: 1px solid rgb(157 157 157 / 50%);
    }
	
	.p-navgroup-link.p-navgroup-link--user .avatar {
		border: solid 1px var(--accent);
	}
	
	/* END NAV */
	
	
	/* START MENU */
	
    .menu .menu-header {
        background: var(--menu);
    }
	
	.menu-arrow {
		border: none;
	}
	
	.menu-content {
		background: var(--background);
		color: var(--primary-text);
		border-color: var(--accent);
	}
	
	.menu-row.menu-row--alt {
		background: var(--background);
		color: var(--secondary-text);
	}
	
	.menu-tabHeader {
		background: var(--menu);
	}
	
	.menu-tabHeader .tabs-tab.is-active {
		color: var(--primary-text);
		border-color: var(--accent);
	}
	
	.menu-linkRow.is-selected, .menu-linkRow:hover, .menu-linkRow:focus {
		background: var(--hover);
		color: var(--primary-text);
		border-left-color: var(--hover-accent);
	}
	
	.tabPanes {
		background: var(--background)
	}
	
	.tabPanes>li.is-active {
		display: flex;
		flex-direction: column;
		margin-top: .5rem;
		gap: .5rem;
	}
	
	.pairs>dt {
		color: var(--secondary-text);
	}
	
    .input {
        background: var(--background);
    }
	
	.input[readonly], .input.is-readonly {
        background: var(--focused-background);
	}
	
	.inputGroup.inputGroup--joined .inputGroup-text {
		background: var(--background);
	}
	
	a.is-menuOpen{
		pointer-events: none
	}
	
	a[data-nav-id="defaultLogOut"]{
		text-decoration: underline;
	}
    
    .block-footer {
        background: var(--menu);
    }
	
	/* END MENU */
	
	/* START PROFILE */
	
	.memberHeader {
		background: var(--background);
	}
	
	.memberHeader-main {
		background: var(--focused-background);
		color: var(--secondary-text);
	}
	
	.memberHeader-name {
		color: var(--primary-text);
	}
	
	.memberTooltip {
		background: var(--background);
	}
	
	.memberTooltip-header {
		background: var(--focused-background);
		color: var(--secondary-text);
	}
	
	.memberTooltip-name {
		color: var(--primary-text);
	}
	
	/* END PROFILE */
	
	/* START FOOTER */
	
    .p-footer-row {
        background-color: var(--menu);
		padding: 1rem;
    }
    
    .menu .menu-footer {
        background: var(--menu);
    }
	
	.legal-links>.legal-link>a {
		padding: 8px 10px;
	}
	
	.p-footer-linkList>li a:hover {
		background-color: var(--hover);
	}
	
	/* END FOOTER */
	
	/* START FORM */
	
	.block-container {
		background: var(--background);
	}
	
	.formRow>dt {
		color: var(--primary-text);
		background: var(--background);
	}
	
	.formRow.formRow--fullWidth>dt, .menu .formRow>dt, .formRow.formRow--fullWidth>dd, .menu .formRow>dd {
		padding: 0 1rem 1.5rem 1rem;
	}
	
	.formSubmitRow-bar {
		background: var(--focused-background);
	}
	
	.memberOverviewBlock-seeMore {
		background: var(--focused-background);
	}
	
	/* END FORM */
	
	
	/* START SELECT2 */
	
	.select2 .select2-selection ul>li.select2-selection__choice {
		background: var(--background);
		color: var(--primary-text);
	}
	
	.select2-results>.select2-results__options {
		background: var(--background);
		color: var(--primary-text);
		max-width: 100%;
		border-color: var(--accent);
	}
	
	/* END SELECT2 */
	
	
	/* START TABS */
	
	.block-tabHeader .tabs-tab.is-active, .block-tabHeader .tabs>input:checked+.tabs-tab--radio {
		border-color: var(--accent);
	}
	
	.tabs--standalone {
		background: var(--menu);
	}
	
	.tabs--standalone .tabs-tab.is-active {
		background: var(--hover);
		color: var(--primary-text);
		border-color: var(--accent);
	}
	
	/* END TABS */
	
	
	/* START BUTTONS */
	
	.button, a.button {
		color: var(--primary-text);
		background: var(--background);
		border: solid 2px var(--hover-accent    );
		padding: .5rem;
		font-size: inherit;
		line-height: inherit;
		min-width: 80px;
	}
	
	.button.button--primary, a.button.button--primary {
		color: var(--primary-text);
		background: var(--accent);
		border: solid 2px var(--secondary-text);
	}
	
	.button.button--link, a.button.button--link {
		color: var(--primary-text);
		background: var(--background);
		border: solid 2px var(--accent);
	}
	
	.bookmarkLink.bookmarkLink--highlightable.is-bookmarked {
		color: var(--accent);
	}
	
	.shareButtons-button.shareButtons-button--brand>i:before, .shareButtons-button.shareButtons-button--email>i:before, .shareButtons-button.shareButtons-button--share>i:before{
    width: 100%;
	}
	
	.button.is-disabled:hover, a.button.is-disabled:hover, .button.is-disabled:active, a.button.is-disabled:active, .button.is-disabled:focus, a.button.is-disabled:focus {
		background: var(--hover) !important;
	}
	
	.button.is-disabled, a.button.is-disabled {
		background: var(--background);
	}
	
	.button.button--cta, a.button.button--cta {
		color: var(--primary-text);
		background: var(--accent);
		border-color: var(--hover-accent);
	}
	
	.pageNav-page {
		color: var(--primary-text);
		background: var(--background);
	}
	
	.pageNav-page:hover, .pageNav-page:active {
		background: var(--hover);
	}
	
	.pageNav-page.pageNav-page--current {
		color: var(--accent);
		border: 1px solid var(--accent);
		background: var(--background);
	}
	
	.pageNav-page.pageNav-page--current:hover, .pageNav-page.pageNav-page--current:active {
		background: var(--hover);
	}
	
	.pageNav-jump {
		background: var(--background);
	}
	
	.pageNav-jump:hover, .pageNav-jump:active {
		background: var(--hover);
	}
	
	.block-filterBar .filterBar-filterToggle {
		background: var(--focused-background);
	}
	
	.block-filterBar .filterBar-filterToggle:hover, .block-filterBar .filterBar-menuTrigger:hover {
		background: var(--hover);
	}
    
    .node--unread .node-icon i:before {
    opacity: 1;
    color: #e8e2be
    }
	
	/* END BUTTONS */
	
	
	/* START POSTS STYLES */
	
	.fr-box.fr-basic .fr-wrapper {
		background: var(--background);
	}
	
	.fr-box.fr-basic .fr-toolbar.fr-top {
		background: linear-gradient(180deg, #807979, #2d2b2b);
	}
	
	.fr-wrapper ::selection {
		background: var(--hover-accent);
		color: var(--primary-text);
	}
	
	.input:focus, .input.is-focused, .inputGroup:focus-within, #XF .fr-box.fr-basic.is-focused, .codeEditor.CodeMirror.CodeMirror-focused {
		--input-border-heavy: var(--accent);
		--input-border-light: var(--accent);
	}
	
	.blockStatus {
		color: var(--primary-text);
		background: var(--background);
		border: none;
		border-left: 3px solid var(--accent);
	}
	
	.block--messages .message, .block--messages .block-row {
		color: var(--primary-text);
		background: var(--background);
		border-color: var(--hover-accent);
	}
	
	.message-cell.message-cell--user, .message-cell.message-cell--action {
		color: var(--primary-text);
		background: var(--focused-background);
		border-color: var(--hover-accent);
	}
	
	.message-userArrow:after {
		border-right-color: var(--background);
	}
    
    .username--style3 {
    color: #e8e2be;
    }
	
	.userBanner.userBanner--staff, .userBanner.userBanner--primary {
		color: var(--primary-text);
		background: var(--focused-background);
		border-color: var(--hover-accent)
	}
	
	.message-responseRow {
		background: var(--focused-background);
	}
	
	.has-reaction .reaction-text {
		font-weight: 700;
	}
	
    .reactionsBar {
		border-left: 1px solid #f7f7f7;
	}    
    
	.reactionsBar-link {
		margin-left: .5rem;
	}
	
	.comment-avatar {
		vertical-align: middle;
	}
	
	.message-newIndicator {
		background: var(--accent)
	}
	
	/* END POSTS STYLES */
	
	
	/* START NOTIFS */
	
	.alert.is-unread {
		background: var(--hover);
	}
	
	.flashMessage {
		background: var(--background);
		color: var(--primary-text);
	}
	
	/* END NOTIFS */
	
	
	/* START HOVER / SELECTED */
	
	.p-nav-list .p-navEl:not(.is-selected):not(.is-menuOpen):hover, .p-nav-list .p-navEl:not(.is-selected):not(.is-menuOpen) .p-navEl-link:hover, .p-nav-list .p-navEl:not(.is-selected):not(.is-menuOpen) .p-navEl-splitTrigger:hover {
		background: var(--hover);
	}
	
	.blockLink:hover, .blockLink.is-selected {
		font-weight: 500;
		background: var(--hover);
		border-left: 3px solid var(--accent);
	}
	
	.button.button--primary:not(.button--splitT...

Reviews

No reviews yet.