forked from jakiestfu/Context.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
context.bootstrap.css
71 lines (66 loc) · 1.49 KB
/
context.bootstrap.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/**
* ContextJS Styles
* For use with Twitters Bootstrap CSS
*/
.dropdown-context .nav-header{
cursor:default;
}
.dropdown-context:before, .dropdown-context-up:before {
position: absolute;
top: -7px;
left: 9px;
display: inline-block;
border-right: 7px solid transparent;
border-bottom: 7px solid #ccc;
border-left: 7px solid transparent;
border-bottom-color: rgba(0, 0, 0, 0.2);
content: '';
}
.dropdown-context:after, .dropdown-context-up:after{
position: absolute;
top: -6px;
left: 10px;
display: inline-block;
border-right: 6px solid transparent;
border-bottom: 6px solid #ffffff;
border-left: 6px solid transparent;
content: '';
}
.dropdown-context-up:before, .dropdown-context-up:after{
top:auto;
bottom:-7px;
z-index:9999;
}
.dropdown-context-up:before{
border-right: 7px solid transparent;
border-top: 7px solid #ccc;
border-bottom:none;
border-left: 7px solid transparent;
}
.dropdown-context-up:after{
border-right: 6px solid transparent;
border-top: 6px solid #ffffff;
border-left: 6px solid transparent;
border-bottom:none;
}
.dropdown-context-sub:before, .dropdown-context-sub:after{
display:none;
}
.dropdown-context .dropdown-submenu:hover .dropdown-menu {
display: none;
}
.dropdown-context .dropdown-submenu:hover > .dropdown-menu {
display: block;
}
.compressed-context a{
padding-left: 14px;
padding-top: 0;
padding-bottom: 0;
font-size: 13px;
}
.compressed-context .divider{
margin: 5px 1px;
}
.compressed-context .nav-header{
padding:1px 13px;
}