Skip to content

Mopaiv Unofficial Dark Theme [copying update] by indexgit01

Screenshot of Mopaiv Unofficial Dark Theme [copying update]

Details

Authorindexgit01

LicenseNo License

Categorymopaiv

Created

Updated

Size4.5 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Please do not take, modify, redistribute the theme source code in any way shape or form. Thank you.

Ever want to turn off the light switch for Mopaiv.com? Well now you can, EARLY! Mopaiv's official dark theme is not released yet, so I decided I'll release this for now.

Affects:

  • Mopaiv.com & it's subdomains

Please do not take, modify, redistribute the theme source code in any way shape or form. Thank you.

Notes

This is not fully finished, expect style issues.

v1.0 January 28th, 2022:

  • Public Release

v1.01 January 31, 2022:

  • Added dark theme to Modals.
  • Fixed text coloring
  • Added dark theme to Footer.
    Thank you to the 1 person who has installed the theme so far, hope you enjoy!

v1.02 February 14th, 2022:

  • Dark theme colors now applied to global website banners (referred to "alerts" as in the code).
  • Dark theme colors now applied to headings on Valentine's Day event page.
  • Dark theme colors now applied to .border-right & .border-left DIV's.

v1.03 February 14th, 2022:

  • Text color fix on API pages (example: /api/usercount)
    *small update

v1.04 March 16th, 2022:

  • Dark theme is no longer applied to the navigation bar to fit the new site theme for St. Patrick's Day.
    -Fixed marketplace item cards not having dark theme applied. (still not sure why it was happening)
    *small update

v1.05 March 18th, 2022:

  • All changes for St. Patrick's Day have been removed.
    *small update

v1.06 April 3rd, 2022 (MOST RECENT UPDATE):

  • Input border colors have been changed based on Martex's feedback
  • Input border colors on focus have been changed to Mopaiv's primary color (#007BFF) based on Martex's feedback
    *small update

Source code

/* ==UserStyle==
@name         Mopaiv Unofficial Dark Theme
@version      20220404.03.52
@namespace    userstyles.world/user/indexgit01
@description  Ever want to turn off the light switch for Mopaiv.com? Well now you can, EARLY! Mopaiv's official dark theme is not released yet, so I decided I'll release this for now.

Affects:
- Mopaiv.com & it's subdomains
@author       indexgit01
@license      No License
==/UserStyle== */

@-moz-document domain("mopaiv.com") {
:root {
    --main-bg-color: #1a1a1c;
    --main-text-color: #fff;
    --secondary-text-color: #ccc;
    --main-element-bg-color: #151515;
    --secondary-element-bg-color: #131313;
    --secondary2-element-bg-color: #0f0f0f;
    --third-element-bg-color: #222;
    --mopaiv-blue: #007bff;
    --mopaiv-blue-darker: #0057b5;
}

body, html {
    background-color: var(--main-bg-color);
}

p.text-center {
    color: var(--main-text-color);
}

.navbar {
    background-color: var(--main-element-bg-color);
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.card {
    background-color: var(--main-element-bg-color);
}

.landing-header {
    background-color: var(--secondary-element-bg-color) !important;
}

.card * {
    color: var(--main-text-color);
}

.text-muted, .text-truncate {
    color: var(--secondary-text-color);
}

#tabName, h1, h2, h3, h4, h5, h6 {
    color: var(--main-text-color);
}

.nav-pills .nav-link, .nav-pills .nav-link:hover, .nav-pills .nav-link:focus {
    background-color: var(--main-element-bg-color);
    color: var(--main-text-color);
}

.card .nav-pills .nav-link:hover {
    background-color: var(--secondary-element-bg-color);
    color: var(--main-text-color);
}

.nav-pills .nav-link.active, .nav-pills .nav-link.active:hover, .nav-pills .nav-link.active:focus {
    background-color: var(--mopaiv-blue);
    color: var(--main-text-color);
}

.img-holder, .card-top, .card .card-top {
    background-color: var(--secondary-element-bg-color) !important;
}

.form-control, .form-control:hover, .form-control:focus {
    background-color: var(--main-element-bg-color);
    border: 1px solid rgba(0, 0, 0, .25);
}

.form-control:focus, .card .form-control:focus {
    border: 1px solid var(--mopaiv-blue) !important;
}

.card .form-control, .card .form-control:hover, .card .form-control:focus {
    background-color: var(--secondary-element-bg-color);
    border: 1px solid rgba(0, 0, 0, .25);
}

.form-control, .form-control:focus {
    color: var(--main-text-color);
}

.form-control::placeholder {
    color: var(--secondary-text-color);
}

a {
    color: var(--secondary-text-color) !important;
}

a:hover, a:focus {
    color: var(--main-text-color);
}

.col-md.text-center-sm.align-self-center.hide-sm span, .col-md.text-center-sm.align-self-center span {
    color: var(--secondary-text-color);
}

.nav-item a:hover, .nav-item a:focus {
    background-color: var(--secondary-element-bg-color) !important;
}

.border-right, .border-left {
    border-color: #111 !important;
}

.nav-item.dropdown .dropdown-menu {
    background-color: var(--main-element-bg-color);
    border: 1px solid rgba(0, 0, 0, .25);
}

.dropdown-menu {
    box-shadow: 0 8px 8px -4px var(--main-element-bg-color);
    /*box-shadow: 0 3px 10px var(--main-element-bg-color); */
}

.dropdown-divider {
    border-color: rgba(0, 0, 0, .25);;
}

hr {
    border-color: #111;
}

.details, .copyright, .socials i {
    color: var(--secondary-text-color) !important;
}

.copyright:after {
    content: "Dark theme made by Index.";
    display: block;
}

.modal-content {
    border-color: var(--main-element-bg-color);
}

.modal-body {
    background-color: var(--secondary-element-bg-color);
}

.modal-header, .modal-footer {
    background-color: var(--main-element-bg-color);
    border-color: var(--main-element-bg-color);
}

.col-md-2.text-center.text-truncate.hide-sm, .col-md-6.text-truncate {
    color: var(--main-text-color);
}

.input-group-text {
    background-color: var(--secondary2-element-bg-color);
    border-color: #000;
}

.card[style="border-left:5px solid #1890ff;box-shadow:none;"] {
    background-color: var(--main-bg-color);
}

.alert a {
    color: var(--mopaiv-blue) !important;
}

div[style="color:inherit;font-size:20px;font-weight:600;"], h4[style="color:inherit;font-size:20px;font-weight:600;"] {
    color: var(--secondary-text-color) !important;
}

pre[style="word-wrap: break-word; white-space: pre-wrap;"] {
    color: var(--main-text-color);
}
}

Reviews

No reviews yet.