-
Notifications
You must be signed in to change notification settings - Fork 109
/
priority-nav-core.css
52 lines (43 loc) · 905 Bytes
/
priority-nav-core.css
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
/*
* Core styles for PriorityNav.js
* These styles are not optional and should always be included
*
* Free to use under the MIT License.
* http://twitter.com/GijsRoge
*/
.priority-nav {
white-space: nowrap;
/*
* Makes sure the menu's are inline-block so they don't take up
* the entire width of its parent. This will break the plugin.
*/
}
.priority-nav ul {
display: inline-block;
}
.priority-nav li {
display: inline-block;
}
.priority-nav-has-dropdown .priority-nav__dropdown-toggle {
position: relative;
}
.priority-nav__wrapper {
position: relative;
}
.priority-nav__dropdown {
position: absolute;
visibility: hidden;
}
.priority-nav__dropdown.show {
visibility: visible;
}
.priority-nav__dropdown-toggle {
visibility: hidden;
position: absolute;
}
.priority-nav-is-visible {
visibility: visible;
}
.priority-nav-is-hidden {
visibility: hidden;
}