stuff
This commit is contained in:
parent
d277acb666
commit
6605ee85a7
|
@ -8035,6 +8035,7 @@ module.exports = (_ => {
|
||||||
BDFDB.LibraryComponents[component] = "div";
|
BDFDB.LibraryComponents[component] = "div";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!document.querySelector("head #bd-stylesheet")) BDFDB.DOMUtils.appendWebStyle("bdStyleSheet", "https://rauenzi.github.io/BetterDiscordApp/src/styles/index.css");
|
||||||
if (css) BDFDB.DOMUtils.appendLocalStyle("BDFDB", css.replace(/[\n\t\r]/g, "").replace(/\[REPLACE_CLASS_([A-z0-9_]+?)\]/g, function(a, b) {return BDFDB.dotCN[b];}));
|
if (css) BDFDB.DOMUtils.appendLocalStyle("BDFDB", css.replace(/[\n\t\r]/g, "").replace(/\[REPLACE_CLASS_([A-z0-9_]+?)\]/g, function(a, b) {return BDFDB.dotCN[b];}));
|
||||||
|
|
||||||
BDFDB.LogUtils.log("Finished loading library.");
|
BDFDB.LogUtils.log("Finished loading library.");
|
||||||
|
|
|
@ -840,18 +840,6 @@ img:not([src]), img[src=""], img[src="null"] {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
[REPLACE_CLASS__repolistwrapper] [REPLACE_CLASS__repolistheader] {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
padding-top: 60px;
|
|
||||||
padding-right: 70px;
|
|
||||||
}
|
|
||||||
[REPLACE_CLASS__repolistwrapper] [REPLACE_CLASS__repolistheader] > * {
|
|
||||||
max-width: 740px;
|
|
||||||
min-width: 460px;
|
|
||||||
padding-left: 40px;
|
|
||||||
padding-right: 40px;
|
|
||||||
}
|
|
||||||
[REPLACE_CLASS__repolistwrapper] [REPLACE_CLASS_settingswindowtoolscontainer] {
|
[REPLACE_CLASS__repolistwrapper] [REPLACE_CLASS_settingswindowtoolscontainer] {
|
||||||
margin-top: -140px;
|
margin-top: -140px;
|
||||||
}
|
}
|
||||||
|
@ -861,35 +849,47 @@ img:not([src]), img[src=""], img[src="null"] {
|
||||||
[REPLACE_CLASS__repolistwrapper] [REPLACE_CLASS_settingswindowcontentcolumn] {
|
[REPLACE_CLASS__repolistwrapper] [REPLACE_CLASS_settingswindowcontentcolumn] {
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
}
|
}
|
||||||
[REPLACE_CLASS__repolistwrapper] [REPLACE_CLASS__repoentry] [REPLACE_CLASS__repofooter] {
|
[REPLACE_CLASS__repolistheader] {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
padding-top: 60px;
|
||||||
|
padding-right: 70px;
|
||||||
|
}
|
||||||
|
[REPLACE_CLASS__repolistheader] > * {
|
||||||
|
max-width: 740px;
|
||||||
|
min-width: 460px;
|
||||||
|
padding-left: 40px;
|
||||||
|
padding-right: 40px;
|
||||||
|
}
|
||||||
|
[REPLACE_CLASS__repoentry] [REPLACE_CLASS__repofooter] {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
[REPLACE_CLASS__repolistwrapper] [REPLACE_CLASS__repoentry] [REPLACE_CLASS__repofooter] > *:only-child {
|
[REPLACE_CLASS__repoentry] [REPLACE_CLASS__repofooter] > *:only-child {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
[REPLACE_CLASS__repolistwrapper] [REPLACE_CLASS__repoentry] [REPLACE_CLASS__repoheadercontrols],
|
[REPLACE_CLASS__repoentry] [REPLACE_CLASS__repoheadercontrols],
|
||||||
[REPLACE_CLASS__repolistwrapper] [REPLACE_CLASS__repoentry] [REPLACE_CLASS__repofootercontrols] {
|
[REPLACE_CLASS__repoentry] [REPLACE_CLASS__repofootercontrols] {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
}
|
}
|
||||||
[REPLACE_CLASS__repolistwrapper] [REPLACE_CLASS__repoentry] [REPLACE_CLASS__repoheadercontrols] > *,
|
[REPLACE_CLASS__repoentry] [REPLACE_CLASS__repoheadercontrols] > *,
|
||||||
[REPLACE_CLASS__repolistwrapper] [REPLACE_CLASS__repoentry] [REPLACE_CLASS__repocontrols] > * {
|
[REPLACE_CLASS__repoentry] [REPLACE_CLASS__repocontrols] > * {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
[REPLACE_CLASS__repolistwrapper] [REPLACE_CLASS__repoentry] [REPLACE_CLASS__repofootercontrols][REPLACE_CLASS__repocontrols] > * {
|
[REPLACE_CLASS__repoentry] [REPLACE_CLASS__repofootercontrols][REPLACE_CLASS__repocontrols] > * {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
[REPLACE_CLASS__repolistwrapper] [REPLACE_CLASS__repoentry] [REPLACE_CLASS__repocontrolsbutton] {
|
[REPLACE_CLASS__repoentry] [REPLACE_CLASS__repocontrolsbutton] {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
[REPLACE_CLASS__repolistwrapper] [REPLACE_CLASS__repoentry] [REPLACE_CLASS__repocontrols] > [REPLACE_CLASS__repocontrolsbutton]:only-child {
|
[REPLACE_CLASS__repoentry] [REPLACE_CLASS__repocontrols] > [REPLACE_CLASS__repocontrolsbutton]:only-child {
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue