dashboard.less 26.3 KB
Newer Older
1 2 3 4
/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
  padding-bottom: 20px;
5 6 7 8 9 10
  margin-bottom: 30px; /* sticky footer */
}

html {
  position: relative;
  min-height: 100%;
11 12
}

13 14 15 16 17 18
.navbar-nav img {
  width: 46px;
  height: 46px;
  margin-top: -4px;
}

19 20 21 22 23
.profile-avatar {
  width: 24px;
  height: 24px;
}

24 25 26 27
.navbar-fixed-top {
  border: 0px;
}

28 29 30 31 32 33 34 35 36 37 38 39 40
/* Set widths on the navbar form inputs since otherwise they're 100% wide */
.navbar-form input[type="text"],
.navbar-form input[type="password"] {
  width: 180px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
  padding-left: 15px;
  padding-right: 15px;
}

41
/* --- */
Kálmán Viktor committed
42

43 44 45
#dashboard-menu > li > a {
  color: white;
  font-size: 10px;
Kálmán Viktor committed
46 47 48
}


49
#dashboard-menu {
50
  margin-right: 0px;
51 52
}

53 54 55 56
/* we need this for mobile view */
.container > :first-child {
  margin-top: 15px;
}
Kálmán Viktor committed
57

58 59 60 61 62 63 64 65 66 67
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Let the jumbotron breathe */
  .container > :first-child {
    margin-top: 20px;
  }
  /* Remove padding from wrapping element since we kick in the grid classes here */
  .body-content {
    padding: 0;
  }
Kálmán Viktor committed
68 69 70 71 72 73

  .navbar-nav > li > a {
    padding-top: 12.5px;
    padding-bottom: 12.5px;
  }

74
  #dashboard-menu > li:last-child > a {
75 76
    padding: 4px 0 0 0;
  }
77
}
78

79 80 81 82 83
.no-margin {
  margin: 0!important;
}

.list-group .list-group-footer {
Bach Dániel committed
84 85 86 87 88
  height: 41px;
}

.list-group-footer .text-right {
  padding-top: 4px;
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
}

.big {
  font-size: 2em;
}
.bigbig {
  font-size: 3em;
}

.timeline {
  border-left: 4px #428bca solid;
  margin-left: 20px;
  padding-left: 20px;
}

.timeline > div {
  margin: 0;
  padding: 0;
  margin-bottom: .5em;
  line-height: 24px;
}
.timeline > div:last-child {
  margin-bottom: 0;
}

.timeline .timeline-icon {
115
  margin-left: -34px;
116 117 118 119 120 121 122 123 124 125
  padding: 0;
  width: 24px;
  height: 24px;
  text-align: center;
  display: inline-block;
  border-radius: 50%;
  background-color: #428bca;
  color: #fff;
}

126 127 128 129
.timeline .activity-active .timeline-icon {
  background-color: black!important;
}

130 131 132 133 134
.timeline img{
  border-radius: 50%;
  margin-bottom: 2px;
}

135 136 137 138
.timeline a {
  color: black;
}

139 140 141 142 143 144 145 146 147 148 149
.timeline-icon.timeline-warning {
  border-color: #c09853;
  border-style: solid;
  border-width: 2px;
  background-color: white;
  color: #c09853;
  line-height: 20px;
}
.timeline .timeline-icon.timeline-nobg {
  background-color: transparent;
}
150

151 152
.sub-timeline {
}
153 154

.sub-activity {
155
  margin-left: -4px;
156
  padding-left: 10px;
157
  border-left: 3px solid green;
158 159
}

160 161 162 163
.sub-activity-active {
  border-left: 8px solid black;
}

164 165 166 167 168 169 170 171 172
.sub-activity-failed {
  border-left: 3px solid #d9534f;
}

.timeline-icon-failed {
  background-color: #d9534f !important;
}


173 174 175 176 177 178 179
.table-with-form-fields tbody tr td {
  line-height: 34px;
}
#vm-detail-panel .panel-body {
  min-height: 20em;
}

180 181 182 183
#node-detail-panel .panel-body {
  min-height: 20em;
}

184 185 186 187
#group-detail-panel .panel-body {
  min-height: 20em;
}

188 189 190 191 192 193 194 195 196 197 198 199
:link i:before:hover {
  text-decoration: none !important;
}

.rule-table tr >:nth-child(1) {
    text-align: right;
}
.rule-table tr >:nth-child(2) {
    text-align: center;
}

.dashboard-index .panel {
Bach Dániel committed
200
    height: 294px;
201
}
202

203
#vm-details-rename, #vm-details-h1-name, #vm-details-rename ,
204
#node-details-rename, #node-details-rename *, #node-details-h1-name, #node-list-rename, #node-list-rename *#group-details-rename, #group-details-rename *, #group-details-h1-name, #group-list-rename, #group-list-rename * {
205

206 207 208
  display: inline;
}

209
#vm-details-rename, #vm-list-rename, #node-details-rename, #node-list-rename, #group-details-rename, #group-list-rename {
210 211 212
  display: none;
}

213 214 215 216 217
#group-details-rename-form {
  display: inline-block;
}

.vm-details-home-name, #group-details-rename-form .input-group {
218 219 220
  max-width: 401px;
}

221
#node-details-rename-name {
222 223 224
  max-width: 160px;
}

225
#vm-list-rename-name, #node-list-rename-name, #group-list-rename-name {
226
  max-width: 150px;
227
}
Kálmán Viktor committed
228 229 230 231 232

.label-tag {
  /* pass */
}

233
#vm-details-tags-form, #node-details-traits-form {
Kálmán Viktor committed
234 235 236 237
  margin-top: 15px;
  max-width: 250px;
}

238
.vm-details-remove-tag, .node-details-remove-trait {
Kálmán Viktor committed
239 240 241 242
  color: white;
  padding-left: 5px;
}

243
.vm-details-remove-tag:hover, .node-details-remove-trait:hover {
Kálmán Viktor committed
244 245 246 247 248 249
  cursor: pointer;
  color: black;
  text-decoration: none;
}

/* small buttons for tags, copied from Bootstraps input-sm, bnt-sm */
250
.btn-tags, .btn-traits {
Kálmán Viktor committed
251 252 253 254 255 256
  padding: 3px 6px;
  font-size: 11px;
  line-height: 1.5;
  border-radius: 3px;
}

257
.input-tags, .input-tratis {
Kálmán Viktor committed
258 259 260 261 262 263 264
  height: 22px;
  padding: 2px 8px;
  font-size: 11px;
  line-height: 1.5;
  border-radius: 3px;
}
/* --- */
265 266 267 268 269 270 271 272 273 274 275

.vm-details-remove-port:hover {
  text-decoration: none;
}

/* arrow in port add table */
#ipv4 tbody td:nth-child(2), #ipv6 tbody td:nth-child(2) {
  width: 60px;
}

/* port add buttons */
276 277
.vm-details-network-port-add .input-group-addon, .vm-details-network-port-add .input-group-btn {
  width: inherit ;
278 279 280 281 282 283 284 285
}

/* vm-create */
a.hover-black {
  color:white;
}

.hover-black:hover {
286
  color: black; /*#d9534f*/
287 288 289 290 291 292 293 294 295 296 297
  text-decoration: none;
}

.no-js-hidden {
  display: none;
}

#vm-create-network-addcheckbox-managed {
  -webkit-transform: scale(1.3, 1.3); margin-top: 4px;
}
/* --- */
298 299 300 301 302 303 304 305 306

.interval-input {
  margin-bottom: 20px;
  max-width: 600px;
}
.interval-input input {
  text-align: right;
}

307
/* vm details connection */
308
.vm-details-connection dd {
309
  padding: 4px 0 4px 0;
310
  margin-left: 160px;
311 312
}

313 314
.vm-details-connection dt {
  text-align: left;
315
  padding: 4px 0 4px 15px;
316 317 318 319 320 321
}

#vm-details-pw-confirm {
  margin-top: 10px;
  display: none;
}
322

323 324 325 326
#vm-details-pw-confirm dt {
  text-align: right;
}

327 328 329
.dashboard-vm-details-network-h3 {
  margin-top: 20px;
}
330 331 332 333 334

/* font awesome font */
.font-awesome-font {
  font-family: "FontAwesome";
}
335

336 337 338 339 340 341 342 343 344 345 346
.template-list-table tbody>tr>td, .template-list-table thead>tr>th,
.lease-list-table tbody>tr>td, .lease-list-table thead>tr>th {
  vertical-align: middle;
  text-align: center;
}

.template-list-table td:nth-child(1), .lease-list-table td:nth-child(1) {
  text-align: left;
}

.template-list-table-thin {
347
  width: 100px;
348 349 350
}


351
.nojs-dropdown-menu
352
{
353 354 355
  position:absolute;
  display:none;
  z-index: 1;
356 357 358
}


359
.nojs-dropdown-toggle:focus + .nojs-dropdown-menu
360
{
361
  display: block;
362 363
}

364
.nojs-dropdown-toggle:focus
365
{
366
  outline:none;
367 368
}

369 370 371
.nojs-dropdown-menu:hover
{
  display: block;
372
}
373

374
#notification-messages {
375 376
  padding: 10px 8px;
  width: 350px;
377 378
  right: 0;
  left: auto;
379 380 381 382 383 384 385 386
}

.notification-message {
  margin-bottom: 10px;
  padding: 0 0 4px 0;
  border-bottom: 1px dotted #D3D3D3;
}

387
#notification-messages .notification-message:last-child {
388 389 390 391 392 393 394 395 396 397 398 399 400
  margin-bottom: 0px;
  padding: 0px;
  border-bottom: none;
}

.notification-message-text {
  padding: 8px 15px;
  display: none;
}

.notification-message .notification-message-subject {
  cursor: pointer;
}
401

402 403 404 405 406
#notification-button a.dropdown-toggle {
  color: white;
  font-size: 12px;
}

407 408 409 410 411 412
#vm-migrate-node-list {
  list-style: none;
}

#vm-migrate-node-list li {
  padding-bottom: 10px;
413 414 415 416 417 418
}

.vm-migrate-node-property {
  display: block;
  padding-left: 15px;
}
419 420 421 422 423 424 425 426

.vm-details-help {
  max-width: 700px;
  padding: 10px 10px 0px 10px;
  margin-left: 50px;
  /*  fancy stuff
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
427
  border-radius: 8px;
428 429 430 431 432 433 434 435 436 437
  */
}

.vm-details-help li {
  padding-bottom: 5px;
}

.vm-details-help ul {
  padding-left: 0px;
}
438 439 440


/* footer */
441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456
footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 30px;
  background-color: #101010;
  color: white;
  font-size: 13px;
  padding: 5px 5px 0 5px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  text-align: center;
}

footer a, footer a:hover, footer a:visited {
  color: white;
457 458
  text-decoration: underline;
}
459

460 461 462 463 464 465 466
.template-disk-list {
  list-style: none;
  padding-left: 0;
}

.template-disk-list li {
  padding-bottom: 5px;
467
}
468 469 470 471

#node-info-pane {
  margin-bottom: 20px;
}
472 473 474 475 476 477 478 479 480 481 482 483

.template-choose-list {
  max-width: 600px;
}

.template-choose-list-element small {
  display: none;
  float: right;
  padding-right: 50px;
}

.template-choose-list-element {
484 485 486
  padding: 6px 10px;
  cursor: pointer;
  margin-bottom: 15px; /* bootstrap panel default is 20px */
487 488 489 490 491
}

.template-choose-list input[type="radio"] {
  float: right;
}
492 493

/* template create vm help */
494 495 496 497 498 499 500
.alert-new-template {
  background: #3071a9;
  color: white;
  font-size: 22px;
}

.alert-new-template ol {
501
  margin-left: 25px;
502
}
503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520

/* bootstrap tour */
.tour-template {
  max-width: 400px;
  min-width: 270px;
  font-size: 16px;
}

.tour-template {
  text-align: justify;
}
.tour-template .popover-title {
  font-weight: bold;
}

#vm-details-resources-form {
  padding: 5px; /* it's nice this way in the tour */
}
521

522 523 524
#dashboard-vm-list a small {
  padding-left: 10px;
}
525 526

.index-template-list-name {
527 528 529 530 531
  display: inline-block;
  max-width: 50%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
532 533 534 535
  float: left;
}

#dashboard-template-list a small {
536
  max-width: 45%;
537 538 539 540 541 542 543
  float: left;
  padding-top: 2px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  padding-left: 10px;
}
544 545

#vm-details-home-description {
546
  display: inline-block;
547 548 549 550 551 552 553 554 555 556 557 558 559
  position: relative;
}

#vm-details-home-description textarea {
  min-width: 240px;
  min-height: 250px;
}

.vm-details-home-edit-description-click, .vm-details-home-edit-name-click {
  cursor: pointer;
}

.vm-details-description-submit {
560 561
  position: absolute;
  bottom: 10px;
562 563
  right: 20px;
}
564 565 566 567

.vm-list-table th i {
  margin-top: 3px;
}
568 569 570 571

.table-sorting {
  display: none;
}
572 573 574 575

#ops {
  padding: 15px 0 15px 15px;
}
576

577 578 579 580
#vm-access-table th:last-child, #vm-access-table td:last-child,
#template-access-table th:last-child, #template-access-table td:last-child {
  text-align: center;
}
Kálmán Viktor committed
581 582 583 584

#notifications-button {
  margin: 0;
}
585

586
#dashboard-vm-list, #dashboard-node-list, #dashboard-group-list,
587
#dashboard-template-list, #dashboard-files-toplist, #dashboard-user-list {
Bach Dániel committed
588
  min-height: 200px;
589
}
590

591 592 593 594 595 596 597 598
#group-detail-user-table td:first-child, #group-detail-user-table th:last-child,
#group-detail-user-table td:last-child,
#group-detail-perm-table td:first-child, #group-detail-perm-table th:last-child,
#group-detail-perm-table td:last-child {
  text-align: center;
  width: 100px;
}

599 600 601 602
#group-detail-user-table tr:last-child td:nth-child(2) {
  text-align: left;
}

603 604 605 606
#group-detail-perm-header {
  margin-top: 25px;
}

607
textarea[name="new_members"] {
608 609 610 611 612 613 614 615 616
  max-width: 500px;
  min-height: 80px;
  margin-bottom: 10px;
}

/* 2px border bottom for all bootstrap tables */
.table thead>tr>th {
  border-bottom: 1px;
}
617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635

.badge-pulse {
  -webkit-animation-name: 'pulse_animation';
  -webkit-animation-duration: 1000ms;
  -webkit-transform-origin: 70% 70%;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
}

@-webkit-keyframes pulse_animation {
  0% { -webkit-transform: scale(1); }
  30% { -webkit-transform: scale(1); }
  40% { -webkit-transform: scale(1.18); }
  50% { -webkit-transform: scale(1); }
  60% { -webkit-transform: scale(1); }
  70% { -webkit-transform: scale(1.08); }
  80% { -webkit-transform: scale(1); }
  100% { -webkit-transform: scale(1); }
}
636 637 638 639 640 641 642 643 644

.btn-toolbar {
  margin-bottom: 5px;
}

#vm-console-screenshot {
  display: none;
}

645
/* vm list css */
646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664
.vm-list-selected, .vm-list-selected td {
  background-color: #e8e8e8 !important;
}

.vm-list-selected:hover, .vm-list-selected:hover td {
  background-color: #d0d0d0 !important;
}

.vm-list-selected td:first-child {
  font-weight: bold;
}

.vm-list-table-thin {
  width: 10px;
}

.vm-list-table-admin {
  width: 130px;
}
665

666 667
.vm-details-connection-string-copy,
#vm-details-pw-show {
668 669
  cursor: pointer;
}
670

671 672 673 674 675
.dashboard-profile-vm-list, .dashboard-profile-group-list {
  list-style: none;
  padding-left: 28px;
}

676 677 678 679 680
.dashboard-profile-vm-list, .dashboard-profile-group-list {
  a, a:hover {
    text-decoration: none;
    color: #555;
  }
681
}
682 683

#group-detail-user-table td:nth-child(2) a,
684 685 686
#group-detail-perm-table td:nth-child(2) a,
#template-access-table td:nth-child(2) a,
#vm-access-table td:nth-child(2) a,
687 688 689 690
.no-style-link, .no-style-link:hover {
  color: #555 !important;
  text-decoration: none;
}
691 692 693 694

#dashboard-profile-avatar {
  max-width: 200px;
}
695

696
.dashboard-vm-details-connect-command {
697
  /* for mobile view */
698
  padding-bottom: 20px;
699
}
700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717

#store-list-list {
  list-style: none;
}

.store-list-item {
  cursor: pointer;
}

.store-list-item:hover {
  background: rgba(0, 0, 0, 0.6);
}

.store-list-item-icon {
  width: 20px;
  text-align: center;
  display: inline-block;
  margin-right: 15px;
718
  float: left;
719 720 721 722 723 724 725 726 727
}

.store-list-item-size {
  width: 70px;
  text-align: right;
  float: right;
}

.store-list-file-infos {
728
  padding: 15px;
729 730 731
  display: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
732 733 734 735 736 737 738 739 740 741 742 743
  position: relative;
}

.store-list-item-new {
  display: inline-block;
}

.store-list-item-new .badge {
  margin-left: 5px;
  background: #5bc0dc;
}

744 745
.store-list-item-icon-directory {
  color: #ff8c00;
746
}
747 748

.store-remove-button {
749
  margin-top: 8px;
750
}
751

752 753 754 755 756 757 758 759 760
#dashboard-files-toplist {
  div.list-group-item {
    color: #555;
    height: 41px;

    &:hover {
      background: #eee;
    }
  }
761 762
}

763 764 765 766 767 768 769 770 771 772 773 774 775
.store-list-item-name {
  max-width: 70%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  float: left;
}

.dashboard-toplist-icon {
  float: left;
  padding: 2px 5px 0 0;
}

776 777 778
.no-hover:hover {
  background: none !important;
}
779

780
#group-detail-permissions .filtered {
781 782 783 784 785 786 787 788 789
  margin: 2px 0;
  padding: 2px 3px;
  vertical-align: middle;
  font-family: "Lucida Grande", Verdana, Arial, sans-serif;
  font-weight: normal;
  font-size: 11px;
  border: 1px solid #ccc;
}

790
#group-detail-permissions .selector-available h2,
791
#group-detail-permissions .selector-chosen h2 {
792 793 794 795 796 797 798 799 800 801 802 803
  margin: 0;
  padding: 5px 8px 5px 8px;
  font-size: 12px;
  text-align: left;
  font-weight: bold;
  background: #7CA0C7;
  color: white;
}

#group-detail-user-table {
  margin-top: 20px;
}
804 805

#group-detail-permissions input[type="submit"]{
806
  margin-top: -6px;
807
}
808

809 810 811 812
.group-remove-all-btn {
  margin-right: 5px;
}

813 814 815
.store-action-button {
  margin-left: 5px;
}
816 817 818 819 820 821 822 823 824 825 826 827 828

#progress-marker-hard {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  right: 0;
  background: red;
}

.progress-marker {
  width: 6px;
  height: 20px;
  position: absolute;
}
829

830 831 832
#show-all-activities-container {
  margin: 20px 0 0 10px;
}
833

834 835 836 837
#vm-details-resources-form {
  margin-top: 15px;
}

838
#vm-details-resources-form .row, .resources-sliders .row {
839 840
  margin-bottom: 15px;
}
841 842 843 844 845

#vm-create-disk-add-form {
  max-width: 450px;
  margin-top: 15px;
}
846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883

.vm-create-template {
  max-width: 800px;
  border: 1px solid black;
  border-bottom: none;
}

.vm-create-template-list .vm-create-template:last-child {
  border-bottom: 1px solid black;
}

.vm-create-template-summary {
  padding: 15px;
  cursor: pointer;
}

.vm-create-template:nth-child(odd) .vm-create-template-summary {
  background: #F5F5F5;
}

.vm-create-template-list .vm-create-template-summary:hover {
  background: #D2D2D2;
}

.vm-create-template-details {
  border-top: 1px dashed #D3D3D3;
  padding: 15px;
}

.vm-create-template-details ul {
  list-style: none;
  padding: 0 15px;
}

.vm-create-template-details li {
  border-bottom: 1px dotted #aaa;
  padding: 5px 0px;
}
884

885
#profile-key-list-table td:last-child, #profile-key-list-table th:last-child,
886 887
#profile-command-list-table td:last-child, #profile-command-list-table th:last-child,
#profile-command-list-table td:nth-child(2), #profile-command-list-table th:nth-child(2) {
888
  text-align: center;
889 890
  vertical-align: middle;
}
891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942

#vm-list-table .migrating-icon {
  -webkit-animation: passing 2s linear infinite;
  animation: passing 2s linear infinite;
}

@-webkit-keyframes passing {
  0% {
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
    opacity: 0;
  }

  50% {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    opacity: 1;
  }

  100% {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    opacity: 0;
  }
}

@keyframes passing {
  0% {
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
    opacity: 0;
  }

  50% {
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    transform: translateX(0%);
    opacity: 1;
  }

  100% {
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    opacity: 0;
  }
}

.mass-migrate-node {
  cursor: pointer;
}
943 944 945 946 947 948 949 950 951 952 953 954 955 956

.mass-op-panel {
  padding: 6px 10px;
}

.mass-op-panel .check {
  color: #449d44;
}

.mass-op-panel .minus {
  color: #d9534f;
}

.mass-op-panel .status-icon {
957
  font-size: .8em;
958
}
959 960 961 962

#vm-list-search, #vm-mass-ops {
  margin-top: 8px;
}
Bach Dániel committed
963 964 965 966 967

.list-group-item {
  border-bottom: 0px !important;
}

968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009
.list-group-item-last {
  border-bottom: 1px solid #ddd !important;
}

.slider {
  display: inline-block;
}
.slider .track {
  height: 20px;
  top: 50%;
}
.slider > .dragger, .slider > .dragger:hover {
  border-radius: 0px;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  width: 8px;
  height: 24px;
  margin-top: -12px!important;
  text-shadow: 0 1px 0 #fff;
  background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#3071a9));
  background-image: -webkit-linear-gradient(top, #428bca, 0%, #3071a9, 100%);
  background-image: -moz-linear-gradient(top, #428bca 0%, #3071a9 100%);
  background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
  background-repeat: repeat-x;
  border-color: #2d6ca2;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0);
}
.slider > .dragger:hover {
  background-color: #3071a9;
  background-image: none;
  border-color: #2d6ca2;
}
.slider > .highlight-track {
  height: 20px;
  top: 50%;
}
.slider > .track, .slider > .highlight-track {
  border-radius: 5px;
}
.slider {
  width: 100%;
}
1010 1011 1012 1013 1014 1015

#vm-list-search-checkbox {
  margin-top: -1px;
  display: inline-block;
  vertical-align: middle;
}
1016 1017 1018 1019

#vm-list-search-checkbox-span {
  cursor: pointer
}
1020

1021 1022 1023 1024 1025 1026 1027
#vm-details-resources-disk {
  padding: 2px 5px 10px 5px;
}

#vm-details-start-template-tour {
  margin-right: 5px;
}
1028

1029 1030 1031
#vm-activity-state {
  margin-bottom: 15px;
}
1032 1033 1034 1035 1036 1037

.autocomplete-hl {
  color: #b20000;
  font-weight: bold;
}

1038
.select2-results__option--highlighted .autocomplete-hl {
1039 1040
  color: orange;
}
1041

1042 1043 1044 1045
.introjs-skipbutton {
  color: #333;
}

Kálmán Viktor committed
1046 1047 1048 1049 1050 1051
.introjs-button:focus {
  text-decoration: none;
  color: #333;
  outline: none;
}

1052
.introjs-button:hover:not(.introjs-disabled) {
Kálmán Viktor committed
1053 1054
  color: #428bca;
}
1055

1056 1057 1058 1059
.introjs-tooltip {
  min-width: 250px;
}

1060 1061 1062
#vm-info-pane {
  margin-bottom: 20px;
}
1063

1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080
.node-list-table tbody>tr>td, .node-list-table thead>tr>th {
  vertical-align: middle;
}

.node-list-table thead>tr>th,
.node-list-table .enabled, .node-list-table .priority,
.node-list-table .overcommit, .node-list-table .number_of_VMs {
  text-align: center;
}

.node-list-table-thin {
  width: 10px;
}

.node-list-table-monitor {
  width: 250px;
}
Kálmán Viktor committed
1081 1082 1083 1084

.graph-images img {
  max-width: 100%;
}
1085

1086 1087 1088 1089
#node-list-auto-migration-body {
  padding: 20px;
}

1090 1091
#vm-list-table td.state,
#vm-list-table td.memory {
1092 1093 1094 1095 1096 1097
  white-space: nowrap;
}

#vm-list-table td {
  vertical-align: middle;
}
1098

Bálint Máhonfai committed
1099
.disk-resize-btn, .disk-export-btn {
1100 1101
  margin-right: 5px;
}
1102 1103 1104 1105

#vm-migrate-node-list li {
  cursor: pointer;
}
1106 1107 1108 1109 1110 1111 1112 1113 1114

.group-list-table .actions,
.group-list-table .admin,
.group-list-table .number_of_users,
.group-list-table .pk {
  width: 1px;
  white-space: nowrap;
  text-align: center;
}
1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133

.vm-create-list-name {
  display: inline-block;
  max-width: 60%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  float: left;
}


.vm-create-list-system {
  display: inline-block;
  max-width: 40%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  float: right;
}
1134

1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147
/* for introjs
 * newer version has this fixed
 * but it doesn't work w bootstrap 3.2.0
 */
.introjs-helperLayer *,
.introjs-helperLayer *:before,
.introjs-helperLayer *:after {
  -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
      -ms-box-sizing: content-box;
      -o-box-sizing: content-box;
          box-sizing: content-box;
}
1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172

.node-list-table .monitor {
  .progress {
    position: relative;
    width: 150px;
    height: 16px;
    margin-bottom: 4px;
    margin-top: 0px;
    background-image: linear-gradient(to bottom, #BBEBEB 0px, #F5F5F5 100%);
  }
  .progress-bar-text {
    position: absolute;
    top: -1px;
    display: block;
    width: 100%;
    color: white;
    /* outline */
    text-shadow:
      -1px -1px 0 #000,
      1px -1px 0 #000,
      -1px 1px 0 #000,
      1px 1px 0 #000;
    font-size: 13px;
  }
}
1173 1174 1175 1176 1177 1178 1179 1180

.infobtn {
  cursor: help;

  &:hover {
    background-position: 0 0px;
  }
}
1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193

#dashboard-vm-list {
  .list-group-item {
    display: flex;
  }

  .index-vm-list-name, .index-vm-list-host {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .index-vm-list-name {
1194
    max-width: 70%;
1195 1196 1197 1198 1199 1200 1201
  }

  .index-vm-list-host {
    padding-top: 3px;
    flex: 1;
  }
}
1202

1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224

#dashboard-user-list {
  .list-group-item {
    display: flex;
  }

  .index-user-list-name, .index-user-list-org {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .index-user-list-name {
    max-width: 80%;
  }

  .index-user-list-org {
    padding-left: 5px;
    flex: 1;
  }
}

1225 1226 1227 1228 1229 1230 1231 1232
.fa-fw-12 {
  /* fa-fw is too wide */
  width: 12px;
}

.btn-op-form-send {
  padding: 6px 12px 6px 8px;
}
1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255


@media (max-width: 767px) {
  #vm-detail-panel .graph-buttons {
    padding-top: 15px;
  }

  .graph-buttons a {
    margin-bottom: 8px;
  }

  #ops .operation {
    margin-bottom: 5px;
  }

  .vm-details-connection dd {
    margin-left: 25px;
  }

  .vm-details-connection dt {
    padding-left: 0px;
  }
}
1256

1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277
#notifications-upper-pagination {
  margin-top: 4px;
}

#notifications-bottom-pagination {
  * {
    display: inline-block;
  }

  a {
    font-size: 20px;

    &:hover {
      text-decoration: none;
    }
  }

  .page-numbers {
    padding: 25px;
  }
}
1278 1279 1280 1281

.pagination {
  width: 100%;
}
1282 1283 1284 1285

#empty-vm-help {
  position: absolute;
  bottom: 70px;
1286
  right: 30px;
1287
  color: #101010;
1288 1289 1290 1291 1292
  text-align: right;

  i {
    padding-right: 10px;
  }
1293
}
1294

1295
#vm-detail-successful-boot {
1296 1297
  margin-bottom: 20px;
  display: none;
1298 1299 1300 1301 1302 1303 1304

  .label {
    width: 100%;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
  }
1305
}
1306

1307 1308 1309 1310
#vm-detail-access-help {
  background: #f9f9f9;
  margin-top: 20px;
}
1311

1312
#vm-renew-request-lease, #vm-request-resource-form {
1313 1314
  display: none;
}
1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329

.label-100 {
  display: block;
  width: 100%;
}

#modify-the-resources {
  font-size: 18px;
  display: none;
}

#vm-request-resource-form textarea {
  max-width: 500px;
  height: 150px;
}
1330

1331 1332 1333 1334 1335
#disk-list-table {
  td:last-child {
    text-align: center;
  }
}
1336 1337


1338 1339
/* help page */
.help-tabs li {
1340 1341 1342
  width: 50%;
  text-align: center;
}
1343

1344
// note: padding-margin hack to skip banner on anchor
1345 1346 1347 1348 1349
#help-tab-content {
  h1, h2, h3, h4, h5 {
    font-weight: bold;
    padding-top: 55px; margin-top: -55px;
  }
1350

1351 1352 1353
  blockquote {
    background-color:#dfe4e4;
  }
1354 1355 1356
}

#wrapper {
1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372
  position: fixed;
  padding-left: 0px;
  background: #252525;
  left: 0px;
  top: 46px;
  height: 100%;
  width: 210px;
  transition: all .4s ease 0s;
  /* Firefox */
  height: -moz-calc(100% - 130px);
  /* WebKit */
  height: -webkit-calc(100% - 120px);
  /* Opera */
  height: -o-calc(100% - 110px);
  /* Standard */
  height: calc(100% - 130px);
1373 1374 1375 1376 1377
}

#sidebar-wrapper {
    margin-left: 0px;
    left: 0px;
1378 1379 1380 1381
    top: inherit;
    bottom: 30px;
    width: inherit;
    position: inherit;
1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455
    z-index: 10000;
    transition: all .4s ease 0s;
    overflow: auto;
    overflow-x: hidden;
    overflow-y: auto;
}

#sidebar-wrapper ul {
    display: block;
    float: left;
    list-style: none;
    margin: 0;
    padding: 0px;
}

#sidebar-wrapper a {
    font-family: "proxima-nova", 'Helvetica Neue', 'Helvetica', 'sans-serif';
    color: #ddd;
    display: block;
    float: left;
    width: 200px;
    text-decoration: none;
    background: #252525;
    border-top: 1px solid #333;
    border-bottom: 1px solid #222;
    -webkit-transition: background .5s;
    -moz-transition: background .5s;
    -o-transition: background .5s;
    -ms-transition: background .5s;
    transition: background .5s;
}

#sidebar-wrapper ul a{
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    font-size: larger;
}

#sidebar-wrapper li a{
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 20px;
    padding-right: 6px;
    font-size: smaller;
}

#sidebar-wrapper ul ul a{
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 16px;
    font-size: larger;
}

#sidebar-wrapper li li a{
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 24px;
    padding-right: 6px;
    font-size: smaller;
}

#sidebar-wrapper li a:hover, #sidebar-wrapper ul a:hover{
  color: #fff;
  background: rgba(200,200,255,0.15);
  text-decoration: none;

}

#page-content {
  margin-left: 200px;
}

@media only screen and (max-width: 600px) {
1456
  #wrapper {
1457 1458 1459 1460 1461 1462 1463 1464
    -webkit-transform: translateX(-250px);
    -moz-transform: translateX(-250px);
    -o-transform: translateX(-250px);
    -ms-transform: translateX(-250px);
    transform: translateX(-250px);
  }

  #page-content {
1465 1466 1467 1468 1469 1470
    margin-left: 0px;
    -webkit-transition: background .5s;
    -moz-transition: background .5s;
    -o-transition: background .5s;
    -ms-transition: background .5s;
    transition: background .5s;
1471 1472 1473
  }
}

1474 1475 1476
.overview_href {
  cursor: pointer;
}
1477

1478
#request-buttons {
1479
  form {
1480
    display: inline;
1481 1482
  }
  textarea {
1483 1484
    resize: none;
    min-height: 80px;
1485
  }
1486
}
1487 1488 1489 1490

.nowrap {
  white-space: nowrap;
}
1491 1492 1493 1494

.little-margin-bottom {
  margin-bottom: 5px;
}
1495 1496 1497 1498 1499 1500

.broadcast-message {
  margin-bottom: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
}
1501

1502 1503 1504
.acl-table td:first-child {
  text-align: center;
}
1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539

#resize-help {
  table {
    background-color: #f5f5f5;
  }

  .panel {
    padding: 2px 20px;
    background-color: #f5f5f5;
    margin: 20px 0px;
  }

  ol li {
    margin-top: 15px;
  }

  img {
    display: block;
    margin: 15px 0 5px 0;
  }

  pre {
    margin-top: 5px;
  }

  hr {
    margin: 50px 0;
  }
}

#vm-details-resize-how-to {
  font-size: 1.5em;
  text-align: center;
  width: 100%;
}
1540 1541 1542 1543

#manage-access-select-all {
  cursor: pointer;
}
1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559

#two-factor-qr {
  text-align: center;

  span, small {
    display: block;
  }
}

#two-factor-confirm {
  text-align: center;

  button {
    margin-left: 15px;
  }
}
1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573

#two-factor-box {
  .help-block {
    display: block;
  }

  h4 {
    margin: 0;
  }

  hr {
    margin: 15px 0 2px 0;
  }
}
1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598


#datastore-chart-legend {
  width: 350px;
  margin-top: 100px;
  margin-left: -120px;

  /* Landscape phones and down */
  @media (max-width: 992px) {
    margin-left: -25px;
  }
  ul {
    list-style: none;
  }
  li {
    font-size: 18px;
      margin-bottom: 2px;
    span {
      display: inline-block;
      width: 30px;
      height: 18px;
      margin-right: 8px;
    }
  }
}