Last active
October 18, 2024 00:01
-
-
Save denniswon/2d08e6a9298ae0c9be90702c84e8406e to your computer and use it in GitHub Desktop.
beeper-minimal.css
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
body { | |
font-family: 'Space Grotesk'; | |
} | |
/******************************************************************/ | |
/* Ensure 'report bug' dialog doesn't take over the entire screen */ | |
/******************************************************************/ | |
#mx_Dialog_Container div[aria-describedby="report_bug"] { | |
/* Don't take up the entire screen */ | |
width: fit-content; | |
height: fit-content; | |
padding: 20px; | |
border-radius: 20px; | |
/* Center the dialog */ | |
position: fixed; | |
top: 50%; | |
left: 50%; | |
transform: translate(-50%, -50%); | |
} | |
/**********************/ | |
/* Main Settings Menu */ | |
/**********************/ | |
#mx_ContextualMenu_Container .mx_AccessibleButton[aria-label="Download Mobile App"] { | |
display: none; | |
} | |
/* Settings Dialog - Appearance - Custom CSS TextArea */ | |
.mx_AppearanceUserSettingsTab .mx_Field.mx_Field_textarea { | |
width: 100% !important; | |
height: 500px !important; | |
} | |
.mx_AppearanceUserSettingsTab .mx_Field.mx_Field_textarea textarea { | |
font-family: Menlo, monospace; | |
font-size: 11px !important; | |
} | |
/************************/ | |
/* Beeper Space Sidebar */ | |
/************************/ | |
/* Beeper Space Sidebar - Collapsed - Hide Floating 'Open Archive' Button */ | |
.mx_MatrixChat > div > div > .mx_AccessibleButton:has(> .bp_icon > div > svg[data-src="img/beeper/archive16.2003809.svg"]) { | |
display: none; | |
} | |
/* Beeper Space Sidebar - Hide Original Icons */ | |
#beeperSpaceBar svg:not(svg[data-src="img/beeper/square-inbox16.ea471fd.svg"]):not(svg[data-src="img/beeper/square-lowpriority16.6779879.svg"]):not(svg[data-src="img/beeper/square-archive16.b1ef8a0.svg"]):not(svg[data-src="img/beeper/square-bookmarks16.6853926.svg"]):not(svg[data-src="img/beeper/add-network16.1eb5cb1.svg"]) { | |
display: none | |
} | |
/* Beeper Space Sidebar - Use Lineart Icons */ | |
#beeperSpaceBar > .mx_AccessibleButton:has(.bp_icon svg) > div > div > div { | |
width: 100%; | |
height: 100%; | |
background-repeat: no-repeat; | |
background-position: center; | |
background-size: contain; | |
} | |
/* Beeper Space Sidebar - Use Lineart Icons - Facebook */ | |
#beeperSpaceBar > .mx_AccessibleButton:has(.bp_icon svg[data-src="img/beeper/square-facebook16.9d9e23d.svg"]) > div > div > div { | |
background-image: url("nova://nova-web/webapp/img/social/lineart-color/dark/messenger.1544eb2.svg"); | |
} | |
/* Beeper Space Sidebar - Use Lineart Icons - Instagram */ | |
#beeperSpaceBar > .mx_AccessibleButton:has(.bp_icon svg[data-src="img/beeper/square-instagram16.1e8ed4e.svg"]) > div > div > div { | |
background-image: url("nova://nova-web/webapp/img/social/lineart-color/dark/instagram.e9184e9.svg"); | |
} | |
/* Beeper Space Sidebar - Use Lineart Icons - iMessage */ | |
#beeperSpaceBar > .mx_AccessibleButton:has(.bp_icon svg[data-src="img/beeper/square-imessage16.11b6604.svg"]) > div > div > div { | |
background-image: url("nova://nova-web/webapp/img/social/lineart-color/dark/imessage.aedae37.svg"); | |
} | |
/* Beeper Space Sidebar - Use Lineart Icons - Twitter */ | |
#beeperSpaceBar > .mx_AccessibleButton:has(.bp_icon svg[data-src="img/beeper/square-twitter16.ddd9bad.svg"]) > div > div > div { | |
background-image: url("nova://nova-web/webapp/img/social/lineart-color/dark/twitter.972096c.svg"); | |
} | |
/* Beeper Space Sidebar - Use Lineart Icons - Telegram */ | |
#beeperSpaceBar > .mx_AccessibleButton:has(.bp_icon svg[data-src="img/beeper/square-telegram16.d011ded.svg"]) > div > div > div { | |
background-image: url("nova://nova-web/webapp/img/social/lineart-color/dark/telegram.77fa320.svg"); | |
} | |
/* Beeper Space Sidebar - Use Lineart Icons - Signal */ | |
#beeperSpaceBar > .mx_AccessibleButton:has(.bp_icon svg[data-src="img/beeper/square-signal16.85ba0c4.svg"]) > div > div > div { | |
background-image: url("nova://nova-web/webapp/img/social/lineart-color/dark/signal.315d199.svg"); | |
} | |
/* Beeper Space Sidebar - Use Lineart Icons - LinkedIn */ | |
#beeperSpaceBar > .mx_AccessibleButton:has(.bp_icon svg[data-src="img/beeper/square-linkedin16.f764edc.svg"]) > div > div > div { | |
background-image: url("nova://nova-web/webapp/img/social/lineart-color/dark/linkedin.2297fef.svg"); | |
} | |
/* Beeper Space Sidebar - Use Lineart Icons - Discord */ | |
#beeperSpaceBar > .mx_AccessibleButton:has(.bp_icon svg[data-src="img/beeper/square-discord16.e91cca3.svg"]) > div > div > div { | |
background-image: url("nova://nova-web/webapp/img/social/lineart-color/dark/discord.6daf490.svg"); | |
} | |
/* Beeper Space Sidebar - Use Lineart Icons - Beeper */ | |
#beeperSpaceBar > .mx_AccessibleButton:has(.bp_icon svg[data-src="img/beeper/square-beeper16.749ed9b.svg"]) > div > div > div { | |
background-image: url("nova://nova-web/webapp/img/social/lineart-color/dark/beeper.c685f80.svg"); | |
} | |
/* Beeper Space Sidebar - Use Lineart Icons - WhatsApp */ | |
#beeperSpaceBar > .mx_AccessibleButton:has(.bp_icon svg[data-src="img/beeper/square-whatsapp16.411f722.svg"]) > div > div > div { | |
background-image: url("nova://nova-web/webapp/img/social/lineart-color/dark/whatsapp.2210499.svg"); | |
} | |
/*****************/ | |
/* Uncategorized */ | |
/*****************/ | |
/* Ensure full image preview is visible, rather than a zoomed part of it */ | |
.mx_EventTile_image .mx_MImageBody img.mx_MImageBody_thumbnail { | |
object-fit: contain !important; | |
} | |
.favourites__tiles { | |
grid-row-gap: 2px !important; | |
row-gap: 2px !important; | |
} | |
.favourites__row { | |
grid-gap: 2px !important; | |
gap: 2px !important; | |
} | |
.favourites__row div { | |
height: 40px !important; | |
width: 40px !important; | |
} | |
.favourites__row .outline > span { | |
display: none; | |
} | |
.favourites__row .outline img { | |
width: 30px !important; | |
height: 30px !important; | |
} | |
/* hides the "all" or "read" tabs */ | |
.rooms_actions { | |
display: none !important; | |
} | |
/* sets height of each chat change this if it feels too compact */ | |
[data-type="bp_RoomTile"] > div { | |
height: 40px !important | |
} | |
/* position network icon absolutely to the right and centered vertically */ | |
[data-type="bp_RoomTile"] > div > div > div { | |
position: absolute !important; | |
right: 2%; | |
top: 50%; | |
transform: translateY(-50%); | |
height: auto !important; | |
} | |
/* hide message previews ... i mean ... ¯\_(ツ)_/¯ */ | |
[data-type="bp_RoomTile"] > div > div > div > span { | |
display: none !important; | |
} | |
/* trim network icon styles */ | |
[data-type="bp_RoomTile"] > div > div > div > div { | |
margin: 0 !important; | |
} | |
/* hide pin and archive actions. can use shortcuts ;) */ | |
[data-type="bp_RoomTile"] > div > div:last-child { | |
display: none !important; | |
} | |
/* hide time the message was sent and 'message read' indicator */ | |
[data-type="bp_RoomTile"] > div > div > span > span:last-child { | |
display: none !important; | |
} | |
/* remove margins and center content vertically */ | |
[data-type="bp_RoomTile"] > div > div:nth-last-child(2) { | |
justify-content: center !important; | |
margin: 0 !important; | |
height: 100% !important; | |
} | |
/* half the size of the avatars */ | |
img.mx_BaseAvatar.mx_BaseAvatar_image.avatar { | |
width: 22px !important; | |
height: 22px !important; | |
} | |
/* half the size of placeholder avatars */ | |
span.mx_BaseAvatar_initial { | |
width: 22px !important; | |
height: 22px !important; | |
font-size: 10px !important; | |
line-height: 22px !important; | |
} | |
div.mx_BaseAvatar_image { | |
width: 22px !important; | |
height: 22px !important; | |
} | |
/* remove the favorite indicator (lil heart) */ | |
.favourite-indicator { | |
display: none !important; | |
} | |
/* hide the svg that cuts a hole in the avatar for where it puts the indicator */ | |
.favourite-avatar svg { | |
display: none !important; | |
} | |
/* chip that says which day the messages are from */ | |
._3B1XE-zAqDXtz0zu-w-Fmb { | |
display: none !important; | |
} | |
/* message context menu that appears when you hover over them */ | |
._3SCwVlBxZJeikuUJW-l2ua { | |
display: none !important; | |
} | |
/* the time next to the message */ | |
div.wTC2UwiI_4Uijt6DA-jk4 { | |
display: none !important; | |
} | |
/* hide group in the room tile's name */ | |
span._1-Yq5JwltweehijoGRoQdJ { | |
display: none !important; | |
} | |
/* remove red line when new messages come in */ | |
div._2aD0Xwn49yQeca7cYc8SV8 { | |
display: none !important; | |
} | |
/* remove 'seen by' indicator from your messages */ | |
div._17LFFkKO2F5EhV-hOzGQQy.jeKTrHx2Glq6tJS-DHVDJ { | |
display: none !important; | |
} | |
/* remove sender's names from messages */ | |
div._2MZGYxx5u9QBXJiJXyuSE6 { | |
display: none !important; | |
} | |
/* remove 'seen by' on messages from other people */ | |
div._17LFFkKO2F5EhV-hOzGQQy { | |
display: none !important; | |
} | |
/* remove floating archive button on side bar */ | |
div._1BqyLbX2P4Ugt-sdNnI9Ob._3P3fvvlfCyimK5Wx17JEV { | |
display: none !important; | |
} | |
/* hide the title of the chat on the top */ | |
div._33NHwSNM8FexMEXbDIk3OS { | |
display: none !important; | |
} | |
/* hide 'seen at' in private messages */ | |
div.yyTXN-4uV3hAH2aSFTXOx._3N3OmnoVC-8oD9DeAi02W6 { | |
display: none !important; | |
} | |
/* hide the welcome to beeper thing */ | |
div.mx_HomePage_default_wrapper { | |
display: none !important; | |
} | |
/* hide the 'you're an inbox wizard, harry' message */ | |
div.unread_hint { | |
display: none !important; | |
} | |
body { | |
background-image: url("https://i.ibb.co/SydBn0Y/artwork-1.png"); | |
background-position: top; | |
background-size: cover; | |
} | |
html { | |
/*dark transparent purple bubbles*/ | |
/*--theme-my-bubble-color: rgba(73, 33, 148, 0.6);*/ | |
/*soft purple gradient bubbles*/ | |
--theme-my-bubble-color: linear-gradient(to left, rgba(158, 134, 194, 0.5), rgba(96, 31, 194, 0.5)); | |
/*vibrant sunset gradient bubbles*/ | |
/*--theme-my-bubble-color: linear-gradient(to right, rgba(165, 3, 252, 0.5), rgba(252, 94, 3, 0.5));*/ | |
--theme-accent-color: #a675d8; | |
--theme-their-bubble-color: rgba(165, 165, 168, 0.9); | |
--theme-chat-background-color: #FFFFFF; | |
/*--theme-chat-background-image: url("https://cdn.leonardo.ai/users/98215bb5-38d7-49c4-a7e7-af06abd9c00a/generations/ea466bd6-60a2-4f1b-b03f-16fa9648f2e2/variations/Default_icy_glacier_reaching_miles_into_space_with_a_glowing_c_3_ea466bd6-60a2-4f1b-b03f-16fa9648f2e2_1.jpg");*/ | |
--theme-borderwidth: 0; | |
--theme-borderradius: 13px; | |
--theme-bubble-padding-v: 8px; | |
--theme-bubble-padding-h: 12px; | |
--chatview__backgroundcolor: var(--theme-chat-background-color); | |
--chatview__backgroundimage: var(--theme-chat-background-image); | |
--chatview__fontsize: 2.2rem; | |
--chatview__lineheight: var(--chatview__fontsize); | |
--chatview__paddingleft: var(--size-spacing-400); | |
--chatview__paddingright: var(--size-spacing-400); | |
/*--chatview__composer__borderradius: var(--theme-borderradius);*/ | |
/*--chatview__composer__backgroundcolor: #efefef;*/ | |
--chatview__composer__bordercolor: rgba(74, 43, 179, 0.5); | |
--chatview__composer__borderstyle: ridge; | |
--chatview__composer__borderwidth: 2px; | |
--chatview__message_group__margintop: 12px; | |
--chatview__message_tail__opacity: 0.; | |
--chatview__message_tail__color: var(--theme-their-bubble-color); | |
--chatview__message__backgroundcolor: var(--theme-their-bubble-color); | |
--chatview__message__fontcolor: #141414; | |
--chatview__message__paddingleft: var(--theme-bubble-padding-h); | |
--chatview__message__paddingright: var(--theme-bubble-padding-h); | |
--chatview__message__paddingtop: var(--theme-bubble-padding-v); | |
--chatview__message__paddingbottom: var(--theme-bubble-padding-v); | |
--chatview__message__marginleft: 4px; | |
--chatview__message__marginright: 4px; | |
--chatview__message__margintop: 4px; | |
--chatview__message__borderradius: var(--theme-borderradius); | |
--chatview__message_sharp__borderradius: var(--theme-borderradius); | |
--chatview__message_sender_name__alpha: 1; | |
--chatview__message_sender_name__lightness: 35%; | |
--chatview__message_self__backgroundcolor: var(--theme-my-bubble-color); | |
--chatview__readmarker__fontcolor: var(--theme-accent-color); | |
--chatview__readreceipt__fontcolor: rgba( 200, 200, 200); | |
/*border for profile pictures*/ | |
--chatview__message_sender_avatar__borderradius: 50%; | |
--chatview__message_sender_avatar__borderwidth: 3px; | |
--chatview__message_sender_avatar__borderstyle: inset; | |
--chatview__message_sender_avatar__bordercolor: rgba(93, 25, 156, 0.7); | |
} | |
html[theme="dark"] { | |
--theme-their-bubble-color: rgba(20, 20, 20, 0.7); | |
--theme-chat-background-color: rgba(10, 10, 10, 0.1); | |
/*--theme-chat-background-image: url("https://i.ibb.co/SydBn0Y/artwork-1.png");*/ | |
--chatview__composer__backgroundcolor: rgba(35, 35, 38, 0.5); | |
--chatview__message__fontcolor: #F6F6F6; | |
--chatview__message_sender_name__lightness: 65%; | |
--chatview__composer__boxshadow: 0 0 10px 10px rgba(74, 43, 179, 1); | |
} | |
.mx_Dialog { | |
background-color: rgba(30, 10, 30, 0.9); | |
} | |
.mx_MatrixChat_wrapper--windows .bp_LeftPanel, | |
.mx_MatrixChat_wrapper--linux .bp_LeftPanel { | |
background-color: rgba(10, 10, 10, 0.6); | |
} | |
.mx_RoomHeader { | |
background-color: rgba(10, 10, 10, 0.2); | |
} | |
.bp_TitleBar { | |
background-color: rgba(23, 25, 38, 0.8); | |
} | |
.bp_MainPanel { | |
background-color: #1e1e1e00; | |
} | |
.mx_MainSplit { | |
background: #1e1e1e00; | |
} | |
.mx_MatrixChat_wrapper--windows ._1fJQLY3NzmLrdWaOTqOBgG, .mx_MatrixChat_wrapper--linux ._1fJQLY3NzmLrdWaOTqOBgG { | |
background-color: rgba(23, 25, 38, 0.8); | |
} | |
.mx_MatrixChat > .mx_ResizeHandle, .mx_RightPanel_ResizeWrapper .mx_ResizeHandle { | |
margin: 0px -9.5px 0px -2.5px; | |
box-shadow: rgba(74, 43, 179, 0.5) 1px 0px 0px 0px inset; | |
} | |
.mx_MainSplit > div > div { | |
background-color: transparent !important; | |
font-size: 1.65rem; | |
} | |
div._1d1LCgK91IkG4a1jjg_TkP { | |
max-width: 615px; | |
} | |
.mx_EventTile_messageOut .mx_EventTile_line { | |
background: rgba(26, 19, 170, 0.387) !important; | |
} | |
.mx_EventTile_messageOut:not(.mx_EventTile_emoji, .mx_EventTile_image, .mx_EventTile_sticker) .mx_EventTile_line { | |
background: rgba(26, 19, 170, 0.387) !important; | |
} | |
.mx_EventTile_messageOut .mx_EventTile_reactionsContainer { | |
background: transparent !important; | |
} | |
.mx_Dialog { | |
background: rgba(7, 4, 40, 0.7) !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment