[geary] Tidy up ConversationWebView's CSS a bit.
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary] Tidy up ConversationWebView's CSS a bit.
- Date: Tue, 7 Feb 2017 13:32:17 +0000 (UTC)
commit dd3d604b6d927f325604be30b41d909b5cfaaf81
Author: Michael James Gratton <mike vee net>
Date: Wed Feb 8 00:31:25 2017 +1100
Tidy up ConversationWebView's CSS a bit.
ui/conversation-web-view.css | 23 ++++++++++++-----------
1 files changed, 12 insertions(+), 11 deletions(-)
---
diff --git a/ui/conversation-web-view.css b/ui/conversation-web-view.css
index b366b58..81a4d1f 100644
--- a/ui/conversation-web-view.css
+++ b/ui/conversation-web-view.css
@@ -136,8 +136,15 @@ pre {
-webkit-user-drag: none;
}
- .geary-quote-container .geary-button,
- .geary-quote-container .geary-button {
+ .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;
+ }
+
+ .geary-quote-container >> .geary-button {
display: block;
width: 100%;
height: 16px;
@@ -147,6 +154,8 @@ pre {
padding: 0;
font-size: 8px; /* Absolute size in pixels for graphics */
white-space: pre;
+ -webkit-user-select: none;
+ -webkit-user-drag: none;
/* All futher properties below are a workaround for WK Bug 166648
* <https://bugs.webkit.org/show_bug.cgi?id=166648>. The result is
* we need to manually style these buttons outselves. */
@@ -165,7 +174,7 @@ pre {
text-shadow: 0 1px rgba(255, 255, 255, 0.76923);
box-shadow: inset 0 1px rgba(255, 255, 255, 0.8); }
}
- .geary-quote-container .geary-button:hover {
+ .geary-quote-container >> .geary-button:hover {
/* Likewise the properties below also workaround WK Bug 166648,
* and taken from gtk/theme/Adwaita/gtk-contained.css. */
color: #2e3436;
@@ -177,14 +186,6 @@ pre {
background-image: linear-gradient(to bottom, #f7f7f7, #e8e8e7 60%, #dededd);
}
- .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;
- }
-
/* Highlight search terms */
.geary_search_coloring *::selection {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]