geary/theming/message-viewer.css

430 lines
9 KiB
CSS
Raw Normal View History

@media print {
body {
background-color: white !important;
}
.avatar, .button, .starred {
display: none !important;
}
.email {
display: none !important;
}
.email.print {
display: inline-block !important;
background-color: white !important;
}
.email.print .body {
display: block !important;
background-color: white !important;
}
.email.print .preview {
display: none !important;
}
}
body {
margin: 0 !important;
padding: 0 !important;
font-size: 10pt !important;
}
a {
color: #08c;
}
td, th {
vertical-align: top;
}
hr {
background-color: #999;
height: 1px;
border: 0;
margin-top: 15px;
margin-bottom: 15px;
}
.button {
border: 1px transparent solid;
border-radius: 2.5px;
cursor: pointer;
padding: 4px;
margin-top: 7px;
-webkit-user-select: none;
-webkit-user-drag: none;
text-align: center;()
}
.button * {
-webkit-user-select: none;
-webkit-user-drag: none;
pointer-events: none;
}
.button:hover {
border-color: rgba(0,0,0,0.18);
box-shadow: inset 0px 0px 1px rgba(255,255,255,0.8);
}
.button:active {
border-color: rgba(0,0,0,0.20);
background-color: rgba(0,0,0,0.05);;
padding: 5px 3px 3px 5px;
box-shadow: inset 0px 0px 1px rgba(0,0,0,0.05);
}
.email {
border: 1px rgba(0,0,0,1) solid;
background-color: white;
color: black;
font-size: small;
box-shadow: 0 3px 11px rgba(0,0,0,1);
display: inline-block;
word-wrap: break-word;
width: 100%;
box-sizing:border-box;
margin-top: 16px;
}
.email .starred {
display: none;
}
.email .unstarred {
display: block;
}
.email.starred .starred {
display: block;
}
.email.starred .unstarred {
display: none;
}
.email.read, #multiple_messages .email {
border-color: rgba(0,0,0,0.4);
box-shadow: 0 3px 11px rgba(0,0,0,0.21);
}
.email.animate {
-webkit-transition: border-color 3s ease;
-webkit-transition: box-shadow 3s ease;
}
.email_box {
box-sizing: border-box;
-webkit-box-sizing: border-box;
width: 100% !important;
}
.email_container {
overflow: hidden;
}
.email_container .header_container {
padding: 15px;
}
.email_container .header_container a:hover * {
color: #08c;
}
.email_container .header_container .button_bar {
float: right;
margin-top: -6px;
}
.email_container .header_container .button_bar > .button {
float: left;
}
.email_container .header_container .button_bar > .button > .icon {
width: 16px;
height: 16px;
}
.email_container .header_container .preview {
font-size: 8pt;
color: #777;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.avatar {
display: none;
image-rendering: optimizeQuality;
}
.avatar[src^=file], .avatar[src^=http] {
display: inline;
width: 48px;
height: 48px;
2012-09-12 10:11:52 -07:00
float: left;
border-radius: 5px;
}
2012-07-09 15:01:07 -07:00
.email.hide .header_container .avatar {
width: 32px;
height: 32px;
margin-right: 12px;
border-radius: 2.5px;
}
.email .body {
border-top: 1px solid #999;
margin: 16px;
margin-top: 0;
padding-top: 16px;
overflow-x: auto;
overflow-y: hidden;
}
@media screen {
body {
background-color: #ccc !important;
}
.email.hide {
background-color: #f5f5f5;
box-shadow: 0 2px 5px rgba(0,0,0,0.12);
}
.email.hide .body,
.email.hide > .attachment_container,
.email:not(.hide) .header_container .preview {
display: none;
}
.email:not(:only-of-type) .header_container {
cursor: pointer;
}
.email:not(.hide) .header .field .value {
cursor: auto;
}
.email.hide .header {
padding: 0;
text-align: right;
}
.email.hide .header .field {
display: inline;
margin-right: 2px;
text-align: left;
}
.email.hide .header .field:not(:first-child) {
display: inline-block;
}
.email.hide .header .field:not(.important),
.email.hide .header .field .title {
display: none;
}
.email.hide .header .field .value {
margin-left: 0;
}
.email.hide .header .field .not_hidden_only,
.email:not(.hide) .header .field .hidden_only {
display: none;
}
.email.hide .header .field a {
pointer-events: none;
}
.email.compressed {
margin-top: -1px;
height: 10px;
}
.email.compressed + .email {
margin-top: -1px;
}
.compressed + .compressed + .compressed + .compressed + .compressed + .compressed + .compressed + .compressed + .compressed {
display:none;
}
}
.email .compressed_note {
text-align: center;
height: 0;
}
.email .compressed_note > span {
display: none;
padding: 0px 10px;
background: #f5f5f5;
position: relative;
cursor: hand;
}
.email:not(.attachment) .attachment.icon {
display: none;
}
.email .header_container .attachment.icon {
float: right;
margin-top: 7px;
}
.email > .attachment_container {
background-color: white;
padding-bottom: 10px;
}
.email > .attachment_container > .top_border {
border-bottom: 1px solid #aaa;
height: 10px;
background-color: white;
margin: 0 16px 5px;
}
.email > .attachment_container > .attachment {
margin: 10px 10px 0 10px;
padding: 2px;
overflow: hidden;
font-size: 10pt;
cursor: pointer;
border: 1px solid transparent;
border-radius: 4px;
display: inline;
}
.email > .attachment_container > .attachment:hover,
.email > .attachment_container > .attachment:active {
border-color: rgba(0,0,0,0.18);
box-shadow: inset 0px 0px 1px rgba(255,255,255,0.8);
}
.email > .attachment_container > .attachment:active {
padding: 3px 1px 1px 3px;
border-color: rgba(0,0,0,0.20);
background-color: rgba(0,0,0,0.05);;
box-shadow: inset 0px 0px 2px rgba(0,0,0,0.05);
}
.email > .attachment_container > .attachment .preview {
width: 52px;
height: 52px;
text-align: center;
vertical-align: middle;
}
.email > .attachment_container > .attachment .preview img {
max-width: 50px;
max-height: 50px;
}
.email > .attachment_container > .attachment .preview .thumbnail {
border: 1px solid #999;
box-shadow: 0 0 5px #b8b8b8;
background-size: 16px 16px;
background-position:0 0, 8px 0, 8px -8px, 0px 8px;
}
.email > .attachment_container > .attachment:hover .preview .thumbnail {
background-image:
-webkit-linear-gradient(45deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%, transparent),
-webkit-linear-gradient(-45deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%, transparent),
-webkit-linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.1) 75%),
-webkit-linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.1) 75%);
}
.email > .attachment_container > .attachment .info {
vertical-align: middle;
padding-left: 5px;
}
.email > .attachment_container > .attachment .info > :not(.filename) {
color: #666;
}
.header {
overflow: hidden;
}
.header .field {
clear: both;
overflow: hidden;
font-size: 9pt;
}
.header .field .title,
.header .field .value {
float: left;
padding: 2px 0;
}
.header .field .title {
width: 5em;
text-align: right;
padding-right: 7px;
color: #777;
position: absolute;
}
.header .field .value {
color: black;
margin-left: 5.25em;
max-height: 5em;
overflow-y: auto;
}
.header .field .value a {
color: black;
text-decoration: none;
}
.header .field.important .address_name {
font-weight: bold;
}
.header .field .address_value {
color: #777;
}
.geary_spacer {
display: table;
box-sizing: border-box;
-webkit-box-sizing: border-box;
width: 100% !important;
}
.signature {
color: #777;
display: inline;
}
.signature a,
.quote_container a {
color: #5fb2e7;
}
.quote_container {
margin: 5px 0;
padding: 12px;
color: #303030;
background-color: #e8e8e8;
border-radius: 4px;
}
.quote_container > .shower,
.quote_container > .hider {
color: #777;
font-family: sans-serif;
font-size: 75%;
cursor: pointer;
display: none;
}
.quote_container.controllable > .shower {
display: block;
}
.quote_container.controllable > .hider,
.quote_container.controllable > .quote {
display: none;
}
.quote_container.controllable.show > .shower {
display: none;
}
.quote_container.controllable.show > .hider,
.quote_container.controllable.show > .quote {
display: block;
}
.quote_container > .shower:hover,
.quote_container > .hider:hover {
color: black;
}
#message_container {
position: absolute;
left: 0;
right: 0;
padding: 0 15px 15px;
}
#multiple_messages {
display: none;
text-align: center;
}
#multiple_messages > .email {
margin: 100px auto;
display: inline-block;
width: auto;
padding: 15px;
}
#email_template,
#attachment_template {
display: none;
}
blockquote {
margin: 5px 10px 5px 10px;
padding-left: 5px;
padding-right: 5px;
border: 0;
border-left: 3px #aaa solid;
}