Tidy up ConversationWebView's CSS a bit.

This commit is contained in:
Michael James Gratton 2017-02-08 00:31:25 +11:00
parent fdde9b15a1
commit dd3d604b6d

View file

@ -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 {