Project

General

Profile

« Previous | Next » 

Revision 4b02c7e4

Added by Andreas Kohlbecker over 11 years ago

first basic css theming done

View differences:

7.x/themes/zen_dataportal/sass/navigation.scss
47 47
#navigation {
48 48
  /* overflow: hidden; */ /* Sometimes you want to prevent overlapping with main div. */
49 49

  
50

  
50 51
  .block {
51 52
    margin-bottom: 0;
52 53
  }
......
64 65

  
65 66
    li { /* A simple method to get navigation links to appear in one line. */
66 67
      float: left; /* LTR */
67
      padding: 0 10px 0 0; /* LTR */
68
      line-height: $menu-bar-line-height;
69
      padding: 0 $zen-gutter-width;
68 70
      list-style-type: none;
69 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;
70 82
    }
71 83
  }
72
}
84
}  
73 85

  
74 86
.region-navigation {
75 87
}
......
79 91
 */
80 92

  
81 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
    }
82 109
}
83 110

  
84 111
#secondary-menu {

Also available in: Unified diff