BetterDiscordAddons/Themes/SettingsModal/SettingsModal.css

164 lines
4.9 KiB
CSS
Raw Normal View History

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
}
#app-mount .baseLayer-35bLyl {
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
}
#app-mount .layer-3QrUeG.stop-animations:first-child::after {
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;
}
#app-mount .layer-3QrUeG ~ .layer-3QrUeG {
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
}
2021-04-21 17:52:12 +02:00
#app-mount .layer-3QrUeG ~ .layer-3QrUeG > div,
2021-04-21 17:42:07 +02:00
#app-mount .layer-3QrUeG ~ .layer-3QrUeG .standardSidebarView-3F1I7i {
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;
}
#app-mount .layer-3QrUeG ~ .layer-3QrUeG .sidebar-CFHs9e,
#app-mount .layer-3QrUeG ~ .layer-3QrUeG .contentColumnDefault-1VQkGM {
padding-top: 20px !important;
padding-bottom: 20px !important;
}
2021-05-03 16:23:08 +02:00
#app-mount .layer-3QrUeG ~ .layer-3QrUeG .repoHeader-2KfNvH {
max-width: calc(var(--settingsmodalwidth) - 256px) !important;;
}
2021-04-21 20:57:46 +02:00
#app-mount .layer-3QrUeG ~ .layer-3QrUeG .standardSidebarView-3F1I7i .editor {
2021-05-03 16:23:08 +02:00
height: calc(var(--settingsmodalheight) - 120px) !important;
2021-04-21 20:57:46 +02:00
}
2021-04-21 17:42:07 +02:00
#app-mount .layer-3QrUeG ~ .layer-3QrUeG .toolsContainer-1edPuj,
#app-mount .layer-3QrUeG ~ .layer-3QrUeG .toolsContainer-1edPuj .tools-3-3s-N,
#app-mount .layer-3QrUeG ~ .layer-3QrUeG .toolsContainer-1edPuj .container-1sFeqf,
#app-mount .layer-3QrUeG ~ .layer-3QrUeG .toolsContainer-1edPuj .closeButton-1tv5uR {
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;
}
#app-mount .layer-3QrUeG ~ .layer-3QrUeG .toolsContainer-1edPuj {
position: fixed !important;
top: 22px !important;
z-index: -1 !important;
}
2021-04-30 12:03:42 +02:00
#app-mount .layer-3QrUeG ~ .layer-3QrUeG .settingsToolbar-wu4yfQ {
2021-04-30 12:25:42 +02:00
display: none !important;
2021-04-21 17:42:07 +02:00
}
#app-mount .root-3R2ngo {
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
}
2021-04-21 17:42:07 +02:00
#app-mount .root-3R2ngo.enterDone-2zvtsK {
transform: unset !important;
}
#app-mount .perksModal-fSYqOq {
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;
}
#app-mount .perksModal-fSYqOq::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;
}
#app-mount .perksModalContentWrapper-2HU6uL {
2021-04-24 11:24:32 +02:00
padding: 10px 0 10px !important;
}
#app-mount .root-3R2ngo .perksModal-fSYqOq .carousel-6MSnEI {
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
}
#app-mount .root-3R2ngo .closeWrapper-9ScmSq,
#app-mount .root-3R2ngo .closeWrapper-9ScmSq .closeContent-I3JbQJ,
#app-mount .root-3R2ngo .closeWrapper-9ScmSq .container-1sFeqf,
#app-mount .root-3R2ngo .closeWrapper-9ScmSq .closeButton-1tv5uR {
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;
}
#app-mount .root-3R2ngo .closeWrapper-9ScmSq {
position: fixed !important;
top: 22px !important;
z-index: -1 !important;
}