-
Notifications
You must be signed in to change notification settings - Fork 28
/
superfish-modified.less
executable file
·60 lines (51 loc) · 1.46 KB
/
superfish-modified.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// =|= Imported Styles / Frameworks etc ========================================
@import "../../../includes/mixins.less";
// =|= Block Top Menu styles ===================================================
.blocktopmenu {
.column(12);
.clearfix;
background: @primary;
a {
color: #fff;
display: block;
text-decoration: none;
padding: 10px;
&:hover {
background: @subheading;
}
}
// -|- 1st Level Menu ------------------------------------------------------
> ul {
> li {
float: left;
display: block;
border-right: darken(@primary, 10%) 1px solid;
border-left: lighten(@primary, 10%) 1px solid;
position: relative;
// -|- Display second menu, and retain hover -----------------------
&:hover {
background: @subheading;
ul {
display: block;
}
}
}
}
// -|- 2nd Level Menu ------------------------------------------------------
ul ul {
position: absolute;
display: none;
background: @heading;
li {
border-top: 1px dotted @grey;
&:first-child {
border-top: none;
}
}
}
// -|- Search bar ----------------------------------------------------------
.search {
float: right;
padding: 8px;
}
}