Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 207 | espaco | 1 | .layout-topbar{ |
| 2 | position: fixed; |
||
| 3 | top: 0; |
||
| 4 | z-index: 999; |
||
| 5 | width: 100%; |
||
| 6 | @include transition(width $transitionDuration); |
||
| 7 | height: 56px; |
||
| 8 | |||
| 9 | .layout-topbar-wrapper { |
||
| 10 | height: 100%; |
||
| 11 | @include flex(); |
||
| 12 | @include flex-align-center(); |
||
| 13 | |||
| 14 | .layout-topbar-left { |
||
| 15 | height: 100%; |
||
| 16 | width: 240px; |
||
| 17 | padding: 11px 14px 13px; |
||
| 18 | @include flex(); |
||
| 19 | @include flex-align-center(); |
||
| 20 | |||
| 21 | .layout-topbar-logo { |
||
| 22 | >img { |
||
| 23 | height: 32px; |
||
| 24 | } |
||
| 25 | } |
||
| 26 | } |
||
| 27 | |||
| 28 | .layout-topbar-right { |
||
| 29 | height: 100%; |
||
| 30 | flex-grow: 1; |
||
| 31 | padding: 10px 32px 10px 12px; |
||
| 32 | @include flex(); |
||
| 33 | @include flex-align-center(); |
||
| 34 | @include flex-justify-between(); |
||
| 35 | border-right: solid 1px transparent; |
||
| 36 | |||
| 37 | .menu-button { |
||
| 38 | @include flex(); |
||
| 39 | @include flex-align-center(); |
||
| 40 | @include flex-justify-center(); |
||
| 41 | @include border-radius(50%); |
||
| 42 | z-index: 999; |
||
| 43 | width: 36px; |
||
| 44 | height: 36px; |
||
| 45 | |||
| 46 | > i { |
||
| 47 | font-size: 18px; |
||
| 48 | } |
||
| 49 | } |
||
| 50 | |||
| 51 | .layout-topbar-actions { |
||
| 52 | @include flex(); |
||
| 53 | @include flex-align-center(); |
||
| 54 | @include flex-justify-end(); |
||
| 55 | flex-grow: 1; |
||
| 56 | list-style-type: none; |
||
| 57 | margin: 0; |
||
| 58 | padding: 0; |
||
| 59 | height: 100%; |
||
| 60 | |||
| 61 | > li { |
||
| 62 | position: relative; |
||
| 63 | @include flex-center(); |
||
| 64 | height: 100%; |
||
| 65 | |||
| 66 | > a { |
||
| 67 | padding: 10px 10px 7px; |
||
| 68 | margin: 0 6px; |
||
| 69 | @include border-radius(10px); |
||
| 70 | |||
| 71 | >.topbar-icon { |
||
| 72 | i { |
||
| 73 | font-size: 18px; |
||
| 74 | } |
||
| 75 | |||
| 76 | .ui-badge { |
||
| 77 | padding: 0; |
||
| 78 | height: 14px; |
||
| 79 | width: 14px; |
||
| 80 | min-width: 14px; |
||
| 81 | font-size: 10px; |
||
| 82 | line-height: 14px; |
||
| 83 | top: -2px; |
||
| 84 | right: -2px; |
||
| 85 | } |
||
| 86 | |||
| 87 | } |
||
| 88 | |||
| 89 | &.layout-rightpanel-button { |
||
| 90 | i{ |
||
| 91 | @include transition(transform $transitionDuration); |
||
| 92 | } |
||
| 93 | } |
||
| 94 | } |
||
| 95 | |||
| 96 | > ul { |
||
| 97 | display: none; |
||
| 98 | position: absolute; |
||
| 99 | top: 46px; |
||
| 100 | right: 0px; |
||
| 101 | list-style-type: none; |
||
| 102 | margin: 0; |
||
| 103 | padding:0; |
||
| 104 | z-index: 1000; |
||
| 105 | min-width: 260px; |
||
| 106 | animation-duration: $transitionDuration; |
||
| 107 | |||
| 108 | .layout-submenu-header { |
||
| 109 | padding: 12px; |
||
| 110 | @include flex(); |
||
| 111 | @include flex-align-center(); |
||
| 112 | @include flex-justify-between(); |
||
| 113 | |||
| 114 | h6 { |
||
| 115 | font-weight: 600; |
||
| 116 | margin: 0; |
||
| 117 | margin-left: 4px; |
||
| 118 | } |
||
| 119 | } |
||
| 120 | |||
| 121 | .angle-icon { |
||
| 122 | @include flex(); |
||
| 123 | @include flex-justify-end(); |
||
| 124 | flex-grow: 1; |
||
| 125 | } |
||
| 126 | |||
| 127 | > li { |
||
| 128 | padding:7px 12px; |
||
| 129 | margin-bottom: 6px; |
||
| 130 | @include flex(); |
||
| 131 | @include flex-align-center(); |
||
| 132 | cursor: pointer; |
||
| 133 | |||
| 134 | > a { |
||
| 135 | @include flex(); |
||
| 136 | @include flex-align-center(); |
||
| 137 | width: 100%; |
||
| 138 | h6 { |
||
| 139 | margin: 0; |
||
| 140 | |||
| 141 | > span { |
||
| 142 | font-size: 14px; |
||
| 143 | font-weight: 600; |
||
| 144 | } |
||
| 145 | } |
||
| 146 | |||
| 147 | > div { |
||
| 148 | > span { |
||
| 149 | font-size: 12px; |
||
| 150 | |||
| 151 | > span { |
||
| 152 | font-weight: 600; |
||
| 153 | } |
||
| 154 | } |
||
| 155 | } |
||
| 156 | |||
| 157 | > img { |
||
| 158 | width: 28px; |
||
| 159 | height: 28px; |
||
| 160 | margin-right: 6px; |
||
| 161 | } |
||
| 162 | |||
| 163 | > i { |
||
| 164 | width: 28px; |
||
| 165 | height: 28px; |
||
| 166 | margin-right: 6px; |
||
| 167 | @include border-radius(50%); |
||
| 168 | @include flex(); |
||
| 169 | @include flex-align-center(); |
||
| 170 | @include flex-justify-center(); |
||
| 171 | font-size: 16px; |
||
| 172 | } |
||
| 173 | |||
| 174 | > .ui-inputswitch { |
||
| 175 | margin-right: 6px; |
||
| 176 | } |
||
| 177 | } |
||
| 178 | } |
||
| 179 | } |
||
| 180 | |||
| 181 | &.search-item { |
||
| 182 | margin: 0 12px; |
||
| 183 | > a { |
||
| 184 | display: none; |
||
| 185 | } |
||
| 186 | form { |
||
| 187 | > .search-input-wrapper { |
||
| 188 | position: relative; |
||
| 189 | |||
| 190 | input { |
||
| 191 | @include border-radius(18px); |
||
| 192 | border: none; |
||
| 193 | width: 200px; |
||
| 194 | padding: 8px 8px 8px 30px; |
||
| 195 | } |
||
| 196 | |||
| 197 | i { |
||
| 198 | position: absolute; |
||
| 199 | left: 9px; |
||
| 200 | top: 2px; |
||
| 201 | font-size: 14px; |
||
| 202 | } |
||
| 203 | } |
||
| 204 | |||
| 205 | } |
||
| 206 | ul { |
||
| 207 | > form { |
||
| 208 | > .search-input-wrapper { |
||
| 209 | input { |
||
| 210 | @include border-radius(0); |
||
| 211 | width: 100%; |
||
| 212 | } |
||
| 213 | } |
||
| 214 | |||
| 215 | } |
||
| 216 | } |
||
| 217 | } |
||
| 218 | |||
| 219 | &.user-profile { |
||
| 220 | > a { |
||
| 221 | @include flex(); |
||
| 222 | margin: 0 6px; |
||
| 223 | padding: 10px; |
||
| 224 | |||
| 225 | > img { |
||
| 226 | width: 32px; |
||
| 227 | height: 32px; |
||
| 228 | } |
||
| 229 | |||
| 230 | .profile-info { |
||
| 231 | margin-left: 7px; |
||
| 232 | |||
| 233 | h6 { |
||
| 234 | font-weight: 600; |
||
| 235 | margin: 0; |
||
| 236 | } |
||
| 237 | |||
| 238 | span { |
||
| 239 | display: block; |
||
| 240 | font-size: 12px; |
||
| 241 | font-weight: normal; |
||
| 242 | } |
||
| 243 | } |
||
| 244 | } |
||
| 245 | > ul { |
||
| 246 | > hr { |
||
| 247 | margin: 2px 8px; |
||
| 248 | } |
||
| 249 | .layout-submenu-header { |
||
| 250 | padding: 12px 16px; |
||
| 251 | @include flex(); |
||
| 252 | @include flex-align-center(); |
||
| 253 | @include flex-justify-start(); |
||
| 254 | |||
| 255 | img { |
||
| 256 | width: 36px; |
||
| 257 | height: 36px; |
||
| 258 | margin-right: 6px; |
||
| 259 | } |
||
| 260 | .profile-info { |
||
| 261 | margin-left: 7px; |
||
| 262 | |||
| 263 | h6 { |
||
| 264 | font-weight: 600; |
||
| 265 | margin: 0; |
||
| 266 | } |
||
| 267 | |||
| 268 | span { |
||
| 269 | display: block; |
||
| 270 | font-size: 11px; |
||
| 271 | font-weight: normal; |
||
| 272 | } |
||
| 273 | } |
||
| 274 | } |
||
| 275 | |||
| 276 | > li { |
||
| 277 | > a { |
||
| 278 | > i { |
||
| 279 | font-size: 16px; |
||
| 280 | margin-right: 10px; |
||
| 281 | } |
||
| 282 | } |
||
| 283 | |||
| 284 | } |
||
| 285 | } |
||
| 286 | } |
||
| 287 | |||
| 288 | &.active-topmenuitem { |
||
| 289 | > ul { |
||
| 290 | display: block; |
||
| 291 | } |
||
| 292 | } |
||
| 293 | } |
||
| 294 | } |
||
| 295 | |||
| 296 | .layout-rightpanel-button { |
||
| 297 | @include flex(); |
||
| 298 | @include flex-align-center(); |
||
| 299 | @include flex-justify-center(); |
||
| 300 | @include border-radius(50%); |
||
| 301 | z-index: 999; |
||
| 302 | width: 36px; |
||
| 303 | height: 36px; |
||
| 304 | |||
| 305 | > i { |
||
| 306 | font-size: 18px; |
||
| 307 | } |
||
| 308 | } |
||
| 309 | } |
||
| 310 | } |
||
| 311 | } |
||
| 312 | |||
| 313 | @media (max-width: 992px) { |
||
| 314 | .layout-topbar { |
||
| 315 | height: 104px; |
||
| 316 | |||
| 317 | .layout-topbar-wrapper { |
||
| 318 | @include flex-align-start(); |
||
| 319 | flex-direction: column; |
||
| 320 | position: relative; |
||
| 321 | |||
| 322 | .layout-topbar-left { |
||
| 323 | width: 100%; |
||
| 324 | height: 56px; |
||
| 325 | margin-left: 0; |
||
| 326 | @include flex-center(); |
||
| 327 | } |
||
| 328 | |||
| 329 | .layout-topbar-right { |
||
| 330 | height: 48px; |
||
| 331 | width: 100%; |
||
| 332 | padding: 0; |
||
| 333 | |||
| 334 | .menu-button { |
||
| 335 | position: absolute; |
||
| 336 | top: 10px; |
||
| 337 | left: 16px; |
||
| 338 | margin: 0; |
||
| 339 | } |
||
| 340 | |||
| 341 | .layout-topbar-actions { |
||
| 342 | width: 100%; |
||
| 343 | @include flex-justify-start(); |
||
| 344 | padding:0 16px; |
||
| 345 | |||
| 346 | > .topbar-item { |
||
| 347 | margin: 0; |
||
| 348 | width: 100%; |
||
| 349 | |||
| 350 | &.search-item { |
||
| 351 | margin: 0; |
||
| 352 | > form { |
||
| 353 | display: none; |
||
| 354 | } |
||
| 355 | > a { |
||
| 356 | display: flex; |
||
| 357 | } |
||
| 358 | } |
||
| 359 | |||
| 360 | > a { |
||
| 361 | margin: 0; |
||
| 362 | } |
||
| 363 | |||
| 364 | > ul { |
||
| 365 | top: 104px; |
||
| 366 | width: 90%; |
||
| 367 | left: 5%; |
||
| 368 | position: fixed; |
||
| 369 | } |
||
| 370 | |||
| 371 | &.user-profile { |
||
| 372 | position: absolute; |
||
| 373 | top: 1px; |
||
| 374 | right: 8px; |
||
| 375 | height: auto; |
||
| 376 | width: auto; |
||
| 377 | |||
| 378 | a { |
||
| 379 | margin: 0; |
||
| 380 | .profile-info { |
||
| 381 | display: none; |
||
| 382 | } |
||
| 383 | } |
||
| 384 | } |
||
| 385 | } |
||
| 386 | } |
||
| 387 | |||
| 388 | .layout-rightpanel-button { |
||
| 389 | margin-right: 16px; |
||
| 390 | } |
||
| 391 | } |
||
| 392 | } |
||
| 393 | } |
||
| 394 | |||
| 395 | } |