develop
Last change
on this file since 582789f was 7304c7f, checked in by beratkjufliju <kufliju@…>, 3 years ago |
added user authentication, create & forgot password methods and blades
|
-
Property mode
set to
100644
|
File size:
5.1 KB
|
Line | |
---|
1 | .navigation {
|
---|
2 | background-color: white;
|
---|
3 | z-index: 998;
|
---|
4 | width: $navigation-width;
|
---|
5 | box-shadow: 0 4px 25px 0 rgba(0,0,0,.1);
|
---|
6 | position: fixed;
|
---|
7 | display: flex;
|
---|
8 | flex-direction: row;
|
---|
9 | left: 0;
|
---|
10 | bottom:0;
|
---|
11 | top: $header-height;
|
---|
12 |
|
---|
13 | .navigation-menu-tab {
|
---|
14 | border-right: 1px solid $border-style-color;
|
---|
15 | width: $navigation-tab-width;
|
---|
16 | display: flex;
|
---|
17 | flex-direction: column;
|
---|
18 | margin-right: 0;
|
---|
19 | padding: 10px;
|
---|
20 |
|
---|
21 | .avatar {
|
---|
22 | border: none;
|
---|
23 | }
|
---|
24 |
|
---|
25 | ul {
|
---|
26 | li {
|
---|
27 | margin-bottom: 5px;
|
---|
28 |
|
---|
29 | a {
|
---|
30 | display: flex;
|
---|
31 | height: 50px;
|
---|
32 | justify-content: center;
|
---|
33 | align-items: center;
|
---|
34 | border-radius: $default-border-radius;
|
---|
35 | transition: all .3s;
|
---|
36 |
|
---|
37 | &:hover {
|
---|
38 | color: $color-primary
|
---|
39 | }
|
---|
40 |
|
---|
41 | &.active {
|
---|
42 | color: white;
|
---|
43 | background-color: $color-primary;
|
---|
44 | box-shadow: 0px 5px 20px -14px $color-primary;
|
---|
45 | }
|
---|
46 |
|
---|
47 | svg {
|
---|
48 | width: 23px;
|
---|
49 | height: 23px;
|
---|
50 | }
|
---|
51 | }
|
---|
52 | }
|
---|
53 | }
|
---|
54 | }
|
---|
55 |
|
---|
56 | .navigation-menu-body {
|
---|
57 | flex: 1;
|
---|
58 | display: flex;
|
---|
59 | flex-direction: column;
|
---|
60 | overflow: auto;
|
---|
61 |
|
---|
62 | .navigation-menu-group {
|
---|
63 |
|
---|
64 | & > div {
|
---|
65 | display: none;
|
---|
66 |
|
---|
67 | &.open {
|
---|
68 | display: block;
|
---|
69 | }
|
---|
70 | }
|
---|
71 | }
|
---|
72 |
|
---|
73 | ul {
|
---|
74 | li {
|
---|
75 |
|
---|
76 | &.navigation-divider {
|
---|
77 | padding: 10px 30px;
|
---|
78 | text-transform: uppercase;
|
---|
79 | font-size: 12px;
|
---|
80 | letter-spacing: .5px;
|
---|
81 | margin-top: 10px;
|
---|
82 | margin-bottom: 10px;
|
---|
83 | color: #a7abc3;
|
---|
84 | }
|
---|
85 |
|
---|
86 | & > a {
|
---|
87 | display: flex;
|
---|
88 | align-items: center;
|
---|
89 | padding: 10px 30px;
|
---|
90 | color: #505050;
|
---|
91 | font-size: 14px;
|
---|
92 | transition: all .3s;
|
---|
93 |
|
---|
94 | .nav-link-icon {
|
---|
95 | margin-right: .8rem;
|
---|
96 | stroke: rgba(black, .3);
|
---|
97 | transition: stroke .3s;
|
---|
98 | width: 20px;
|
---|
99 | height: 20px;
|
---|
100 | }
|
---|
101 |
|
---|
102 | &:hover {
|
---|
103 | color: $color-primary;
|
---|
104 |
|
---|
105 | .nav-link-icon {
|
---|
106 | stroke: $color-primary;
|
---|
107 | }
|
---|
108 | }
|
---|
109 |
|
---|
110 | &.active {
|
---|
111 | position: relative;
|
---|
112 | color: $color-primary;
|
---|
113 | font-weight: 600;
|
---|
114 | background: rgba($color-primary, .15);
|
---|
115 | border-radius: $default-border-radius;
|
---|
116 | margin: 0 1rem;
|
---|
117 |
|
---|
118 | &:before {
|
---|
119 | content: '';
|
---|
120 | // position: absolute;
|
---|
121 | display: block;
|
---|
122 | border: 6px solid transparent;
|
---|
123 | border-left-color: $color-primary;
|
---|
124 | margin-left: -12px;
|
---|
125 | margin-right: 5px;
|
---|
126 | }
|
---|
127 | }
|
---|
128 |
|
---|
129 | .sub-menu-arrow {
|
---|
130 | margin-left: auto;
|
---|
131 | font-size: 14px;
|
---|
132 | transition: transform .3s;
|
---|
133 |
|
---|
134 | &.rotate-in {
|
---|
135 | transform: rotate(540deg);
|
---|
136 | }
|
---|
137 | }
|
---|
138 |
|
---|
139 | .badge {
|
---|
140 | margin-left: auto;
|
---|
141 | padding: 3px 7px;
|
---|
142 | }
|
---|
143 |
|
---|
144 | & + ul {
|
---|
145 | display: none;
|
---|
146 |
|
---|
147 | li {
|
---|
148 | margin: 0;
|
---|
149 |
|
---|
150 | a {
|
---|
151 | padding-left: 50px;
|
---|
152 | }
|
---|
153 | }
|
---|
154 |
|
---|
155 | ul {
|
---|
156 | border-left: none;
|
---|
157 |
|
---|
158 | li {
|
---|
159 | a {
|
---|
160 | padding-left: 70px;
|
---|
161 | }
|
---|
162 | }
|
---|
163 | }
|
---|
164 | }
|
---|
165 | }
|
---|
166 |
|
---|
167 | &.open {
|
---|
168 | & > a {
|
---|
169 | color: $color-primary;
|
---|
170 | font-weight: 600;
|
---|
171 |
|
---|
172 | .nav-link-icon {
|
---|
173 | stroke: $color-primary;
|
---|
174 | }
|
---|
175 | }
|
---|
176 |
|
---|
177 | & > ul {
|
---|
178 | display: block;
|
---|
179 |
|
---|
180 | a.active {
|
---|
181 | background-color: inherit;
|
---|
182 | }
|
---|
183 | }
|
---|
184 | }
|
---|
185 | }
|
---|
186 | }
|
---|
187 | }
|
---|
188 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.