2013-06-26 14:35:49 -07:00
|
|
|
/**
|
Remove uneeded ConversationWebView, HTML and CSS code.
* src/client/conversation-viewer/conversation-web-view.vala
(ConversationWebView::ConversationWebView): Don't load message.html
since ConversationMessage now just loads the message HTML directly.
(ConversationWebView::on_load_finished): Don't load container DIV and
inline icons since GTK-based chrome has mostly replaced HTML chrome.
(conversation_icon_color, container, scroll_reset, set_icon_src,
set_attachment_src): Removed, no longer needed.
(ConversationWebView::get_preferred_size,
ConversationWebView::get_preferred_height): Added to ensure GTK gets
a useful min/preferred height for the widget.
* theming/message-viewer.css: Remove rules used for now-obsolete HTML
chrome - headers, attachments, etc. Added rules to ensure HTML and BODY
element's heights and scrollbars are appropriate for use in this
context.
* theming/message-viewer.html: Removed, no longer needed.
2016-04-09 18:15:30 +10:00
|
|
|
* Style that is inserted into the message after it is loaded.
|
2020-10-17 13:36:30 +11:00
|
|
|
*
|
|
|
|
|
* Copyright © 2016 Software Freedom Conservancy Inc.
|
|
|
|
|
* Copyright © 2020 Michael Gratton <mike@vee.net>
|
Remove uneeded ConversationWebView, HTML and CSS code.
* src/client/conversation-viewer/conversation-web-view.vala
(ConversationWebView::ConversationWebView): Don't load message.html
since ConversationMessage now just loads the message HTML directly.
(ConversationWebView::on_load_finished): Don't load container DIV and
inline icons since GTK-based chrome has mostly replaced HTML chrome.
(conversation_icon_color, container, scroll_reset, set_icon_src,
set_attachment_src): Removed, no longer needed.
(ConversationWebView::get_preferred_size,
ConversationWebView::get_preferred_height): Added to ensure GTK gets
a useful min/preferred height for the widget.
* theming/message-viewer.css: Remove rules used for now-obsolete HTML
chrome - headers, attachments, etc. Added rules to ensure HTML and BODY
element's heights and scrollbars are appropriate for use in this
context.
* theming/message-viewer.html: Removed, no longer needed.
2016-04-09 18:15:30 +10:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* General HTML style.
|
2013-06-26 14:35:49 -07:00
|
|
|
*/
|
2012-06-13 10:43:41 -07:00
|
|
|
|
2016-09-08 10:55:18 +10:00
|
|
|
* {
|
2017-01-27 02:09:23 +11:00
|
|
|
transition: height 0.25s !important;
|
Remove uneeded ConversationWebView, HTML and CSS code.
* src/client/conversation-viewer/conversation-web-view.vala
(ConversationWebView::ConversationWebView): Don't load message.html
since ConversationMessage now just loads the message HTML directly.
(ConversationWebView::on_load_finished): Don't load container DIV and
inline icons since GTK-based chrome has mostly replaced HTML chrome.
(conversation_icon_color, container, scroll_reset, set_icon_src,
set_attachment_src): Removed, no longer needed.
(ConversationWebView::get_preferred_size,
ConversationWebView::get_preferred_height): Added to ensure GTK gets
a useful min/preferred height for the widget.
* theming/message-viewer.css: Remove rules used for now-obsolete HTML
chrome - headers, attachments, etc. Added rules to ensure HTML and BODY
element's heights and scrollbars are appropriate for use in this
context.
* theming/message-viewer.html: Removed, no longer needed.
2016-04-09 18:15:30 +10:00
|
|
|
}
|
|
|
|
|
|
2023-05-16 05:14:19 +01:00
|
|
|
:root {
|
|
|
|
|
/* Adjust default controls and system colors for light and dark mode.
|
|
|
|
|
See https://www.w3.org/TR/css-color-adjust-1/#color-scheme-effect */
|
|
|
|
|
color-scheme: light dark;
|
2019-09-25 20:40:51 +10:00
|
|
|
|
2020-10-17 13:36:30 +11:00
|
|
|
/* Width must always be defined by the viewport so content doesn't
|
|
|
|
|
overflow inside the WebView, height must always be defined by the
|
|
|
|
|
content so the WebView can be sized to fit exactly. */
|
|
|
|
|
width: 100vw !important;
|
|
|
|
|
height: max-content !important;
|
2017-01-28 17:40:49 +11:00
|
|
|
|
2020-10-17 13:36:30 +11:00
|
|
|
/* Lock down the box sizing just enough so that the width and height
|
|
|
|
|
constraints above work as expected, and so the element's
|
|
|
|
|
scrollHeight is accurate. */
|
2017-01-28 17:40:49 +11:00
|
|
|
box-sizing: border-box !important;
|
|
|
|
|
margin: 0 !important;
|
2018-10-14 11:55:46 +11:00
|
|
|
border-width: 0 !important;
|
2017-01-28 17:40:49 +11:00
|
|
|
}
|
|
|
|
|
|
Remove uneeded ConversationWebView, HTML and CSS code.
* src/client/conversation-viewer/conversation-web-view.vala
(ConversationWebView::ConversationWebView): Don't load message.html
since ConversationMessage now just loads the message HTML directly.
(ConversationWebView::on_load_finished): Don't load container DIV and
inline icons since GTK-based chrome has mostly replaced HTML chrome.
(conversation_icon_color, container, scroll_reset, set_icon_src,
set_attachment_src): Removed, no longer needed.
(ConversationWebView::get_preferred_size,
ConversationWebView::get_preferred_height): Added to ensure GTK gets
a useful min/preferred height for the widget.
* theming/message-viewer.css: Remove rules used for now-obsolete HTML
chrome - headers, attachments, etc. Added rules to ensure HTML and BODY
element's heights and scrollbars are appropriate for use in this
context.
* theming/message-viewer.html: Removed, no longer needed.
2016-04-09 18:15:30 +10:00
|
|
|
body {
|
2017-01-27 02:09:23 +11:00
|
|
|
margin: 12px;
|
2016-07-08 11:12:42 +10:00
|
|
|
border: 0;
|
2017-01-27 02:09:23 +11:00
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
|
|
/* XXX for plain text only? */
|
2016-08-10 01:16:37 +10:00
|
|
|
overflow-wrap: break-word !important;
|
2017-02-08 00:30:48 +11:00
|
|
|
|
|
|
|
|
/* Fix messages with broken body style. See Bug 750075. */
|
|
|
|
|
height: auto !important;
|
2012-06-13 10:43:41 -07:00
|
|
|
}
|
|
|
|
|
|
2014-05-21 20:58:51 -07:00
|
|
|
table {
|
2016-08-11 16:58:10 +10:00
|
|
|
/* By default, tables reset the font properties to "normal" */
|
|
|
|
|
font-size: inherit;
|
2014-05-21 20:58:51 -07:00
|
|
|
}
|
|
|
|
|
|
2012-09-27 11:35:30 -07:00
|
|
|
a {
|
2016-08-11 16:58:10 +10:00
|
|
|
color: #08c;
|
2012-09-27 11:35:30 -07:00
|
|
|
}
|
|
|
|
|
|
2012-06-13 10:43:41 -07:00
|
|
|
hr {
|
2016-08-11 16:58:10 +10:00
|
|
|
background-color: #999;
|
|
|
|
|
height: 1px;
|
|
|
|
|
border: 0;
|
|
|
|
|
margin-top: 15px;
|
|
|
|
|
margin-bottom: 15px;
|
2012-06-13 10:43:41 -07:00
|
|
|
}
|
|
|
|
|
|
Remove uneeded ConversationWebView, HTML and CSS code.
* src/client/conversation-viewer/conversation-web-view.vala
(ConversationWebView::ConversationWebView): Don't load message.html
since ConversationMessage now just loads the message HTML directly.
(ConversationWebView::on_load_finished): Don't load container DIV and
inline icons since GTK-based chrome has mostly replaced HTML chrome.
(conversation_icon_color, container, scroll_reset, set_icon_src,
set_attachment_src): Removed, no longer needed.
(ConversationWebView::get_preferred_size,
ConversationWebView::get_preferred_height): Added to ensure GTK gets
a useful min/preferred height for the widget.
* theming/message-viewer.css: Remove rules used for now-obsolete HTML
chrome - headers, attachments, etc. Added rules to ensure HTML and BODY
element's heights and scrollbars are appropriate for use in this
context.
* theming/message-viewer.html: Removed, no longer needed.
2016-04-09 18:15:30 +10:00
|
|
|
blockquote {
|
2017-01-04 01:10:38 +11:00
|
|
|
margin: 0.3em 16px;
|
2016-08-11 16:58:10 +10:00
|
|
|
border: 0;
|
|
|
|
|
border-left: 3px #aaa solid;
|
|
|
|
|
padding: 0 8px;
|
2012-06-13 10:43:41 -07:00
|
|
|
}
|
2012-09-27 11:35:30 -07:00
|
|
|
|
2016-07-08 11:12:42 +10:00
|
|
|
pre {
|
2020-10-17 13:45:23 +11:00
|
|
|
white-space: break-spaces;
|
2016-07-08 11:12:42 +10:00
|
|
|
}
|
|
|
|
|
|
Remove uneeded ConversationWebView, HTML and CSS code.
* src/client/conversation-viewer/conversation-web-view.vala
(ConversationWebView::ConversationWebView): Don't load message.html
since ConversationMessage now just loads the message HTML directly.
(ConversationWebView::on_load_finished): Don't load container DIV and
inline icons since GTK-based chrome has mostly replaced HTML chrome.
(conversation_icon_color, container, scroll_reset, set_icon_src,
set_attachment_src): Removed, no longer needed.
(ConversationWebView::get_preferred_size,
ConversationWebView::get_preferred_height): Added to ensure GTK gets
a useful min/preferred height for the widget.
* theming/message-viewer.css: Remove rules used for now-obsolete HTML
chrome - headers, attachments, etc. Added rules to ensure HTML and BODY
element's heights and scrollbars are appropriate for use in this
context.
* theming/message-viewer.html: Removed, no longer needed.
2016-04-09 18:15:30 +10:00
|
|
|
/**
|
|
|
|
|
* Message chrome style.
|
|
|
|
|
*/
|
2012-09-27 11:35:30 -07:00
|
|
|
|
2016-11-27 21:03:52 +11:00
|
|
|
.geary-signature {
|
2012-06-13 10:43:41 -07:00
|
|
|
color: #777;
|
|
|
|
|
display: inline;
|
|
|
|
|
}
|
|
|
|
|
|
2016-11-27 21:03:52 +11:00
|
|
|
.geary-signature a,
|
|
|
|
|
.geary-quote-container a {
|
Remove uneeded ConversationWebView, HTML and CSS code.
* src/client/conversation-viewer/conversation-web-view.vala
(ConversationWebView::ConversationWebView): Don't load message.html
since ConversationMessage now just loads the message HTML directly.
(ConversationWebView::on_load_finished): Don't load container DIV and
inline icons since GTK-based chrome has mostly replaced HTML chrome.
(conversation_icon_color, container, scroll_reset, set_icon_src,
set_attachment_src): Removed, no longer needed.
(ConversationWebView::get_preferred_size,
ConversationWebView::get_preferred_height): Added to ensure GTK gets
a useful min/preferred height for the widget.
* theming/message-viewer.css: Remove rules used for now-obsolete HTML
chrome - headers, attachments, etc. Added rules to ensure HTML and BODY
element's heights and scrollbars are appropriate for use in this
context.
* theming/message-viewer.html: Removed, no longer needed.
2016-04-09 18:15:30 +10:00
|
|
|
color: #5fb2e7;
|
2013-04-22 14:14:11 -07:00
|
|
|
}
|
|
|
|
|
|
Remove uneeded ConversationWebView, HTML and CSS code.
* src/client/conversation-viewer/conversation-web-view.vala
(ConversationWebView::ConversationWebView): Don't load message.html
since ConversationMessage now just loads the message HTML directly.
(ConversationWebView::on_load_finished): Don't load container DIV and
inline icons since GTK-based chrome has mostly replaced HTML chrome.
(conversation_icon_color, container, scroll_reset, set_icon_src,
set_attachment_src): Removed, no longer needed.
(ConversationWebView::get_preferred_size,
ConversationWebView::get_preferred_height): Added to ensure GTK gets
a useful min/preferred height for the widget.
* theming/message-viewer.css: Remove rules used for now-obsolete HTML
chrome - headers, attachments, etc. Added rules to ensure HTML and BODY
element's heights and scrollbars are appropriate for use in this
context.
* theming/message-viewer.html: Removed, no longer needed.
2016-04-09 18:15:30 +10:00
|
|
|
@media screen {
|
2013-04-22 14:14:11 -07:00
|
|
|
|
2016-08-11 17:31:08 +10:00
|
|
|
.geary_replaced_inline_image {
|
2013-08-06 17:19:16 -07:00
|
|
|
display: block;
|
Remove uneeded ConversationWebView, HTML and CSS code.
* src/client/conversation-viewer/conversation-web-view.vala
(ConversationWebView::ConversationWebView): Don't load message.html
since ConversationMessage now just loads the message HTML directly.
(ConversationWebView::on_load_finished): Don't load container DIV and
inline icons since GTK-based chrome has mostly replaced HTML chrome.
(conversation_icon_color, container, scroll_reset, set_icon_src,
set_attachment_src): Removed, no longer needed.
(ConversationWebView::get_preferred_size,
ConversationWebView::get_preferred_height): Added to ensure GTK gets
a useful min/preferred height for the widget.
* theming/message-viewer.css: Remove rules used for now-obsolete HTML
chrome - headers, attachments, etc. Added rules to ensure HTML and BODY
element's heights and scrollbars are appropriate for use in this
context.
* theming/message-viewer.html: Removed, no longer needed.
2016-04-09 18:15:30 +10:00
|
|
|
max-width: 100%;
|
2016-10-11 00:58:52 +11:00
|
|
|
margin: 1em 0;
|
Remove uneeded ConversationWebView, HTML and CSS code.
* src/client/conversation-viewer/conversation-web-view.vala
(ConversationWebView::ConversationWebView): Don't load message.html
since ConversationMessage now just loads the message HTML directly.
(ConversationWebView::on_load_finished): Don't load container DIV and
inline icons since GTK-based chrome has mostly replaced HTML chrome.
(conversation_icon_color, container, scroll_reset, set_icon_src,
set_attachment_src): Removed, no longer needed.
(ConversationWebView::get_preferred_size,
ConversationWebView::get_preferred_height): Added to ensure GTK gets
a useful min/preferred height for the widget.
* theming/message-viewer.css: Remove rules used for now-obsolete HTML
chrome - headers, attachments, etc. Added rules to ensure HTML and BODY
element's heights and scrollbars are appropriate for use in this
context.
* theming/message-viewer.html: Removed, no longer needed.
2016-04-09 18:15:30 +10:00
|
|
|
}
|
2013-08-06 17:19:16 -07:00
|
|
|
|
2019-05-22 20:47:08 +00:00
|
|
|
/* Inline collapsible quote blocks */
|
2016-04-12 21:54:51 +10:00
|
|
|
|
2016-11-27 21:03:52 +11:00
|
|
|
.geary-quote-container {
|
2014-01-28 22:18:58 -05:00
|
|
|
position: relative;
|
2016-08-17 22:19:47 +10:00
|
|
|
/* Split 1em of top/bottom margin between here and the default
|
|
|
|
|
blockquote style, so if a message specifies 0px margin and padding
|
|
|
|
|
(i.e. GMail) there will still be some space space between the
|
|
|
|
|
container's background and and the blockquote. */
|
2016-08-11 17:03:19 +10:00
|
|
|
margin: 0.5em 0;
|
|
|
|
|
border-radius: 4px;
|
2016-08-17 22:19:47 +10:00
|
|
|
padding: 0.5em 0;
|
2012-09-27 11:35:30 -07:00
|
|
|
color: #303030;
|
2013-06-26 14:35:49 -07:00
|
|
|
background-color: #e8e8e8;/* recv-quoted */
|
Remove uneeded ConversationWebView, HTML and CSS code.
* src/client/conversation-viewer/conversation-web-view.vala
(ConversationWebView::ConversationWebView): Don't load message.html
since ConversationMessage now just loads the message HTML directly.
(ConversationWebView::on_load_finished): Don't load container DIV and
inline icons since GTK-based chrome has mostly replaced HTML chrome.
(conversation_icon_color, container, scroll_reset, set_icon_src,
set_attachment_src): Removed, no longer needed.
(ConversationWebView::get_preferred_size,
ConversationWebView::get_preferred_height): Added to ensure GTK gets
a useful min/preferred height for the widget.
* theming/message-viewer.css: Remove rules used for now-obsolete HTML
chrome - headers, attachments, etc. Added rules to ensure HTML and BODY
element's heights and scrollbars are appropriate for use in this
context.
* theming/message-viewer.html: Removed, no longer needed.
2016-04-09 18:15:30 +10:00
|
|
|
}
|
2016-11-27 21:03:52 +11:00
|
|
|
.geary-sent .geary-quote-container {
|
2016-04-12 21:54:51 +10:00
|
|
|
background-color: #e8e8e8;/* sent-quoted */
|
|
|
|
|
}
|
2016-08-11 17:03:19 +10:00
|
|
|
|
2016-11-27 21:03:52 +11:00
|
|
|
.geary-quote-container > .geary-quote {
|
2014-01-28 22:18:58 -05:00
|
|
|
position: relative;
|
2016-08-17 22:19:47 +10:00
|
|
|
padding: 0;
|
2016-08-11 17:03:19 +10:00
|
|
|
border: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
overflow: hidden;
|
2014-01-28 22:18:58 -05:00
|
|
|
z-index: 0;
|
Remove uneeded ConversationWebView, HTML and CSS code.
* src/client/conversation-viewer/conversation-web-view.vala
(ConversationWebView::ConversationWebView): Don't load message.html
since ConversationMessage now just loads the message HTML directly.
(ConversationWebView::on_load_finished): Don't load container DIV and
inline icons since GTK-based chrome has mostly replaced HTML chrome.
(conversation_icon_color, container, scroll_reset, set_icon_src,
set_attachment_src): Removed, no longer needed.
(ConversationWebView::get_preferred_size,
ConversationWebView::get_preferred_height): Added to ensure GTK gets
a useful min/preferred height for the widget.
* theming/message-viewer.css: Remove rules used for now-obsolete HTML
chrome - headers, attachments, etc. Added rules to ensure HTML and BODY
element's heights and scrollbars are appropriate for use in this
context.
* theming/message-viewer.html: Removed, no longer needed.
2016-04-09 18:15:30 +10:00
|
|
|
}
|
2016-11-27 21:03:52 +11:00
|
|
|
.geary-quote-container.geary-controllable.geary-hide > .geary-quote {
|
2016-08-11 17:03:19 +10:00
|
|
|
/* Use a fraction value to cut the last visible line off half way. */
|
2017-01-04 01:10:38 +11:00
|
|
|
max-height: calc(6em - 8px);
|
2016-08-11 17:03:19 +10:00
|
|
|
}
|
|
|
|
|
|
2016-11-27 21:03:52 +11:00
|
|
|
.geary-quote-container.geary-controllable > .geary-quote > blockquote {
|
2016-08-11 17:03:19 +10:00
|
|
|
/* Add space between the quote and the hider button */
|
|
|
|
|
margin-bottom: 18px;
|
Remove uneeded ConversationWebView, HTML and CSS code.
* src/client/conversation-viewer/conversation-web-view.vala
(ConversationWebView::ConversationWebView): Don't load message.html
since ConversationMessage now just loads the message HTML directly.
(ConversationWebView::on_load_finished): Don't load container DIV and
inline icons since GTK-based chrome has mostly replaced HTML chrome.
(conversation_icon_color, container, scroll_reset, set_icon_src,
set_attachment_src): Removed, no longer needed.
(ConversationWebView::get_preferred_size,
ConversationWebView::get_preferred_height): Added to ensure GTK gets
a useful min/preferred height for the widget.
* theming/message-viewer.css: Remove rules used for now-obsolete HTML
chrome - headers, attachments, etc. Added rules to ensure HTML and BODY
element's heights and scrollbars are appropriate for use in this
context.
* theming/message-viewer.html: Removed, no longer needed.
2016-04-09 18:15:30 +10:00
|
|
|
}
|
2013-06-26 14:35:49 -07:00
|
|
|
|
2016-11-27 21:03:52 +11:00
|
|
|
.geary-quote-container > .geary-shower,
|
|
|
|
|
.geary-quote-container > .geary-hider {
|
2014-01-28 22:18:58 -05:00
|
|
|
position: absolute;
|
2016-08-11 17:03:19 +10:00
|
|
|
display: none;
|
2014-01-28 22:18:58 -05:00
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
2017-01-04 01:10:38 +11:00
|
|
|
bottom: -4px;
|
2016-08-11 17:03:19 +10:00
|
|
|
z-index: 1;
|
|
|
|
|
-webkit-user-select: none;
|
|
|
|
|
-webkit-user-drag: none;
|
Remove uneeded ConversationWebView, HTML and CSS code.
* src/client/conversation-viewer/conversation-web-view.vala
(ConversationWebView::ConversationWebView): Don't load message.html
since ConversationMessage now just loads the message HTML directly.
(ConversationWebView::on_load_finished): Don't load container DIV and
inline icons since GTK-based chrome has mostly replaced HTML chrome.
(conversation_icon_color, container, scroll_reset, set_icon_src,
set_attachment_src): Removed, no longer needed.
(ConversationWebView::get_preferred_size,
ConversationWebView::get_preferred_height): Added to ensure GTK gets
a useful min/preferred height for the widget.
* theming/message-viewer.css: Remove rules used for now-obsolete HTML
chrome - headers, attachments, etc. Added rules to ensure HTML and BODY
element's heights and scrollbars are appropriate for use in this
context.
* theming/message-viewer.html: Removed, no longer needed.
2016-04-09 18:15:30 +10:00
|
|
|
}
|
|
|
|
|
|
2017-02-08 00:31:25 +11:00
|
|
|
.geary-quote-container.geary-controllable.geary-hide > .geary-hider {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
.geary-quote-container.geary-controllable.geary-hide > .geary-shower,
|
|
|
|
|
.geary-quote-container.geary-controllable > .geary-hider {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
2018-04-11 14:00:15 +10:00
|
|
|
.geary-quote-container .geary-button {
|
2016-11-27 21:03:52 +11:00
|
|
|
display: block;
|
2014-01-28 22:18:58 -05:00
|
|
|
width: 100%;
|
2016-08-11 17:03:19 +10:00
|
|
|
height: 16px;
|
2017-01-04 01:10:38 +11:00
|
|
|
min-height: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
margin-bottom: 4px;
|
2014-01-28 22:18:58 -05:00
|
|
|
padding: 0;
|
2017-01-04 01:10:38 +11:00
|
|
|
font-size: 8px; /* Absolute size in pixels for graphics */
|
|
|
|
|
white-space: pre;
|
2017-02-08 00:31:25 +11:00
|
|
|
-webkit-user-select: none;
|
|
|
|
|
-webkit-user-drag: none;
|
2019-05-22 20:47:08 +00:00
|
|
|
/* All further properties below are a workaround for WK Bug 166648
|
2017-01-04 01:10:38 +11:00
|
|
|
* <https://bugs.webkit.org/show_bug.cgi?id=166648>. The result is
|
2019-05-22 20:47:08 +00:00
|
|
|
* we need to manually style these buttons ourselves. */
|
2017-01-04 01:10:38 +11:00
|
|
|
-webkit-appearance: none;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
/* The following was taken from GTK+4 trunk Adwaita theme:
|
|
|
|
|
* gtk/theme/Adwaita/gtk-contained.css */
|
|
|
|
|
border: 1px solid;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
|
|
|
color: #2e3436;
|
|
|
|
|
outline-color: rgba(46, 52, 54, 0.3);
|
|
|
|
|
border-color: #b6b6b3;
|
|
|
|
|
border-bottom-color: #91918c;
|
|
|
|
|
background-image: linear-gradient(to bottom, #e8e8e7, #dededd 60%, #cfcfcd);
|
|
|
|
|
text-shadow: 0 1px rgba(255, 255, 255, 0.76923);
|
2018-04-13 16:54:13 +10:00
|
|
|
box-shadow: inset 0 1px rgba(255, 255, 255, 0.8);
|
Remove uneeded ConversationWebView, HTML and CSS code.
* src/client/conversation-viewer/conversation-web-view.vala
(ConversationWebView::ConversationWebView): Don't load message.html
since ConversationMessage now just loads the message HTML directly.
(ConversationWebView::on_load_finished): Don't load container DIV and
inline icons since GTK-based chrome has mostly replaced HTML chrome.
(conversation_icon_color, container, scroll_reset, set_icon_src,
set_attachment_src): Removed, no longer needed.
(ConversationWebView::get_preferred_size,
ConversationWebView::get_preferred_height): Added to ensure GTK gets
a useful min/preferred height for the widget.
* theming/message-viewer.css: Remove rules used for now-obsolete HTML
chrome - headers, attachments, etc. Added rules to ensure HTML and BODY
element's heights and scrollbars are appropriate for use in this
context.
* theming/message-viewer.html: Removed, no longer needed.
2016-04-09 18:15:30 +10:00
|
|
|
}
|
2018-04-11 14:00:15 +10:00
|
|
|
.geary-quote-container .geary-button:hover {
|
2017-01-04 01:10:38 +11:00
|
|
|
/* Likewise the properties below also workaround WK Bug 166648,
|
|
|
|
|
* and taken from gtk/theme/Adwaita/gtk-contained.css. */
|
|
|
|
|
color: #2e3436;
|
|
|
|
|
outline-color: rgba(46, 52, 54, 0.3);
|
|
|
|
|
border-color: #b6b6b3;
|
|
|
|
|
border-bottom-color: #91918c;
|
|
|
|
|
text-shadow: 0 1px rgba(255, 255, 255, 0.76923);
|
|
|
|
|
box-shadow: inset 0 1px white;
|
|
|
|
|
background-image: linear-gradient(to bottom, #f7f7f7, #e8e8e7 60%, #dededd);
|
Remove uneeded ConversationWebView, HTML and CSS code.
* src/client/conversation-viewer/conversation-web-view.vala
(ConversationWebView::ConversationWebView): Don't load message.html
since ConversationMessage now just loads the message HTML directly.
(ConversationWebView::on_load_finished): Don't load container DIV and
inline icons since GTK-based chrome has mostly replaced HTML chrome.
(conversation_icon_color, container, scroll_reset, set_icon_src,
set_attachment_src): Removed, no longer needed.
(ConversationWebView::get_preferred_size,
ConversationWebView::get_preferred_height): Added to ensure GTK gets
a useful min/preferred height for the widget.
* theming/message-viewer.css: Remove rules used for now-obsolete HTML
chrome - headers, attachments, etc. Added rules to ensure HTML and BODY
element's heights and scrollbars are appropriate for use in this
context.
* theming/message-viewer.html: Removed, no longer needed.
2016-04-09 18:15:30 +10:00
|
|
|
}
|
|
|
|
|
|
2016-04-12 21:54:51 +10:00
|
|
|
/* Highlight search terms */
|
|
|
|
|
|
2016-08-11 17:31:08 +10:00
|
|
|
.geary_search_coloring *::selection {
|
2013-05-07 13:59:54 -07:00
|
|
|
background-color: #00ddff;
|
Remove uneeded ConversationWebView, HTML and CSS code.
* src/client/conversation-viewer/conversation-web-view.vala
(ConversationWebView::ConversationWebView): Don't load message.html
since ConversationMessage now just loads the message HTML directly.
(ConversationWebView::on_load_finished): Don't load container DIV and
inline icons since GTK-based chrome has mostly replaced HTML chrome.
(conversation_icon_color, container, scroll_reset, set_icon_src,
set_attachment_src): Removed, no longer needed.
(ConversationWebView::get_preferred_size,
ConversationWebView::get_preferred_height): Added to ensure GTK gets
a useful min/preferred height for the widget.
* theming/message-viewer.css: Remove rules used for now-obsolete HTML
chrome - headers, attachments, etc. Added rules to ensure HTML and BODY
element's heights and scrollbars are appropriate for use in this
context.
* theming/message-viewer.html: Removed, no longer needed.
2016-04-09 18:15:30 +10:00
|
|
|
}
|
2013-05-07 13:59:54 -07:00
|
|
|
}
|
2013-07-11 12:50:19 -07:00
|
|
|
|
2018-09-26 18:43:46 -06:00
|
|
|
#geary-message-headers {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
Remove uneeded ConversationWebView, HTML and CSS code.
* src/client/conversation-viewer/conversation-web-view.vala
(ConversationWebView::ConversationWebView): Don't load message.html
since ConversationMessage now just loads the message HTML directly.
(ConversationWebView::on_load_finished): Don't load container DIV and
inline icons since GTK-based chrome has mostly replaced HTML chrome.
(conversation_icon_color, container, scroll_reset, set_icon_src,
set_attachment_src): Removed, no longer needed.
(ConversationWebView::get_preferred_size,
ConversationWebView::get_preferred_height): Added to ensure GTK gets
a useful min/preferred height for the widget.
* theming/message-viewer.css: Remove rules used for now-obsolete HTML
chrome - headers, attachments, etc. Added rules to ensure HTML and BODY
element's heights and scrollbars are appropriate for use in this
context.
* theming/message-viewer.html: Removed, no longer needed.
2016-04-09 18:15:30 +10:00
|
|
|
@media print {
|
2018-04-13 16:54:13 +10:00
|
|
|
.geary-button {
|
|
|
|
|
display: none;
|
Remove uneeded ConversationWebView, HTML and CSS code.
* src/client/conversation-viewer/conversation-web-view.vala
(ConversationWebView::ConversationWebView): Don't load message.html
since ConversationMessage now just loads the message HTML directly.
(ConversationWebView::on_load_finished): Don't load container DIV and
inline icons since GTK-based chrome has mostly replaced HTML chrome.
(conversation_icon_color, container, scroll_reset, set_icon_src,
set_attachment_src): Removed, no longer needed.
(ConversationWebView::get_preferred_size,
ConversationWebView::get_preferred_height): Added to ensure GTK gets
a useful min/preferred height for the widget.
* theming/message-viewer.css: Remove rules used for now-obsolete HTML
chrome - headers, attachments, etc. Added rules to ensure HTML and BODY
element's heights and scrollbars are appropriate for use in this
context.
* theming/message-viewer.html: Removed, no longer needed.
2016-04-09 18:15:30 +10:00
|
|
|
}
|
2018-09-26 18:43:46 -06:00
|
|
|
|
|
|
|
|
#geary-message-headers, #geary-message-headers * {
|
|
|
|
|
all: initial !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#geary-message-headers {
|
|
|
|
|
display: table !important;
|
|
|
|
|
width: 100% !important;
|
|
|
|
|
transition: height 2s !important;
|
|
|
|
|
padding-bottom: 0.5em !important;
|
|
|
|
|
border-bottom: 2px inset black !important;
|
|
|
|
|
margin-bottom: 0.75em !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#geary-message-headers tr {
|
|
|
|
|
display: table-row !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#geary-message-headers th, #geary-message-headers td {
|
|
|
|
|
display: table-cell !important;
|
|
|
|
|
line-height: 1.5em !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#geary-message-headers th {
|
|
|
|
|
font-weight: bold !important;
|
|
|
|
|
padding-right: 2ex !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#geary-message-headers td {
|
|
|
|
|
width: 100% !important;
|
|
|
|
|
}
|
2013-07-11 12:50:19 -07:00
|
|
|
}
|