some styling + scope chat (#3)
This commit is contained in:
@@ -1,10 +0,0 @@
|
|||||||
.c-navbar-container {
|
|
||||||
background-color: light-dark(#ffffff, #000000);
|
|
||||||
border-top-right-radius: var(--d-border-radius-large);
|
|
||||||
border-top-left-radius: var(--d-border-radius-large);
|
|
||||||
}
|
|
||||||
|
|
||||||
.chat-message-container,
|
|
||||||
.chat-transcript {
|
|
||||||
background: transparent;
|
|
||||||
}
|
|
||||||
+15
-19
@@ -1,16 +1,10 @@
|
|||||||
body,
|
html:not(:has(.has-full-page-chat)) {
|
||||||
html {
|
|
||||||
background-color: #f5f8ff;
|
background-color: #f5f8ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
body:not(.archetype-regular, .has-full-page-chat)
|
body:not(.has-full-page-chat) {
|
||||||
#main-outlet-wrapper
|
background-color: #f5f8ff;
|
||||||
#main-outlet {
|
#main-outlet-wrapper {
|
||||||
overflow: scroll;
|
|
||||||
border-radius: var(--d-border-radius-large);
|
|
||||||
}
|
|
||||||
|
|
||||||
#main-outlet-wrapper {
|
|
||||||
margin-top: 1.5rem;
|
margin-top: 1.5rem;
|
||||||
gap: 2em !important;
|
gap: 2em !important;
|
||||||
height: calc(100vh - var(--header-offset) - 4rem);
|
height: calc(100vh - var(--header-offset) - 4rem);
|
||||||
@@ -32,6 +26,7 @@ body:not(.archetype-regular, .has-full-page-chat)
|
|||||||
> *:not(.full-page-chat) {
|
> *:not(.full-page-chat) {
|
||||||
max-width: 1000px;
|
max-width: 1000px;
|
||||||
margin-inline: auto;
|
margin-inline: auto;
|
||||||
|
padding-inline: 1.5em;
|
||||||
}
|
}
|
||||||
border-radius: var(--d-border-radius-large);
|
border-radius: var(--d-border-radius-large);
|
||||||
border-radius: 1.25rem;
|
border-radius: 1.25rem;
|
||||||
@@ -42,7 +37,7 @@ body:not(.archetype-regular, .has-full-page-chat)
|
|||||||
rgba(255, 255, 255, 0) 100%
|
rgba(255, 255, 255, 0) 100%
|
||||||
),
|
),
|
||||||
radial-gradient(
|
radial-gradient(
|
||||||
75.11% 79.17% at 66.02% 41.71%,
|
67.07% 61.36% at 66.47% 64.15%,
|
||||||
rgba(162, 164, 225, 0.2) 0%,
|
rgba(162, 164, 225, 0.2) 0%,
|
||||||
rgba(255, 255, 255, 0) 100%
|
rgba(255, 255, 255, 0) 100%
|
||||||
),
|
),
|
||||||
@@ -51,23 +46,24 @@ body:not(.archetype-regular, .has-full-page-chat)
|
|||||||
box-shadow: 0px 0px 1px 2px #e2e8f8, 0px 0px 24px 4px #e2e8f8;
|
box-shadow: 0px 0px 1px 2px #e2e8f8, 0px 0px 24px 4px #e2e8f8;
|
||||||
background-color: light-dark(#ffffff, #000000);
|
background-color: light-dark(#ffffff, #000000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#topic-title {
|
#topic-title {
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
padding: 1.5rem 2rem 0.5em;
|
padding: 1.5rem 2rem 0.5em;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
background: var(--secondary);
|
background: var(--secondary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.container.posts,
|
.container.posts,
|
||||||
.more-topics__container,
|
.more-topics__container,
|
||||||
#topic-footer-buttons {
|
#topic-footer-buttons {
|
||||||
padding: 0 24px;
|
padding: 0 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container.posts .topic-navigation {
|
.container.posts .topic-navigation {
|
||||||
top: calc(var(--header-offset, 60px) + 4em);
|
top: calc(var(--header-offset, 60px) + 4em);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -3,9 +3,8 @@
|
|||||||
top: 0;
|
top: 0;
|
||||||
background: var(--secondary);
|
background: var(--secondary);
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
padding-top: 1.5rem;
|
padding: 1.5rem 0 1rem 0;
|
||||||
max-width: unset;
|
max-width: unset;
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
.navigation-container {
|
.navigation-container {
|
||||||
.category-breadcrumb {
|
.category-breadcrumb {
|
||||||
|
|||||||
+5
-4
@@ -1,8 +1,9 @@
|
|||||||
:root {
|
|
||||||
--d-sidebar-background: #f5f8ff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sidebar-wrapper {
|
.sidebar-wrapper {
|
||||||
|
background: #f5f8ff;
|
||||||
|
|
||||||
|
.has-full-page-chat & {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
.sidebar-container {
|
.sidebar-container {
|
||||||
border-right: none;
|
border-right: none;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user