Project

General

Profile

Download (2.14 KB) Statistics
| Branch: | Tag: | Revision:
1
/* ==== tree containers ==== */
2

    
3
/* --- one scrollable container for plain box --- */
4

    
5
div.cdm_taxontree_scroller_xy {
6
  overflow: auto;
7
  height: 300px;
8
}
9

    
10
/* ---- separate horizontal and vertical scrollable
11
containers in case of magic box mode,
12
plus container to span the tree to its maximum width --- */
13
div.cdm_taxontree_scroller_x {
14
  border: 1px solid #adddfa;
15
  overflow: auto;
16
  overflow-x: auto;
17
  overflow-y: auto;
18
}
19

    
20
div.cdm_taxontree_container {
21
  width: 250px; /* should be greater than the sidebar width (e.g. 250px for the garland theme) */
22
}
23

    
24
div.cdm_taxontree_scroller_y {
25
  overflow: visible;
26
  overflow-y: visible;
27
  padding: 5px;
28
  border: 1px solid transparent;
29
  background-color: #edf5fa;
30
  height: 300px; /* this defines the height of the treebrowser box */
31
}
32

    
33
/* ==== styling the tree ==== */
34

    
35
ul.cdm_taxontree {
36
  background-color: #edf5fa;
37
  padding: 0pt 0pt 0.25em 1em;
38
  left: 0px; /* fix IE7? */
39
  margin: 0;
40
}
41

    
42
ul.cdm_taxontree li {
43
  padding: 0pt 1em 0pt 1em;
44
  margin-left: -1em;
45
  list-style-image: none;
46
  list-style-type: none;
47
  white-space: nowrap;
48
  font-weight: normal;
49
}
50

    
51
ul.cdm_taxontree li .active {
52
  color: #027ac6;
53
  font-weight: bold;
54
}
55

    
56
ul.cdm_taxontree li.expanded,
57
ul.cdm_taxontree cdm_taxontree_filter li.expanded {
58
  background: transparent url(minus.png) no-repeat scroll 0px 0.35em;
59
  cursor: pointer;
60
}
61

    
62
ul.cdm_taxontree li.collapsed,
63
ul.cdm_taxontree cdm_taxontree_filter li.collapsed {
64
  background: transparent url(plus.png) no-repeat scroll 0px 0.35em;
65
  cursor: pointer;
66
}
67

    
68
ul.cdm_taxontree li.focused {
69
  font-weight: bold;
70
}
71

    
72
ul.cdm_taxontree li.leaf {
73
  background:transparent url(menu-leaf.gif) no-repeat scroll 0px 0.35em;
74
}
75

    
76
ul.cdm_taxontree li.filter_excluded {
77
  background-image: none;
78
  cursor: default;
79
  color: #888888;
80
}
81

    
82
ul.cdm_taxontree li.leaf a,
83
ul.cdm_taxontree li.expanded a,
84
ul.cdm_taxontree li.collapsed a {
85
  display: inline;
86
  white-space: nowrap;
87
}
88

    
89
div.taxontree_header {
90
  height: 2em;
91
  display: block;
92
}
93

    
94
#cdm-taxonomictree-selector-form .form-item {
95
  margin-bottom: 0px;
96
  /*background-color:#f3f3f3;*/
97
  /*border:1px solid #dedede;*/
98
}
99

    
100
#cdm-taxonomictree-selector-form select {
101
  width: 100%;
102
}
(2-2/16)