Project

General

Profile

Download (2.49 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
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

    
51
  .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
    text-align: left; /* LTR */
65

    
66
    li { /* A simple method to get navigation links to appear in one line. */
67
      float: left; /* LTR */
68
      line-height: $menu-bar-line-height;
69
      padding: 0 $zen-gutter-width;
70
      list-style-type: none;
71
      list-style-image: none;
72
      border-left: 1px solid $menu-bar-text-color;
73
      border-right: 1px solid $menu-bar-text-color;
74
      margin-left: -1px; /* collapse borders */
75
    }
76
    li.first {
77
      border-left: 0;
78
    }
79

    
80
    li.last {
81
      border-right: 0;
82
    }
83
  }
84
}  
85

    
86
.region-navigation {
87
}
88

    
89
/*
90
 * Main menu and Secondary menu links
91
 */
92

    
93
#main-menu {
94
    padding-top: $zen-gutter-width / 4; 
95
    height: $menu-bar-line-height;
96
    padding-left: 93px - $zen-gutter-width; // width of logo image
97
    background-color: $menu-bar-background-color;
98
    font-size: $menu-bar-font-size;
99
    a:link,
100
    a:visited {
101
      color: $menu-bar-text-color;
102
      text-decoration: none;
103
    }
104

    
105
    a:hover,
106
    a:focus {
107
      text-decoration: underline;
108
    }
109
}
110

    
111
#secondary-menu {
112
  float: right; /* LTR */
113
}
114

    
115
/*
116
 * Menu blocks
117
 */
118

    
119
.block-menu {
120
}
121

    
122
/*
123
 * "Menu block" blocks
124
 *
125
 * Drupal core has limited ways in which it can display its menus. To get around
126
 * these limitations, see http://drupal.org/project/menu_block
127
 */
128

    
129
.block-menu-block {
130
}
(11-11/21)