Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

add new rules to override trac 1.0 styles that clash with lightertheme

  • Loading branch information...
commit 753e6190c53fa4e0f7cea21a785a76cde7e0b59e 1 parent ff6858e
ejucovy authored August 30, 2012
19  CHANGES.txt
@@ -2,21 +2,32 @@
2 2
 Changes
3 3
 =======
4 4
 
  5
+0.3.0 (?? ??? 2012)
  6
+-------------------
  7
+
  8
+Disable box-shadows and borders around Trac's primary content div --
  9
+these extra lines add unwanted noise in LighterTheme.
  10
+
  11
+Elements with class "newform" now have a lavender border instead of 
  12
+a green border, which looked ugly.  Also disabled some borders and
  13
+box-shadows around newform <h2>s in wikipages; these styles were
  14
+introduced in Trac 1.0 and clash with the "newform" styles.
  15
+
5 16
 0.2.1 (24 Aug 2012)
6 17
 -------------------
7 18
 
8 19
 Added MANIFEST.in file; the distribution now includes the necessary CSS 
9 20
 assets as well as the code's LICENSE file.
10 21
 
11  
-0.2 (20 Aug 2012)
12  
------------------
  22
+0.2.0 (20 Aug 2012)
  23
+-------------------
13 24
 
14 25
 Fix compatibility with other plugins: previously, this plugin would
15 26
 cause other plugins' add_stylesheet() calls to break, because of some
16 27
 incompatibility with Genshi's cut()/buffer() commands.  This is now
17 28
 fixed by avoiding calls to cut() and buffer()
18 29
 
19  
-0.1 (19 Aug 2012)
20  
------------------
  30
+0.1.0 (19 Aug 2012)
  31
+-------------------
21 32
 
22 33
 Initial release
11  lightertheme/htdocs/theme.css
... ...
@@ -1,4 +1,7 @@
1  
-
  1
+div.trac-content {
  2
+  border: none;
  3
+  box-shadow: none;
  4
+}
2 5
 .banner_wrapper {
3 6
   width: 1200px;
4 7
   margin-left: auto;
@@ -98,13 +101,17 @@ h2 {
98 101
 .newform {
99 102
   width: 60%;
100 103
   background-color: #FFF7C0;
101  
-  border: 1px solid green;
  104
+  border: 2px solid lavender;
102 105
   border-radius: 20px;
103 106
   padding: 10px;
104 107
   margin-bottom: 30px;
105 108
 }
106 109
 .newform form {  padding-left: 35px; }
107 110
 
  111
+.wikipage .newform h2 {
  112
+  border-bottom: none;
  113
+  box-shadow: none;
  114
+}
108 115
 .newform h2, .newform h3 {  margin-left: 0;}.newform input {  border-radius: 2px;}
109 116
 input[type='password'], input[type='text'], textarea {
110 117
   -mox-border-radius: 10px;

0 notes on commit 753e619

Please sign in to comment.
Something went wrong with that request. Please try again.