forked from SHEFOO10/numera
-
Notifications
You must be signed in to change notification settings - Fork 0
/
navbar.css
192 lines (174 loc) · 3.21 KB
/
navbar.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
.navbar
{
display: block;
position: fixed;
top: 0px;
background-color: rgba(239, 233, 221, 1);
z-index: 999;
width: 100%;
height: 80px;
margin-bottom: 10px;
}
.navbar-brand{
margin: 0;
}
.offcanvas{
max-width: 75%;
}
.navbar .nav {
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
width: 430px;
padding: 8px 22px 0px;
}
.navbar .nav #logo
{
width: 112px;
height: 56px;
position: relative;
}
.navbar .nav .menu{
background-color: transparent;
border: none;
}
.navbar .nav #menu {
position: relative;
}
.navbar .menuParts {
display: flex;
flex-direction: column;
gap: 8px;
padding: 10px;
border-radius: 5px;
background-color: white;
width: 150px;
direction: rtl;
position: absolute;
top: 92%;
left: 50%;
transition: 0.3s;
opacity: 1;
width: 90%;
transform: translateX(-50%);
}
.navbar .menuParts .navLink{
font-size: 12px;
color: #6C6D6F;
text-decoration: none;
text-align: start ;
font-family: expofont;
font-weight: 600;
}
.navbar .menuParts.none{
opacity: 0;
height: 0%;
padding: 0;
}
.navbar-toggler {
border: 0 !important;
}
.topNav {
top: 0;
position: absolute;
overflow: hidden;
z-index: -1;
}
.topleft {
left: 0;
}
.topRight {
right: 0;
}
.toggler-icon {
width: 30px;
height: 3px;
background-color: #e6ae08;
display: block;
transition: all 0.2s;
}
/* Adds Space between the lines */
.middle-bar {
margin: 5px auto;
}
/* State when navbar is opened (START) */
.navbar-toggler .top-bar {
transform: rotate(45deg);
transform-origin: 10% 10%;
}
.navbar-toggler .middle-bar {
opacity: 0;
filter: alpha(opacity=0);
}
.navbar-toggler .bottom-bar {
transform: rotate(-45deg);
transform-origin: 10% 90%;
}
/* State when navbar is opened (END) */
/* State when navbar is collapsed (START) */
.navbar-toggler.collapsed .top-bar {
transform: rotate(0);
}
.navbar-toggler:focus {
box-shadow: none;
border: none !important;
}
.navbar-toggler.collapsed .middle-bar {
opacity: 1;
filter: alpha(opacity=100);
}
.navbar-toggler.collapsed .bottom-bar {
transform: rotate(0);
}
/* State when navbar is collapsed (END) */
/* Color of Toggler when collapsed */
.navbar-toggler.collapsed .toggler-icon {
background-color: #1b2541;
}
.navbar-collapse {
align-items: center;
}
.acountImg{
width:36px ;
height: 36px;
}
.acountImg{
width: 100%;
height: 100%;
object-fit: cover;
}
.navbar-toggler2 {
display: flex;
align-items: center;
gap: 8px;
}
.navbar ul {
padding: 20px 30px;
gap: 18px;
align-items: center;
}
.navbar ul li{}
.navbar ul li a{
font-size: 14px;
color: #6C6D6F;
text-decoration: none;
text-align: start ;
font-family: expofont;
font-weight: 600;
transition: 0.3s;
}
.navbar ul li a:hover{
color: #e5ae08;
}
.navbar ul li a.btnPage1{
color: #e5ae08;
padding: 4px 8px;
background-color: #192540de;
}
@media (max-width: 992px){
.navbar ul {
align-items: flex-start;
gap: 10px;
}
}