2018-11-15 01:01:37 +00:00
// ==UserScript==
2019-09-21 21:41:28 +00:00
// @name Discord Simple Clear
2020-12-30 17:08:03 +00:00
// @namespace https://github.com/birb-naise
2019-09-21 21:41:28 +00:00
// @description Simple CSS for customizable background and bg opacity. Popular discord styles usually don't work/get abandoned for some reason ??? so I made this one which should be easy to update.
// @author birb-naise
2020-12-30 17:08:03 +00:00
// @homepage https://github.com/birb-naise/discord-simple-clear
2020-05-07 16:24:04 +00:00
// @include http://discord.com/*
// @include https://discord.com/*
// @include http://*.discord.com/*
// @include https://*.discord.com/*
2018-11-15 01:01:37 +00:00
// @run-at document-start
2020-12-30 17:08:03 +00:00
// @version 8148fe3
2018-11-15 01:01:37 +00:00
// ==/UserScript==
2020-12-30 17:08:03 +00:00
( function IIFE ( ) {
'use strict' ;
document . addEventListener ( 'readystatechange' , function onReadyStateChange ( ) {
if ( document . readyState == 'interactive' ) {
const style = document . createElement ( 'style' ) ;
document . head . appendChild ( style ) ;
style . innerHTML = `
body {
background : url ( "https://cdn.discordapp.com/attachments/610991459323084801/625107142092783616/moon3.png" ) ;
background - size : cover ;
2018-11-15 01:01:37 +00:00
}
2020-12-30 17:08:03 +00:00
2021-01-03 21:48:24 +00:00
. header - 2 o - 2 hj , /*remove borders*/
2020-12-30 17:08:03 +00:00
. searchBar - 6 Kv8R2 ,
. content - yTz4x3 : : before {
box - shadow : none ! important ;
}
. container - 1 D34oG , /*friends list*/
. scrollbar - 2 rkZSL , /*scrollbar*/
. pad - 29 zQak ,
. track - 1 JN30G {
background : transparent ! important ;
}
/* ------SCROLLBAR------ */
. scrollbar - 2 rkZSL {
width : 8 px ;
}
. thumb - 2 JwNFC {
background : rgba ( 0 , 0 , 0 , . 5 ) ! important ;
}
. track - 1 JN30G ,
. thumb - 2 JwNFC {
border : none ! important ;
}
/* ------EMBEDDED TEXT------ */
. embedProvider - 3 k5pfl ,
. embedDescription - 1 Cuq9a ,
. embedFields - 2 IPs5Z ,
. embedAuthorName - 3 mnTWj ,
. embedFooterText - 28 V _Wb {
color : # f2f2f2 ! important ;
}
. appMount - 3 lHmkl {
background : rgba ( 0 , 0 , 0 , . 6 ) ;
}
/* ------REMOVE GREY/WHITE BG COLORS------ */
. theme - dark ,
. theme - light {
-- header - primary : # fff ;
-- header - secondary : # b9bbbe ;
-- text - normal : # dcddde ;
-- text - muted : # 9 d9d9d ;
-- channels - default : # 8e9297 ;
-- interactive - normal : # b9bbbe ;
-- interactive - hover : # dcddde ;
-- interactive - active : # fff ;
-- interactive - muted : # 4 f545c ;
-- background - primary : transparent ;
-- background - secondary : transparent ;
-- background - secondary - alt : transparent ;
-- background - tertiary : transparent ;
-- background - floating : rgba ( 0 , 0 , 0 , . 8 ) ;
-- channeltextarea - background : transparent ;
-- deprecated - panel - background : transparent ;
-- background - modifier - hover : rgba ( 0 , 0 , 0 , . 42 ) ;
-- background - modifier - selected : rgba ( 0 , 0 , 0 , . 45 ) ;
}
/* ------POP-UP------ */
. modal - yWgWj - ,
. footer - 3 rDWdC {
background : rgba ( 0 , 0 , 0 , . 5 ) ! important ;
}
2021-01-03 21:48:24 +00:00
/* -----UNREAD BADGE DARKMODE FIX----- */
. item - 2 hkk8m {
background - color : # ccc ;
}
. unread - 2 lAfLh {
background - color : # ccc ;
}
2020-12-30 17:08:03 +00:00
` ;
}
} ) ;
2018-11-15 01:01:37 +00:00
} ) ( ) ;