root / drupal7 / modules / system / system.menus.css @ 76597ebf
1 |
|
---|---|
2 |
/**
|
3 |
* @file
|
4 |
* Styles for menus and navigation markup.
|
5 |
*/
|
6 |
|
7 |
/**
|
8 |
* Markup generated by theme_menu_tree().
|
9 |
*/
|
10 |
ul.menu { |
11 |
border: none; |
12 |
list-style: none; |
13 |
text-align: left; /* LTR */ |
14 |
} |
15 |
ul.menu li { |
16 |
margin: 0 0 0 0.5em; /* LTR */ |
17 |
} |
18 |
ul li.expanded { |
19 |
list-style-image: url(../../misc/menu-expanded.png); |
20 |
list-style-type: circle; |
21 |
} |
22 |
ul li.collapsed { |
23 |
list-style-image: url(../../misc/menu-collapsed.png); /* LTR */ |
24 |
list-style-type: disc; |
25 |
} |
26 |
ul li.leaf { |
27 |
list-style-image: url(../../misc/menu-leaf.png); |
28 |
list-style-type: square; |
29 |
} |
30 |
li.expanded, |
31 |
li.collapsed, |
32 |
li.leaf { |
33 |
padding: 0.2em 0.5em 0 0; /* LTR */ |
34 |
margin: 0; |
35 |
} |
36 |
li a.active { |
37 |
color: #000; |
38 |
} |
39 |
td.menu-disabled { |
40 |
background: #ccc; |
41 |
} |
42 |
|
43 |
/**
|
44 |
* Markup generated by theme_links().
|
45 |
*/
|
46 |
ul.inline, |
47 |
ul.links.inline { |
48 |
display: inline; |
49 |
padding-left: 0; |
50 |
} |
51 |
ul.inline li { |
52 |
display: inline; |
53 |
list-style-type: none; |
54 |
padding: 0 0.5em; |
55 |
} |
56 |
|
57 |
/**
|
58 |
* Markup generated by theme_breadcrumb().
|
59 |
*/
|
60 |
.breadcrumb {
|
61 |
padding-bottom: 0.5em; |
62 |
} |
63 |
|
64 |
/**
|
65 |
* Markup generated by theme_menu_local_tasks().
|
66 |
*/
|
67 |
ul.primary { |
68 |
border-bottom: 1px solid #bbb; |
69 |
border-collapse: collapse; |
70 |
height: auto; |
71 |
line-height: normal; |
72 |
list-style: none; |
73 |
margin: 5px; |
74 |
padding: 0 0 0 1em; /* LTR */ |
75 |
white-space: nowrap; |
76 |
} |
77 |
ul.primary li { |
78 |
display: inline; |
79 |
} |
80 |
ul.primary li a { |
81 |
background-color: #ddd; |
82 |
border-color: #bbb; |
83 |
border-style: solid solid none solid; |
84 |
border-width: 1px; |
85 |
height: auto; |
86 |
margin-right: 0.5em; /* LTR */ |
87 |
padding: 0 1em; |
88 |
text-decoration: none; |
89 |
} |
90 |
ul.primary li.active a { |
91 |
background-color: #fff; |
92 |
border: 1px solid #bbb; |
93 |
border-bottom: 1px solid #fff; |
94 |
} |
95 |
ul.primary li a:hover { |
96 |
background-color: #eee; |
97 |
border-color: #ccc; |
98 |
border-bottom-color: #eee; |
99 |
} |
100 |
ul.secondary { |
101 |
border-bottom: 1px solid #bbb; |
102 |
padding: 0.5em 1em; |
103 |
margin: 5px; |
104 |
} |
105 |
ul.secondary li { |
106 |
border-right: 1px solid #ccc; /* LTR */ |
107 |
display: inline; |
108 |
padding: 0 1em; |
109 |
} |
110 |
ul.secondary a { |
111 |
padding: 0; |
112 |
text-decoration: none; |
113 |
} |
114 |
ul.secondary a.active { |
115 |
border-bottom: 4px solid #999; |
116 |
} |