geary/ui/composer-web-view.css
mooff 0ab9f5a72d ui: Simplify style rules for body.plain in the composer
Setting these rules on `body.plain *` is not needed: they will cascade
quite happily on their own, with easier maintenance and readability for
humans

Also applies to rules whose values are unchanged from those on `body` -
better to keep these DRY
2025-05-31 13:21:09 +03:00

61 lines
1,017 B
CSS

/*
* Copyright 2016 Software Freedom Conservancy Inc.
* Copyright 2017 Michael Gratton <mike@vee.net>
*/
body {
margin: 0 !important;
border: 0 !important;
padding: 0 !important;
color: black;
background-color: #f9f9f9;
font-size: medium !important;
}
body.plain {
font-family: monospace;
text-decoration: none;
}
body.plain a {
cursor: text;
}
body > *.geary-no-display {
display: none !important;
}
body > div#geary-body {
margin: 0 !important;
border: 0 !important;
padding: 12px !important;
outline: 0px !important;
}
body > div#geary-signature,
body > div#geary-quote {
margin: 0 6px !important;
border: 0 !important;
padding: 6px !important;
}
body > div:focus-within {
background-color: white;
}
body > div#geary-signature:focus-within,
body > div#geary-quote:focus-within {
outline: 1px dashed #ccc !important;
}
blockquote {
margin: 0 10px;
border: 0;
border-left: 3px #aaa solid;
padding: 0 5px;
}
pre {
white-space: break-spaces;
margin: 0;
}