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