Commits

Michel Albert  committed 1a17896

CSS cleanup & more useful images.

  • Participants
  • Parent commits ab7d607

Comments (0)

Files changed (6)

File foldable/static/foldable.css

 @import url("default.css");
 
+dl.attribute > dd,
+dl.attribute > dt,
 dl.class > dt,
-dl.method > dt,
+dl.classmethod > dd,
 dl.classmethod > dt,
-dl.staticmethod > dt,
-dl.attribute > dt {
-    background: hsl(198, 50%, 80%);
-    border-bottom: 2px solid hsl(198, 50%, 50%);
-    padding: 0.5em 1em 0.5em 1em;
-    margin-left: -1em;
+dl.exception > dt,
+dl.method > dd,
+dl.method > dt,
+dl.staticmethod > dd,
+dl.staticmethod > dt {
     -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
     border-radius: 3px;
 }
 
+dl.class > dt {
+    background: hsl(198, 50%, 80%);
+    border-bottom: 2px solid hsl(198, 50%, 50%);
+    margin-left: -1em;
+    padding: 0.5em 1em 0.5em 1em;
+}
+
 dl.exception > dt {
     background: hsl(0, 50%, 80%);
     border-bottom: 2px solid hsl(0, 50%, 50%);
-    padding: 0.5em 1em 0.5em 1em;
     margin-left: -1em;
-    -webkit-border-radius: 3px;
-    -moz-border-radius: 3px;
-    border-radius: 3px;
-}
-
-dl.attribute > dt:before {
-    content: url("images/tag_blue.png");
-    vertical-align: middle;
-}
-
-dl.classmethod > dt:before {
-    content: url("images/package.png");
-    vertical-align: middle;
-}
-
-dl.staticmethod > dt:before {
-    content: url("images/world.png");
-    vertical-align: middle;
+    padding: 0.5em 1em 0.5em 1em;
 }
 
 dl.method > dt,
 dl.attribute > dt {
     background: hsl(198, 50%, 90%);
     border-bottom: 2px solid hsl(198, 50%, 60%);
-    padding: 0.2em 0.5em 0.2em 0.5em;
     margin-left: -0.5em;
+    padding: 0.2em 0.5em 0.2em 0.5em;
+}
+
+dl.method > dd,
+dl.classmethod > dd,
+dl.staticmethod > dd,
+dl.attribute > dd {
+    background: hsl(198, 30%, 95%);
+    border-bottom: 1px solid #bbb;
+    border-left: 1px solid #bbb;
+    border-right: 1px solid #bbb;
+    margin: 0 0.5em 0.5em 0.5em;
+    padding: 0.5em;
 }
 
 TH.field-name {
     color: hsl(198, 50%, 40%);
 }
 
-dl.method > dd,
-dl.classmethod > dd,
-dl.staticmethod > dd,
-dl.attribute > dd {
-    border-left: 1px solid #bbb;
-    border-right: 1px solid #bbb;
-    border-bottom: 1px solid #bbb;
-    -webkit-border-radius: 3px;
-    -moz-border-radius: 3px;
-    border-radius: 3px;
-    margin: 0 0.5em 0.5em 0.5em;
-    padding: 0.5em;
-    background: hsl(198, 30%, 95%);
+/* Zippy style {{{ */
+.goog-zippy-collapsed:before {
+    content: url("plus.png");
+    vertical-align: middle;
+}
+
+.goog-zippy-expanded:before {
+    content: url("minus.png");
+    vertical-align: middle;
+}
+
+.goog-zippy-header {
+    cursor: pointer;
+}
+/* }}} */
 
+dt:target, .highlighted {
+   background-color: #fbe54e !important;
 }
+

File foldable/static/images/brick.png

Removed
Old image

File foldable/static/images/information.png

Removed
Old image

File foldable/static/images/package.png

Removed
Old image

File foldable/static/images/tag_blue.png

Removed
Old image

File foldable/static/images/world.png

Removed
Old image