Skip to content

Instantly share code, notes, and snippets.

@marek-saji
Last active August 29, 2015 14:07
Show Gist options
  • Save marek-saji/ba8b26f0c3d806f2e2f0 to your computer and use it in GitHub Desktop.
Save marek-saji/ba8b26f0c3d806f2e2f0 to your computer and use it in GitHub Desktop.
A bit cleaner HipChat layout
@-moz-document regexp("https://.*.hipchat.com/chat") {
/* collapsable sidebar on narrow screens */
@media all and (max-width: 50em)
{
/*.top_bar_private ~ */ #sidebar {
position: relative;
left: calc(199px - 3em);
transition: left 0.2s;
}
/*.top_bar_private ~*/ #main_chat {
width: calc(100% - 180px - 3em) !important;
}
/*.top_bar_private ~*/ #sidebar:hover {
left: 0;
}
}
/* bigger chat font */
#chats p
{
font-size: 14px;
}
/* don't display name in separate column */
td.nameBlock,
td.messageBlock {
display: inline;
}
.chatBlock table,
.chatBlock tbody,
.chatBlock tr {
display: block;
}
.nameBlock p {
float: left;
}
#chats td.nameBlock,
.nameBlock p {
width: auto !important;
border: none !important;
}
/* hide logo */
.logo {
display: none;
}
ul#tabs {
margin-top: 0;
height: calc(100% - 34px) !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment