Projet

Général

Profil

Paste
Télécharger (2,94 ko) Statistiques
| Branche: | Révision:

root / htmltest / sites / all / libraries / Superfish-for-Drupal-1.x / style / SAMPLES / STYLE_DIRECTORY.txt @ 4543c6c7

1
/*
2
 * Sample CSS for adding new styles to the /style directory of the Superfish library.
3
 * 
4
 * Instructions:
5
 *
6
 * 1. Replace the STYLENAME (below) with the name of the new style.
7
 *    For example, if the style name is drupal, the class will be sf-style-drupal .
8
 *
9
 * 2. Save the file as CSS with the style name as its name.
10
 *    For example, if the style name is drupal the file will be drupal.css and therefore
11
 *    libraries/superfish/style/drupal.css.
12
 *
13
 * 3. That's it! go to the block conifguration, use the new style, make sure everything is right :)
14
 *
15
 */
16

    
17
.sf-menu.sf-style-STYLENAME {
18
  float: left;
19
  margin: 0;
20
  padding: 0;
21
}
22
.sf-menu.sf-style-STYLENAME.sf-navbar {
23
  width: 100%;
24
}
25
.sf-menu.sf-style-STYLENAME ul {
26
  padding-left: 0;
27
}
28
.sf-menu.sf-style-STYLENAME a  {
29
  color: #0000ff;
30
  padding: 0.75em 1em;
31
}
32
.sf-menu.sf-style-STYLENAME a.sf-with-ul {
33
  padding-right: 2.25em;
34
}
35
.sf-menu.sf-style-STYLENAME.rtl a.sf-with-ul {
36
  padding-left: 2.25em;
37
  padding-right: 1em;
38
}
39
.sf-menu.sf-style-STYLENAME span.sf-description {
40
  color: #0000ff;
41
  display: block;
42
  font-size: 0.8em;
43
  line-height: 1.5em;
44
  margin: 5px 0 0 5px;
45
  padding: 0;
46
}
47
.sf-menu.sf-style-STYLENAME li,
48
.sf-menu.sf-style-STYLENAME.sf-navbar {
49
  background: #f0f0f0;
50
}
51
.sf-menu.sf-style-STYLENAME li li {
52
  background: #e0e0e0;
53
}
54
.sf-menu.sf-style-STYLENAME li li li {
55
  background: #d0d0d0;
56
}
57
.sf-menu.sf-style-STYLENAME li:hover,
58
.sf-menu.sf-style-STYLENAME li.sfHover,
59
.sf-menu.sf-style-STYLENAME a:focus,
60
.sf-menu.sf-style-STYLENAME a:hover,
61
.sf-menu.sf-style-STYLENAME a:active {
62
  background: #c0c0c0;
63
  outline: 0;
64
}
65
.sf-menu.sf-style-STYLENAME ul.sf-megamenu li.sf-megamenu-wrapper ol,
66
.sf-menu.sf-style-STYLENAME ul.sf-megamenu li.sf-megamenu-wrapper ol li {
67
  margin: 0;
68
  padding: 0;
69
}
70
.sf-menu.sf-style-STYLENAME ul.sf-megamenu li.sf-megamenu-wrapper a.menuparent {
71
  font-weight: bold;
72
}
73
.sf-menu.sf-style-STYLENAME ul.sf-megamenu li.sf-megamenu-wrapper ol li.sf-megamenu-column {
74
  display: inline;
75
  float: left;
76
  width: 12em;
77
}
78
.sf-menu.sf-style-STYLENAME.rtl ul.sf-megamenu li.sf-megamenu-wrapper ol li.sf-megamenu-column {
79
  float: right;
80
}
81
.sf-menu.sf-style-STYLENAME li.sf-parent-children-1 ul.sf-megamenu {
82
  width: 12em;
83
}
84
.sf-menu.sf-style-STYLENAME li.sf-parent-children-2 ul.sf-megamenu {
85
  width: 24em;
86
}
87
.sf-menu.sf-style-STYLENAME li.sf-parent-children-3 ul.sf-megamenu {
88
  width: 36em;
89
}
90
.sf-menu.sf-style-STYLENAME li.sf-parent-children-4 ul.sf-megamenu {
91
  width: 48em;
92
}
93
.sf-menu.sf-style-STYLENAME li.sf-parent-children-5 ul.sf-megamenu {
94
  width: 60em;
95
}
96
.sf-menu.sf-style-STYLENAME li.sf-parent-children-6 ul.sf-megamenu {
97
  width: 72em;
98
}
99
.sf-menu.sf-style-STYLENAME li.sf-parent-children-7 ul.sf-megamenu {
100
  width: 84em;
101
}
102
.sf-menu.sf-style-STYLENAME li.sf-parent-children-8 ul.sf-megamenu {
103
  width: 96em;
104
}
105
.sf-menu.sf-style-STYLENAME li.sf-parent-children-9 ul.sf-megamenu {
106
  width: 108em;
107
}
108
.sf-menu.sf-style-STYLENAME li.sf-parent-children-10 ul.sf-megamenu {
109
  width: 120em;
110
}