Project

General

Profile

Download (2.53 KB) Statistics
| Branch: | Tag: | Revision:
1 4cce112d Andreas Kohlbecker
/**
2
 * @file
3
 * Navigation Styling
4
 */
5
6
@import "base";
7
8
9
/*
10
 * Markup generated by theme_menu_tree().
11
 */
12
13
ul li.expanded {
14
  @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
15
    *list-style-image: url(../images/menu-expanded.png);
16
  }
17
  list-style-image: inline-image("menu-expanded.png");
18
  list-style-type: circle;
19
}
20
ul li.collapsed {
21
  @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
22
    *list-style-image: url(../images/menu-collapsed.png); /* LTR */
23
  }
24
  list-style-image: inline-image("menu-collapsed.png"); /* LTR */
25
  list-style-type: disc;
26
}
27
ul li.leaf {
28
  @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
29
    *list-style-image: url(../images/menu-leaf.png);
30
  }
31
  list-style-image: inline-image("menu-leaf.png");
32
  list-style-type: square;
33
}
34
35
/*
36
 * The active item in a Drupal menu
37
 */
38
39
li a.active {
40
  color: #000;
41
}
42
43
/*
44
 * Navigation bar
45
 */
46
47
#navigation {
48
  /* overflow: hidden; */ /* Sometimes you want to prevent overlapping with main div. */
49
50 4b02c7e4 Andreas Kohlbecker
51 4cce112d Andreas Kohlbecker
  .block {
52
    margin-bottom: 0;
53
  }
54
55
  .block-menu .block-title,
56
  .block-menu-block .block-title {
57
    @include element-invisible();
58
  }
59
60
  ul.links, /* Main menu and secondary menu links */
61
  ul.menu { /* Menu block links */
62
    margin: 0;
63
    padding: 0;
64 1dc9554f Andreas Kohlbecker
    margin-left: -$zen-gutter-width; 
65 4cce112d Andreas Kohlbecker
    text-align: left; /* LTR */
66 1dc9554f Andreas Kohlbecker
    display: block;
67 4cce112d Andreas Kohlbecker
68
    li { /* A simple method to get navigation links to appear in one line. */
69
      float: left; /* LTR */
70 4b02c7e4 Andreas Kohlbecker
      line-height: $menu-bar-line-height;
71
      padding: 0 $zen-gutter-width;
72 4cce112d Andreas Kohlbecker
      list-style-type: none;
73
      list-style-image: none;
74 4b02c7e4 Andreas Kohlbecker
      border-left: 1px solid $menu-bar-text-color;
75
      border-right: 1px solid $menu-bar-text-color;
76
      margin-left: -1px; /* collapse borders */
77
    }
78
    li.first {
79
      border-left: 0;
80
    }
81
82
    li.last {
83
      border-right: 0;
84 4cce112d Andreas Kohlbecker
    }
85
  }
86 4b02c7e4 Andreas Kohlbecker
}  
87 4cce112d Andreas Kohlbecker
88
.region-navigation {
89
}
90
91
/*
92
 * Main menu and Secondary menu links
93
 */
94
95
#main-menu {
96 1dc9554f Andreas Kohlbecker
    padding: ($zen-gutter-width / 8) 0; 
97 4b02c7e4 Andreas Kohlbecker
    padding-left: 93px - $zen-gutter-width; // width of logo image
98
    background-color: $menu-bar-background-color;
99 1dc9554f Andreas Kohlbecker
    display: block;
100 4b02c7e4 Andreas Kohlbecker
    font-size: $menu-bar-font-size;
101
    a:link,
102
    a:visited {
103
      color: $menu-bar-text-color;
104
      text-decoration: none;
105
    }
106
107
    a:hover,
108
    a:focus {
109
      text-decoration: underline;
110
    }
111 4cce112d Andreas Kohlbecker
}
112
113
#secondary-menu {
114
  float: right; /* LTR */
115
}
116
117
/*
118
 * Menu blocks
119
 */
120
121
.block-menu {
122
}
123
124
/*
125
 * "Menu block" blocks
126
 *
127
 * Drupal core has limited ways in which it can display its menus. To get around
128
 * these limitations, see http://drupal.org/project/menu_block
129
 */
130
131
.block-menu-block {
132
}