Skip to content

Instantly share code, notes, and snippets.

@jhaoda
Last active August 6, 2019 13:00
Show Gist options
  • Save jhaoda/67ef8c514ff47598e026 to your computer and use it in GitHub Desktop.
Save jhaoda/67ef8c514ff47598e026 to your computer and use it in GitHub Desktop.
Old gitter.im style
@-moz-document domain("gitter.im") {
body {
font-family: 'Open Sans';
font-size: 14px;
}
/* common */
h1, h2, h3, h4, h5 {
line-height: 1;
}
code {
font-family: Consolas;
font-size: 13px;
}
blockquote p {
font-size: 14px;
}
.tooltip {
font-size: 12px;
}
.chat-header {
padding-bottom: 5px;
}
/* popup */
.trpPopoverDetails h2 + h3 {
margin-top: 10px;
}
.trpPopoverDetails h2:empty + h3 {
margin-top: 0;
}
.trpPopoverDetails h3 a {
font-weight: normal;
}
/* left sidebar */
.room-list-item__icon,
.room-list-item__name,
.room-list-item__action {
line-height: 30px
}
/* chat */
.chat-item {
padding: 0
}
.chat-item .chat-item__container {
padding: 0 0 0 15px;
}
.chat-item__container {
transition: border 1s linear 0s, background-color 1s linear 0s, border-radius 1s linear 0s;
}
.chat-item.unread .chat-item__container {
background-color: rgba(46, 204, 113, 0.15);
border-radius: 4px;
}
.chat-item.unread.mentioned .chat-item__container {
background-color: rgba(230, 126, 34, 0.15);
}
.chat-item .chat-item__content {
padding: 0;
margin: 0;
}
/*.chat-item__status {
padding: 0;
margin: 0;
display: none;
}*/
.chat-item__content {
padding: 0 0 0 15px;
}
.chat-item__aside {
margin-left: 0;
}
.chat-item__avatar {
margin-left: 0;
}
.chat-item__from {
/* font-size: 13px; */
/* margin-left: 10px; */
display: none;
}
.chat-item__username {
font-size: 13px;
margin-left: 9px;
}
.chat-item__text {
margin-left: 40px
}
.chat-item__time {
font-size: 13px;
float: none;
}
.chat-item__text .issue,
.chat-item__text .commit {
padding: 0;
font-size: 13px;
}
.chat-input__container {
margin-left: 26px;
margin-bottom: 0;
}
.chat-input {
min-height: 67px;
}
.chat-item__text .mention {
font-size: 13px;
padding: 0;
}
.chat-input__area {
padding: 0 0 4px 0
}
.chat-input__box {
padding: 0 0 0 10px;
margin: 0 42px 0 31px;
}
.chat-input__text-area {
font-family: 'Open Sans', Tahoma;
font-size: 14px;
}
.chat-item__text .trpChatInput {
font-family: 'Open Sans', Tahoma;
font-size: 14px;
height: 50px;
box-sizing: border-box;
}
/* right sidebar */
.right-toolbar__header {
height: 67px;
}
#activity-header {
padding-top: 5px;
}
.gtrActivityList li {
padding-left: 0;
}
.gtrActivityItemText {
margin-left: 14px;
}
.gtrActivityItemText .mention {
font-size: 12px
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment