zulip/zephyr/static/styles/zephyr.css

350 lines
5.4 KiB
CSS
Raw Normal View History

body {
font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}
.sidebar-nav {
padding-top: 30px;
background-color: white;
}
.my_fullname {
font-weight: bold;
font-size: 150%;
}
.my_email {
color: gray;
font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}
#application_area {
min-width: 670px;
}
.zephyr_list {
background-color: aliceblue;
width: 640px;
padding-right: 30px;
}
.zephyr_row {
cursor: pointer;
}
.zephyr_comp {
border: 1px solid #EEE;
border-top: 0px;
}
td.pointer {
vertical-align: top;
padding-top: 10px;
}
.selected_zephyr .pointer {
background-color: blue;
}
.zephyr_picture {
vertical-align: top;
text-align: right;
padding-right: 10px;
padding-top: 5px;
}
.ztable_col1 { /* classname */
}
.ztable_col2 { /* pointer */
width: 2px;
}
.ztable_col3 { /* instancename */
width: 85%;
}
.zephyr_newstyle_class {
vertical-align: middle;
text-align: right;
overflow-x: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-weight: bold;
padding-right: 10px;
background-color: lightgrey;
border: 1px solid grey;
}
.zephyr_newstyle_instance {
vertical-align: middle;
text-align: left;
overflow-x: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding-left: 10px;
background-color: lightgrey;
border: 1px solid grey;
font-weight: bold;
}
.zephyr_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: 2px solid #444;
}
.messagebox.personal-message {
border-color: #444;
border-width: 0px 2px 2px 2px;
}
.zephyr_sender_name {
font-weight: bold;
}
.zephyr_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;
}
.zephyr_label_clickable:hover {
cursor: pointer;
color: #08C;
}
.zephyr_time {
color: gray;
float: right;
position: relative;
right: -25px;
font-size: 90%;
}
table.zephyr_table {
table-layout: fixed;
margin-left: auto;
display: none;
width: 100%;
}
table.zephyr_compose_table {
/* = zephyr_list */
width: 640px;
table-layout: fixed;
}
table.focused_table {
display: table;
}
.zephyr_content {
margin-left: 5px;
}
blockquote {
margin-bottom: 6px;
}
blockquote p {
line-height: inherit;
font-size: inherit;
}
.messagebox {
padding: 5px 35px 5px 14px;
background-color: white;
border: 1px solid gray;
border-width: 0px 1px 1px 1px;
}
.messagebox p {
margin-bottom: 5px;
}
.bookend {
padding-top: 10px;
}
.prev_is_same_sender {
padding-top: 0px;
border-top: 1px solid white;
}
.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;
}
.zephyr_compose {
display: none;
position: fixed;
bottom: 0px;
background: white;
/* = zephyr_list.width + padding-right */
width: 670px;
}
/* Like .nav-tabs > li > a */
#send-status {
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-top: 5px;
padding-right: 8px;
}
.send-status-close:hover {
cursor: pointer;
opacity: .4;
filter: alpha(opacity=40);
}
#connection-error {
margin-top: 5px;
display: none;
}
#class-dne {
display: none;
}
#class-nosub {
display: none;
}
.classname {
font-weight: bold;
}
#connection-error .alert {
margin-bottom: auto;
}
textarea.zephyr_message {
width: 100%;
height: 100%;
}
textarea:focus {
outline: none;
border: gray;
}
input.zephyr_recipient_box {
width: 80%;
margin-bottom: 0px;
margin-top: 0px;
}
input.send_zephyr {
float: right;
}
#narrowbox {
position: fixed;
display: none;
padding: 5px 10px;
border: 1px solid black;
/* .zephyr_list width + padding_right - my border*2 - my padding*2 */
width: 648px;
margin: 0 auto;
background-color: #DDD;
text-decoration: none;
top: 0px;
}
#narrowlabel {
width: 95%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
#currently_narrowed_to {
font-weight: bold;
}
.narrowed_view {
background-color: #EEE;
}
#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 {
position: absolute;
bottom: 21px;
left: 5px;
padding: 0.35em;
border: 1px solid grey;
}
#zephyr-type-tabs {
margin-top: 0px;
margin-bottom: 0px;
}