File: listexpander.css

package info (click to toggle)
libelixirfm-perl 1.1.976-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 348 kB
  • sloc: perl: 2,260; javascript: 249; makefile: 14
file content (128 lines) | stat: -rw-r--r-- 2,787 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/*
  List Expander
*/

.listexpander{width: 100%}

.listexpander,
.listexpander ul,
.listexpander li{
    margin: 0px;
    padding: 0px;
    list-style: none;
    line-height: 150%;
}
.listexpander ul{
  /*
    Uncomment this if you want to initially hide the child lists.
    If you do, Javascript disabled and CSS enabled browsers will not be able to use this list.
    display: none;
  */
}
.listexpander li{
    line-height: 150%;
    border-top: 2px white solid;
    cursor: default;
    text-indent: 30px;
    font-weight: bold;
    width: 100%;
}

.listexpander table {
    margin-left: 15px;
    border: 0px;
    border-spacing: 0px;
}

.listexpander td {
    padding-left: 20px;
    padding-right: 0px;
}

.listexpander li.collapsed,
.listexpander li.expanded{cursor: pointer}

/* first level */

.listexpander li{background: #EEE8AA /*palegoldenrod*/}
.listexpander li.collapsed{background: #EEE8AA /*palegoldenrod*/ url(collapsed.gif) no-repeat 5px .4em}
.listexpander li.expanded{background: #EEE8AA /*palegoldenrod*/ url(expanded.gif) no-repeat 5px .4em}

ul.listexpander li.empty{cursor: default; background: #f8e7e7 url(empty.gif) no-repeat 5px .4em}

/* second level */

.listexpander li ul,
.listexpander li li{background: #eed; font-weight: normal}
.listexpander li li.collapsed{background: #eed url(collapsed.gif) no-repeat 5px .5em}
.listexpander li li.expanded{background: #eed url(expanded.gif) no-repeat 5px .5em}

/* third level */

.listexpander li li ul,
.listexpander li li li{background: #ffe}
.listexpander li li li.collapsed{background: #ffe url(collapsed.gif) no-repeat 5px .5em}
.listexpander li li li.expanded{background: #ffe url(expanded.gif) no-repeat 5px .5em}

/* fourth level */

.listexpander li li li li{background: #fff} /* li{text-indent: 0; margin-left: 30px; width: auto} */

/* etc. */

/* buttons */

p.listexpander{
    margin: 0em;
    margin-top: 0.5em;
    margin-bottom: 0.2em;
}
p.listexpander a{
    padding: 0 5px;
    border: 1px solid #ddd;
    margin-right: 5px;
    cursor: pointer;
}
p.listexpander a:hover{
    background: #eee;
}

p.listexpander input.exclude {
    float: right;
    margin: 3px 0px;
    line-height: 110%;
    padding: 0 5px;
    font-family: Courier New;
    font-size: smaller;
}

p.listexpander a.exclude {
    float: right;
    margin: 3px 0px;
    line-height: 110%;
    padding: 0px 5px;
    border: 1px solid #ddd;
    margin-right: 5px;
    cursor: pointer;
}

/* float fix */
.listexpander li:after{
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.listexpander li{
    display: inline-block;
}
/* Hides from IE-mac \*/
* html .listexpander li{
    height: 1%;
}
.listexpander li{
    display: block;
}
/* End hide from IE-mac */
/* end float fix */