MeWe Dark Style (SG)

try to take over the world!

// ==UserScript==
// @name         MeWe Dark Style (SG)
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       SG;)
// @match        https://mewe.com/myworld
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    var darkcss=`
/*To Background*/
body {
background-color: #222 !important;
color: whitesmoke !important;
}
/*To Header*/
.c-mw-app-main-header {
background-color: #444 !important;
}
/*To Posts*/
div[class="c-mw-post post-admin ember-view"],
div[class="c-mw-post post-admin first-in-feed ember-view"] {
background-color: #333 !important;
color: white !important;
}
.c-mw-post .post_text {
color: white !important;
}
.c-mw-timeago .timeago--popup {
color: darkgray !important;
}
.myworld .group-color {
color: orange !important;
}
.c-mw-post .post_text a:not(.ht) {
color: yellow !important;
}
.c-mw-post-link {
background-color: #343434 !important;
border-color: #444 !important;
}
.c-mw-post-link .post-link_text .post-link_title {
color: #AAA !important;
}
.icon-color_1 {
color: #EEE !important;
}
.dialog_header svg {
color: white !important;
}
.simple-dialog .dialog_inner .dialog_content,
.dialog_inner,
.dialog_header,
.simple-dialog .dialog_inner .btn-section.dark-footer {
background-color: #222 !important;
}
.c-mw-postbox .postbox_media .postbox_media_photo .postbox_media_photo_wrapper {
background-color: #111111 !important;
}
.c-mw-postbox .postbox_media,
.c-mw-postbox {
background-color: #333 !important;
}
.c-mw-postbox .postbox_controls .postbox_controls_buttons button {
color: whitesmoke !important;
}
/*To Comments*/
.c-mw-comment-your.comment-your--without-comments {
background-color: #444 !important;
}
.c-mw-comment-your .mw-content-editable {
background-color: #333 !important;
width: calc(100% - 70px);
padding: 10px 10px 0px 10px;
margin-bottom: 5px;
color: white !important;
height: 80%;
}
.c-mw-comment-your .comment-your_bottom.comment-your_bottom--expanded {
border-top: none !important;
}
.c-mw-comment-your .comment-your_buttons .comment-your_btn,
.c-mw-comment-your .comment-your_send .comment-your_send_text {
color: darkorange !important;
}
.m-input_checkbox + .m-input_checkbox_label:before {
background-color: #555 !important;
}
.c-mw-comments-table .comments-table_wrapper {
background-color: #444 !important;
}
.c-mw-comment:hover {
background-color: #555 !important;
}
.c-mw-comment:not(:first-of-type):not(:only-of-type) {
border-top: rgb(255, 210, 126) 2px dotted !important;
}
.c-mw-comment .comment_text {
color: white !important;
font-size: 14px;
}
.c-mw-comment .comment_actions .comment_actions-reply {
color: #EEE !important;
}
.c-mw-post-photo {
background-color: black !important;
}
.c-mw-comments-table .comments-table_view-previous {
color: yellow !important;
}
div[class="comment-your c-mw-comment-your ember-view"] {
background-color: #444 !important;
}
/*To Left Columns*/
.sidebar_box_header {
border-bottom-color: #444 !important;
}
.sidebar_box-bottom-corners {
background-color: #333 !important;
}
.c-mw-chats-list {
background-color: #333 !important;
}
.c-chats-list-element:hover {
background-color: #111 !important;
}
.c-chats-list-element .chats-list-thread {
color: white !important;
}
.c-chats-list-element:hover .chats-list-thread {
color: orange !important;
}
.sidebar_box_footer {
background-color: #444 !important;
}
/*To Right Columns*/
.c-mw-profile-info {
background-color: #333 !important;
}
.c-mw-profile-info .profile-info_content .profile-info_name {
color: orange !important;
}
.c-mw-sidebar-wrappers,
.c-mw-sidebar-photostream {
background-color: #333 !important;
}
.font-color_1 {
color: cyan !important;
}
.c-mw-sidebar-wrappers .sidebar-wrappers_wrappers {
background-color: #444 !important;
}
.c-mw-sidebar-wrappers .sidebar-wrappers_wrappers .sidebar-wrappers_wrapper .sidebar-wrappers_wrapper_name {
color: yellow !important;
}
/*To Notification*/
.c-mw-notifications-wrapper {
background-color: #444 !important;
}
.c-mw-notification {
background-color: #333 !important;
}
.c-mw-notification:not(:last-of-type) {
border-bottom-color: #282828 !important;
}
.c-mw-notification .notification_text .notification_text_user {
color: orange !important;
}
.myworld-color {
color: yellow !important;
}
.white-bg {
background-color: #444 !important;
}
.dropdown-menu_opener.dropdown-menu_opened .dropdown-menu_opener_arrow:not(.dropdown-menu_opener_arrow--bottom) {
border-top: 1px solid #555 !important;
border-left: 1px solid #555 !important;
}
.c-mw-dropdown-menu .dropdown-menu_inner {
border-color: #545454 !important;
}
/*To Sharebox*/
.c-mw-postbox-placeholder {
background-color: #333 !important;
}
.c-mw-postbox-placeholder .postbox-placeholder_textarea {
color: yellow !important;
}
.c-mw-postbox .postbox_header .postbox_header_post .postbox_header_textarea:before {
color: #AAA !important;
}
.c-mw-postbox .postbox_header {
background-color: #444 !important
}
.c-mw-postbox .postbox_header .postbox_header_post .postbox_header_textarea {
color: #EEE !important;
}
.c-mw-emoji-picker .emoji-tabs li {
color: black !important;
}
.c-mw-share {
color: #EEE !important;
}
.c-mw-postbar-emoji .all-tab {
color: #EEE !important;
}
.dropdown-menu_inner {
background-color: #444 !important;
}
div[class="emoji-senders_content win-scrollbar"],
.c-mw-emoji-senders .emoji-senders_header,
.c-mw-emoji-senders .emoji-senders_header-dialog {
background-color: #444 !important;
}
.c-mw-emoji-senders .emoji-senders_header button {
color: white !important;
}
span[class="text-trim"] {
color: orange !important;
}
.c-mw-postbar-emoji .postbar-emoji_counter {
color: white !important;
}
.c-mw-postbar-emoji .postbar-emoji_counter.postbar-emoji_counter--users {
color: yellow !important;
font-weight: bold !important;
}
.c-mw-post-link .post-link_text .post-link_description {
color: whitesmoke !important;
}
.dialog_header {
color: cyan !important;
}
.dialog_wrapper.share-dialog .sharebox_header {
background-color: #333 !important;
}
.dialog_wrapper.share-dialog .share-form {
background-color: #111 !important;
}
.dialog_wrapper.share-dialog .btn-wrapper {
background-color: #333 !important;
}
.dialog_wrapper.share-dialog .sharebox_controls_share {
border-top-color: #333 !important;
}
.c-mw-single-group .single-group_group-name {
color: yellow !important;
}
/*To Chats*/
.c-chats-list-element .chats-list-element_text .chats-list-element_text_title {
color: orange !important;
}
.page-chat .c-chats-list-element.selected {
background-color: #222 !important;
}
.c-chats-list-element .chats-list-element_text .chats-list-element_text_message {
color: #AAA !important;
}
.c-mw-chat-window {
background-color: #222 !important;
}
.c-mw-chat-window .chat-window_body-wrapper .chat-window_body {
background-color: #333 !important;
}
a[class="name group-name h-text_underline-on-hover ember-view"],
.c-mw-chat-window .chat-window_header .chat-window_chat-info_title a {
color: orange !important;
}
.mw-content-editable {
color: white !important;
}
.c-mw-chat-window .chat-window_body-wrapper .chat-window_send-form .chat-window_send-form_textarea-wrapper .chat-window_send-form_textarea:before {
color: darkgray !important;
}
.c-chat-info-header .chat-info_header {
background-color: #222 !important;
color: yellow !important;
}
.c-chat-info-header .chat-info_header button svg,
.c-chat-info-header .chat-info_header button {
color: yellow !important;
}
.c-chat-info-header.chat-window {
border-left-color: #333 !important;
}
.c-mw-chat-date span {
background-color: #444 !important;
color: orange !important;
}
.c-mw-chat-date:before {
background-color: transparent !important;
border-top: orange dotted 2px !important;
}
.c-mw-chat .chat_messages {
background-color: #444 !important;
}
div[class="chat_titlebar_title-wrapper "] {
color: cyan !important;
}
.dialog_wrapper.media-dialog .media-dialog_inner header {
background-color: #222 !important;
}
.c-mw-chat-message .chat-message_author .chat-message_author_link {
color: orange !important;
}
.c-mw-chat-message .chat-message_time {
color: palegoldenrod !important;
}
.c-mw-chat .chat_send-form {
background-color: #333 !important;
}
.c-mw-chat .chat_send-form .chat_send-form_textarea-wrapper .chat_send-form_textarea::before {
color: yellow !important;
}
/*To Group*/
.group-color {
color: orange !important;
}
.c-mw-post {
background-color: #333 !important;
}
.c-mw-sidebar-topics {
background-color: #333 !important;
}
.c-mw-sidebar-topics .sidebar-topics_list-wrapper {
background-color: #444 !important;
}
.font-border_1 {
color: cyan !important;
}
div[class="dropdown-menu_opener h-flex_center_x_y "] > span {
color: orange !important;
}
.c-mw-sidebar-topics .sidebar-topics_footer {
background-color: #333 !important;
}
.c-mw-groups-menu .group-menu_list,
.c-mw-group-search,
.c-mw-group-menu-item {
background-color: #333 !important;
}
.c-mw-group-menu-item:hover {
background-color: #222 !important;
}
.c-mw-group-menu-item .group-menu-item_group_name {
color: orange !important;
}
.c-mw-group-whats-new {
background-color: #333 !important;
}
.c-mw-group-whats-new .sidebar-whats-new_content .whats-new_header {
background-color: #444 !important;
}
.c-mw-group-whats-new .sidebar-whats-new_content .whats-new_content.whats-new_content-members .whats-new_content-members_member .whats-new_content-members_member_content .whats-new_content_user-details {
color: yellow !important;
}
.c-mw-group-whats-new .sidebar-whats-new_content .whats-new_content .whats-new_no-events p {
color: white !important;
}
.c-mw-group-whats-new .sidebar-whats-new_content .whats-new_content.whats-new_content-tags .content-wrapper .hashtag:not(.group-background) {
background-color: #111 !important;
}
.c-mw-group-whats-new .sidebar-whats-new_content .whats-new_content.whats-new_content-tags .content-wrapper .hashtag:not(.group-background):hover {
background-color: #000000 !important;
}
div[class="chat_titlebar white-bg"] {
background-color: #333 !important;
}
.c-share-link .group_link-actions_wrapper {
background-color: #333 !important;
}
.sidebar_box {
background-color: #333 !important;
}
.c-mw-group-user-contacts .contacts-header {
color: white !important;
}
.c-mw-selected-contacts .share-with_selected_more {
color: orange !important;
}
span[class="single-user_user-name clickable"] {
color: orange !important;
}
.c-mw-selected-contacts .dropdown-menu header {
background-color: #444 !important;
color: whitesmoke !important;
border-bottom-color: #444 !important;
}
/*To Profile*/
.c-profile-overview h3 {
color: orange !important;
}
.c-profile-overview .member-since-info {
color: papayawhip !important;
}
.c-field-editable .editable-wrapper {
background-color: #111111 !important;
}
.c-field-editable.visible .value {
color: white !important
}
.c-profile-about .personal_link-actions_wrapper {
background-color: #444 !important;
}

`;

    function addGlobalStyle(css) {
        var head, style;
        head = document.getElementsByTagName('head')[0];
        if (!head) { return; }
        style = document.createElement('style');
        style.type = 'text/css';
        style.innerHTML = css;
        head.appendChild(style);
    }

    addGlobalStyle(darkcss);

    // Your code here...
})();