Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | html { |
| 2 | height: 100%; |
||
| 3 | } |
||
| 4 | |||
| 5 | body { |
||
| 6 | font-family: Roboto,"Helvetica Neue",sans-serif; |
||
| 7 | font-size: $fontSize; |
||
| 8 | line-height: $lineHeight; |
||
| 9 | color: $textColor; |
||
| 10 | -webkit-font-smoothing: antialiased; |
||
| 11 | padding:0; |
||
| 12 | margin:0; |
||
| 13 | |||
| 14 | &.main-body { |
||
| 15 | background-color: #f7f7f7; |
||
| 16 | } |
||
| 17 | |||
| 18 | a { |
||
| 19 | text-decoration: none; |
||
| 20 | } |
||
| 21 | } |
||
| 22 | |||
| 23 | .layout-mask { |
||
| 24 | position: fixed; |
||
| 25 | width: 100%; |
||
| 26 | height: 100%; |
||
| 27 | background-color: #424242; |
||
| 28 | opacity: 0.7; |
||
| 29 | top: 0; |
||
| 30 | left: 0; |
||
| 31 | z-index: 999999997; |
||
| 32 | } |
||
| 33 | |||
| 34 | .layout-wrapper { |
||
| 35 | |||
| 36 | .topbar { |
||
| 37 | position: fixed; |
||
| 38 | z-index: 100; |
||
| 39 | width: 100%; |
||
| 40 | height: 75px; |
||
| 41 | background-color: $primaryColor; |
||
| 42 | -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.26); |
||
| 43 | -moz-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.26); |
||
| 44 | box-shadow: 0 2px 5px 0 rgba(0,0,0,0.26); |
||
| 45 | |||
| 46 | .logo { |
||
| 47 | display: inline-block; |
||
| 48 | vertical-align: middle; |
||
| 49 | width: 200px; |
||
| 50 | height: 30px; |
||
| 51 | background: url("\#{resource['ultima-layout:images/logo.png']}") top left no-repeat; |
||
| 52 | } |
||
| 53 | |||
| 54 | .topbar-left { |
||
| 55 | box-sizing: border-box; |
||
| 56 | padding: 20px; |
||
| 57 | height: 75px; |
||
| 58 | width: 250px; |
||
| 59 | background-color: $primaryDarkColor; |
||
| 60 | float: left; |
||
| 61 | -webkit-box-shadow: 3px 0 6px rgba(0,0,0,0.3); |
||
| 62 | -moz-box-shadow: 3px 0 6px rgba(0,0,0,0.3); |
||
| 63 | box-shadow: 3px 0 6px rgba(0,0,0,0.3); |
||
| 64 | } |
||
| 65 | |||
| 66 | .topbar-right { |
||
| 67 | padding: 15px; |
||
| 68 | position: relative; |
||
| 69 | |||
| 70 | #menu-button { |
||
| 71 | color: $accentTextColor; |
||
| 72 | display: inline-block; |
||
| 73 | vertical-align: middle; |
||
| 74 | height: 36px; |
||
| 75 | margin-right: 10px; |
||
| 76 | position: relative; |
||
| 77 | left: -16px; |
||
| 78 | top: 3px; |
||
| 79 | background-color: $accentColor; |
||
| 80 | |||
| 81 | @include border-radius(50%); |
||
| 82 | @include transition(all .3s); |
||
| 83 | -webkit-box-shadow: 0 3px 10px rgba(0,0,0,0.23),0 3px 10px rgba(0,0,0,0.16); |
||
| 84 | -moz-box-shadow: 0 3px 10px rgba(0,0,0,0.23),0 3px 10px rgba(0,0,0,0.16); |
||
| 85 | box-shadow: 0 3px 10px rgba(0,0,0,0.23),0 3px 10px rgba(0,0,0,0.16); |
||
| 86 | |||
| 87 | &:hover { |
||
| 88 | @include scale(1.2); |
||
| 89 | } |
||
| 90 | |||
| 91 | i { |
||
| 92 | @include material-icon("\e5cb"); |
||
| 93 | @include transition(all .3s); |
||
| 94 | font-size: 36px; |
||
| 95 | } |
||
| 96 | |||
| 97 | &.menu-button-rotate { |
||
| 98 | i { |
||
| 99 | @include rotate(180deg); |
||
| 100 | } |
||
| 101 | } |
||
| 102 | } |
||
| 103 | |||
| 104 | #topbar-menu-button { |
||
| 105 | display: none; |
||
| 106 | color: #ffffff; |
||
| 107 | vertical-align: middle; |
||
| 108 | height: 36px; |
||
| 109 | position: absolute; |
||
| 110 | top: 20px; |
||
| 111 | right: 25px; |
||
| 112 | |||
| 113 | @include transition(all .3s); |
||
| 114 | |||
| 115 | i { |
||
| 116 | @include transition(color .5s); |
||
| 117 | font-size: 36px; |
||
| 118 | } |
||
| 119 | } |
||
| 120 | |||
| 121 | .topbar-items { |
||
| 122 | .search-item { |
||
| 123 | input { |
||
| 124 | position: relative; |
||
| 125 | top: -10px; |
||
| 126 | font-size: $fontSize; |
||
| 127 | background-color: transparent; |
||
| 128 | border-width: 0 0 1px 0; |
||
| 129 | padding: 2px 2px 1px 2px; |
||
| 130 | border-color: #ffffff; |
||
| 131 | color: #ffffff; |
||
| 132 | |||
| 133 | &:focus { |
||
| 134 | outline: 0 none; |
||
| 135 | border-bottom-width: 2px; |
||
| 136 | } |
||
| 137 | } |
||
| 138 | |||
| 139 | input:focus ~ label { |
||
| 140 | top:-5px; |
||
| 141 | font-size:12px; |
||
| 142 | color: $primaryColor; |
||
| 143 | } |
||
| 144 | |||
| 145 | input.ui-state-filled ~ label { |
||
| 146 | display: none; |
||
| 147 | } |
||
| 148 | |||
| 149 | label { |
||
| 150 | color: #ffffff; |
||
| 151 | top: 8px; |
||
| 152 | } |
||
| 153 | } |
||
| 154 | } |
||
| 155 | } |
||
| 156 | } |
||
| 157 | |||
| 158 | .layout-menu { |
||
| 159 | overflow: auto; |
||
| 160 | position: fixed; |
||
| 161 | width: 250px; |
||
| 162 | z-index: 99; |
||
| 163 | top: 75px; |
||
| 164 | height: 100%; |
||
| 165 | background-color: #ffffff; |
||
| 166 | -webkit-box-shadow: 3px 0 6px rgba(0,0,0,0.3); |
||
| 167 | -moz-box-shadow: 3px 0 6px rgba(0,0,0,0.3); |
||
| 168 | box-shadow: 3px 0 6px rgba(0,0,0,0.3); |
||
| 169 | @include transition(margin-left .3s); |
||
| 170 | |||
| 171 | > .nano { |
||
| 172 | > .nano-content { |
||
| 173 | &.menu-scroll-content { |
||
| 174 | display: block; |
||
| 175 | height: 100%; |
||
| 176 | position: relative; |
||
| 177 | overflow: scroll; |
||
| 178 | overflow-x: hidden; |
||
| 179 | } |
||
| 180 | |||
| 181 | > ul:last-child { |
||
| 182 | margin-top: 16px; |
||
| 183 | padding-bottom: 120px; |
||
| 184 | } |
||
| 185 | } |
||
| 186 | |||
| 187 | .nano-pane { |
||
| 188 | .nano-slider { |
||
| 189 | background-color: #aaaaaa; |
||
| 190 | @include opacity(.3); |
||
| 191 | } |
||
| 192 | } |
||
| 193 | } |
||
| 194 | |||
| 195 | .profile { |
||
| 196 | box-sizing: border-box; |
||
| 197 | padding-top: 30px; |
||
| 198 | width: 250px; |
||
| 199 | height: 145px; |
||
| 200 | text-align: center; |
||
| 201 | background: url("\#{resource['ultima-layout:images/profile-bg.png']}") top left no-repeat; |
||
| 202 | background-size: 250px 145px; |
||
| 203 | -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16); |
||
| 204 | -moz-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16); |
||
| 205 | box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16); |
||
| 206 | |||
| 207 | .profile-image { |
||
| 208 | width: 60px; |
||
| 209 | height: 60px; |
||
| 210 | margin: 0 auto 5px auto; |
||
| 211 | background: url("\#{resource['ultima-layout:images/avatar2x.png']}") top left no-repeat; |
||
| 212 | background-size: 60px 60px; |
||
| 213 | } |
||
| 214 | |||
| 215 | .profile-name { |
||
| 216 | display: inline-block; |
||
| 217 | color: $textColor; |
||
| 218 | vertical-align: middle; |
||
| 219 | font-size: 16px; |
||
| 220 | } |
||
| 221 | |||
| 222 | i { |
||
| 223 | color: $textColor; |
||
| 224 | vertical-align: middle; |
||
| 225 | @include transition(transform .3s); |
||
| 226 | } |
||
| 227 | |||
| 228 | &.profile-expanded { |
||
| 229 | i { |
||
| 230 | @include rotate(-180deg); |
||
| 231 | } |
||
| 232 | } |
||
| 233 | } |
||
| 234 | |||
| 235 | #profile-menu { |
||
| 236 | margin-top: 16px; |
||
| 237 | border-bottom: 1px solid #d6d5d5; |
||
| 238 | display: none; |
||
| 239 | |||
| 240 | li:last-child { |
||
| 241 | margin-bottom: 16px; |
||
| 242 | } |
||
| 243 | } |
||
| 244 | |||
| 245 | &.layout-menu-dark { |
||
| 246 | background-color: $darkMenuBgColor; |
||
| 247 | |||
| 248 | .profile { |
||
| 249 | background-image: url("\#{resource['ultima-layout:images/profile-bg-dark.png']}"); |
||
| 250 | |||
| 251 | .profile-name { |
||
| 252 | color: #ffffff; |
||
| 253 | } |
||
| 254 | |||
| 255 | i { |
||
| 256 | color: #ffffff; |
||
| 257 | } |
||
| 258 | } |
||
| 259 | |||
| 260 | #profile-menu { |
||
| 261 | border-bottom: 1px solid $darkMenuHoverColor; |
||
| 262 | } |
||
| 263 | |||
| 264 | ul.ultima-menu { |
||
| 265 | li { |
||
| 266 | a { |
||
| 267 | color: #ffffff; |
||
| 268 | |||
| 269 | i { |
||
| 270 | color: #ffffff; |
||
| 271 | } |
||
| 272 | |||
| 273 | &:hover { |
||
| 274 | background-color: $darkMenuHoverColor; |
||
| 275 | } |
||
| 276 | } |
||
| 277 | |||
| 278 | &.active-menuitem { |
||
| 279 | > a { |
||
| 280 | color: $accentTextColor; |
||
| 281 | background-color: $accentColor; |
||
| 282 | } |
||
| 283 | } |
||
| 284 | } |
||
| 285 | } |
||
| 286 | } |
||
| 287 | } |
||
| 288 | |||
| 289 | &.menu-layout-overlay { |
||
| 290 | .layout-menu { |
||
| 291 | margin-left: -250px; |
||
| 292 | } |
||
| 293 | |||
| 294 | .layout-main { |
||
| 295 | margin-left: 0px; |
||
| 296 | } |
||
| 297 | |||
| 298 | &.layout-menu-overlay-active { |
||
| 299 | .layout-menu { |
||
| 300 | z-index: 999999999; |
||
| 301 | margin-left: 0px; |
||
| 302 | } |
||
| 303 | } |
||
| 304 | |||
| 305 | .topbar { |
||
| 306 | z-index: 999999998; |
||
| 307 | |||
| 308 | .topbar-right { |
||
| 309 | #menu-button { |
||
| 310 | i { |
||
| 311 | font-size: 36px !important; |
||
| 312 | @include material-icon("\e5cc"); |
||
| 313 | } |
||
| 314 | } |
||
| 315 | } |
||
| 316 | |||
| 317 | } |
||
| 318 | } |
||
| 319 | |||
| 320 | .layout-main { |
||
| 321 | padding: 95px 15px 15px 15px; |
||
| 322 | @include transition(margin-left .3s); |
||
| 323 | } |
||
| 324 | |||
| 325 | .ultima-menu { |
||
| 326 | margin: 0; |
||
| 327 | padding: 0; |
||
| 328 | list-style: none; |
||
| 329 | |||
| 330 | li { |
||
| 331 | a { |
||
| 332 | font-size: 16px; |
||
| 333 | display: block; |
||
| 334 | padding: 10px 16px; |
||
| 335 | color: $textColor; |
||
| 336 | width: 100%; |
||
| 337 | box-sizing: border-box; |
||
| 338 | @include transition(background-color .3s); |
||
| 339 | overflow: hidden; |
||
| 340 | |||
| 341 | i { |
||
| 342 | color: #757575; |
||
| 343 | } |
||
| 344 | |||
| 345 | i:first-child { |
||
| 346 | display: inline-block; |
||
| 347 | vertical-align: middle; |
||
| 348 | margin-right: 12px; |
||
| 349 | font-size: 24px; |
||
| 350 | } |
||
| 351 | |||
| 352 | i:last-child { |
||
| 353 | float: right; |
||
| 354 | font-size: 20px; |
||
| 355 | margin-top: 2px; |
||
| 356 | margin-right: -3px; |
||
| 357 | @include transition(transform .3s); |
||
| 358 | } |
||
| 359 | |||
| 360 | &:hover { |
||
| 361 | background-color: $hoverBgColor; |
||
| 362 | } |
||
| 363 | |||
| 364 | span { |
||
| 365 | display: inline-block; |
||
| 366 | vertical-align: middle; |
||
| 367 | } |
||
| 368 | } |
||
| 369 | |||
| 370 | &.active-menuitem { |
||
| 371 | > a { |
||
| 372 | color: $primaryColor; |
||
| 373 | background-color: #e8e8e8; |
||
| 374 | |||
| 375 | i:last-child { |
||
| 376 | @include rotate(-180deg); |
||
| 377 | } |
||
| 378 | } |
||
| 379 | } |
||
| 380 | |||
| 381 | ul { |
||
| 382 | display: none; |
||
| 383 | padding: 0; |
||
| 384 | margin: 0; |
||
| 385 | list-style: none; |
||
| 386 | |||
| 387 | li { |
||
| 388 | a { |
||
| 389 | padding: 10px 16px 10px 32px; |
||
| 390 | font-size: 15px; |
||
| 391 | |||
| 392 | i:first-child { |
||
| 393 | display: inline-block; |
||
| 394 | vertical-align: middle; |
||
| 395 | margin-right: 12px; |
||
| 396 | font-size: 20px; |
||
| 397 | } |
||
| 398 | } |
||
| 399 | |||
| 400 | ul { |
||
| 401 | li { |
||
| 402 | a { |
||
| 403 | padding-left: 48px; |
||
| 404 | } |
||
| 405 | } |
||
| 406 | |||
| 407 | ul { |
||
| 408 | li { |
||
| 409 | a { |
||
| 410 | padding-left: 64px; |
||
| 411 | } |
||
| 412 | } |
||
| 413 | |||
| 414 | ul { |
||
| 415 | li { |
||
| 416 | a { |
||
| 417 | padding-left: 80px; |
||
| 418 | } |
||
| 419 | } |
||
| 420 | |||
| 421 | ul { |
||
| 422 | li { |
||
| 423 | a { |
||
| 424 | padding-left: 96px; |
||
| 425 | } |
||
| 426 | } |
||
| 427 | } |
||
| 428 | } |
||
| 429 | } |
||
| 430 | } |
||
| 431 | } |
||
| 432 | } |
||
| 433 | } |
||
| 434 | } |
||
| 435 | |||
| 436 | .footer { |
||
| 437 | padding: .5em; |
||
| 438 | |||
| 439 | .footer-text-left { |
||
| 440 | float: left; |
||
| 441 | } |
||
| 442 | |||
| 443 | .footer-text-right { |
||
| 444 | color: $textSecondaryColor; |
||
| 445 | float: right; |
||
| 446 | |||
| 447 | span { |
||
| 448 | vertical-align: middle; |
||
| 449 | display: inline-block; |
||
| 450 | } |
||
| 451 | } |
||
| 452 | } |
||
| 453 | |||
| 454 | &.layout-rtl { |
||
| 455 | |||
| 456 | .ultima-menu { |
||
| 457 | li { |
||
| 458 | a { |
||
| 459 | direction: rtl; |
||
| 460 | |||
| 461 | i { |
||
| 462 | &:last-child { |
||
| 463 | float: left; |
||
| 464 | } |
||
| 465 | |||
| 466 | &:first-child { |
||
| 467 | float: right; |
||
| 468 | margin-left: 12px; |
||
| 469 | margin-right: 0px; |
||
| 470 | } |
||
| 471 | } |
||
| 472 | |||
| 473 | img { |
||
| 474 | &:first-child { |
||
| 475 | float: right; |
||
| 476 | } |
||
| 477 | |||
| 478 | ~ span { |
||
| 479 | float: right; |
||
| 480 | padding-top: 8px; |
||
| 481 | padding-right: 10px; |
||
| 482 | } |
||
| 483 | } |
||
| 484 | } |
||
| 485 | } |
||
| 486 | } |
||
| 487 | |||
| 488 | .layout-menu { |
||
| 489 | right: 0; |
||
| 490 | direction: rtl; |
||
| 491 | margin-right: 0px; |
||
| 492 | transition: margin-right 0.3s; |
||
| 493 | |||
| 494 | > .nano { |
||
| 495 | > .nano-content { |
||
| 496 | &.menu-scroll-content { |
||
| 497 | margin-right: 0px !important; |
||
| 498 | margin-left: -17px; |
||
| 499 | } |
||
| 500 | |||
| 501 | .ultima-menu { |
||
| 502 | li { |
||
| 503 | ul { |
||
| 504 | li { |
||
| 505 | a { |
||
| 506 | padding: 8px 32px 8px 16px; |
||
| 507 | } |
||
| 508 | |||
| 509 | ul { |
||
| 510 | li { |
||
| 511 | a { |
||
| 512 | padding-left: 16px; |
||
| 513 | padding-right: 48px; |
||
| 514 | } |
||
| 515 | } |
||
| 516 | |||
| 517 | ul { |
||
| 518 | li { |
||
| 519 | a { |
||
| 520 | padding-left: 16px; |
||
| 521 | padding-right: 64px; |
||
| 522 | } |
||
| 523 | } |
||
| 524 | } |
||
| 525 | } |
||
| 526 | } |
||
| 527 | } |
||
| 528 | } |
||
| 529 | } |
||
| 530 | } |
||
| 531 | |||
| 532 | > .nano-pane { |
||
| 533 | right: auto; |
||
| 534 | left: 0; |
||
| 535 | } |
||
| 536 | } |
||
| 537 | } |
||
| 538 | |||
| 539 | .layout-main { |
||
| 540 | transition: margin-right 0.3s; |
||
| 541 | } |
||
| 542 | |||
| 543 | &.menu-layout-static { |
||
| 544 | .layout-main { |
||
| 545 | margin-left: 0; |
||
| 546 | margin-right: 250px; |
||
| 547 | } |
||
| 548 | |||
| 549 | &.layout-menu-static-inactive { |
||
| 550 | .layout-menu { |
||
| 551 | margin-left: 0; |
||
| 552 | margin-right: -250px; |
||
| 553 | } |
||
| 554 | |||
| 555 | .layout-main { |
||
| 556 | margin-right: 0px; |
||
| 557 | } |
||
| 558 | |||
| 559 | .topbar { |
||
| 560 | .topbar-right { |
||
| 561 | #menu-button { |
||
| 562 | i { |
||
| 563 | transform: rotate(0deg); |
||
| 564 | } |
||
| 565 | } |
||
| 566 | } |
||
| 567 | } |
||
| 568 | } |
||
| 569 | } |
||
| 570 | |||
| 571 | &.menu-layout-overlay { |
||
| 572 | .layout-menu { |
||
| 573 | margin-left: 0px; |
||
| 574 | margin-right: -250px; |
||
| 575 | } |
||
| 576 | |||
| 577 | &.layout-menu-overlay-active { |
||
| 578 | .topbar { |
||
| 579 | .topbar-right { |
||
| 580 | #menu-button { |
||
| 581 | i { |
||
| 582 | transform: rotate(0deg); |
||
| 583 | } |
||
| 584 | } |
||
| 585 | } |
||
| 586 | } |
||
| 587 | |||
| 588 | .layout-menu { |
||
| 589 | margin-right: 0px; |
||
| 590 | } |
||
| 591 | } |
||
| 592 | } |
||
| 593 | |||
| 594 | &.menu-layout-horizontal { |
||
| 595 | .layout-main { |
||
| 596 | margin-right: 0px; |
||
| 597 | } |
||
| 598 | |||
| 599 | .layout-menu { |
||
| 600 | > .nano { |
||
| 601 | > .nano-content { |
||
| 602 | .ultima-menu { |
||
| 603 | > li { |
||
| 604 | float: right; |
||
| 605 | |||
| 606 | > ul { |
||
| 607 | left: auto; |
||
| 608 | |||
| 609 | li { |
||
| 610 | ul { |
||
| 611 | li { |
||
| 612 | a { |
||
| 613 | padding-left: 16px; |
||
| 614 | padding-right: 32px; |
||
| 615 | } |
||
| 616 | } |
||
| 617 | |||
| 618 | ul { |
||
| 619 | li { |
||
| 620 | a { |
||
| 621 | padding-left: 16px; |
||
| 622 | padding-right: 48px; |
||
| 623 | } |
||
| 624 | } |
||
| 625 | } |
||
| 626 | } |
||
| 627 | } |
||
| 628 | } |
||
| 629 | } |
||
| 630 | |||
| 631 | li { |
||
| 632 | a { |
||
| 633 | i { |
||
| 634 | &:last-child { |
||
| 635 | margin-right: 3px; |
||
| 636 | } |
||
| 637 | } |
||
| 638 | } |
||
| 639 | } |
||
| 640 | } |
||
| 641 | } |
||
| 642 | } |
||
| 643 | } |
||
| 644 | } |
||
| 645 | |||
| 646 | .topbar { |
||
| 647 | |||
| 648 | .topbar-left { |
||
| 649 | float: right; |
||
| 650 | } |
||
| 651 | |||
| 652 | .topbar-right { |
||
| 653 | .topbar-items { |
||
| 654 | float: left; |
||
| 655 | |||
| 656 | > li { |
||
| 657 | > a { |
||
| 658 | .topbar-badge { |
||
| 659 | right: auto; |
||
| 660 | } |
||
| 661 | } |
||
| 662 | |||
| 663 | > ul { |
||
| 664 | right: auto; |
||
| 665 | |||
| 666 | li { |
||
| 667 | a { |
||
| 668 | span { |
||
| 669 | float: right; |
||
| 670 | } |
||
| 671 | } |
||
| 672 | } |
||
| 673 | } |
||
| 674 | } |
||
| 675 | |||
| 676 | .search-item { |
||
| 677 | input { |
||
| 678 | direction: rtl; |
||
| 679 | } |
||
| 680 | |||
| 681 | label { |
||
| 682 | left: auto; |
||
| 683 | right: 43px; |
||
| 684 | } |
||
| 685 | } |
||
| 686 | } |
||
| 687 | |||
| 688 | #menu-button { |
||
| 689 | margin-right: 0px; |
||
| 690 | left: 13px; |
||
| 691 | float: right; |
||
| 692 | |||
| 693 | i { |
||
| 694 | transform: rotate(180deg); |
||
| 695 | } |
||
| 696 | } |
||
| 697 | } |
||
| 698 | } |
||
| 699 | } |
||
| 700 | } |
||
| 701 | |||
| 702 | .ajax-loader { |
||
| 703 | font-size: 32px; |
||
| 704 | color: $accentColor; |
||
| 705 | } |
||
| 706 | |||
| 707 | @media (min-width: 1025px) { |
||
| 708 | |||
| 709 | .layout-wrapper { |
||
| 710 | |||
| 711 | .topbar-items { |
||
| 712 | float: right; |
||
| 713 | margin: 0; |
||
| 714 | padding: 5px 0 0 0; |
||
| 715 | list-style-type: none; |
||
| 716 | |||
| 717 | > li { |
||
| 718 | float: right; |
||
| 719 | position: relative; |
||
| 720 | margin-left: 8px; |
||
| 721 | |||
| 722 | > a { |
||
| 723 | position: relative; |
||
| 724 | display: block; |
||
| 725 | |||
| 726 | .topbar-item-name { |
||
| 727 | display: none; |
||
| 728 | } |
||
| 729 | |||
| 730 | .topbar-badge { |
||
| 731 | position: absolute; |
||
| 732 | right: -5px; |
||
| 733 | top: -5px; |
||
| 734 | background-color: $accentColor; |
||
| 735 | color: $accentTextColor; |
||
| 736 | @include border-radius(50%); |
||
| 737 | padding: 2px 4px; |
||
| 738 | display: block; |
||
| 739 | font-size: 12px; |
||
| 740 | line-height: 12px; |
||
| 741 | } |
||
| 742 | } |
||
| 743 | |||
| 744 | .topbar-icon { |
||
| 745 | font-size: 36px; |
||
| 746 | color: #ffffff; |
||
| 747 | @include transition(color .3s); |
||
| 748 | |||
| 749 | &:hover { |
||
| 750 | color: #e8e8e8; |
||
| 751 | } |
||
| 752 | } |
||
| 753 | |||
| 754 | &.profile-item { |
||
| 755 | .profile-image { |
||
| 756 | width: 36px; |
||
| 757 | height: 36px; |
||
| 758 | background: url("\#{resource['ultima-layout:images/avatar2x.png']}") top left no-repeat; |
||
| 759 | background-size: 36px 36px; |
||
| 760 | } |
||
| 761 | } |
||
| 762 | |||
| 763 | > ul { |
||
| 764 | position: absolute; |
||
| 765 | top: 55px; |
||
| 766 | right: 5px; |
||
| 767 | display: none; |
||
| 768 | width: 250px; |
||
| 769 | background-color: #ffffff; |
||
| 770 | -webkit-box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19), 0 8px 17px 0 rgba(0, 0, 0, 0.2); |
||
| 771 | -moz-box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19), 0 8px 17px 0 rgba(0, 0, 0, 0.2); |
||
| 772 | box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19), 0 8px 17px 0 rgba(0, 0, 0, 0.2); |
||
| 773 | -webkit-animation-duration: .5s; |
||
| 774 | -moz-animation-duration: .5s; |
||
| 775 | animation-duration: .5s; |
||
| 776 | } |
||
| 777 | |||
| 778 | &.active-top-menu { |
||
| 779 | > ul { |
||
| 780 | display: block; |
||
| 781 | } |
||
| 782 | } |
||
| 783 | |||
| 784 | .topbar-message { |
||
| 785 | img { |
||
| 786 | display: inline-block; |
||
| 787 | vertical-align: middle; |
||
| 788 | margin-right: 12px; |
||
| 789 | } |
||
| 790 | } |
||
| 791 | } |
||
| 792 | } |
||
| 793 | |||
| 794 | &.menu-layout-static { |
||
| 795 | .layout-menu { |
||
| 796 | margin-left: 0; |
||
| 797 | } |
||
| 798 | |||
| 799 | .layout-main { |
||
| 800 | margin-left: 250px; |
||
| 801 | } |
||
| 802 | |||
| 803 | &.layout-menu-static-inactive { |
||
| 804 | .layout-menu { |
||
| 805 | margin-left: -250px; |
||
| 806 | } |
||
| 807 | |||
| 808 | .layout-main { |
||
| 809 | margin-left: 0px; |
||
| 810 | } |
||
| 811 | } |
||
| 812 | |||
| 813 | .layout-mask { |
||
| 814 | display: none; |
||
| 815 | } |
||
| 816 | } |
||
| 817 | |||
| 818 | &.menu-layout-horizontal { |
||
| 819 | .topbar { |
||
| 820 | @include no-shadow(); |
||
| 821 | |||
| 822 | .topbar-left { |
||
| 823 | background-color: $primaryColor; |
||
| 824 | @include no-shadow(); |
||
| 825 | } |
||
| 826 | |||
| 827 | .topbar-right { |
||
| 828 | #menu-button { |
||
| 829 | display: none; |
||
| 830 | } |
||
| 831 | } |
||
| 832 | } |
||
| 833 | |||
| 834 | .layout-menu { |
||
| 835 | overflow: visible; |
||
| 836 | position: fixed; |
||
| 837 | width: 100%; |
||
| 838 | top: 75px; |
||
| 839 | height: auto; |
||
| 840 | background-color: $primaryDarkColor; |
||
| 841 | -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.26); |
||
| 842 | -moz-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.26); |
||
| 843 | box-shadow: 0 2px 5px 0 rgba(0,0,0,0.26); |
||
| 844 | |||
| 845 | > .nano { |
||
| 846 | overflow: visible; |
||
| 847 | |||
| 848 | .nano-content { |
||
| 849 | &.menu-scroll-content { |
||
| 850 | display: inherit; |
||
| 851 | height: auto; |
||
| 852 | position: static; |
||
| 853 | overflow: visible; |
||
| 854 | overflow-x: visible; |
||
| 855 | } |
||
| 856 | |||
| 857 | ul:last-child { |
||
| 858 | margin-top: 0px; |
||
| 859 | padding-bottom: 0px; |
||
| 860 | } |
||
| 861 | } |
||
| 862 | |||
| 863 | .nano-pane { |
||
| 864 | display: none !important; |
||
| 865 | } |
||
| 866 | } |
||
| 867 | |||
| 868 | ul.ultima-menu { |
||
| 869 | &:last-child { |
||
| 870 | margin-top: 0; |
||
| 871 | } |
||
| 872 | |||
| 873 | > li { |
||
| 874 | float: left; |
||
| 875 | position: relative; |
||
| 876 | |||
| 877 | > a { |
||
| 878 | color: #ffffff; |
||
| 879 | |||
| 880 | i { |
||
| 881 | color: #ffffff; |
||
| 882 | } |
||
| 883 | |||
| 884 | &:hover { |
||
| 885 | background-color: #e8e8e8; |
||
| 886 | color: $textColor; |
||
| 887 | |||
| 888 | i { |
||
| 889 | color: $textColor; |
||
| 890 | } |
||
| 891 | } |
||
| 892 | } |
||
| 893 | |||
| 894 | > ul { |
||
| 895 | z-index: 100; |
||
| 896 | position: absolute; |
||
| 897 | top: 45px; |
||
| 898 | left: 0px; |
||
| 899 | display: none; |
||
| 900 | width: 250px; |
||
| 901 | background-color: #ffffff; |
||
| 902 | -webkit-box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19), 0 8px 17px 0 rgba(0, 0, 0, 0.2); |
||
| 903 | -moz-box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19), 0 8px 17px 0 rgba(0, 0, 0, 0.2); |
||
| 904 | box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19), 0 8px 17px 0 rgba(0, 0, 0, 0.2); |
||
| 905 | |||
| 906 | li { |
||
| 907 | a { |
||
| 908 | padding: 10px 16px; |
||
| 909 | } |
||
| 910 | |||
| 911 | ul { |
||
| 912 | position: static; |
||
| 913 | |||
| 914 | li { |
||
| 915 | a { |
||
| 916 | padding-left: 32px; |
||
| 917 | } |
||
| 918 | } |
||
| 919 | |||
| 920 | ul { |
||
| 921 | li { |
||
| 922 | a { |
||
| 923 | padding-left: 48px; |
||
| 924 | } |
||
| 925 | } |
||
| 926 | |||
| 927 | ul { |
||
| 928 | li { |
||
| 929 | a { |
||
| 930 | padding-left: 64px; |
||
| 931 | } |
||
| 932 | } |
||
| 933 | |||
| 934 | ul { |
||
| 935 | li { |
||
| 936 | a { |
||
| 937 | padding-left: 80px; |
||
| 938 | } |
||
| 939 | } |
||
| 940 | |||
| 941 | ul { |
||
| 942 | li { |
||
| 943 | a { |
||
| 944 | padding-left: 96px; |
||
| 945 | } |
||
| 946 | } |
||
| 947 | } |
||
| 948 | } |
||
| 949 | } |
||
| 950 | } |
||
| 951 | } |
||
| 952 | |||
| 953 | &.active-menuitem { |
||
| 954 | > a { |
||
| 955 | color: $primaryColor; |
||
| 956 | background-color: #e8e8e8; |
||
| 957 | } |
||
| 958 | } |
||
| 959 | } |
||
| 960 | } |
||
| 961 | |||
| 962 | &.active-menuitem { |
||
| 963 | > a { |
||
| 964 | color: $accentTextColor; |
||
| 965 | background-color: $accentColor; |
||
| 966 | |||
| 967 | i { |
||
| 968 | color: $accentTextColor; |
||
| 969 | } |
||
| 970 | } |
||
| 971 | } |
||
| 972 | } |
||
| 973 | } |
||
| 974 | |||
| 975 | &.layout-menu-dark { |
||
| 976 | background-color: $darkMenuBgColor; |
||
| 977 | |||
| 978 | ul.ultima-menu { |
||
| 979 | li { |
||
| 980 | a { |
||
| 981 | color: #ffffff; |
||
| 982 | |||
| 983 | &:hover { |
||
| 984 | background-color: $darkMenuHoverColor; |
||
| 985 | |||
| 986 | i { |
||
| 987 | color: #ffffff; |
||
| 988 | } |
||
| 989 | } |
||
| 990 | } |
||
| 991 | |||
| 992 | &.active-menuitem { |
||
| 993 | > a { |
||
| 994 | color: $accentTextColor; |
||
| 995 | background-color: $accentColor; |
||
| 996 | } |
||
| 997 | } |
||
| 998 | |||
| 999 | ul { |
||
| 1000 | background-color: $darkMenuBgColor; |
||
| 1001 | } |
||
| 1002 | } |
||
| 1003 | } |
||
| 1004 | } |
||
| 1005 | } |
||
| 1006 | |||
| 1007 | .layout-main { |
||
| 1008 | padding-top: 140px; |
||
| 1009 | margin-left: 0px; |
||
| 1010 | } |
||
| 1011 | |||
| 1012 | .layout-mask { |
||
| 1013 | display: none; |
||
| 1014 | } |
||
| 1015 | } |
||
| 1016 | |||
| 1017 | &.layout-rtl { |
||
| 1018 | &.menu-layout-horizontal { |
||
| 1019 | .layout-menu { |
||
| 1020 | > .nano { |
||
| 1021 | > .nano-content { |
||
| 1022 | ul.ultima-menu { |
||
| 1023 | > li { |
||
| 1024 | > ul { |
||
| 1025 | li { |
||
| 1026 | a { |
||
| 1027 | padding: 10px 16px; |
||
| 1028 | } |
||
| 1029 | } |
||
| 1030 | } |
||
| 1031 | } |
||
| 1032 | } |
||
| 1033 | } |
||
| 1034 | } |
||
| 1035 | } |
||
| 1036 | } |
||
| 1037 | } |
||
| 1038 | } |
||
| 1039 | } |
||
| 1040 | |||
| 1041 | @media (max-width: 1024px) { |
||
| 1042 | .layout-wrapper { |
||
| 1043 | |||
| 1044 | &.menu-layout-static { |
||
| 1045 | .topbar { |
||
| 1046 | .topbar-right { |
||
| 1047 | #menu-button { |
||
| 1048 | i { |
||
| 1049 | @include rotate(180deg); |
||
| 1050 | } |
||
| 1051 | |||
| 1052 | &.menu-button-rotate { |
||
| 1053 | i { |
||
| 1054 | @include rotate(0deg); |
||
| 1055 | } |
||
| 1056 | } |
||
| 1057 | } |
||
| 1058 | } |
||
| 1059 | } |
||
| 1060 | .layout-menu { |
||
| 1061 | margin-left: -265px; |
||
| 1062 | } |
||
| 1063 | |||
| 1064 | .layout-main { |
||
| 1065 | margin-left: 0px; |
||
| 1066 | } |
||
| 1067 | |||
| 1068 | &.layout-menu-static-active { |
||
| 1069 | .layout-menu { |
||
| 1070 | margin-left: 0; |
||
| 1071 | z-index: 999999999; |
||
| 1072 | } |
||
| 1073 | |||
| 1074 | .topbar { |
||
| 1075 | z-index: 999999998; |
||
| 1076 | } |
||
| 1077 | |||
| 1078 | .layout-main { |
||
| 1079 | margin-left: 0; |
||
| 1080 | } |
||
| 1081 | } |
||
| 1082 | } |
||
| 1083 | |||
| 1084 | .topbar { |
||
| 1085 | .topbar-right { |
||
| 1086 | #topbar-menu-button { |
||
| 1087 | display: block; |
||
| 1088 | } |
||
| 1089 | |||
| 1090 | .topbar-items { |
||
| 1091 | position: absolute; |
||
| 1092 | top: 75px; |
||
| 1093 | right: 15px; |
||
| 1094 | width: 275px; |
||
| 1095 | -webkit-animation-duration: .5s; |
||
| 1096 | -moz-animation-duration: .5s; |
||
| 1097 | animation-duration: .5s; |
||
| 1098 | display: none; |
||
| 1099 | background-color: #ffffff; |
||
| 1100 | -webkit-box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19), 0 8px 17px 0 rgba(0, 0, 0, 0.2); |
||
| 1101 | -moz-box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19), 0 8px 17px 0 rgba(0, 0, 0, 0.2); |
||
| 1102 | box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19), 0 8px 17px 0 rgba(0, 0, 0, 0.2); |
||
| 1103 | list-style-type: none; |
||
| 1104 | margin: 0; |
||
| 1105 | padding: 0; |
||
| 1106 | |||
| 1107 | > li { |
||
| 1108 | > a { |
||
| 1109 | width: 100%; |
||
| 1110 | display: block; |
||
| 1111 | box-sizing: border-box; |
||
| 1112 | font-size: 16px; |
||
| 1113 | padding: 16px 16px; |
||
| 1114 | color: $textColor; |
||
| 1115 | position: relative; |
||
| 1116 | |||
| 1117 | i { |
||
| 1118 | display: inline-block; |
||
| 1119 | vertical-align: middle; |
||
| 1120 | margin-right: 12px; |
||
| 1121 | font-size: 24px; |
||
| 1122 | } |
||
| 1123 | |||
| 1124 | &:hover { |
||
| 1125 | background-color: #e8e8e8; |
||
| 1126 | } |
||
| 1127 | |||
| 1128 | .topbar-item-name { |
||
| 1129 | display: inline-block; |
||
| 1130 | vertical-align: middle; |
||
| 1131 | } |
||
| 1132 | |||
| 1133 | .topbar-badge { |
||
| 1134 | position: absolute; |
||
| 1135 | left: 30px; |
||
| 1136 | top: 10px; |
||
| 1137 | background-color: $accentColor; |
||
| 1138 | color: $accentTextColor; |
||
| 1139 | @include border-radius(50%); |
||
| 1140 | padding: 2px 4px; |
||
| 1141 | display: block; |
||
| 1142 | font-size: 12px; |
||
| 1143 | line-height: 12px; |
||
| 1144 | } |
||
| 1145 | } |
||
| 1146 | |||
| 1147 | > ul { |
||
| 1148 | display: none; |
||
| 1149 | |||
| 1150 | li { |
||
| 1151 | a { |
||
| 1152 | span, img, i { |
||
| 1153 | display: inline-block; |
||
| 1154 | vertical-align: middle; |
||
| 1155 | } |
||
| 1156 | } |
||
| 1157 | } |
||
| 1158 | } |
||
| 1159 | |||
| 1160 | &.active-top-menu { |
||
| 1161 | > a { |
||
| 1162 | color: $primaryColor; |
||
| 1163 | } |
||
| 1164 | |||
| 1165 | > ul { |
||
| 1166 | display: block; |
||
| 1167 | |||
| 1168 | li { |
||
| 1169 | a { |
||
| 1170 | padding-left: 32px; |
||
| 1171 | } |
||
| 1172 | } |
||
| 1173 | } |
||
| 1174 | } |
||
| 1175 | |||
| 1176 | &.search-item { |
||
| 1177 | text-align: center; |
||
| 1178 | width: 100%; |
||
| 1179 | display: block; |
||
| 1180 | box-sizing: border-box; |
||
| 1181 | font-size: 16px; |
||
| 1182 | padding: 16px 16px; |
||
| 1183 | position: relative; |
||
| 1184 | |||
| 1185 | input { |
||
| 1186 | top: 0; |
||
| 1187 | width: 100%; |
||
| 1188 | box-sizing: border-box; |
||
| 1189 | padding-right:16px; |
||
| 1190 | border-color: $dividerColor; |
||
| 1191 | color: $textColor; |
||
| 1192 | |||
| 1193 | &:focus { |
||
| 1194 | margin-bottom: -1px; |
||
| 1195 | border-color: $dividerColor; |
||
| 1196 | } |
||
| 1197 | } |
||
| 1198 | |||
| 1199 | input:focus ~ label, |
||
| 1200 | input.ui-state-filled ~ label { |
||
| 1201 | top: -20px; |
||
| 1202 | color: $primaryColor; |
||
| 1203 | } |
||
| 1204 | |||
| 1205 | label { |
||
| 1206 | top: 1px; |
||
| 1207 | color: $textColor; |
||
| 1208 | } |
||
| 1209 | |||
| 1210 | i { |
||
| 1211 | position: absolute;; |
||
| 1212 | right: 5px; |
||
| 1213 | top: -2px; |
||
| 1214 | } |
||
| 1215 | } |
||
| 1216 | |||
| 1217 | &.profile-item { |
||
| 1218 | .profile-image { |
||
| 1219 | display: inline-block; |
||
| 1220 | vertical-align: middle; |
||
| 1221 | width: 24px; |
||
| 1222 | height: 24px; |
||
| 1223 | background: url("\#{resource['ultima-layout:images/avatar2x.png']}") top left no-repeat; |
||
| 1224 | background-size: 24px 24px; |
||
| 1225 | margin-right: 14px; |
||
| 1226 | } |
||
| 1227 | |||
| 1228 | span { |
||
| 1229 | vertical-align: middle; |
||
| 1230 | display: inline-block; |
||
| 1231 | } |
||
| 1232 | } |
||
| 1233 | } |
||
| 1234 | |||
| 1235 | &.topbar-items-visible { |
||
| 1236 | display: block; |
||
| 1237 | } |
||
| 1238 | } |
||
| 1239 | } |
||
| 1240 | } |
||
| 1241 | |||
| 1242 | &.layout-rtl { |
||
| 1243 | &.menu-layout-static { |
||
| 1244 | .layout-menu { |
||
| 1245 | margin-left: 0px; |
||
| 1246 | margin-right: -265px; |
||
| 1247 | } |
||
| 1248 | |||
| 1249 | .layout-main { |
||
| 1250 | margin-right: 0px; |
||
| 1251 | } |
||
| 1252 | |||
| 1253 | .topbar { |
||
| 1254 | .topbar-right { |
||
| 1255 | #menu-button { |
||
| 1256 | i { |
||
| 1257 | transform: rotate(0deg); |
||
| 1258 | } |
||
| 1259 | } |
||
| 1260 | } |
||
| 1261 | } |
||
| 1262 | |||
| 1263 | &.layout-menu-static-active { |
||
| 1264 | .layout-menu { |
||
| 1265 | margin-right: 0px; |
||
| 1266 | } |
||
| 1267 | |||
| 1268 | .topbar { |
||
| 1269 | .topbar-right { |
||
| 1270 | #menu-button { |
||
| 1271 | i { |
||
| 1272 | transform: rotate(180deg); |
||
| 1273 | } |
||
| 1274 | } |
||
| 1275 | } |
||
| 1276 | } |
||
| 1277 | } |
||
| 1278 | } |
||
| 1279 | |||
| 1280 | &.menu-layout-horizontal { |
||
| 1281 | .layout-menu { |
||
| 1282 | > .nano { |
||
| 1283 | > .nano-content { |
||
| 1284 | .ultima-menu { |
||
| 1285 | > li { |
||
| 1286 | float: none; |
||
| 1287 | } |
||
| 1288 | } |
||
| 1289 | } |
||
| 1290 | } |
||
| 1291 | } |
||
| 1292 | } |
||
| 1293 | |||
| 1294 | .topbar { |
||
| 1295 | .topbar-right { |
||
| 1296 | #topbar-menu-button { |
||
| 1297 | right:auto; |
||
| 1298 | } |
||
| 1299 | |||
| 1300 | .topbar-items { |
||
| 1301 | right: auto; |
||
| 1302 | |||
| 1303 | &.topbar-items-visible { |
||
| 1304 | direction: rtl; |
||
| 1305 | } |
||
| 1306 | |||
| 1307 | > li { |
||
| 1308 | &.search-item { |
||
| 1309 | input { |
||
| 1310 | padding-right: 30px; |
||
| 1311 | } |
||
| 1312 | } |
||
| 1313 | |||
| 1314 | > a { |
||
| 1315 | .topbar-badge { |
||
| 1316 | left:auto; |
||
| 1317 | right: 28px; |
||
| 1318 | } |
||
| 1319 | |||
| 1320 | i { |
||
| 1321 | margin-left: 10px; |
||
| 1322 | margin-right: 0px; |
||
| 1323 | } |
||
| 1324 | |||
| 1325 | span { |
||
| 1326 | float: none; |
||
| 1327 | } |
||
| 1328 | } |
||
| 1329 | } |
||
| 1330 | |||
| 1331 | > li.active-top-menu { |
||
| 1332 | > ul { |
||
| 1333 | li { |
||
| 1334 | a { |
||
| 1335 | padding-right: 32px; |
||
| 1336 | padding-left: 16px; |
||
| 1337 | |||
| 1338 | i { |
||
| 1339 | margin-left: 12px; |
||
| 1340 | margin-right: 0px; |
||
| 1341 | |||
| 1342 | &:first-child { |
||
| 1343 | padding-left: 0px; |
||
| 1344 | } |
||
| 1345 | } |
||
| 1346 | } |
||
| 1347 | } |
||
| 1348 | } |
||
| 1349 | } |
||
| 1350 | |||
| 1351 | > li.profile-item { |
||
| 1352 | .profile-image { |
||
| 1353 | margin-left: 8px; |
||
| 1354 | margin-right: -2px; |
||
| 1355 | } |
||
| 1356 | } |
||
| 1357 | } |
||
| 1358 | } |
||
| 1359 | } |
||
| 1360 | } |
||
| 1361 | } |
||
| 1362 | } |
||
| 1363 | |||
| 1364 | @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
||
| 1365 | .layout-wrapper { |
||
| 1366 | .topbar { |
||
| 1367 | .logo { |
||
| 1368 | background: url("\#{resource['ultima-layout:images/logo2x.png']}") top left no-repeat; |
||
| 1369 | background-size: 200px 30px; |
||
| 1370 | } |
||
| 1371 | } |
||
| 1372 | } |
||
| 1373 | } |
||
| 1374 | |||
| 1375 | @media (max-width: 399px) { |
||
| 1376 | .layout-wrapper { |
||
| 1377 | .topbar { |
||
| 1378 | .topbar-right { |
||
| 1379 | #topbar-menu-button { |
||
| 1380 | right: 10px; |
||
| 1381 | } |
||
| 1382 | } |
||
| 1383 | } |
||
| 1384 | |||
| 1385 | &.layout-rtl { |
||
| 1386 | .topbar { |
||
| 1387 | .topbar-right { |
||
| 1388 | #topbar-menu-button { |
||
| 1389 | left: 10px; |
||
| 1390 | } |
||
| 1391 | } |
||
| 1392 | } |
||
| 1393 | } |
||
| 1394 | } |
||
| 1395 | } |