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