BetterDiscordAddons/Themes/SettingsModal/SettingsModal.css

224 lines
8.4 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
}
2023-04-04 11:59:10 +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;
2023-04-09 12:39:39 +02:00
--settingsiconsadditionalsize: var(--use-settingsicons, 0) * (var(--settingsicons-size, 0px) + var(--settingsicons-gap, 0px));
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-04-04 11:59:10 +02:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .sidebarRegion-1VBisG,
#app-mount .layer-86YKbF ~ .layer-86YKbF .sidebarRegionScroller-FXiQOh {
flex: 0 0 auto !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-04-09 12:31:19 +02:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .repo-k8F4Sd {
2023-04-09 12:39:39 +02:00
max-width: calc(var(--settingsmodalwidth) - 226px - var(--settingsiconsadditionalsize)) !important;
2023-04-09 12:31:19 +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-04-04 11:49:03 +02:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .accountProfileCard-lbN7n- {
2023-04-09 12:43:18 +02:00
max-width: calc(var(--settingsmodalwidth) - 332px - var(--settingsiconsadditionalsize)) !important;
2023-04-04 11:49:03 +02:00
}
2023-04-09 12:22:43 +02:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .profileCustomizationSection-53kreU .baseLayout-1_9QRm {
2023-04-04 11:49:03 +02:00
gap: 30px !important;
}
2023-04-09 12:22:43 +02:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .profileCustomizationSection-53kreU .baseLayout-1_9QRm .sectionsContainer-3BlPu4,
#app-mount .layer-86YKbF ~ .layer-86YKbF .profileCustomizationSection-53kreU .baseLayout-1_9QRm .editor-328F1U,
#app-mount .layer-86YKbF ~ .layer-86YKbF .profileCustomizationSection-53kreU .baseLayout-1_9QRm .preview-sMYs9f {
2023-04-09 12:43:18 +02:00
min-width: calc((var(--settingsmodalwidth) - 332px - var(--settingsiconsadditionalsize)) / 2) !important;
max-width: calc((var(--settingsmodalwidth) - 332px - var(--settingsiconsadditionalsize)) / 2) !important;
2023-04-04 11:49:03 +02:00
}
2023-04-09 12:22:43 +02:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .profileCustomizationSection-53kreU .baseLayout-1_9QRm.tryItOutLayout-2ypO8Z .sectionsContainer-3BlPu4,
#app-mount .layer-86YKbF ~ .layer-86YKbF .profileCustomizationSection-53kreU .baseLayout-1_9QRm.tryItOutLayout-2ypO8Z .editor-328F1U,
#app-mount .layer-86YKbF ~ .layer-86YKbF .profileCustomizationSection-53kreU .baseLayout-1_9QRm.tryItOutLayout-2ypO8Z .preview-sMYs9f {
2023-04-09 12:43:18 +02:00
min-width: calc((var(--settingsmodalwidth) - 344px - var(--settingsiconsadditionalsize)) / 2) !important;
max-width: calc((var(--settingsmodalwidth) - 344px - var(--settingsiconsadditionalsize)) / 2) !important;
2023-04-04 11:49:03 +02:00
}
2023-04-09 12:22:43 +02:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .profileCustomizationSection-53kreU .baseLayout-1_9QRm .preview-sMYs9f .userPopoutOuter-1OHwPL {
2023-04-09 12:43:18 +02:00
width: calc((var(--settingsmodalwidth) - 332px - var(--settingsiconsadditionalsize)) / 2) !important;
2023-04-04 11:59:10 +02:00
}
2023-04-09 12:22:43 +02:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .baseLayout-1_9QRm.tryItOutLayout-2ypO8Z .preview-sMYs9f .userPopoutOuter-1OHwPL {
2023-04-09 12:43:18 +02:00
width: calc((var(--settingsmodalwidth) - 332px - var(--settingsiconsadditionalsize)) / 2) !important;
2023-04-04 11:59:10 +02:00
}
2023-04-09 12:22:43 +02:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .profileCustomizationSection-53kreU .baseLayout-1_9QRm .preview-sMYs9f .userPopoutOuter-1OHwPL,
#app-mount .layer-86YKbF ~ .layer-86YKbF .baseLayout-1_9QRm.tryItOutLayout-2ypO8Z .preview-sMYs9f .userPopoutOuter-1OHwPL {
2023-04-04 11:59:10 +02:00
min-width: unset !important;
max-width: 340px !important;
}
2023-04-09 12:43:18 +02:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .profileCustomizationSection-53kreU .baseLayout-1_9QRm .preview-sMYs9f .userPopoutInner-nv9Y92 {
2023-04-04 11:49:03 +02:00
overflow: hidden !important;
}
2023-04-04 12:04:45 +02:00
#app-mount .layer-86YKbF ~ .layer-86YKbF .settingsContainer-36qZZ9,
#app-mount .layer-86YKbF ~ .layer-86YKbF .guildsSection-30CJxX {
2023-04-09 12:43:18 +02:00
max-width: calc(var(--settingsmodalwidth) - 332px - var(--settingsiconsadditionalsize)) !important;
2023-04-04 12:04:45 +02:00
}
2023-04-04 11:49:03 +02:00
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
}
2023-06-22 18:33:52 +02:00
#app-mount .root-2zfUH6 .closeIconWrapper-1W_w1-,
#app-mount .root-2zfUH6 .closeIconWrapper-1W_w1- .container-O54IuJ,
#app-mount .root-2zfUH6 .closeIconWrapper-1W_w1- .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-06-22 18:33:52 +02:00
#app-mount .root-2zfUH6 .closeIconWrapper-1W_w1- {
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
}