This repository has been archived by the owner on Sep 29, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Nav.css
126 lines (105 loc) 路 2.41 KB
/
Nav.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
.nav {
display: flex;
flex-wrap: wrap;
padding-left: 0;
list-style: none;
}
.navbar-nav {
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
flex-wrap: wrap;
padding-left: 0;
list-style: none;
margin: 0;
}
.navbar-nav .nav-link,
.navbar-nav .dropdown-toggle,
.navbar-nav .breadcrumb {
line-height: 70px;
padding-top: 0 !important;
padding-bottom: 0 !important;
}
.navbar-nav .breadcrumbs {
margin-bottom: 0 !important;
}
.navbar-nav .dropdown-menu {
position: static;
float: none;
}
.nav-tabs {
border-bottom: 1px solid var(--misty, lightgray);
}
.nav-tabs .nav-item {
margin-bottom: -1px;
}
.nav-tabs .nav-link {
border-bottom: 2px solid transparent;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:active {
border-color: var(--day, blue);
}
.nav-vertical {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
flex-direction: column;
}
.nav-vertical.nav-tabs {
border-bottom: none;
}
.nav-vertical.nav-tabs .nav-link {
border-bottom: none;
border-left: 2px solid transparent;
}
.nav-vertical.nav-tabs .nav-link.active,
.nav-vertical.nav-tabs .nav-link:active {
border-left: 2px solid var(--day, blue);
}
.nav-justified .nav-item {
-ms-flex-preferred-size: 0;
flex-basis: 0;
-webkit-box-flex: 1;
-ms-flex-positive: 1;
flex-grow: 1;
text-align: center;
}
.nav-collapsed {
display: none;
}
.nav-horizontal-left {
-webkit-box-pack: start !important;
-ms-flex-pack: start !important;
justify-content: flex-start !important;
padding-left: 0;
}
.nav-horizontal-center {
-webkit-box-pack: center !important;
-ms-flex-pack: center !important;
justify-content: center !important;
margin-left: auto;
margin-right: auto;
}
.nav-horizontal-right {
-webkit-box-pack: end !important;
-ms-flex-pack: end !important;
justify-content: flex-end !important;
margin-left: auto;
padding-right: 0;
}
.navbar-nav.nav-horizontal-center {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
.nav-horizontal-left:not(.nav-vertical) .nav-item:first-child > .nav-link,
.nav-horizontal-left:not(.nav-vertical) .dropdown:first-child > .dropdown-toggle {
padding-left: 0;
}
.nav-horizontal-right:not(.nav-vertical) .nav-item:last-child > .nav-link,
.nav-horizontal-right:not(.nav-vertical) .dropdown:last-child > .dropdown-toggle {
padding-right: 0;
}