Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | /*** |
| 2 | Page Header |
||
| 3 | ***/ |
||
| 4 | |||
| 5 | .page-header.navbar { |
||
| 6 | width: 100%; |
||
| 7 | padding: 0 20px 0 20px; |
||
| 8 | margin: 0; |
||
| 9 | border: 0px; |
||
| 10 | padding: 0px; |
||
| 11 | box-shadow: none; |
||
| 12 | height: $header-height; |
||
| 13 | min-height: $header-height; |
||
| 14 | filter: none; |
||
| 15 | background-image: none; |
||
| 16 | |||
| 17 | /* Fixed header */ |
||
| 18 | &.navbar-fixed-top { |
||
| 19 | z-index: $zindex-header-fixed; |
||
| 20 | } |
||
| 21 | |||
| 22 | &.navbar-static-top { |
||
| 23 | z-index: $zindex-header-static; |
||
| 24 | } |
||
| 25 | |||
| 26 | /* Header logo */ |
||
| 27 | .page-logo { |
||
| 28 | float: left; |
||
| 29 | display: block; |
||
| 30 | width: $sidebar-logo-container-width; |
||
| 31 | height: $header-height; |
||
| 32 | padding-left: 20px; |
||
| 33 | padding-right: 20px; |
||
| 34 | |||
| 35 | .page-sidebar-closed.page-sidebar-closed-hide-logo & { |
||
| 36 | padding: 0; |
||
| 37 | } |
||
| 38 | |||
| 39 | > .logo-image, |
||
| 40 | > a { |
||
| 41 | display: inline-block; |
||
| 42 | float: left; |
||
| 43 | } |
||
| 44 | |||
| 45 | .logo-default { |
||
| 46 | margin: $header-logo-margin; |
||
| 47 | } |
||
| 48 | |||
| 49 | .logo-mini { |
||
| 50 | display: none; |
||
| 51 | margin-left: 5px; |
||
| 52 | } |
||
| 53 | |||
| 54 | .text-logo { |
||
| 55 | padding-left: 20px; |
||
| 56 | padding-top: 12px; |
||
| 57 | } |
||
| 58 | } |
||
| 59 | |||
| 60 | /* Search box */ |
||
| 61 | .search-form { |
||
| 62 | display: inline-block; |
||
| 63 | width: $header-height; |
||
| 64 | position: relative; |
||
| 65 | float: left; |
||
| 66 | transition: all 0.6s; |
||
| 67 | |||
| 68 | .input-group { |
||
| 69 | .form-control { |
||
| 70 | height: $header-height; |
||
| 71 | border: 0; |
||
| 72 | background: transparent !important; |
||
| 73 | font-size: 13px; |
||
| 74 | padding-left: 0; |
||
| 75 | margin-left: 12px; |
||
| 76 | text-indent: -150000px; |
||
| 77 | |||
| 78 | &:hover { |
||
| 79 | cursor: pointer; |
||
| 80 | } |
||
| 81 | } |
||
| 82 | |||
| 83 | .input-group-btn { |
||
| 84 | height: $header-height; |
||
| 85 | |||
| 86 | .btn.submit { |
||
| 87 | margin-left: -24px; |
||
| 88 | padding:0; |
||
| 89 | width: $header-height; |
||
| 90 | background: none; |
||
| 91 | margin-top: 4px; |
||
| 92 | display: block; |
||
| 93 | |||
| 94 | > i { |
||
| 95 | font-size: 15px; |
||
| 96 | } |
||
| 97 | } |
||
| 98 | } |
||
| 99 | } |
||
| 100 | |||
| 101 | |||
| 102 | &.open { |
||
| 103 | transition: all 0.6s; |
||
| 104 | width: 300px !important; |
||
| 105 | |||
| 106 | .input-group { |
||
| 107 | .form-control { |
||
| 108 | text-indent: 0; |
||
| 109 | |||
| 110 | &:hover { |
||
| 111 | cursor:text; |
||
| 112 | } |
||
| 113 | } |
||
| 114 | |||
| 115 | .input-group-btn { |
||
| 116 | .btn.submit { |
||
| 117 | margin-left: 0; |
||
| 118 | } |
||
| 119 | } |
||
| 120 | } |
||
| 121 | } |
||
| 122 | } |
||
| 123 | |||
| 124 | /* Menu Toggler */ |
||
| 125 | .menu-toggler { |
||
| 126 | display: block; |
||
| 127 | cursor: pointer; |
||
| 128 | opacity: 0.7; |
||
| 129 | filter: alpha(opacity=70); |
||
| 130 | width: $header-menu-toggler-width; |
||
| 131 | height: $header-menu-toggler-height; |
||
| 132 | background-repeat: no-repeat; |
||
| 133 | background-position: center center; |
||
| 134 | |||
| 135 | &:hover { |
||
| 136 | filter: alpha(opacity=100); |
||
| 137 | opacity: 1; |
||
| 138 | } |
||
| 139 | |||
| 140 | &.sidebar-toggler { |
||
| 141 | float: right; |
||
| 142 | margin: $header-sidebar-toggler-margin; |
||
| 143 | |||
| 144 | .page-sidebar-closed.page-sidebar-closed-hide-logo & { |
||
| 145 | margin-right: ($sidebar-collapsed-width - $header-menu-toggler-width ) / 2 ; |
||
| 146 | } |
||
| 147 | } |
||
| 148 | |||
| 149 | &.responsive-toggler { |
||
| 150 | display: none; |
||
| 151 | float: right; |
||
| 152 | margin: $header-responsive-toggler-margin; |
||
| 153 | } |
||
| 154 | } |
||
| 155 | |||
| 156 | /* Top menu */ |
||
| 157 | .top-menu { |
||
| 158 | margin: 0; |
||
| 159 | padding: 0; |
||
| 160 | float: right; |
||
| 161 | |||
| 162 | .navbar-nav { |
||
| 163 | padding: 0; |
||
| 164 | margin-right: 20px; |
||
| 165 | display: block; |
||
| 166 | |||
| 167 | > li.dropdown { |
||
| 168 | margin: 0px; |
||
| 169 | padding: 0px 4px; |
||
| 170 | height: $header-height; |
||
| 171 | display: inline-block; |
||
| 172 | |||
| 173 | &:last-child { |
||
| 174 | padding-right: 0px; |
||
| 175 | } |
||
| 176 | |||
| 177 | > .dropdown-toggle { |
||
| 178 | margin: 0px; |
||
| 179 | padding: $header-top-menu-general-item-padding; |
||
| 180 | |||
| 181 | &:last-child { |
||
| 182 | padding-right: 0; |
||
| 183 | } |
||
| 184 | |||
| 185 | > i { |
||
| 186 | font-size: $header-top-menu-icon-font-size; |
||
| 187 | |||
| 188 | &.glyphicon { |
||
| 189 | font-size: $header-top-menu-icon-font-size - 1; |
||
| 190 | } |
||
| 191 | } |
||
| 192 | |||
| 193 | > .badge { |
||
| 194 | font-family: $font-family-primary; |
||
| 195 | position: absolute; |
||
| 196 | top: $header-top-menu-general-item-badge-top; |
||
| 197 | right: 20px; |
||
| 198 | font-weight: 300; |
||
| 199 | padding: 3px 6px; |
||
| 200 | } |
||
| 201 | |||
| 202 | &:focus { |
||
| 203 | background: none; |
||
| 204 | } |
||
| 205 | } |
||
| 206 | |||
| 207 | .dropdown-menu { |
||
| 208 | margin-top: 3px; |
||
| 209 | |||
| 210 | @include border-radius(4px); |
||
| 211 | |||
| 212 | &:before { |
||
| 213 | position: absolute; |
||
| 214 | top: -7px; |
||
| 215 | right: 9px; |
||
| 216 | display: inline-block !important; |
||
| 217 | border-right: 7px solid transparent; |
||
| 218 | border-bottom: 7px solid #eee; |
||
| 219 | border-left: 7px solid transparent; |
||
| 220 | border-bottom-color: rgba(0, 0, 0, 0.2); |
||
| 221 | content: ''; |
||
| 222 | } |
||
| 223 | |||
| 224 | &:after { |
||
| 225 | position: absolute; |
||
| 226 | top: -6px; |
||
| 227 | right: 10px; |
||
| 228 | display: inline-block !important; |
||
| 229 | border-right: 6px solid transparent; |
||
| 230 | border-bottom: 6px solid #fff; |
||
| 231 | border-left: 6px solid transparent; |
||
| 232 | content: ''; |
||
| 233 | } |
||
| 234 | |||
| 235 | > li { |
||
| 236 | > a { |
||
| 237 | color: #555; |
||
| 238 | |||
| 239 | } |
||
| 240 | } |
||
| 241 | } |
||
| 242 | } |
||
| 243 | |||
| 244 | /* Extended Dropdowns */ |
||
| 245 | > li.dropdown-extended { |
||
| 246 | |||
| 247 | .dropdown-menu { |
||
| 248 | min-width: 160px; |
||
| 249 | max-width: 275px; |
||
| 250 | width: 275px; |
||
| 251 | z-index: $zindex-header-fixed; |
||
| 252 | |||
| 253 | > li.external { |
||
| 254 | display: block; |
||
| 255 | overflow: hidden; |
||
| 256 | padding: 15px 15px; |
||
| 257 | letter-spacing: 0.5px; |
||
| 258 | |||
| 259 | @include border-radius(4px 4px 0 0); |
||
| 260 | |||
| 261 | > h3 { |
||
| 262 | margin: 0; |
||
| 263 | padding: 0; |
||
| 264 | float: left; |
||
| 265 | font-size: 13px; |
||
| 266 | display: inline-block; |
||
| 267 | } |
||
| 268 | |||
| 269 | > a { |
||
| 270 | display: inline-block; |
||
| 271 | padding: 0; |
||
| 272 | background: none; |
||
| 273 | clear: inherit; |
||
| 274 | font-size: 13px; |
||
| 275 | font-weight: 300; |
||
| 276 | position: absolute; |
||
| 277 | right: 10px; |
||
| 278 | border: 0; |
||
| 279 | margin-top: -1px; |
||
| 280 | |||
| 281 | &:hover { |
||
| 282 | text-decoration: underline; |
||
| 283 | } |
||
| 284 | } |
||
| 285 | } |
||
| 286 | |||
| 287 | /* header notifications dropdowns */ |
||
| 288 | .dropdown-menu-list { |
||
| 289 | padding-right: 0 !important; |
||
| 290 | padding-left: 0; |
||
| 291 | list-style: none; |
||
| 292 | |||
| 293 | > li { |
||
| 294 | > a { |
||
| 295 | display: block; |
||
| 296 | clear: both; |
||
| 297 | font-weight: 300; |
||
| 298 | line-height: 20px; |
||
| 299 | white-space: normal; |
||
| 300 | font-size: 13px; |
||
| 301 | padding: 16px 15px 18px; |
||
| 302 | text-shadow: none; |
||
| 303 | |||
| 304 | &:hover { |
||
| 305 | @include opacity(1); |
||
| 306 | } |
||
| 307 | } |
||
| 308 | |||
| 309 | &:first-child a { |
||
| 310 | border-top: none; |
||
| 311 | } |
||
| 312 | } |
||
| 313 | } |
||
| 314 | } |
||
| 315 | } |
||
| 316 | |||
| 317 | /* Notification */ |
||
| 318 | > li.dropdown-notification { |
||
| 319 | .dropdown-menu { |
||
| 320 | .dropdown-menu-list { |
||
| 321 | > li { |
||
| 322 | a { |
||
| 323 | .details { |
||
| 324 | overflow:hidden; |
||
| 325 | |||
| 326 | .label-icon { |
||
| 327 | margin-right: 10px; |
||
| 328 | @include border-radius(50%); |
||
| 329 | |||
| 330 | i { |
||
| 331 | margin-right: 2px; |
||
| 332 | margin-left: 1px; |
||
| 333 | } |
||
| 334 | |||
| 335 | .badge { |
||
| 336 | right: 15px; |
||
| 337 | } |
||
| 338 | } |
||
| 339 | } |
||
| 340 | |||
| 341 | .time { |
||
| 342 | float:right; |
||
| 343 | max-width:75px; |
||
| 344 | |||
| 345 | font-size: 11px; |
||
| 346 | font-weight: 400; |
||
| 347 | @include opacity(0.7); |
||
| 348 | |||
| 349 | text-align: right; |
||
| 350 | padding: 1px 5px; |
||
| 351 | } |
||
| 352 | } |
||
| 353 | } |
||
| 354 | } |
||
| 355 | } |
||
| 356 | } |
||
| 357 | |||
| 358 | /* Inbox */ |
||
| 359 | > li.dropdown-inbox { |
||
| 360 | |||
| 361 | > .dropdown-menu { |
||
| 362 | .dropdown-menu-list { |
||
| 363 | > li { |
||
| 364 | .photo { |
||
| 365 | float: left; |
||
| 366 | margin: 0 6px 6px 0; |
||
| 367 | |||
| 368 | img { |
||
| 369 | height: 40px; |
||
| 370 | width: 40px; |
||
| 371 | @include border-radius(50% !important); |
||
| 372 | } |
||
| 373 | } |
||
| 374 | |||
| 375 | .subject { |
||
| 376 | display: block; |
||
| 377 | margin-left: 46px; |
||
| 378 | |||
| 379 | .from { |
||
| 380 | font-size: 13px; |
||
| 381 | font-weight: 600; |
||
| 382 | } |
||
| 383 | |||
| 384 | .time { |
||
| 385 | font-size: 12px; |
||
| 386 | font-weight: 400; |
||
| 387 | @include opacity(0.5); |
||
| 388 | float: right; |
||
| 389 | } |
||
| 390 | } |
||
| 391 | |||
| 392 | .message { |
||
| 393 | display: block !important; |
||
| 394 | font-size: 12px; |
||
| 395 | line-height: 1.3; |
||
| 396 | margin-left: 46px; |
||
| 397 | } |
||
| 398 | } |
||
| 399 | } |
||
| 400 | } |
||
| 401 | } |
||
| 402 | |||
| 403 | /* Tasks */ |
||
| 404 | > li.dropdown-tasks { |
||
| 405 | .dropdown-menu { |
||
| 406 | .dropdown-menu-list { |
||
| 407 | > li { |
||
| 408 | .task { |
||
| 409 | margin-bottom: 5px; |
||
| 410 | |||
| 411 | .desc { |
||
| 412 | font-size: 13px; |
||
| 413 | font-weight: 300; |
||
| 414 | } |
||
| 415 | |||
| 416 | .percent { |
||
| 417 | float: right; |
||
| 418 | font-weight: 600; |
||
| 419 | display: inline-block; |
||
| 420 | } |
||
| 421 | } |
||
| 422 | |||
| 423 | .progress { |
||
| 424 | display: block; |
||
| 425 | height: 8px; |
||
| 426 | margin: 8px 0 2px; |
||
| 427 | |||
| 428 | .progress-bar { |
||
| 429 | box-shadow: none; |
||
| 430 | } |
||
| 431 | } |
||
| 432 | } |
||
| 433 | } |
||
| 434 | } |
||
| 435 | } |
||
| 436 | |||
| 437 | /* User */ |
||
| 438 | > li.dropdown-user { |
||
| 439 | .dropdown-toggle { |
||
| 440 | padding: $header-top-menu-user-item-padding; |
||
| 441 | |||
| 442 | > .username { |
||
| 443 | display: inline-block; |
||
| 444 | font-size: $header-top-menu-user-font-size; |
||
| 445 | font-weight: $header-top-menu-user-font-weight; |
||
| 446 | } |
||
| 447 | |||
| 448 | > img { |
||
| 449 | float: left; |
||
| 450 | margin-top: -5px; |
||
| 451 | margin-right: 5px; |
||
| 452 | height: 29px; |
||
| 453 | display: inline-block; |
||
| 454 | } |
||
| 455 | |||
| 456 | > i { |
||
| 457 | display: inline-block; |
||
| 458 | margin-top: 5px; |
||
| 459 | margin: 0; |
||
| 460 | font-size: $header-top-menu-user-font-size; |
||
| 461 | } |
||
| 462 | } |
||
| 463 | |||
| 464 | .dropdown-menu { |
||
| 465 | width: 175px; |
||
| 466 | > li { |
||
| 467 | > a { |
||
| 468 | font-size: $header-top-menu-user-dropdown-link-font-size; |
||
| 469 | font-weight: $header-top-menu-user-dropdown-link-font-weight; |
||
| 470 | |||
| 471 | i { |
||
| 472 | width: 15px; |
||
| 473 | display: inline-block; |
||
| 474 | margin-right: 9px; |
||
| 475 | } |
||
| 476 | |||
| 477 | .badge { |
||
| 478 | margin-right: 10px; |
||
| 479 | } |
||
| 480 | } |
||
| 481 | } |
||
| 482 | } |
||
| 483 | } |
||
| 484 | |||
| 485 | /* Language */ |
||
| 486 | > li.dropdown-language { |
||
| 487 | padding-left: 0; |
||
| 488 | padding-right: 0; |
||
| 489 | margin: 0; |
||
| 490 | |||
| 491 | > .dropdown-toggle { |
||
| 492 | padding: $header-top-menu-language-item-padding; |
||
| 493 | |||
| 494 | > img { |
||
| 495 | margin-bottom: 2px; |
||
| 496 | } |
||
| 497 | |||
| 498 | > i { |
||
| 499 | font-size: 14px; |
||
| 500 | } |
||
| 501 | } |
||
| 502 | |||
| 503 | > .dropdown-menu { |
||
| 504 | > li { |
||
| 505 | > a { |
||
| 506 | font-size: 13px; |
||
| 507 | |||
| 508 | > img { |
||
| 509 | margin-bottom: 2px; |
||
| 510 | margin-right: 5px; |
||
| 511 | } |
||
| 512 | } |
||
| 513 | } |
||
| 514 | } |
||
| 515 | } |
||
| 516 | |||
| 517 | /* Dark version */ |
||
| 518 | li.dropdown-dark { |
||
| 519 | .dropdown-menu { |
||
| 520 | &:before { |
||
| 521 | border-left: none; |
||
| 522 | border-right: none; |
||
| 523 | } |
||
| 524 | |||
| 525 | .dropdown-menu-list { |
||
| 526 | > li.external { |
||
| 527 | |||
| 528 | a { |
||
| 529 | background: none !important; |
||
| 530 | border: none !important; |
||
| 531 | } |
||
| 532 | } |
||
| 533 | } |
||
| 534 | } |
||
| 535 | } |
||
| 536 | } |
||
| 537 | } |
||
| 538 | } |
||
| 539 | |||
| 540 | /* Allow expanded search for above 768px */ |
||
| 541 | @media (min-width: $screen-sm-min) { /* 768px */ |
||
| 542 | .page-header.navbar { |
||
| 543 | |||
| 544 | /* Search box */ |
||
| 545 | .search-form { |
||
| 546 | &.search-form-expanded { |
||
| 547 | width: 200px; |
||
| 548 | |||
| 549 | .input-group { |
||
| 550 | .form-control { |
||
| 551 | text-indent: 0; |
||
| 552 | |||
| 553 | &:hover { |
||
| 554 | cursor:text; |
||
| 555 | } |
||
| 556 | } |
||
| 557 | |||
| 558 | .input-group-btn { |
||
| 559 | .btn.submit { |
||
| 560 | margin-left: 0; |
||
| 561 | } |
||
| 562 | } |
||
| 563 | } |
||
| 564 | } |
||
| 565 | } |
||
| 566 | } |
||
| 567 | } |
||
| 568 | |||
| 569 | /*** |
||
| 570 | Horizontal Menu |
||
| 571 | ***/ |
||
| 572 | |||
| 573 | .page-header.navbar { |
||
| 574 | |||
| 575 | /* Header container */ |
||
| 576 | .container { |
||
| 577 | position: relative; |
||
| 578 | } |
||
| 579 | |||
| 580 | /* Mega menu */ |
||
| 581 | .hor-menu { |
||
| 582 | margin: 0 0 0 -17px; |
||
| 583 | margin: 0; |
||
| 584 | float: left; |
||
| 585 | |||
| 586 | .navbar-nav { |
||
| 587 | position: static; |
||
| 588 | |||
| 589 | &.navbar-right { |
||
| 590 | .dropdown-menu { |
||
| 591 | left: auto; |
||
| 592 | right: 0; |
||
| 593 | } |
||
| 594 | } |
||
| 595 | |||
| 596 | /* Mega menu */ |
||
| 597 | > li.mega-menu-dropdown { |
||
| 598 | position: static; |
||
| 599 | |||
| 600 | > .dropdown-menu { |
||
| 601 | left: auto; |
||
| 602 | width: auto; |
||
| 603 | |||
| 604 | .mega-menu-content { |
||
| 605 | font-family: $font-family-primary; |
||
| 606 | padding: 15px; |
||
| 607 | margin: 0; |
||
| 608 | |||
| 609 | &.mega-menu-responsive-content { |
||
| 610 | padding: 10px 18px 10px 45px; |
||
| 611 | } |
||
| 612 | |||
| 613 | .mega-menu-submenu { |
||
| 614 | padding: 0; |
||
| 615 | margin: 0; |
||
| 616 | |||
| 617 | &:last-child { |
||
| 618 | border-right: 0; |
||
| 619 | } |
||
| 620 | |||
| 621 | li { |
||
| 622 | padding: 1px !important; |
||
| 623 | margin: 0 !important; |
||
| 624 | list-style: none; |
||
| 625 | |||
| 626 | > h3 { |
||
| 627 | margin-top: 5px; |
||
| 628 | padding-left: 6px; |
||
| 629 | font-size: $header-hor-menu-mega-menu-header-font-size; |
||
| 630 | font-weight: $header-hor-menu-mega-menu-header-font-weight; |
||
| 631 | } |
||
| 632 | |||
| 633 | > a { |
||
| 634 | white-space: normal; |
||
| 635 | font-family: $font-family-primary; |
||
| 636 | padding: 7px; |
||
| 637 | margin: 0; |
||
| 638 | font-size: $header-hor-menu-dropdown-menu-link-font-size; |
||
| 639 | font-weight: $header-hor-menu-dropdown-menu-link-font-weight; |
||
| 640 | |||
| 641 | &.iconify { |
||
| 642 | padding: 7px 7px 7px 30px; |
||
| 643 | |||
| 644 | > i { |
||
| 645 | position: absolute; |
||
| 646 | top: auto !important; |
||
| 647 | margin-left: -24px; |
||
| 648 | font-size: 15px; |
||
| 649 | margin-top: 3px !important; |
||
| 650 | } |
||
| 651 | } |
||
| 652 | |||
| 653 | .badge, |
||
| 654 | .label { |
||
| 655 | margin-left: 5px; |
||
| 656 | } |
||
| 657 | } |
||
| 658 | } |
||
| 659 | } |
||
| 660 | } |
||
| 661 | } |
||
| 662 | |||
| 663 | &.mega-menu-full { |
||
| 664 | .dropdown-menu { |
||
| 665 | left: 20px; |
||
| 666 | right: 20px; |
||
| 667 | } |
||
| 668 | } |
||
| 669 | } |
||
| 670 | |||
| 671 | /* Mega Menu Dropdown */ |
||
| 672 | > li.menu-dropdown { |
||
| 673 | .dropdown-menu { |
||
| 674 | &:after, |
||
| 675 | &:before { |
||
| 676 | display: none !important; |
||
| 677 | } |
||
| 678 | } |
||
| 679 | } |
||
| 680 | |||
| 681 | /* Classic menu */ |
||
| 682 | > li { |
||
| 683 | > a { |
||
| 684 | font-size: $header-hor-menu-default-link-font-size; |
||
| 685 | font-weight: $header-hor-menu-default-link-font-weight; |
||
| 686 | padding: $header-hor-menu-general-item-padding; |
||
| 687 | |||
| 688 | &:focus { |
||
| 689 | background: none !important; |
||
| 690 | } |
||
| 691 | } |
||
| 692 | |||
| 693 | &.current, |
||
| 694 | &.active { |
||
| 695 | .selected { |
||
| 696 | left: 50%; |
||
| 697 | bottom:0; |
||
| 698 | position: absolute; |
||
| 699 | border-left: 6px solid transparent; |
||
| 700 | border-right: 6px solid transparent; |
||
| 701 | border-top: 6px solid transparent; |
||
| 702 | display: inline-block; |
||
| 703 | margin: 0; |
||
| 704 | width: 0; |
||
| 705 | height:0px; |
||
| 706 | margin-left: -7px; |
||
| 707 | margin-bottom:-6px; |
||
| 708 | } |
||
| 709 | } |
||
| 710 | |||
| 711 | .dropdown-menu { |
||
| 712 | margin-top: 0; |
||
| 713 | border: none; |
||
| 714 | |||
| 715 | li { |
||
| 716 | > a { |
||
| 717 | font-family: $font-family-primary; |
||
| 718 | font-size: $header-hor-menu-dropdown-menu-link-font-size; |
||
| 719 | font-weight: $header-hor-menu-dropdown-menu-link-font-weight; |
||
| 720 | padding: $header-hor-menu-submenu-item-padding; |
||
| 721 | white-space: normal; |
||
| 722 | |||
| 723 | .label, |
||
| 724 | .badge { |
||
| 725 | font-weight: 300; |
||
| 726 | } |
||
| 727 | } |
||
| 728 | } |
||
| 729 | } |
||
| 730 | |||
| 731 | |||
| 732 | |||
| 733 | &.classic-menu-dropdown { |
||
| 734 | .dropdown-menu { |
||
| 735 | min-width: 195px; |
||
| 736 | max-width: 235px; |
||
| 737 | } |
||
| 738 | } |
||
| 739 | |||
| 740 | .dropdown-submenu { |
||
| 741 | > .dropdown-menu { |
||
| 742 | top: 0; |
||
| 743 | } |
||
| 744 | |||
| 745 | > a:after { |
||
| 746 | top: $header-hor-menu-submenu-item-arrow-top; |
||
| 747 | right: 10px; |
||
| 748 | } |
||
| 749 | } |
||
| 750 | } |
||
| 751 | } |
||
| 752 | } |
||
| 753 | } |
||
| 754 | |||
| 755 | /* Form medium devices upto large devices */ |
||
| 756 | |||
| 757 | @media (min-width: $screen-md-min) and (max-width: $screen-lg-min) { /* 992px 1200px */ |
||
| 758 | /* Boxed layout */ |
||
| 759 | .page-boxed { |
||
| 760 | .page-header.navbar { |
||
| 761 | /* Top menu */ |
||
| 762 | .top-menu { |
||
| 763 | .navbar-nav { |
||
| 764 | > li.dropdown-user { |
||
| 765 | .dropdown-toggle { |
||
| 766 | .username.username-hide-on-mobile { |
||
| 767 | display: none; |
||
| 768 | } |
||
| 769 | } |
||
| 770 | } |
||
| 771 | |||
| 772 | > li.dropdown-language { |
||
| 773 | .dropdown-toggle { |
||
| 774 | .langname { |
||
| 775 | display: none; |
||
| 776 | } |
||
| 777 | } |
||
| 778 | } |
||
| 779 | } |
||
| 780 | } |
||
| 781 | } |
||
| 782 | } |
||
| 783 | } |
||
| 784 | |||
| 785 | @media (min-width: $screen-md-min) { /* 992px */ |
||
| 786 | |||
| 787 | /* Page header */ |
||
| 788 | .page-header.navbar { |
||
| 789 | /* Header logo */ |
||
| 790 | .page-logo { |
||
| 791 | .page-sidebar-closed.page-sidebar-closed-hide-logo & { |
||
| 792 | padding: 0; |
||
| 793 | } |
||
| 794 | |||
| 795 | .page-sidebar-closed.page-sidebar-closed-hide-logo & { |
||
| 796 | width: $sidebar-collapsed-width; |
||
| 797 | |||
| 798 | .logo-default { |
||
| 799 | display: none; |
||
| 800 | } |
||
| 801 | } |
||
| 802 | } |
||
| 803 | } |
||
| 804 | |||
| 805 | /* Boxed Layout */ |
||
| 806 | .page-boxed { |
||
| 807 | .page-header.navbar { |
||
| 808 | /* Page logo */ |
||
| 809 | .page-logo { |
||
| 810 | width: ($sidebar-width + 1px); |
||
| 811 | } |
||
| 812 | |||
| 813 | /* Top menu */ |
||
| 814 | .top-menu { |
||
| 815 | .navbar-nav { |
||
| 816 | margin-right: 0px; |
||
| 817 | } |
||
| 818 | } |
||
| 819 | } |
||
| 820 | } |
||
| 821 | |||
| 822 | /* Sidebar closed & logo hidden */ |
||
| 823 | .page-sidebar-closed.page-sidebar-closed-hide-logo.page-boxed { |
||
| 824 | .page-header.navbar { |
||
| 825 | /* Page logo */ |
||
| 826 | .page-logo { |
||
| 827 | width: ($sidebar-collapsed-width + 1); |
||
| 828 | } |
||
| 829 | } |
||
| 830 | } |
||
| 831 | |||
| 832 | /* Boxed layout & page sidebar fixed layout */ |
||
| 833 | .page-boxed.page-sidebar-fixed { |
||
| 834 | .page-header.navbar { |
||
| 835 | /* Page logo */ |
||
| 836 | .page-logo { |
||
| 837 | width: $sidebar-width; |
||
| 838 | } |
||
| 839 | } |
||
| 840 | } |
||
| 841 | } |
||
| 842 | |||
| 843 | @media (max-width: $screen-sm-max) { /* 991px */ |
||
| 844 | |||
| 845 | /* Page header */ |
||
| 846 | .page-header.navbar { |
||
| 847 | padding: 0 20px 0 20px; |
||
| 848 | position: relative; |
||
| 849 | clear: both; |
||
| 850 | |||
| 851 | /* Page logo */ |
||
| 852 | .page-logo { |
||
| 853 | width: auto; |
||
| 854 | padding: 0; |
||
| 855 | margin-right: 10px; |
||
| 856 | margin-left: 0px !important; |
||
| 857 | padding-left: 0px !important; |
||
| 858 | |||
| 859 | img { |
||
| 860 | margin-left: 4px !important; |
||
| 861 | } |
||
| 862 | } |
||
| 863 | |||
| 864 | /* Menu Toggler */ |
||
| 865 | .menu-toggler { |
||
| 866 | &.sidebar-toggler { |
||
| 867 | display:none !important; |
||
| 868 | } |
||
| 869 | |||
| 870 | &.responsive-toggler { |
||
| 871 | display: inline-block; |
||
| 872 | } |
||
| 873 | } |
||
| 874 | |||
| 875 | /* Top Menu */ |
||
| 876 | .top-menu { |
||
| 877 | .navbar-nav { |
||
| 878 | display: inline-block; |
||
| 879 | margin: 0 10px 0 0; |
||
| 880 | |||
| 881 | > li { |
||
| 882 | float: left; |
||
| 883 | } |
||
| 884 | |||
| 885 | .nav li.dropdown i { |
||
| 886 | display: inline-block; |
||
| 887 | position: relative; |
||
| 888 | top:1px; |
||
| 889 | right:0px; |
||
| 890 | } |
||
| 891 | |||
| 892 | .open .dropdown-menu { |
||
| 893 | position: absolute; |
||
| 894 | } |
||
| 895 | } |
||
| 896 | } |
||
| 897 | } |
||
| 898 | |||
| 899 | /* Fixed header for mobile */ |
||
| 900 | .page-header-fixed.page-header-fixed-mobile { |
||
| 901 | .navbar-fixed-top { |
||
| 902 | position: fixed; |
||
| 903 | } |
||
| 904 | } |
||
| 905 | |||
| 906 | /* Boxed Layout */ |
||
| 907 | .page-boxed .page-header.navbar { |
||
| 908 | > .container { |
||
| 909 | max-width: none !important; |
||
| 910 | margin: 0 !important; |
||
| 911 | padding: 0 !important; |
||
| 912 | } |
||
| 913 | } |
||
| 914 | } |
||
| 915 | |||
| 916 | @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) { /* 768px & 991px */ |
||
| 917 | |||
| 918 | /* Boxed Layout */ |
||
| 919 | .page-boxed { |
||
| 920 | .page-header.navbar { |
||
| 921 | margin: auto !important; |
||
| 922 | padding: 0; |
||
| 923 | |||
| 924 | > .container { |
||
| 925 | margin: auto !important; |
||
| 926 | } |
||
| 927 | } |
||
| 928 | } |
||
| 929 | } |
||
| 930 | |||
| 931 | @media (max-width: $screen-xs-max) { /* 767px */ |
||
| 932 | |||
| 933 | /* Page header */ |
||
| 934 | .page-header.navbar { |
||
| 935 | padding: 0 10px 0 10px; |
||
| 936 | |||
| 937 | /* Header logo */ |
||
| 938 | .page-logo { |
||
| 939 | width: auto; |
||
| 940 | } |
||
| 941 | |||
| 942 | /* Search box */ |
||
| 943 | .search-form { |
||
| 944 | &.open { |
||
| 945 | z-index: 3; |
||
| 946 | left: 10px; |
||
| 947 | right: 10px; |
||
| 948 | position: absolute; |
||
| 949 | width: auto !important; |
||
| 950 | } |
||
| 951 | } |
||
| 952 | |||
| 953 | /* Top navigation menu*/ |
||
| 954 | .top-menu { |
||
| 955 | .navbar-nav { |
||
| 956 | |||
| 957 | > li.dropdown-extended { |
||
| 958 | > .dropdown-menu { |
||
| 959 | max-width: 255px; |
||
| 960 | width: 255px; |
||
| 961 | } |
||
| 962 | } |
||
| 963 | |||
| 964 | > li.dropdown-notification { |
||
| 965 | .dropdown-menu { |
||
| 966 | margin-right: -190px; |
||
| 967 | |||
| 968 | &:after, |
||
| 969 | &:before { |
||
| 970 | margin-right: 190px; |
||
| 971 | } |
||
| 972 | } |
||
| 973 | } |
||
| 974 | |||
| 975 | > li.dropdown-inbox { |
||
| 976 | .dropdown-menu { |
||
| 977 | margin-right: -150px; |
||
| 978 | |||
| 979 | &:after, |
||
| 980 | &:before { |
||
| 981 | margin-right: 150px; |
||
| 982 | } |
||
| 983 | } |
||
| 984 | } |
||
| 985 | |||
| 986 | > li.dropdown-tasks { |
||
| 987 | .dropdown-menu { |
||
| 988 | margin-right: -110px; |
||
| 989 | |||
| 990 | &:after, |
||
| 991 | &:before { |
||
| 992 | margin-right: 110px; |
||
| 993 | } |
||
| 994 | } |
||
| 995 | } |
||
| 996 | } |
||
| 997 | } |
||
| 998 | } |
||
| 999 | } |
||
| 1000 | |||
| 1001 | @media (max-width: 580px) { |
||
| 1002 | |||
| 1003 | /* Page header */ |
||
| 1004 | .page-header.navbar { |
||
| 1005 | .top-menu { |
||
| 1006 | .navbar-nav { |
||
| 1007 | > li.dropdown-user { |
||
| 1008 | .dropdown-toggle { |
||
| 1009 | .username.username-hide-on-mobile { |
||
| 1010 | display: none; |
||
| 1011 | } |
||
| 1012 | } |
||
| 1013 | } |
||
| 1014 | |||
| 1015 | > li.dropdown-language { |
||
| 1016 | .dropdown-toggle { |
||
| 1017 | .langname { |
||
| 1018 | display: none; |
||
| 1019 | } |
||
| 1020 | } |
||
| 1021 | } |
||
| 1022 | } |
||
| 1023 | } |
||
| 1024 | } |
||
| 1025 | } |
||
| 1026 | |||
| 1027 | @media (max-width: $screen-xs-min) { /* 480px */ |
||
| 1028 | |||
| 1029 | /* Fixed header for mobile */ |
||
| 1030 | .page-header-fixed.page-header-fixed-mobile { |
||
| 1031 | .page-header.navbar { |
||
| 1032 | height: $header-height-xs; |
||
| 1033 | } |
||
| 1034 | } |
||
| 1035 | |||
| 1036 | .page-header.navbar { |
||
| 1037 | /* Top menu */ |
||
| 1038 | .top-menu { |
||
| 1039 | display: block; |
||
| 1040 | clear: both; |
||
| 1041 | |||
| 1042 | .navbar-nav { |
||
| 1043 | margin-right: 0; |
||
| 1044 | |||
| 1045 | > li.dropdown { |
||
| 1046 | .dropdown-toggle { |
||
| 1047 | padding: $header-top-menu-general-item-padding-on-mobile; |
||
| 1048 | } |
||
| 1049 | } |
||
| 1050 | |||
| 1051 | > li.dropdown-language { |
||
| 1052 | .dropdown-toggle { |
||
| 1053 | padding: $header-top-menu-language-item-padding-on-mobile; |
||
| 1054 | } |
||
| 1055 | } |
||
| 1056 | |||
| 1057 | > li.dropdown-user { |
||
| 1058 | .dropdown-toggle { |
||
| 1059 | padding: $header-top-menu-user-item-padding-on-mobile; |
||
| 1060 | } |
||
| 1061 | } |
||
| 1062 | } |
||
| 1063 | } |
||
| 1064 | } |
||
| 1065 | } |
||
| 1066 | |||
| 1067 | /*** |
||
| 1068 | Pace - Page Progress |
||
| 1069 | ***/ |
||
| 1070 | |||
| 1071 | .pace .pace-progress { |
||
| 1072 | z-index: 10000; |
||
| 1073 | top: $header-height - 2px; |
||
| 1074 | height: 2px; |
||
| 1075 | } |
||
| 1076 | |||
| 1077 | .pace .pace-progress-inner { |
||
| 1078 | box-shadow: none; |
||
| 1079 | } |
||
| 1080 | |||
| 1081 | .pace .pace-activity { |
||
| 1082 | top: $header-height + 2px; |
||
| 1083 | right: 22px; |
||
| 1084 | border-radius: 10px !important; |
||
| 1085 | } |
||
| 1086 | |||
| 1087 | @media (max-width: $screen-xs-min) { /* 480px */ |
||
| 1088 | |||
| 1089 | .page-header-fixed .pace .pace-progress { |
||
| 1090 | top: ($header-height * 2); |
||
| 1091 | } |
||
| 1092 | |||
| 1093 | .page-header-fixed .pace .pace-activity { |
||
| 1094 | top: ($header-height * 4) + 4px; |
||
| 1095 | right: 15px; |
||
| 1096 | } |
||
| 1097 | |||
| 1098 | } |