-
Notifications
You must be signed in to change notification settings - Fork 1
/
miller-columns.css
75 lines (64 loc) · 1.29 KB
/
miller-columns.css
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
/**
*
* Cascading columns styling.
*
*/
.miller-columns {
float: left;
width: 100%;
height: 100%;
overflow: auto;
white-space: nowrap;
}
/* Display the lists as columns in blocks. */
ul.miller-column {
display: inline-block;
vertical-align: top;
overflow: hidden;
margin: 0;
padding: 0;
border-right: 1px solid #eee;
white-space: normal;
visibility: visible;
transition: 400ms;
}
/* Setting a list container class to "collapsed" will hide the column. */
ul.miller-column.miller-collapse {
opacity: 0;
display: none;
}
/* Put some space between the column's list entries. */
ul.miller-column > li {
list-style: none;
padding: 0.5em;
min-width: 10em;
}
ul.miller-column > li.miller-parent:after {
content: "›";
font-weight: bold;
}
/* Highlight while hovering, without allowing selected items to override. */
ul.miller-column > li:hover {
color: black;
background-color: #eee;
}
/* Ensure all selected nodes in the hierarchy are easily seen. */
.miller-column > .miller-selected,
.miller-column > .miller-selected:hover {
background-color: #08C;
color: white;
}
/**
*
* Breadcrumb styling.
*
*/
.miller-breadcrumbs {
border-bottom: 1px solid #eee;
}
.miller-breadcrumb:after {
content: " › ";
}
.miller-breadcrumb:last-child:after {
content: "";
}