Projet

Général

Profil

Paste
Télécharger (1,25 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / mayo / css / mayo-superfish.css @ 4b706e38

1
/**
2
 * Superfish menu
3
 */
4
.sf-menu li a {
5
  /* root menu items */
6
  font-size: 0.9em;
7
  padding: 2px 8px;
8
  border: none;
9
  border-right-style: solid;
10
  border-right-width: 1px;
11
  background-color: #fef8dd;
12
  border-right-color: #e3ddb0;
13
  font-weight: normal;
14
}
15

    
16
.sf-menu a, .sf-menu a:active, .sf-menu a:visited, .sf-menu a:focus {
17
  color: #739400;
18
}
19

    
20
.sf-menu li.last a {
21
  /* last item of the root menu */
22
  border-right: none;
23
}
24

    
25
.sf-menu li.last ul li a,
26
.sf-menu li ul li a,
27
.sf-menu li ul li.last a {
28
  /* all other child menu items */
29
  border-style: solid;
30
  border-width: 1px;
31
  /* border-color is set by colors.css */
32
}
33

    
34
.sf-menu li.menuparent a {
35
  /* item with child menu - adding some spaces for arrows */
36
  padding: 2px 19px 2px 8px;
37
}
38

    
39
.sf-menu li a.sfHover,
40
.sf-menu li a:hover {
41
  background-color: #e7e3a6;
42
}
43

    
44
.sf-menu li:hover ul,
45
.sf-menu li.sfHover ul {
46
  top: 1.8em;
47
  border-top: none;
48
}
49

    
50
.sf-sub-indicator {
51
  background: url("../images/sf-arrows.png") no-repeat -10px -110px;
52
}
53

    
54
a > .sf-sub-indicator {
55
  top: 1em;
56
  /* .2em drop in arrows */
57
}
58

    
59
.sf-menu ul {
60
  -moz-border-radius: 0px;
61
  -webkit-border-radius: 0px;
62
  border-radius: 0px;
63
  border-width: 1px;
64
  border-style: solid;
65
  border-color: #e3ddb0;
66
  /* add border around the child menu block */
67
}