aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2012-03-29 00:38:11 +0800
committerDan Vrátil <dvratil@redhat.com>2012-03-29 00:38:25 +0800
commit6d2c382788a4042d53f49a080acd11b499aa52f6 (patch)
tree3834f0836340918ba17594a603ba61c13b9929a0 /data
parent6bd1c6833a2c51898ac45865767dd01ba66a95c5 (diff)
downloadgsoc2013-evolution-6d2c382788a4042d53f49a080acd11b499aa52f6.tar.gz
gsoc2013-evolution-6d2c382788a4042d53f49a080acd11b499aa52f6.tar.zst
gsoc2013-evolution-6d2c382788a4042d53f49a080acd11b499aa52f6.zip
WebKit port - port formatter and mail module
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am2
-rw-r--r--data/webview-print.css62
-rw-r--r--data/webview.css147
3 files changed, 211 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index bb6b2c18a3..9d9a8869c4 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -39,6 +39,8 @@ convert_DATA = evolution.convert
themedir = $(privdatadir)/theme
dist_theme_DATA = \
default.css \
+ webview.css \
+ webview-print.css \
tab-bar-background.png \
tab-switcher.png \
tab-switcher-hover.png \
diff --git a/data/webview-print.css b/data/webview-print.css
new file mode 100644
index 0000000000..a2c5292d56
--- /dev/null
+++ b/data/webview-print.css
@@ -0,0 +1,62 @@
+html, body {
+ padding: 0;
+ margin: 0;
+}
+
+body {
+ /* Use margin so that children can safely use width=100% */
+ margin: 10px;
+}
+
+h1,h2,h3 {
+ color: #7f7f7f;
+}
+
+th {
+ color: #7f7f7f;
+ text-align: left;
+ font-weight: normal;
+ vertical-align: top;
+}
+
+.header {
+ color: #7f7f7f;
+}
+
+.pre {
+ font-family: monospace;
+}
+
+.part-container {
+ width: 100%;
+ background: #FFF;
+ margin-top: 2px;
+ margin-bottom: 3px;
+ border-width: 0px;
+ border-style: none;
+}
+
+.part-container-inner-margin {
+ margin: 8px;
+}
+
+/***** PRINTING *******/
+
+.printing-header {
+ margin-bottom: 20px;
+}
+
+.printing-header h1,
+.attachments-list h1 {
+ font-size: 20px;
+}
+
+.printing-header th {
+ text-align: right;
+ font-weight: bold;
+}
+
+.attachments-list th {
+ font-weight: bold;
+}
+
diff --git a/data/webview.css b/data/webview.css
new file mode 100644
index 0000000000..9ff822013e
--- /dev/null
+++ b/data/webview.css
@@ -0,0 +1,147 @@
+html, body {
+ padding: 0;
+ margin: 0;
+}
+
+body {
+ /* Use margin so that children can safely use width=100% */
+ margin: 10px;
+}
+
+h1, h2, h3 {
+ color: #7f7f7f;
+}
+
+th {
+ color: #7f7f7f;
+ text-align: left;
+ font-weight: normal;
+ vertical-align: top;
+}
+
+.header {
+ color: #7f7f7f;
+}
+
+.pre {
+ font-family: monospace;
+}
+
+span.navigable, div.navigable, p.navigable {
+ cursor: pointer;
+ text-decoration: underline;
+ color: #003399;
+}
+
+img.navigable {
+ cursor: pointer;
+ margin-right: 4px;
+}
+
+.attachments {
+ background: #FFF;
+ border: 1px solid silver;
+ margin: 10px 10px 10px 10px;
+ border-left: 0;
+ border-right: 0;
+ border-bottom: 0;
+}
+
+.attachment {
+ margin-left: 8px;
+ margin-right: 8px;
+}
+
+.attachment-wrapper
+{
+ margin-right: 8px;
+}
+
+.part-container {
+ width: 100%;
+ height: 100%;
+ background: #FFF;
+ margin-top: 2px;
+ margin-bottom: 3px;
+ border-width: 1px;
+ border-style: solid;
+}
+
+.part-container-inner-margin {
+ margin: 8px;
+}
+
+object { /* GtkWidgets */
+ margin-top: 2px;
+ margin-bottom: 2px;
+}
+
+.__evo-highlight {
+ color: purple;
+ font-weight: bold;
+}
+
+/***** PRINTING *******/
+
+.printing-header {
+ margin-bottom: 20px;
+}
+
+.printing-header h1,
+.attachments-list h1 {
+ font-size: 20px;
+}
+
+.printing-header th {
+ text-align: right;
+ font-weight: bold;
+}
+
+.attachments-list th {
+ font-weight: bold;
+}
+
+/******* ITIP *********/
+.itip.icon {
+ float: left;
+ margin-right: 5px;
+}
+
+.itip.content {
+ float: left;
+ max-width: 90%;
+}
+
+.itip.description {
+ margin: 5px;
+}
+
+.itip tr {
+ vertical-align: middle;
+ padding-top: 5px;
+ padding-bottom: 5px;
+}
+
+.itip th {
+ color: #000;
+ vertical-align: middle;
+}
+
+#table_row_summary td {
+ font-weight: bold;
+}
+
+#table_row_buttons button {
+ line-height: 28px;
+ min-width: 150px;
+ white-space: nowrap;
+}
+
+#table_row_buttons img {
+ margin-right: 5px;
+ vertical-align: middle;
+}
+
+#text_row_buttons td {
+ text-align: center;
+}