Skip to content

Instantly share code, notes, and snippets.

@fastdivision
Last active June 5, 2017 16:39
Show Gist options
  • Save fastdivision/e403c7ad29ef2be91b64bd170b892102 to your computer and use it in GitHub Desktop.
Save fastdivision/e403c7ad29ef2be91b64bd170b892102 to your computer and use it in GitHub Desktop.
Sane Flowdock Redesign with Stylebot (Browser) or userstyle.css (Native Flowdock OS X App)
/*
* Sane Flowdock Redesign Overrides
* Option 1: Copy and paste CSS into Stylebot
* Option 2: Save file as `userstyle.css` inside ~/Library/Application Support/Flowdock, hit CMD+R to reload app
*/
body {
font-family: -apple-system, BlinkMacSystemFont, Arial, Helvetica, sans-serif !important;
}
/*
* Tivac's Changes
* https://gist.github.com/tivac/d3d862896a32164ee023c17e8f99d172
*/
/* Hide the thread icons */
.bubble-container .bubble-icon {
display: none !important;
}
/* Re-enable the left border */
.bubble-container .bubble {
width: 100% !important;
border-left-width: 5px !important;
border-left-style: solid !important;
}
/* Thread views */
/* Hide the thread coloring */
#thread .bubble-container {
display: none !important;
}
/* Move content over */
#thread .thread-comment-message .content {
margin-left: 2.9rem !important;
}
/* End Tivac's Changes */
/* Show icons on hover */
.bubble-container:hover .bubble-icon {
display: block !important;
}
/* Improve line height */
.msg-body, .compact #inbox li[class*=message] {
line-height: 1.5 !important;
}
/* Increase max height with line height change in inbox activity */
.compact #inbox li[class*=message] .inbox-thread-item-single {
max-height: 3.615rem !important;
}
/* Improve selected message background */
.selected-message {
background: #f2f8fb !important;
}
/* Improve chat and thread messages */
.avatar-container {
top: 8px !important;
left: 20px !important;
}
.chat-message.message {
padding-left: 5rem !important;
border-top-width: 1px !important;
}
.thread-comment-message.message, .thread-file-message.message {
padding-left: 1.1rem !important;
padding-right: 1.1rem !important;
}
.thread-activities .message {
background: #fff !important;
border-top: 1px solid #e4e4e4 !important;
}
.message-author {
color: #454545 !important;
}
.private .me.chat-message {
background: #fff !important;
border-color: #F4F4F4 !important;
}
/* Improve message form */
.message-form fieldset {
border-radius: 2px !important;
}
.message-form.focused fieldset {
border-color: #666 !important;
}
.message-form.focused textarea {
box-shadow: none !important;
}
.thread-indicator {
display: none !important;
}
.input-button {
border-bottom-right-radius: 2px !important;
}
@bryevdv
Copy link

bryevdv commented Jun 5, 2017

If anyone can say how to get rid of the avatars (and the space they occupy) I'd be appreciative! I tried playing around a bit but I'm terrible at CSS. Just adding display: none to .avatar-container makes it disappear but leaves a big whitespace gap to the left of the message body

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment