mirror of https://github.com/zulip/zulip.git
422 lines
6.6 KiB
CSS
422 lines
6.6 KiB
CSS
body {
|
|
font-family: 'Open Sans', Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
.sidebar-nav {
|
|
background-color: white;
|
|
padding: 0.5em;
|
|
margin-top: 2em;
|
|
}
|
|
@media (max-width: 767px) {
|
|
.sidebar-nav {
|
|
background-color: white;
|
|
padding: 0.5em;
|
|
margin: 0px;
|
|
border: 1px solid black;
|
|
}
|
|
}
|
|
|
|
ul#sidebar {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
#nav_whitespace {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.my_fullname {
|
|
font-weight: bold;
|
|
font-size: 150%;
|
|
}
|
|
.my_email {
|
|
color: grey;
|
|
}
|
|
@media (max-width: 767px) {
|
|
.my_fullname {
|
|
font-size: 100%;
|
|
}
|
|
.my_email {
|
|
font-size: 80%;
|
|
}
|
|
}
|
|
|
|
|
|
.new_message_button {
|
|
padding-top: 1em;
|
|
}
|
|
.phone_new_message_button {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
#application_area {
|
|
}
|
|
|
|
.message_list {
|
|
max-width: 640px;
|
|
background-color: aliceblue;
|
|
padding-left: 10px;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
.message_row {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.message_comp {
|
|
display: none;
|
|
border: 1px solid #EEE;
|
|
max-width: 640px;
|
|
background-color: white;
|
|
padding-left: 10px;
|
|
padding-right: 20px;
|
|
padding-top: 5px;
|
|
}
|
|
|
|
td.pointer {
|
|
vertical-align: top;
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.selected_message .pointer {
|
|
background-color: blue;
|
|
}
|
|
|
|
.narrowed_selected_message .pointer {
|
|
background-color: #6699FF;
|
|
}
|
|
|
|
.message_picture {
|
|
vertical-align: top;
|
|
text-align: right;
|
|
padding-right: 10px;
|
|
padding-top: 5px;
|
|
}
|
|
|
|
.ztable_layout_row {
|
|
visibility: collapse;
|
|
}
|
|
.ztable_col1 { /* streamname */
|
|
}
|
|
.ztable_col2 { /* pointer */
|
|
width: 2px;
|
|
}
|
|
.ztable_col3 { /* subjectname */
|
|
width: 85%;
|
|
}
|
|
|
|
.message_newstyle_stream {
|
|
vertical-align: middle;
|
|
text-align: right;
|
|
overflow-x: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-weight: bold;
|
|
padding-right: 10px;
|
|
background-color: #bbb;
|
|
border: 1px solid grey;
|
|
}
|
|
|
|
.message_newstyle_subject {
|
|
vertical-align: middle;
|
|
text-align: left;
|
|
overflow-x: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
padding-left: 10px;
|
|
background-color: #bbb;
|
|
border: 1px solid grey;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.message_newstyle_pm {
|
|
vertical-align: middle;
|
|
text-align: left;
|
|
overflow-x: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
padding-left: 10px;
|
|
font-weight: bold;
|
|
color: white;
|
|
background-color: #444;
|
|
border: 1px solid #444;
|
|
}
|
|
|
|
.messagebox.personal-message {
|
|
border-color: #444;
|
|
border-width: 0px 2px 2px 2px;
|
|
background-color: #feffe0;
|
|
}
|
|
|
|
.sender_name {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.sender_email {
|
|
font-size: 80%;
|
|
color: gray;
|
|
|
|
/* Use padding, not margin, so that there's a continuous
|
|
region of 'hover-ability' between fullname and email. */
|
|
padding-left: 5px;
|
|
}
|
|
|
|
.message_label_clickable:hover {
|
|
cursor: pointer;
|
|
color: #08C;
|
|
}
|
|
|
|
.message_time {
|
|
color: gray;
|
|
float: right;
|
|
font-size: 90%;
|
|
}
|
|
|
|
table.message_table {
|
|
table-layout: fixed;
|
|
margin-left: auto;
|
|
display: none;
|
|
width: 100%;
|
|
}
|
|
|
|
table.compose_table {
|
|
table-layout: fixed;
|
|
margin-left: auto;
|
|
width: 100%;
|
|
}
|
|
|
|
table.focused_table {
|
|
display: table;
|
|
}
|
|
|
|
.message_content {
|
|
margin-left: 5px;
|
|
margin-right: 35px; /* size of the timestamp */
|
|
}
|
|
|
|
blockquote {
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
blockquote p {
|
|
line-height: inherit;
|
|
font-size: inherit;
|
|
}
|
|
|
|
.messagebox {
|
|
padding: 5px 14px;
|
|
background-color: white;
|
|
border: 1px solid gray;
|
|
border-width: 0px 1px 1px 1px;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.messagebox p {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.bookend {
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.prev_is_same_sender {
|
|
padding-top: 0px;
|
|
}
|
|
|
|
.next_is_same_sender {
|
|
border-bottom: 0px;
|
|
padding-bottom: 0px;
|
|
}
|
|
|
|
img.profile_picture {
|
|
display: block;
|
|
float: right;
|
|
margin-top: 5px;
|
|
max-height: 30px;
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
|
|
#compose {
|
|
visibility: hidden;
|
|
position: fixed;
|
|
bottom: 0px;
|
|
background: white;
|
|
max-width: 670px;
|
|
}
|
|
|
|
/* Like .nav-tabs > li > a */
|
|
#send-status {
|
|
width: 90%;
|
|
padding: 8px 14px 8px 14px;
|
|
line-height: 20px;
|
|
}
|
|
|
|
/* Like .alert .close */
|
|
.send-status-close {
|
|
font-size: 17px;
|
|
font-weight: bold;
|
|
color: black;
|
|
text-shadow: 0 1px 0 white;
|
|
opacity: .2;
|
|
filter: alpha(opacity=20);
|
|
margin-left: 5px;
|
|
position: relative;
|
|
top: 1px;
|
|
}
|
|
|
|
.composebox-close {
|
|
padding: 5px;
|
|
}
|
|
|
|
.send-status-close:hover {
|
|
cursor: pointer;
|
|
opacity: .4;
|
|
filter: alpha(opacity=40);
|
|
}
|
|
|
|
.compose_table #personal-message {
|
|
display: none;
|
|
}
|
|
|
|
#connection-error {
|
|
margin-top: 5px;
|
|
display: none;
|
|
}
|
|
|
|
#stream-dne {
|
|
display: none;
|
|
}
|
|
|
|
#stream-nosub {
|
|
display: none;
|
|
}
|
|
|
|
.streamname {
|
|
font-weight: bold;
|
|
}
|
|
|
|
#connection-error .alert {
|
|
margin-bottom: auto;
|
|
}
|
|
|
|
textarea.new_message_textarea {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
textarea:focus {
|
|
outline: none;
|
|
border: gray;
|
|
}
|
|
|
|
input.recipient_box {
|
|
width: 80%;
|
|
margin-bottom: 0px;
|
|
margin-top: 0px;
|
|
}
|
|
|
|
input.send_message {
|
|
float: right;
|
|
}
|
|
|
|
#top_statusbar {
|
|
position: fixed;
|
|
/* .message_list max-width + 30px margin */
|
|
max-width: 670px;
|
|
text-decoration: none;
|
|
top: 0px;
|
|
visibility: hidden; /* so that we pass clicks through to underneath us */
|
|
}
|
|
|
|
.narrowed_to_bar {
|
|
/* We use display: to toggle whether or not this actually shows up,
|
|
but we need visibility: visible because its parent,
|
|
top_statusbar, is visibility: hidden and we don't want to
|
|
inherit that. */
|
|
visibility: visible;
|
|
display: none;
|
|
padding: 5px 10px;
|
|
background-color: #DDD;
|
|
border: 1px solid black;
|
|
}
|
|
|
|
.floating_recipient_bar {
|
|
max-width: 640px;
|
|
/* from .message_list */
|
|
padding-left: 10px;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
table.floating_recipient {
|
|
table-layout: fixed;
|
|
margin-left: auto;
|
|
width: 100%;
|
|
}
|
|
|
|
#narrowlabel {
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
#currently_narrowed_to {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.narrowed_view {
|
|
background-color: #DDD;
|
|
}
|
|
|
|
#top_whitespace {
|
|
display: block;
|
|
height: 35px;
|
|
}
|
|
|
|
#bottom_whitespace {
|
|
display: block;
|
|
height: 300px;
|
|
}
|
|
|
|
#subscriptions_table {
|
|
width: 75%;
|
|
}
|
|
|
|
.subscription_entry {
|
|
width: 85%;
|
|
}
|
|
|
|
#subscriptions-status {
|
|
margin: 0;
|
|
}
|
|
|
|
#home-error {
|
|
display: none;
|
|
}
|
|
|
|
#loading_indicator {
|
|
margin-top: 40px;
|
|
font-size: 36px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#loading_spinner {
|
|
width: 40px;
|
|
padding-right: 40px;
|
|
}
|
|
|
|
#stream_or_huddle {
|
|
margin: 3px;
|
|
padding: 5px;
|
|
width: 90%;
|
|
border: 1px solid grey;
|
|
}
|
|
|
|
#message-type-tabs {
|
|
margin-top: 0px;
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
.message_body_gravatar {
|
|
margin-bottom: 2px;
|
|
}
|