[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[vidalia-svn] r3261: Corner case css tweaks to trac wosname. (website/branches/z3d/trac)



Author: z3d
Date: 2008-10-27 22:40:52 -0400 (Mon, 27 Oct 2008)
New Revision: 3261

Added:
   website/branches/z3d/trac/diff.css
   website/branches/z3d/trac/ticket.css
Log:
Corner case css tweaks to trac wosname.

Added: website/branches/z3d/trac/diff.css
===================================================================
--- website/branches/z3d/trac/diff.css	                        (rev 0)
+++ website/branches/z3d/trac/diff.css	2008-10-28 02:40:52 UTC (rev 3261)
@@ -0,0 +1,190 @@
+/* Diff preferences */
+#prefs fieldset { margin: 1em .5em .5em; padding: .5em 1em 0 }
+
+/* Diff/change overview */
+#overview { line-height: 130%; margin-top: 1em; padding: .5em }
+#overview dt.property {
+ font-weight: bold;
+ padding-right: .25em;
+ position: absolute;
+ left: 0;
+ text-align: right;
+ width: 7.75em;
+}
+#overview dd { margin-left: 8em }
+
+#overview .message { padding: 1em 0 1px }
+#overview dd.message p, #overview dd.message ul, #overview dd.message ol,
+#overview dd.message pre { margin-bottom: 1em; margin-top: 0; }
+
+/* Colors for change types */
+#chglist .edit, #overview .mod, .diff .legend .mod { background: #fd8 }
+#chglist .delete, #overview .rem, .diff .legend .rem { background: #f88 }
+#chglist .add, #overview .add, .diff .legend .add { background: #bfb }
+#chglist .copy, #overview .cp, .diff .legend .cp { background: #88f }
+#chglist .move, #overview .mv, .diff .legend .mv { background: #ccc }
+#chglist .unknown { background: #FFFFFF}
+
+/* Legend for diff and file colors */
+.legend {
+ font-size: 9px;
+ line-height: 1em;
+ padding: .5em 0;
+}
+.legend h3 { display: none; }
+.legend dt {
+ background: #fff;
+ border: 1px solid #999;
+ float: left;
+ margin: .1em .5em .1em 0;
+ overflow: hidden;
+ width: .8em; height: .8em;
+}
+.legend dl {
+ display: inline;
+ padding: 0;
+ margin: 0;
+ margin-right: .5em;
+}
+.legend dd {
+ display: inline;
+ float: left;
+ padding: 0;
+ margin: 0;
+ margin-right: 2em;
+}
+
+#diff-legend {
+ float: left;
+ clear: right;
+ margin: 1em .5em;
+}
+
+#file-legend dd { margin-left: 0; }
+
+/* Styles for the list of diffs */
+.diff ul.entries { clear: both; margin: 0; padding: 0 }
+
+.diff li.entry {
+ background: #f7f7f7;
+ border: 1px solid #d7d7d7;
+ list-style-type: none;
+ margin: 0 0 2em;
+ padding: 2px;
+ position: relative;
+ width: 100%;
+}
+.diff h2 {
+ color: #333;
+ font-size: 14px;
+ letter-spacing: normal;
+ margin: 0 auto;
+ padding: .1em 0 .25em .5em;
+}
+.diff h2 .switch { color: #999; float: right; font-size: 75%;
+  line-height: 1.6;
+}
+.diff h2 .switch span { border-left: 1px solid #ccc; cursor: pointer;
+  padding: 0 1em;
+}
+.diff h2 .switch span:first-child { border: none; }
+.diff h2 .switch span.active { color: #333; cursor: default; }
+
+/* Styles for the actual diff tables (side-by-side and inline) */
+.diff table {
+	border: 1px solid #ddd;
+	border-spacing: 0;
+	border-top: 0;
+	empty-cells: show;
+	font-size: 12px;
+	line-height: 130%;
+	padding: 0;
+	margin: 0 auto;
+	table-layout: fixed;
+	width: 100%;
+
+
+}
+.diff table col.lineno { width: 4em }
+.diff table th {
+	border-right: 1px solid #d7d7d7;
+	border-bottom: 1px solid #998;
+	font-size: 11px;
+	background-color: f7f7f7;
+
+}
+.diff table thead th {
+ background: #002200;
+ border-top: 1px solid #d7d7d7;
+ color: #999;
+ padding: 0 .25em;
+ text-align: center;
+ white-space: nowrap;
+}
+.diff table tbody th {
+ background: #001100;
+ color: #886;
+ font-weight: normal;
+ padding: 0 .5em;
+ text-align: right;
+ vertical-align: top;
+}
+.diff table tbody td {
+ background: #003300;
+ font: normal 11px monospace;
+ overflow: visible;
+ padding: 1px 2px;
+ vertical-align: top;
+}
+.diff table tbody.skipped td {
+ background: #f7f7f7;
+ border: 1px solid #d7d7d7;
+}
+.diff td ins, .diff td del {text-decoration: none;}
+
+/* Styles for the inline diff */
+.diff table.inline tbody.mod td.l, .diff table.inline tbody.rem td.l {
+ background: #c00;
+ border-color: #c00;
+ border-style: solid;
+ border-width: 0 1px 0 1px;
+}
+.diff table.inline tbody.mod td.r, .diff table.inline tbody.add td.r {
+ background: #0a0;
+ border-color: #0a0;
+ border-style: solid;
+ border-width: 0 1px 0 1px;
+}
+.diff table.inline tbody.mod tr.first td.l,
+.diff table.inline tbody.rem tr.first td.l { border-top-width: 1px }
+.diff table.inline tbody.mod tr.last td.l,
+.diff table.inline tbody.rem tr.last td.l { border-bottom-width: 1px }
+.diff table.inline tbody.mod tr.first td.r,
+.diff table.inline tbody.add tr.first td.r { border-top-width: 1px }
+.diff table.inline tbody.mod tr.last td.r,
+.diff table.inline tbody.add tr.last td.r { border-bottom-width: 1px }
+.diff table.inline tbody.mod td del { 
+ background: #e99; 
+ color: #000;
+}
+.diff table.inline tbody.mod td ins { 
+ background: #9e9; 
+ color: #000;
+}
+
+/* Styles for the side-by-side diff */
+.diff table.sidebyside colgroup.content { width: 50% }
+.diff table.sidebyside tbody.mod td.l { background: #fe9 }
+.diff table.sidebyside tbody.mod td.r { background: #fd8 }
+.diff table.sidebyside tbody.add td.l { background: #dfd }
+.diff table.sidebyside tbody.add td.r { background: #cfc }
+.diff table.sidebyside tbody.rem td.l { background: #f88 }
+.diff table.sidebyside tbody.rem td.r { background: #faa }
+.diff table.sidebyside tbody.mod del, .diff table.sidebyside tbody.mod ins {
+ background: #fc0; 
+}
+
+/* Styles for the plain-text diff view */
+.diff pre { background: #fff; border: 1px solid #ddd; font-size: 85%;
+  margin: 0;
+}

Added: website/branches/z3d/trac/ticket.css
===================================================================
--- website/branches/z3d/trac/ticket.css	                        (rev 0)
+++ website/branches/z3d/trac/ticket.css	2008-10-28 02:40:52 UTC (rev 3261)
@@ -0,0 +1,115 @@
+@import url(code.css);
+
+#content.ticket { width: 600px; max-width: 100%} 
+
+#newticket #field-description { width: 100% }
+#newticket #properties { width: 100% }
+
+#ticket {
+ background: #001100 url(http://vidalia-project.net/images/navtab_bg.png);
+ border: 1px outset #996;
+ margin-top: 1em;
+ padding: 1em 1em 0.5em;
+/* position: relative; */
+}
+
+div#ticket.ticketdraft {
+ background: #f4f4f4 url(../draft.png);
+}
+div#ticketchange.ticketdraft {
+ padding: 0 1em;
+ margin: 1em 0;
+}
+div#ticketchange.ticketdraft h3 {
+ margin-top: .5em;
+}
+.preview-notice { font-weight: bold; }
+
+.ticketdraft {
+ background: #f4f4f4 url(../draft.png);
+ border: 1px outset #996;
+ padding: 0 .2em;
+}
+
+h1 .status { color: #444; }
+#ticket h2.summary { margin: 0 0 .8em 0 }
+#ticket .date { color: #996; float: right; font-size: 85%; position: relative }
+#ticket .date p { margin: .3em }
+
+#ticket table.properties {
+ clear: both;
+ border-top: 1px solid #dd9;
+ border-collapse: collapse;
+ table-layout: fixed;
+ width: 100%;
+}
+#ticket table.properties tr { border-bottom: 1px dotted #eed }
+#ticket table.properties td, #ticket table.properties th {
+ font-size: 80%;
+ padding: .5em 1em;
+ vertical-align: top;
+}
+#ticket table.properties th {
+ color: #663;
+ font-weight: normal;
+ text-align: left;
+ width: 20%;
+}
+#ticket table.properties td { width: 30% }
+#ticket table.properties .description { border-top: 1px solid #dd9 }
+
+#ticket .description h3 {
+ border-bottom: 1px solid #dd9;
+ color: #663;
+ font-size: 100%;
+ font-weight: normal;
+}
+#ticket .description h3 .lastmod {
+ font-size: 90%;
+}
+#ticket .inlinebuttons { 
+ float: right;
+ position: relative;
+ bottom: 0.3em;
+}
+
+#changelog { border: 1px outset #996; padding: 1em }
+#preview { border: 1px solid #d7d7d7; padding: 1em }
+#preview h3, #changelog h3 {
+ border-bottom: 1px solid #d7d7d7;
+ color: #999;
+ font-size: 100%;
+ font-weight: normal;
+}
+.threading, #changelog .inlinebuttons { float: right; }
+.threading { font-size: 90%; }
+
+#preview .changes, #changelog .changes { list-style: square; margin-left: 2em; padding: 0 }
+#preview .comment, #changelog .comment { margin-left: 2em }
+
+form .field { margin-top: .75em; width: 100% }
+form #comment { width: 100% }
+
+#properties { white-space: nowrap; line-height: 160%; padding: .5em }
+#properties table { border-spacing: 0; width: 100%; }
+#properties table th {
+ padding: .4em;
+ text-align: right;
+ width: 20%;
+ vertical-align: top;
+}
+#properties table th.col2 { border-left: 1px dotted #d7d7d7 }
+#properties table td { vertical-align: middle; width: 30% }
+#properties table td.fullrow { vertical-align: middle; width: 80% }
+
+#action { line-height: 2em }
+
+fieldset.radio { border: none; margin: 0; padding: 0 }
+fieldset.radio legend {
+ color: #000;
+ float: left;
+ font-size: 100%;
+ font-weight: normal;
+ padding: 0 1em 0 0;
+}
+fieldset.radio label { padding-right: 1em }