summaryrefslogtreecommitdiffstats
path: root/hyperkitty/static/css/hyperkitty-threadslist.css
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-02-23 13:20:49 +0100
committerAurélien Bompard <aurelien@bompard.org>2013-02-23 13:20:49 +0100
commit376e916c1872390a78ae589c835ce015fec11720 (patch)
treee87a668c9ace4e42ec6d2427b53d66eb165e47e5 /hyperkitty/static/css/hyperkitty-threadslist.css
parent258b2ae4b54c4f93ee7a7884f9ec9e85470e55bd (diff)
downloadhyperkitty-376e916c1872390a78ae589c835ce015fec11720.tar.gz
hyperkitty-376e916c1872390a78ae589c835ce015fec11720.tar.xz
hyperkitty-376e916c1872390a78ae589c835ce015fec11720.zip
Split up CSS for clarity
Diffstat (limited to 'hyperkitty/static/css/hyperkitty-threadslist.css')
-rw-r--r--hyperkitty/static/css/hyperkitty-threadslist.css192
1 files changed, 192 insertions, 0 deletions
diff --git a/hyperkitty/static/css/hyperkitty-threadslist.css b/hyperkitty/static/css/hyperkitty-threadslist.css
new file mode 100644
index 0000000..3106aba
--- /dev/null
+++ b/hyperkitty/static/css/hyperkitty-threadslist.css
@@ -0,0 +1,192 @@
+/*
+ * Threads view header
+ */
+
+#thread-list .thread-list-header {
+ margin-bottom: 4em;
+}
+
+#thread-list .thread-list-header .thread-list-info {
+ display: inline;
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+}
+#thread-list .thread-list-header .thread-list-info li {
+ display: inline;
+ margin-right: 2em;
+}
+#thread-list .thread-list-header .thread-list-info li.list-address {
+ font-size: 120%;
+ margin-right: 4em;
+}
+
+#thread-list .thread-list-header .thread-new {
+ float: right;
+}
+#thread-list .thread-list-header .thread-new strong {
+ font-size: 150%;
+ font-weight: bold;
+ margin-right: 0.2em;
+}
+
+
+
+/*
+ * Thread view
+ */
+
+.thread {
+ margin: 2em 0 2em 0;
+}
+
+.thread-id {
+ font-weight: bold;
+ font-size: 125%;
+ color: rgb(102, 102, 102);
+ vertical-align: top;
+ padding-right: 10px;
+}
+
+.thread-title {
+ font-weight: bold;
+ font-size: 125%;
+}
+
+.thread-date {
+ font-style: italic;
+ font-size: 70%;
+ color: rgb(128, 0, 0);
+}
+
+.thread-info {
+ text-align:right;
+ clear: both;
+ margin-left: 46px;
+}
+.thread-info .tags {
+ display: inline;
+ margin-right: 1em;
+}
+.thread-info .participant, .thread-info .discussion {
+ padding-left: 20px;
+ background: no-repeat scroll left center;
+}
+.thread-info .participant {
+ background-image: url("../img/participant.png");
+ padding-left: 16px;
+ margin-right: 1em;
+}
+.thread-info .discussion {
+ background-image: url("../img/discussion.png");
+ margin-right: 2em;
+}
+.thread-info .thread-show {
+ padding-top: 2px;
+ padding-bottom: 2px;
+ margin-left: 2em;
+}
+
+.thread-content {
+ margin-top: 0.5em;
+}
+.thread-content .gravatar {
+ float: left;
+}
+.thread-content .thread-email {
+ display: block;
+ margin-left: 46px;
+ margin-bottom: 5px;
+}
+
+/* Part containing the body of the mail which can be shown/hidden */
+.expander {
+ background-image: linear-gradient(bottom, rgb(236,236,236) 11%, rgb(255,255,255) 100%);
+ background-image: -o-linear-gradient(bottom, rgb(236,236,236) 11%, rgb(255,255,255) 100%);
+ background-image: -moz-linear-gradient(bottom, rgb(236,236,236) 11%, rgb(255,255,255) 100%);
+ background-image: -webkit-linear-gradient(bottom, rgb(236,236,236) 11%, rgb(255,255,255) 100%);
+ background-image: -ms-linear-gradient(bottom, rgb(236,236,236) 11%, rgb(255,255,255) 100%);
+
+ background-image: -webkit-gradient(
+ linear,
+ left bottom,
+ left top,
+ color-stop(0.11, rgb(236,236,236)),
+ color-stop(1, rgb(255,255,255))
+ );
+ border-style: solid;
+ border-width: 1px;
+ border-color: rgb(236,236,236);
+ -webkit-border-radius: 5px 5px 5px 5px;
+ -moz-border-radius: 5px 5px 5px 5px;
+ border-radius: 5px 5px 5px 5px;
+ padding: 1em;
+ margin-left: 21px;
+ display: block;
+ vertical-align: top;
+ white-space: pre;
+}
+
+.thread-email .expander.collapsed {
+ white-space: normal;
+}
+
+/*
+.thread-email span.read-more a,
+.thread-email span.read-less a {
+ display: block;
+ float: right;
+ margin-top: 0.5em;
+}
+*/
+
+
+
+/*
+ * Thread types
+ */
+
+.type {
+ font-variant: small-caps;
+ font-weight: bold;
+ color: white;
+ padding: 3px;
+ -webkit-border-radius: 5px 5px 5px 5px;
+ -moz-border-radius: 5px 5px 5px 5px;
+ border-radius: 5px 5px 5px 5px;
+ vertical-align: top;
+ width: 110px;
+ text-align:center;
+}
+
+.type a {
+ color: white;
+}
+
+.type_question {
+ background-color: rgb(179, 128, 255);
+}
+
+.type_agenda {
+ background-color: rgb(42, 127, 255);
+}
+
+.type_todo {
+ background-color: rgb(200, 171, 55);
+}
+
+.type_dead {
+ background-color: rgb(0, 0, 0);
+}
+
+.type_announcement {
+ background-color: rgb(170, 212, 0);
+}
+
+.type_policy {
+ background-color: rgb(200, 55, 171);
+}
+
+.type_test {
+ background-color: rgb(200, 171, 55);
+}