BetterDiscordAddons/Themes/SettingsModal/SettingsModal.css

176 lines
5.3 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-01 14:44:38 +01:00
#app-mount .layer-fP3xEz.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-01 14:44:38 +01:00
#app-mount .layer-fP3xEz ~ .layer-fP3xEz {
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-01 14:44:38 +01:00
#app-mount .layer-fP3xEz ~ .layer-fP3xEz > div,
#app-mount .layer-fP3xEz ~ .layer-fP3xEz .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-01 14:44:38 +01:00
#app-mount .layer-fP3xEz ~ .layer-fP3xEz .sidebar-nqHbhN {
2021-08-02 20:05:50 +02:00
width: 218px !important;
padding: 20px 6px 20px 20px !important;
}
2023-03-01 14:44:38 +01:00
#app-mount .layer-fP3xEz ~ .layer-fP3xEz .contentColumnDefault-3eyv5o {
2021-08-02 20:05:50 +02:00
padding: 20px 40px !important;
2021-04-21 17:42:07 +02:00
}
2023-03-01 14:44:38 +01:00
#app-mount .layer-fP3xEz ~ .layer-fP3xEz .repoHeader-2KfNvH {
2022-10-11 14:37:37 +02:00
padding-bottom: 0 !important;
}
2023-03-01 14:44:38 +01:00
#app-mount .layer-fP3xEz ~ .layer-fP3xEz .repoScroller-9JnAPs {
2022-10-11 14:37:37 +02:00
padding-top: 0 !important;
}
2023-03-01 14:44:38 +01:00
#app-mount .layer-fP3xEz ~ .layer-fP3xEz .sidebar-3K3Z4C {
2021-05-18 12:26:03 +02:00
height: var(--settingsmodalheight) !important;
}
2023-03-01 14:44:38 +01:00
#app-mount .layer-fP3xEz ~ .layer-fP3xEz .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-01 14:44:38 +01:00
#app-mount .layer-fP3xEz ~ .layer-fP3xEz .toolsContainer-25FL6V,
#app-mount .layer-fP3xEz ~ .layer-fP3xEz .toolsContainer-25FL6V .tools-kIrEGr,
#app-mount .layer-fP3xEz ~ .layer-fP3xEz .toolsContainer-25FL6V .container-O54IuJ,
#app-mount .layer-fP3xEz ~ .layer-fP3xEz .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-01 14:44:38 +01:00
#app-mount .layer-fP3xEz ~ .layer-fP3xEz .toolsContainer-25FL6V {
2021-04-21 17:42:07 +02:00
position: fixed !important;
top: 22px !important;
z-index: -1 !important;
}
2023-03-01 14:44:38 +01:00
#app-mount .layer-fP3xEz ~ .layer-fP3xEz .settingsToolbar-wu4yfQ {
2021-04-30 12:25:42 +02:00
display: none !important;
2021-04-21 17:42:07 +02:00
}
2023-03-01 14:44:38 +01:00
#app-mount .layer-fP3xEz ~ .layer-fP3xEz .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
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
}