mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 08:38:37 +00:00
feat(header): new glass header on channel view
This commit is contained in:
@@ -37,6 +37,7 @@ export const Bar = styled.div<{ position: "top" | "bottom"; accent?: boolean }>`
|
||||
user-select: none;
|
||||
justify-content: space-between;
|
||||
transition: color ease-in-out 0.08s;
|
||||
top: 48px;
|
||||
|
||||
${(props) =>
|
||||
props.accent
|
||||
|
||||
@@ -8,6 +8,12 @@ export default styled.div`
|
||||
user-select: none;
|
||||
flex-direction: row;
|
||||
align-items: stretch;
|
||||
|
||||
> * > ::-webkit-scrollbar-thumb {
|
||||
width: 4px;
|
||||
background-clip: content-box;
|
||||
border-top: 48px solid transparent;
|
||||
}
|
||||
`;
|
||||
|
||||
export const GenericSidebarBase = styled.div<{
|
||||
|
||||
@@ -31,7 +31,13 @@ const Header = styled.div<Props>`
|
||||
align-items: center;
|
||||
background-size: cover !important;
|
||||
background-position: center !important;
|
||||
background-color: var(--primary-header);
|
||||
//background-color: var(--primary-header);
|
||||
background-color: rgba(54, 54, 54, 0.75);
|
||||
backdrop-filter: blur(10px);
|
||||
z-index: 20;
|
||||
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
|
||||
/*> div {
|
||||
text-overflow: ellipsis;
|
||||
|
||||
Reference in New Issue
Block a user