BetterDiscordAddons/Themes/SettingsModal/SettingsModal.css

206 lines
7.1 KiB
CSS
Raw Normal View History

2021-06-15 21:01:37 +02:00
@import url(https://mwittrien.github.io/BetterDiscordAddons/Themes/_res/ThemeDevBadge.css);
2021-04-21 17:42:07 +02:00
:root {
2021-05-03 16:23:08 +02:00
--settingsmodalbackground: transparent;
--settingsmodalwidth: 960px;
--settingsmodalheight: 80vh;
2021-04-21 17:42:07 +02:00
}
2022-01-10 13:13:38 +01:00
#app-mount .baseLayer-W6S8cY {
2021-04-21 17:42:07 +02:00
opacity: 1 !important;
transform: unset !important;
will-change: unset !important;
}
#app-mount .stop-animations * {
transition-property: inherit !important;
2021-04-21 18:06:30 +02:00
animation: inherit !important;
2021-04-21 17:42:07 +02:00
}
2023-03-02 14:12:15 +01:00
#app-mount .layer-86YKbF.stop-animations:first-child::after {
2021-04-21 17:42:07 +02:00
content: "" !important;
position: fixed !important;
background: rgb(0, 0, 0) !important;
top: 0 !important;
right: 0 !important;
bottom: 0 !important;
left: 0 !important;
margin: 0 !important;
padding: 0 !important;
opacity: 0.85 !important;
2021-04-24 11:24:32 +02:00
z-index: 999 !important;
2021-04-21 17:42:07 +02:00
pointer-events: none !important;
}
2023-03-02 14:12:15 +01:00
#app-mount .layer-86YKbF ~ .layer-86YKbF {
2021-04-21 17:42:07 +02:00
position: absolute !important;
top: 0 !important;
right: 0 !important;
bottom: 0 !important;
left: 0 !important;
2021-05-03 16:23:08 +02:00
background: var(--settingsmodalbackground) !important;
2021-04-21 17:42:07 +02:00
border-radius: 5px !important;
box-shadow: var(--elevation-high) !important;
2021-05-03 16:23:08 +02:00
width: var(--settingsmodalwidth) !important;
height: var(--settingsmodalheight) !important;
2021-04-21 17:42:07 +02:00
margin: auto !important;
padding: 0 !important;
overflow: hidden !important;
contain: unset !important;
2021-04-24 11:24:32 +02:00
z-index: 1000 !important;
2021-04-21 17:42:07 +02:00
}
2023-03-02 14:12:15 +01:00
#app-mount .layer-86YKbF ~ .layer-86YKbF > div,
#app-mount .layer-86YKbF ~ .layer-86YKbF .standardSidebarView-E9Pc3j {
2021-04-24 11:24:32 +02:00
position: static !important;
border-radius: unset !important;
width: 100% !important;
height: 100% !important;
margin: unset !important;
padding: unset !important;
2021-04-21 17:42:07 +02:00
overflow: hidden !important;
}
2023-03-02 14:12:15 +01:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .sidebar-nqHbhN {
2021-08-02 20:05:50 +02:00
width: 218px !important;
padding: 20px 6px 20px 20px !important;
}
2023-03-02 14:12:15 +01:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .contentColumnDefault-3eyv5o {
2021-08-02 20:05:50 +02:00
padding: 20px 40px !important;
2021-04-21 17:42:07 +02:00
}
2023-03-02 14:12:15 +01:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .repoHeader-2KfNvH {
2022-10-11 14:37:37 +02:00
padding-bottom: 0 !important;
}
2023-04-04 11:25:08 +02:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .repoHeader-2KfNvH .tabBar-2StdUa {
gap: 30px !important;
}
#app-mount .layer-86YKbF ~ .layer-86YKbF .repoHeader-2KfNvH .quickSelectLabel-ArUyd9 {
font-size: 12px !important;
}
2023-03-02 14:12:15 +01:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .repoScroller-9JnAPs {
2022-10-11 14:37:37 +02:00
padding-top: 0 !important;
}
2023-03-02 14:12:15 +01:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .sidebar-3K3Z4C {
2021-05-18 12:26:03 +02:00
height: var(--settingsmodalheight) !important;
}
2023-03-02 14:12:15 +01:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .standardSidebarView-E9Pc3j .editor {
2021-05-03 16:23:08 +02:00
height: calc(var(--settingsmodalheight) - 120px) !important;
2021-04-21 20:57:46 +02:00
}
2023-03-02 14:12:15 +01:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .toolsContainer-25FL6V,
#app-mount .layer-86YKbF ~ .layer-86YKbF .toolsContainer-25FL6V .tools-kIrEGr,
#app-mount .layer-86YKbF ~ .layer-86YKbF .toolsContainer-25FL6V .container-O54IuJ,
#app-mount .layer-86YKbF ~ .layer-86YKbF .toolsContainer-25FL6V .closeButton-PCZcma {
2021-04-21 17:42:07 +02:00
position: absolute !important;
top: 0 !important;
right: 0 !important;
bottom: 0 !important;
left: 0 !important;
background: transparent !important;
border: none !important;
border-radius: 0 !important;
width: 100% !important;
max-width: unset !important;
height: 100% !important;
max-height: unset !important;
margin: 0 !important;
padding: 0 !important;
opacity: 0 !important;
cursor: default !important;
}
2023-03-02 14:12:15 +01:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .toolsContainer-25FL6V {
2021-04-21 17:42:07 +02:00
position: fixed !important;
top: 22px !important;
z-index: -1 !important;
}
2023-03-02 14:12:15 +01:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .settingsToolbar-wu4yfQ {
2021-04-30 12:25:42 +02:00
display: none !important;
2021-04-21 17:42:07 +02:00
}
2023-03-02 14:12:15 +01:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .header-2Kx1US {
2021-06-25 09:30:38 +02:00
max-width: calc(var(--settingsmodalwidth) - 730px) !important;
}
2021-04-21 17:42:07 +02:00
2023-04-04 11:49:03 +02:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .accountProfileCard-lbN7n- {
max-width: calc(var(--settingsmodalwidth) - 356px) !important;
}
#app-mount .layer-86YKbF ~ .layer-86YKbF .baseLayoutProfileThemes-1Jj-oN {
gap: 30px !important;
}
#app-mount .layer-86YKbF ~ .layer-86YKbF .baseLayoutProfileThemes-1Jj-oN .sectionsContainer-3BlPu4,
#app-mount .layer-86YKbF ~ .layer-86YKbF .baseLayoutProfileThemes-1Jj-oN .editor-328F1U,
#app-mount .layer-86YKbF ~ .layer-86YKbF .baseLayoutProfileThemes-1Jj-oN .previewProfileThemes-ViDDkq,
#app-mount .layer-86YKbF ~ .layer-86YKbF .baseLayoutProfileThemes-1Jj-oN .previewProfileThemes-ViDDkq .userPopoutOuter-3AVBmJ {
min-width: calc((var(--settingsmodalwidth) - 356px) / 2) !important;
max-width: calc((var(--settingsmodalwidth) - 356px) / 2) !important;
}
#app-mount .layer-86YKbF ~ .layer-86YKbF .tryItOutSection-W9qeGH .baseLayoutProfileThemes-1Jj-oN .sectionsContainer-3BlPu4,
#app-mount .layer-86YKbF ~ .layer-86YKbF .tryItOutSection-W9qeGH .baseLayoutProfileThemes-1Jj-oN .editor-328F1U,
#app-mount .layer-86YKbF ~ .layer-86YKbF .tryItOutSection-W9qeGH .baseLayoutProfileThemes-1Jj-oN .previewProfileThemes-ViDDkq,
#app-mount .layer-86YKbF ~ .layer-86YKbF .tryItOutSection-W9qeGH .baseLayoutProfileThemes-1Jj-oN .previewProfileThemes-ViDDkq .userPopoutOuter-3AVBmJ {
min-width: calc((var(--settingsmodalwidth) - 372px) / 2) !important;
max-width: calc((var(--settingsmodalwidth) - 372px) / 2) !important;
}
#app-mount .layer-86YKbF ~ .layer-86YKbF .baseLayoutProfileThemes-1Jj-oN .previewProfileThemes-ViDDkq .userPopoutInner-1hXSeY {
overflow: hidden !important;
}
2022-01-11 15:06:27 +01:00
#app-mount .root-2zfUH6 {
2021-04-21 17:42:07 +02:00
position: fixed !important;
top: 0 !important;
right: 0 !important;
bottom: 0 !important;
left: 0 !important;
2021-05-03 16:23:08 +02:00
background: var(--settingsmodalbackground) !important;
2021-04-21 17:42:07 +02:00
border-radius: 5px !important;
box-shadow: var(--elevation-high) !important;
2021-05-03 16:23:08 +02:00
width: var(--settingsmodalwidth) !important;
height: var(--settingsmodalheight) !important;
2021-04-21 17:42:07 +02:00
margin: auto !important;
padding: 0 !important;
overflow: hidden !important;
contain: unset !important;
2021-04-24 11:24:32 +02:00
z-index: 1000 !important;
2021-04-21 18:59:06 +02:00
}
2022-01-11 15:06:27 +01:00
#app-mount .root-2zfUH6.enterDone-menWZ8 {
2021-04-21 17:42:07 +02:00
transform: unset !important;
}
2022-01-11 17:05:30 +01:00
#app-mount .perksModal-CLcR1c {
2021-04-24 11:24:32 +02:00
position: static !important;
2021-04-21 17:42:07 +02:00
border-radius: unset !important;
width: 100% !important;
height: 100% !important;
margin: unset !important;
padding: unset !important;
}
2022-01-11 17:05:30 +01:00
#app-mount .perksModal-CLcR1c::before {
2021-05-03 16:23:08 +02:00
width: var(--settingsmodalwidth) !important;
height: var(--settingsmodalheight) !important;
2021-04-21 17:42:07 +02:00
margin: auto !important;
}
2022-01-11 17:05:30 +01:00
#app-mount .perksModalContentWrapper-3RHugb {
2021-04-24 11:24:32 +02:00
padding: 10px 0 10px !important;
}
2022-01-11 17:05:30 +01:00
#app-mount .root-2zfUH6 .perksModal-CLcR1c .carousel-3dvee9 {
2021-05-03 16:23:08 +02:00
margin-left: calc(-0.5 * (100vw - var(--settingsmodalwidth))) !important;
2021-04-21 17:42:07 +02:00
}
2022-09-02 12:47:55 +02:00
#app-mount .root-2zfUH6 .closeWrapper-1aVqeP,
#app-mount .root-2zfUH6 .closeWrapper-1aVqeP .closeContent-1uXQiy,
#app-mount .root-2zfUH6 .closeWrapper-1aVqeP .container-O54IuJ,
#app-mount .root-2zfUH6 .closeWrapper-1aVqeP .closeButton-PCZcma {
2021-04-21 17:42:07 +02:00
position: absolute !important;
top: 0 !important;
right: 0 !important;
bottom: 0 !important;
left: 0 !important;
background: transparent !important;
border: none !important;
border-radius: 0 !important;
width: 100% !important;
max-width: unset !important;
height: 100% !important;
max-height: unset !important;
margin: 0 !important;
padding: 0 !important;
opacity: 0 !important;
cursor: default !important;
}
2022-09-02 12:47:55 +02:00
#app-mount .root-2zfUH6 .closeWrapper-1aVqeP {
2021-04-21 17:42:07 +02:00
position: fixed !important;
top: 22px !important;
z-index: -1 !important;
2022-01-11 15:06:27 +01:00
}