123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214 |
- @import url('https://fonts.googleapis.com/css?family=Lato:400,900');
- html {
- font-family: 'Lato', sans-serif;
- }
- body {
- padding: 0;
- margin: 0;
- }
- #slack-archive-viewer {
- padding: 0;
- margin: 0;
- height: 100vh;
- overflow: hidden;
- }
- #sidebar {
- display: inline-block;
- width: 280px;
- color: white;
- text-align: left;
- background-color: #4D394B;
- z-index: 10;
- overflow-y: scroll;
- overflow-x: auto;
- height: 100vh;
- user-select: none;
- }
- #sidebar a {
- color: white;
- font-size: 14px;
- }
- #sidebar h3 {
- margin: 20px 20px;
- color: white;
- font-weight: 900;
- }
- #sidebar h3:hover {
- cursor: pointer;
- }
- #sidebar h3::after {
- content: '❯ ';
- display: inline-block;
- -webkit-transform: rotate(90deg);
- transform: rotate(90deg);
- margin-left: 15px;
- }
- #sidebar h3.arrow::after {
- margin-left: 10px;
- -webkit-transform: none;
- transform: none;
- }
- .messages {
- width: calc(100vw - 325px);
- height: 100vh;
- text-align: left;
- display: inline-block;
- padding-left: 20px;
- padding-right: 20px;
- overflow-y: scroll;
- }
- .message-container {
- clear: left;
- min-height: 56px; // height of image plus 20px padding
- }
- .message-container:first-child {
- margin-top: 20px;
- }
- .message-container:last-child {
- margin-bottom: 20px;
- }
- .message-container .user_icon {
- background-color: rgb(248, 244, 240);
- width: 36px;
- height: 36px;
- border-radius: 0.2em;
- display: inline-block;
- vertical-align: top;
- margin-right: 0.65em;
- float: left;
- }
- .message-container .time {
- display: inline-block;
- color: rgb(200, 200, 200);
- margin-left: 0.5em;
- }
- .message-container .username {
- display: inline-block;
- font-weight: 600;
- line-height: 1;
- }
- .message-container .user-email {
- font-weight: normal;
- font-style: italic;
- }
- .message-container .message {
- display: inline-block;
- vertical-align: top;
- line-height: 1;
- width: calc(100% - 3em);
- }
- .message-container .msg p {
- white-space: pre-wrap;
- }
- .message-container .msg pre {
- background-color: #E6E5DF;
- white-space: pre-wrap;
- }
- .message-container .message .msg {
- line-height: 1.5;
- }
- .message-container .message .msg a {
- overflow-wrap: anywhere;
- }
- .message-container .message-attachment {
- padding-left: 5px;
- border-left: 2px gray solid;
- overflow-wrap: anywhere;
- }
- .message-container .message-attachment .service-name {
- color: #999999;
- }
- .message-container .icon {
- max-width: 10px;
- }
- .channel_join .msg, .channel_topic .msg,
- .bot_add .msg, .app_conversation_join .msg {
- font-style: italic;
- }
- .attachment-footer {
- font-size: small;
- }
- .list {
- margin: 0;
- padding: 0;
- list-style-type: none;
- }
- .list li {
- padding: 4px 20px;
- }
- .list li a {
- width: 100%;
- padding: 10px 20px;
- }
- .list li.active {
- background-color: #4C9689;
- }
- .list li.active:hover {
- background-color: #4C9689;
- }
- .list li:hover {
- text-decoration: none;
- background: #3E313C;
- }
- .list li a:hover {
- text-decoration: none;
- }
- a:link,
- a:visited,
- a:active {
- color: #2a80b9;
- text-decoration: none;
- }
- a:hover {
- color: #439fe0;
- text-decoration: underline;
- }
- .close {
- display: none;
- }
- @media screen {
- .print-only { display: none }
- }
- img.preview {
- max-width: 100%;
- height: auto;
- }
|