zulip/zephyr/static/styles/zephyr.css

371 lines
5.8 KiB
CSS
Raw Normal View History

body {
font-family: 'Open Sans', Helvetica, Arial, sans-serif;
overflow: hidden;
}
.sidebar-nav {
padding: 9px 0;
}
.my_fullname {
font-weight: bold;
font-size: 150%;
}
.my_email {
color: gray;
font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}
.zephyr_well {
background-color: white;
border: none;
}
ul.nav-zephyr {
padding-left: 30px;
padding-right: 30px;
padding-top: 60px;
padding-bottom: 40px;
}
.scrolling_tab {
overflow-y: scroll;
}
.zephyr_list {
overflow-y: scroll;
overflow-x: hidden;
background-color: aliceblue;
padding-right: 30px;
position: absolute;
top: 0;
bottom: 0;
width: 640px;
}
.zephyr_row {
cursor: pointer;
}
/* This is a div on top of main_div that hides main_div's scroll bar. */
#wrapper {
overflow: hidden;
padding-right: 30px;
position: absolute;
top: 0;
bottom: 0;
width: 620px; /* slightly smaller than main_div */
}
.zephyr_comp {
border: 1px solid #EEE;
border-top: 0px;
}
td.pointer {
vertical-align: top;
padding-top: 10px;
width: 2px;
}
.zephyr_picture {
vertical-align: top;
text-align: right;
padding-right: 10px;
padding-top: 5px;
min-width: 80px;
}
.zephyr_newstyle_class {
vertical-align: middle;
text-align: right;
overflow-x: hidden;
padding-right: 10px;
max-width: 80px;
min-width: 80px;
white-space: nowrap;
background-color: lightgrey;
border: 1px solid grey;
font-weight: bold;
}
.zephyr_newstyle_instance {
vertical-align: middle;
text-align: left;
overflow-x: hidden;
padding-left: 10px;
white-space: nowrap;
background-color: lightgrey;
border: 1px solid grey;
font-weight: bold;
}
.zephyr_newstyle_pm {
vertical-align: middle;
text-align: left;
overflow-x: hidden;
padding-left: 10px;
white-space: nowrap;
font-weight: bold;
background-color: black;
color: white;
border: 2px solid black;
}
.messagebox.personal-message {
border-color: black;
border-width: 0px 2px 2px 2px;
}
.narrowed_name {
font-weight: bold;
font-size: 120%;
}
.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;
}
table.focused_table {
display: table;
}
.zephyr_content {
margin-left: 5px;
}
blockquote {
margin-bottom: 6px;
}
blockquote p {
line-height: inherit;
font-size: inherit;
}
.messagebox {
width: 470px;
max-width: 470px;
padding: 8px 35px 8px 14px;
margin-bottom: 20px;
background-color: white;
border: 1px solid gray;
border-width: 0px 1px 1px 1px;
}
.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;
}
.alert_sidebar {
max-width: 20%;
}
.zephyr_compose {
display: none;
position: fixed;
bottom: 0px;
background: white;
/* = #wrapper width + padding-right */
width: 650px;
}
/* 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;
}
.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 + ??? */
width: 628px;
margin: 0 auto;
background-color: #DDD;
text-decoration: none;
top: 0px;
}
.narrowed_view {
background-color: #EEE;
}
.badge_close_button {
margin-left: 0.3em;
cursor: pointer;
}
#bottom_whitespace {
display: block;
height: 60%;
}
.selected_zephyr .pointer {
background-color: blue;
width: 2px;
}
#subscriptions {
top: 0;
bottom: 0;
position: absolute;
overflow: auto;
width: 640px;
background-color: antiquewhite;
padding: 1em;
}
#subscriptions_table {
width: 63%;
}
.subscription_entry {
width: 85%;
}
#subscriptions-status {
float: right;
margin: 0;
}
#bottom-nav {
position: absolute;
bottom: 0;
}
#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;
}