Skip to content

Instantly share code, notes, and snippets.

@mtancoigne
Created July 26, 2019 08:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mtancoigne/1beb473d83dad15471c770f2d71739d8 to your computer and use it in GitHub Desktop.
Save mtancoigne/1beb473d83dad15471c770f2d71739d8 to your computer and use it in GitHub Desktop.
Gitter - compact interface
@-moz-document domain("gitter.im") {
/* Header */
header.header,
.header .header-main-menu {
height: 3.5rem !important;
}
/* Left panel */
.body .layout-minibar {
width: 3.5rem;
}
.header .header-minibar,
.layout-minibar .item {
height: 3.5rem;
width: 3.5rem;
}
.item.item-toggle .icon-wrapper {
height: auto;
}
.root.unpinned .layout-main-menu {
left: 3.5rem !important;
}
.room-list-title{
line-height: 3.5rem !important;
}
.layout-main-menu .list-item-link {
height: 2.5rem;
padding: 0;
}
/* Chat header */
.chat-header {
min-height: 3.5rem;
}
.chat-header .chat-header__main-grouping,
.chat-header__heading-sub-group {
height: 3.5rem
}
.chat-header .chat-header__main-grouping:hover {
height: auto;
}
.chat-header__info-grouping {
justify-content: center;
text-align: center;
}
.chat-header__heading,
.chat-header__topic:not(:empty) {
margin-top: calc((3.5rem - 1em) / 2);
margin-bottom: 0;
}
.js-chat-header-group-avatar-upload-label {
height: 3.5rem;
width: 3.5rem;
}
.js-chat-header-avatar-image {
height: 3rem !important;
}
.chat-header__action-grouping .profile-menu {
padding: 0 0 0 1.2rem;
}
.chat-header .chat-header__action-grouping:hover,
.chat-header__action-grouping .profile-menu:before {
height: 3.5rem
}
.profile-menu__avatar {
height: 3.5rem;
width: 3.5rem;
}
/* Chat, right toolbar */
.chat-and-toolbar-wrapper {
padding-top: 3.5rem;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment