changeset 309:a59335030db8

css: fixed rightsidebar, added MonthCalendar css there imported from: moin--main--1.5--patch-313
author Thomas Waldmann <tw@waldmann-edv.de>
date Mon, 12 Dec 2005 18:55:31 +0000
parents 4e78d0982f01
children aca556896e2e
files MoinMoin/theme/rightsidebar.py wiki/htdocs/rightsidebar/css/common.css wiki/htdocs/rightsidebar/css/screen.css
diffstat 3 files changed, 94 insertions(+), 24 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/theme/rightsidebar.py	Mon Dec 12 18:05:16 2005 +0000
+++ b/MoinMoin/theme/rightsidebar.py	Mon Dec 12 18:55:31 2005 +0000
@@ -69,8 +69,10 @@
             u'<div id="header">',
             self.searchform(d),
             self.logo(),
+            u'<div id="locationline">',
             self.interwiki(d),
             self.title(d),
+            u'</div>',
             self.trail(d),
             u'</div>',
             
--- a/wiki/htdocs/rightsidebar/css/common.css	Mon Dec 12 18:05:16 2005 +0000
+++ b/wiki/htdocs/rightsidebar/css/common.css	Mon Dec 12 18:55:31 2005 +0000
@@ -250,3 +250,68 @@
 div.codearea pre span.Preprc     {color: #803999;}
 
 
+/* MonthCalendar css */
+
+/* days without and with pages linked to them */
+a.cal-emptyday {
+    color: #777777;
+    text-align: center;
+}
+a.cal-usedday {
+    color: #000000;
+    font-weight: bold;
+    text-align: center;
+}
+/* general stuff: workdays, weekend, today */
+td.cal-workday {
+    background-color: #DDDDFF;
+    text-align: center;
+}
+td.cal-weekend {
+    background-color: #FFDDDD;
+    text-align: center;
+}
+td.cal-today {
+    background-color: #CCFFCC;
+    border-style: solid;
+    border-width: 2pt;
+    text-align: center;
+}
+/* invalid places on the monthly calendar sheet */
+td.cal-invalidday {
+    background-color: #CCCCCC;
+}
+/* links to prev/next month/year */
+a.cal-link {
+    color: #000000;
+    text-decoration: none;
+}
+th.cal-header {
+    background-color: #DDBBFF;
+    text-align: center;
+}
+
+/* for MonthCalendar mouseover info boxes */
+TABLE.tip {
+    color: black;
+    background-color: #FF8888;
+    font-size: small;
+    font-weight: normal;
+    border-style: solid;
+    border-width: 1px;
+}
+
+TH.tip {
+    background-color: #FF4444;
+    font-weight: bold;
+    text-align: center;
+}
+
+TD.tip {
+    text-align: left;
+}
+*[dir="rtl"] TD.tip {
+    text-align: right;
+}
+
+/* end MonthCalendar stuff */
--- a/wiki/htdocs/rightsidebar/css/screen.css	Mon Dec 12 18:05:16 2005 +0000
+++ b/wiki/htdocs/rightsidebar/css/screen.css	Mon Dec 12 18:55:31 2005 +0000
@@ -43,7 +43,7 @@
     margin: 5px 10px;
     padding: 0;
     /* For text only logo */
-    font-size: 22px;
+    font-size: 1.4em;
     line-height: 1em;
     font-weight: bold;
 }
@@ -92,6 +92,7 @@
 	width: 200px;
 	padding: 0;	
 	font-size: 0.88em;
+    overflow: hidden;
 }
 
 .sidepanel {
@@ -157,8 +158,8 @@
 #pagetrail {
     clear: right;
     display: block;
-    margin: 4px;
-    padding: 0 10px;
+    margin: 0.2em 0;
+    padding: 0;
     font-size: 0.88em;
 }
 
@@ -167,36 +168,33 @@
 }
 
 #interwiki {
-    float: left;
-    margin: 8px 0;
-    padding: 0 2px;
-    font-size: 18px;
-}
-
-*[dir="rtl"] #interwiki {
-    float: right;
+    display: inline;
+    font-size: 1em;
 }
 
 #interwiki span:after {
-    content: ": ";
+    content: ":";
+}
+  
+#locationline {
+    clear: right;
+    padding: 3px 0;
+}
+
+*[dir="rtl"] #locationline {
+    clear: left;
 }
 
 #pagelocation {
-    clear: right;
-    display: block;
-    margin: 8px 0;
-    padding: 0 10px;
-    font-size: 24px;
-}
-
-*[dir="rtl"] #pagelocation {
-    clear: left;
+    display: inline;
+    margin: 0 0.25em;
+    padding: 0;
+    font-size: 1.5em;
 }
 
 #pagetrail li, #pagelocation li {
     display: inline;
-    padding: 0 2px;
-    margin: 0 0 5px 0;
+    margin: 0;
 }
 
 /* XXX Warning: non-ascii characters! */
@@ -211,6 +209,12 @@
 #pagetrail li:last-child:after {
     content: "";
 }
+
+* html #pagetrail li, * html #pagelocation li { /* for broken IE */
+    border-left: 1px solid #AAA;
+    padding: 0 0.3em;
+}
+
 #pagelocation li:after {
     content: "/ ";
 }
@@ -300,7 +304,6 @@
 	text-align: center;
 	font-size: 0.88em;
 	color: #6C7680;
-	font-size: 12px;
 }
 
 #credits li, #timings li {