forked from discourse/discourse-mint-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UX: add banner bg, chat styles, regression fixes (discourse#20)
- Loading branch information
1 parent
2732fb9
commit 419bb34
Showing
5 changed files
with
82 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
html body.has-sidebar-page.has-full-page-chat { | ||
#main-outlet-wrapper { | ||
gap: 2em; | ||
} | ||
#main-outlet { | ||
padding: 0 !important; | ||
} | ||
} | ||
|
||
.chat-composer__wrapper { | ||
background: transparent; | ||
} | ||
|
||
.full-page-chat .chat-full-page-header { | ||
background: var(--primary-very-low); | ||
} | ||
|
||
.desktop-view .has-full-page-chat { | ||
.chat-channel { | ||
height: calc(100vh - (var(--header-offset) + 3em)); | ||
} | ||
} | ||
|
||
.chat-message-container, | ||
.chat-transcript { | ||
background: transparent; | ||
} | ||
|
||
.chat-drawer .chat-drawer-container { | ||
border-radius: var(--mint-border-radius) var(--mint-border-radius) 0 0; | ||
box-shadow: 0 8px 60px 0 rgba(103, 151, 255, 0.1), | ||
0 12px 90px 0 rgba(133, 255, 103, 0.1); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,27 @@ | ||
:root { | ||
--d-sidebar-highlight-background: var(--tertiary-low); | ||
--d-sidebar-highlight-hover-background: var(--tertiary); | ||
--d-sidebar-header-icon-color: var(--tertiary); | ||
} | ||
|
||
#main-outlet-wrapper { | ||
.sidebar-wrapper { | ||
background-color: var(--secondary); | ||
background-color: var(--primary-very-low); | ||
box-shadow: 0 8px 60px 0 rgba(103, 151, 255, 0.1), | ||
0 12px 90px 0 rgba(133, 255, 103, 0.1); | ||
margin-top: 1em; | ||
border-top: 8px solid var(--tertiary); | ||
border-radius: var(--mint-border-radius); | ||
height: calc( | ||
var(--composer-vh, var(--1dvh)) * 100 - var(--header-offset, 0px) - 3em | ||
); | ||
top: calc(var(--header-offset) + 1em); | ||
.sidebar-container { | ||
border: none; | ||
} | ||
} | ||
} | ||
|
||
.sidebar-footer-wrapper { | ||
background: var(--primary-very-low); | ||
} |