r65092 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65091‎ | r65092 | r65093 >
Date:21:05, 15 April 2010
Author:yaron
Status:deferred
Tags:
Comment:
Cleaned up, added CSS for tab-style display of categories
Modified paths:
  • /trunk/extensions/SemanticDrilldown/skins/SD_main.css (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticDrilldown/skins/SD_main.css
@@ -2,34 +2,90 @@
33 * The main CSS file for the Semantic Drilldown extension.
44 */
55
6 -div.drilldown-categories-wrapper {
 6+p#categories-header {
 7+ font-weight: bold;
 8+}
 9+
 10+/* Normal (sidebar) display of categories list */
 11+
 12+div#drilldown-categories-wrapper {
713 float: right;
814 background: white;
915 padding: 0px 25px 25px 25px;
1016 }
1117
12 -div.drilldown-categories {
 18+ul#drilldown-categories {
1319 border: 2px #888888 solid;
 20+ border-top: 1px #888888 solid;
 21+ list-style: none;
1422 }
1523
16 -div.drilldown-categories-header {
 24+ul#drilldown-categories li {
 25+ padding: 3px 8px 3px 8px;
 26+ margin: 0px;
 27+}
 28+
 29+p#categories-header {
1730 font-weight: bold;
18 - padding: 3px 8px 3px 8px;
19 - background: #c9c9c9;
2031 }
2132
22 -div.drilldown-category {
23 - border-top: 1px #aaaaaa solid;
24 - padding: 3px 8px 3px 8px;
25 - margin: 0px;
 33+ul#drilldown-categories li.category {
 34+ border-top: 1px #aaaaaa solid;
 35+ background: #e9e9e9;
 36+}
 37+
 38+ul#drilldown-categories li.selected {
 39+ background: white;
 40+}
 41+
 42+/* Tab-based display of categories list
 43+ * - based in part on
 44+ * http://unraveled.com/publications/assets/css_tabs/index3.html
 45+ */
 46+
 47+div#drilldown-categories-tabs-wrapper {
 48+}
 49+
 50+ul#drilldown-categories-tabs {
 51+ padding-bottom: 40px;
 52+ list-style: none;
 53+ padding: 0px 5px 0px 5px;
 54+ border-bottom: 1px #999999 solid;
 55+ margin: 1em 0 1em 0; /* set margins as desired */
 56+}
 57+
 58+ul#drilldown-categories-tabs a:hover {
 59+ background: #f5f5f5;
 60+}
 61+
 62+p#categories-header {
 63+ font-weight: bold;
 64+}
 65+
 66+ul#drilldown-categories-tabs li.category {
 67+ border: 1px #aaaaaa solid;
 68+ border-bottom: none;
 69+ margin: 0px 2px 0px 2px;
 70+ padding: 3px 0px 3px 0px;
2671 background: #e9e9e9;
 72+ font-size: smaller;
 73+ display: inline;
2774 }
2875
29 -div.selected-category {
 76+ul#drilldown-categories-tabs li.category a {
 77+ padding: 3px 4px 3px 4px;
 78+}
 79+
 80+ul#drilldown-categories-tabs li.selected {
 81+ padding: 3px 4px 3px 4px;
3082 background: white;
 83+ border: 1px #999999 solid;
 84+ border-bottom: 1px white solid;
3185 }
3286
33 -div.drilldown-header {
 87+/* End of categories-list CSS */
 88+
 89+div#drilldown-header {
3490 font-size: large;
3591 font-weight: bold;
3692 }
@@ -39,7 +95,6 @@
4096 }
4197
4298 div.drilldown-filters {
43 - /* background: #e2e2e2; */
4499 margin-top: 10px;
45100 padding-bottom: 8px;
46101 margin-bottom: 8px;
@@ -59,5 +114,4 @@
60115 }
61116
62117 div.drilldown-filter-values {
63 - /* margin-bottom: 10px; */
64118 }

Status & tagging log