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:
3.9 KB
|
Line | |
---|
1 | .header {
|
---|
2 | background-color: white;
|
---|
3 | z-index: 999;
|
---|
4 | display: flex;
|
---|
5 | height: $header-height;
|
---|
6 | box-shadow: 0px 5px 10px -10px rgba(0, 0, 0, 0.40);
|
---|
7 | position: fixed;
|
---|
8 | right: 0;
|
---|
9 | left: 0;
|
---|
10 | top: 0;
|
---|
11 |
|
---|
12 | .avatar {
|
---|
13 | border-color: transparent;
|
---|
14 |
|
---|
15 | &.avatar-state-success {
|
---|
16 | &:before {
|
---|
17 | border-color: $color-primary
|
---|
18 | }
|
---|
19 | }
|
---|
20 | }
|
---|
21 |
|
---|
22 | .header-left {
|
---|
23 | width: $navigation-width;
|
---|
24 | padding-left: 30px;
|
---|
25 | display: flex;
|
---|
26 | align-items: center;
|
---|
27 |
|
---|
28 | .navigation-toggler {
|
---|
29 | display: none;
|
---|
30 | margin-right: 15px;
|
---|
31 |
|
---|
32 | a {
|
---|
33 | display: flex;
|
---|
34 | align-items: center;
|
---|
35 | justify-content: center;
|
---|
36 |
|
---|
37 | svg {
|
---|
38 | height: 30px;
|
---|
39 | width: 30px;
|
---|
40 | }
|
---|
41 | }
|
---|
42 | }
|
---|
43 | }
|
---|
44 |
|
---|
45 | .header-logo {
|
---|
46 | a {
|
---|
47 | height: $header-height;
|
---|
48 | display: flex;
|
---|
49 | align-items: center;
|
---|
50 |
|
---|
51 | img:not(.logo) {
|
---|
52 | display: none;
|
---|
53 | }
|
---|
54 | }
|
---|
55 | }
|
---|
56 |
|
---|
57 | .header-body {
|
---|
58 | padding: 0 30px;
|
---|
59 | position: relative;
|
---|
60 |
|
---|
61 | .page-title {
|
---|
62 | h1, h2, h3, h4, h5, h6 {
|
---|
63 | margin-bottom: 0;
|
---|
64 | line-height: inherit;
|
---|
65 | }
|
---|
66 | }
|
---|
67 |
|
---|
68 | display: flex;
|
---|
69 | align-items: center;
|
---|
70 | flex: auto;
|
---|
71 | justify-content: space-between;
|
---|
72 | }
|
---|
73 |
|
---|
74 | form {
|
---|
75 | .input-group {
|
---|
76 | position: relative;
|
---|
77 |
|
---|
78 | .form-control {
|
---|
79 | border: none;
|
---|
80 | background-color: rgba(white, .1);
|
---|
81 |
|
---|
82 | &:focus {
|
---|
83 | background-color: rgba(white, .2);
|
---|
84 | }
|
---|
85 | }
|
---|
86 |
|
---|
87 | .input-group-append {
|
---|
88 | position: absolute;
|
---|
89 | right: 0;
|
---|
90 |
|
---|
91 | button.btn {
|
---|
92 | position: relative;
|
---|
93 | z-index: 9;
|
---|
94 | border-top-right-radius: 5px;
|
---|
95 | border-bottom-right-radius: 5px;
|
---|
96 | background-color: inherit;
|
---|
97 | border: none;
|
---|
98 | @extend a;
|
---|
99 |
|
---|
100 | &:hover {
|
---|
101 | opacity: .7;
|
---|
102 | }
|
---|
103 |
|
---|
104 | &:focus, &:active, &:hover {
|
---|
105 | background-color: inherit;
|
---|
106 | box-shadow: none !important;
|
---|
107 | }
|
---|
108 | }
|
---|
109 | }
|
---|
110 | }
|
---|
111 | }
|
---|
112 |
|
---|
113 | .header-toggler {
|
---|
114 | display: none;
|
---|
115 | }
|
---|
116 |
|
---|
117 | [data-toggle="fullscreen"] {
|
---|
118 | .minimize {
|
---|
119 | display: none;
|
---|
120 | }
|
---|
121 | }
|
---|
122 |
|
---|
123 | .active-fullscreen {
|
---|
124 | .minimize {
|
---|
125 | display: block;
|
---|
126 | }
|
---|
127 |
|
---|
128 | .maximize {
|
---|
129 | display: none;
|
---|
130 | }
|
---|
131 | }
|
---|
132 |
|
---|
133 | ul.navbar-nav {
|
---|
134 | flex-direction: row;
|
---|
135 | align-items: center;
|
---|
136 |
|
---|
137 | li.nav-item {
|
---|
138 |
|
---|
139 |
|
---|
140 | a.nav-link {
|
---|
141 | line-height: 100%;
|
---|
142 | padding: 10px 15px;
|
---|
143 | display: flex;
|
---|
144 | align-items: center;
|
---|
145 | justify-content: center;
|
---|
146 |
|
---|
147 | &.nav-link-notify {
|
---|
148 | position: relative;
|
---|
149 |
|
---|
150 | &:before {
|
---|
151 | content: '';
|
---|
152 | position: absolute;
|
---|
153 | width: 6px;
|
---|
154 | height: 6px;
|
---|
155 | right: 0;
|
---|
156 | border-radius: 50%;
|
---|
157 | top: 3px;
|
---|
158 | background: $color-danger;
|
---|
159 | -webkit-animation: notify-pulse 1s infinite
|
---|
160 | }
|
---|
161 | }
|
---|
162 |
|
---|
163 | &:hover, &:focus {
|
---|
164 | outline: none;
|
---|
165 | }
|
---|
166 | }
|
---|
167 | }
|
---|
168 |
|
---|
169 | & + form.search {
|
---|
170 | margin-left: 1.5rem;
|
---|
171 | }
|
---|
172 | }
|
---|
173 |
|
---|
174 | .dropdown-menu {
|
---|
175 | position: absolute;
|
---|
176 | }
|
---|
177 | }
|
---|
178 |
|
---|
179 | @keyframes notify-pulse {
|
---|
180 | 0% {
|
---|
181 | box-shadow: 0 0 0 0px rgba($color-danger, .7);
|
---|
182 | }
|
---|
183 | 100% {
|
---|
184 | box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
|
---|
185 | }
|
---|
186 | }
|
---|
187 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.