box.less 17.6 KB
Newer Older
Bence Dányi committed
1
.boxes {
Bence Dányi committed
2
    width:50%;
3 4 5
    float:left;
}

Bence Dányi committed
6
.box {
7 8 9 10 11 12 13 14 15 16 17 18
    background-color:#000;
    background-image:url(/static/image/hexa.png);
    background-position:center 30%;
    background-repeat:no-repeat;
    color:#fff;
    font-weight:700;
    line-height:1.5em;
    width:400px;
    border-radius:10px;
    border-top-width:30px;
    margin:10px 420px 10px 10px;
    padding:2px;
Bence Dányi committed
19
    h3 {
20 21 22 23 24
        color:#fff;
        text-align:center;
        margin:0;
        padding:3px;
    }
Bence Dányi committed
25
    .content {
26 27 28 29 30 31
        min-height:100px;
        margin:0;
        padding:5px;
    }
}

Bence Dányi committed
32
.tooltip {
33 34
    position: relative;
    z-index: 1;
Bence Dányi committed
35
    .container {
36 37 38 39 40
        margin: 10px 10px 5px 150px;
        border-radius: 4px;
        border: 1px solid #888;
        background: #FFFF66;
        box-shadow: 0 0 20px rgba(0,0,0,0.2);
Bence Dányi committed
41
        p {
42 43 44 45 46
            text-align: left;
            font-size: 0.8em;
            word-spacing: 2px;
            padding: 5px;
        }
Bence Dányi committed
47
        .tail {
48 49 50 51 52
            position: absolute;
            left: 350px;
            border-width: 17px;
            border-style: solid;
            border-color: #888 transparent transparent transparent;
Bence Dányi committed
53
            &:after {
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
                content: "";
                position: absolute;
                left: -17px;
                top: -18px;
                border-width: 17px;
                border-style: solid;
                border-color: #FFFF66 transparent transparent transparent;
            }
        }
    }
}

.entry-list {
    list-style-type: none;
}
Bence Dányi committed
69
.entry {
70 71 72 73 74 75 76 77 78 79 80 81
    &.editing {
        .summary {
            &:hover .name > span {
                width: 100%;
                max-width: 100%;
            }
            .name > span {
                width: 100%;
                max-width: 100%;
            }
        }
    }
82
    &.opened {
83 84 85 86 87 88 89 90
        &.editing {
            .summary {
                .name > span {
                    width: 100%;
                    max-width: 100%;
                }
            }
        }
Bence Dányi committed
91
        .actions {
92 93
            display: block !important;
        }
94
        .summary .name {
95
            .vendorVal(width, calc, "100% - 200px");
96
            span {
97
                .vendorVal(width, calc, "100% - 110px");
98
                .vendorVal(max-width, calc, "100% - 95px");
99 100
            }
        }
101 102 103 104 105
        .summary .name .details {
            display: inline;
            border: none;
        }
    }
Bence Dányi committed
106
    &.small .summary {
107 108
        padding: 5px;
        cursor: default;
Bence Dányi committed
109
        &:hover {
110
            background-color: #c1c1c1;
111 112 113
            .name {
                width: 90%;
            }
114
        }
Bence Dányi committed
115
        .name {
116 117 118
            background: none !important;
            text-align: center;
            float: none;
119
            width: 90%;
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
        }
    }
    &.small-row .summary{
        padding: 5px;
        &:hover{
            background-color: #b1b1b1;
        }
        .name{
            float: none;
        }
    }
    &.key {
        .name {
            background-image: url(/static/icons/key.png);
        }
        textarea {
            margin: 10px;
            width: 93%;
        }
        #new-key .name {
            background-image: url(/static/icons/key--plus.png);
        }
        #reset-key .name {
            background-image: url(/static/icons/key--exclamation.png);
        }
    }
Bence Dányi committed
146
    .quota {
147 148 149 150 151 152
        left: 0;
        top: 0;
        z-index: 0;
        position: absolute;
        width: 100%;
        height: 100%;
Bence Dányi committed
153
        .used {
154 155 156
            height: 100%;
            position: absolute;
        }
Bence Dányi committed
157
        .softLimit {
158 159 160 161 162
            height: 100%;
            position: absolute;
            border-left: 1px solid red;
        }
    }
Bence Dányi committed
163
    .summary {
164 165 166 167 168 169 170 171 172 173
        padding: 15px 5px;
        line-height: 1.7em;
        border-top: 1px solid #888;
        cursor: pointer;
        background-color: #c1c1c1;
        position: relative;
        -webkit-transition: background-color 0.3s;
        -moz-transition: background-color 0.3s;
        -o-transition: background-color 0.3s;
        transition: background-color 0.3s;
Bence Dányi committed
174
        &.unfinished {
175 176 177 178
            background-color: rgb(252, 252, 108);
            background-image: url(/static/image/constr.png);
            background-position: right top;
            background-repeat: no-repeat;
Bence Dányi committed
179
            &:hover {
180 181 182 183
                background-color: rgb(236, 236, 106);
                background-image: url(/static/image/constr.png);
            }
        }
Bence Dányi committed
184
        &.selected-summary {
185
            background-color: rgb(124, 236, 103);
Bence Dányi committed
186
            &:hover {
187 188 189
                background-color: rgb(135, 211, 120);
            }
        }
Bence Dányi committed
190
        &.public-template {
191
            background-color: rgb(167, 179, 195);
Bence Dányi committed
192
            &:hover {
193 194 195
                background-color: rgb(157, 169, 185);
            }
        }
Bence Dányi committed
196
        &:hover {
197 198
            background-color: #b1b1b1;
            background-image: none;
Bence Dányi committed
199
            .actions {
200 201
                display: block;
            }
202
            .name {
203
                .vendorVal(width, calc, "100% - 200px");
204
                span {
205
                    .vendorVal(width, calc, "100% - 110px");
206
                    .vendorVal(max-width, calc, "100% - 95px");
207 208 209 210 211
                }
                .details {
                    display: block;
                    border: none;
                }
212 213 214
            }
        }

Bence Dányi committed
215
        .id {
216 217 218
            float: right;
            width: 30px;
        }
Bence Dányi committed
219
        .name {
220 221 222 223 224 225 226
            float: left;
            padding-left: 25px;
            background-repeat: no-repeat;
            background-position: left center;
            z-index: 2;
            position: relative;
            height: 24px;
227
            .vendorVal(width, calc, "100% - 90px");
228 229 230 231 232 233 234
            span {
                float: left;
                text-overflow: ellipsis;
                display: block;
                white-space: nowrap;
                overflow: hidden;
            }
235 236 237 238 239
            &.filetype-new-folder {
                float: left;
            }
            .details {
                display: none;
240
                float: right;
241 242
            }
        }
Bence Dányi committed
243
        .status {
244 245 246 247 248 249
            text-align: right;
            float: right;
            width: 60px;
            z-index: 2;
            position: relative;
        }
Bence Dányi committed
250
        .actions {
251 252 253 254 255
            float: right;
            margin-left: 5px;
            display: none;
            z-index: 2;
            position: relative;
Bence Dányi committed
256
            a {
257 258 259 260 261 262
                margin: 2px 0;
                height: 16px;
                width: 16px;
                display: block;
                float: left;
                margin-left: 2px;
Bence Dányi committed
263
                &:hover {
264 265 266 267 268 269 270 271 272 273 274 275
                    box-shadow: 0 0 10px rgba(0,0,0,0.4);
                    background-color: rgba(0,0,0,0.4);
                }
            }
        }
        #new-folder-form {
            float: right;
            margin-left: 5px;
            display: none;
            z-index: 2;
            position: relative;
        }
Bence Dányi committed
276 277 278
        .details {
            height: auto;
        }
279 280 281 282
    }
    &.opened #new-folder-form {
        display: block;
    }
Bence Dányi committed
283
    .details {
Bence Dányi committed
284
        height: 0px;
285
        .vendor(transition, height 700ms);
Bence Dányi committed
286
        overflow: hidden;
Bence Dányi committed
287
        .container {
288
            padding: 5px 5px;
Bence Dányi committed
289
            .upload-zone {
290 291 292 293 294 295 296 297 298 299 300
                margin: 10px;
                border-radius: 10px;
                border: 2px dashed #666;
                text-align: center;
                font-size: 0.8em;
                padding: 10px;
                p {
                    padding: 0;
                }
            }
        }
Bence Dányi committed
301
        h3 {
302 303
            font-weight: normal;
        }
Bence Dányi committed
304
        ul {
305 306 307
            list-style: none;
            margin: 0px 5px;
        }
Bence Dányi committed
308
        li {
309 310 311 312 313
            margin: 8px 0px;
            padding: 3px 0px 3px 20px;
            border-bottom: 1px dotted #aaa;
            background-repeat: no-repeat;
            background-position: 0px 4px;
Bence Dányi committed
314
            &:last-child {
315 316 317
                border-bottom: none;
            };
        }
Bence Dányi committed
318
        a {
319 320
            text-decoration: underline;
        }
Bence Dányi committed
321 322 323
        .details-container {
            border-top: 1px solid #888;
        }
Bence Dányi committed
324
        .name {
325 326 327
            float: none;
            background-image: url(/static/icons/computer.png);
        }
Bence Dányi committed
328 329
        .os-win {
            background-image: url(/static/icons/windows.png);
330
        }
Bence Dányi committed
331 332
        .os-linux {
            background-image: url(/static/icons/animal-penguin.png);
333
        }
Bence Dányi committed
334 335
        .template {
            background-image: url(/static/icons/document-template.png);
336
        }
Bence Dányi committed
337 338
        .type {
            background-image: url(/static/icons/box-share.png);
339
        }
Bence Dányi committed
340 341
        .date {
            background-image: url(/static/icons/calendar-day.png);
342
        }
Bence Dányi committed
343 344
        .cpu {
            background-image: url(/static/icons/processor.png);
345
        }
Bence Dányi committed
346 347
        .memory {
            background-image: url(/static/icons/memory.png);
348
        }
Bence Dányi committed
349 350
        .count {
            background-image: url(/static/icons/documents-stack.png);
351
        }
Bence Dányi committed
352 353
        .share-type {
            background-image: url(/static/icons/calendar-day.png);
354
        }
Bence Dányi committed
355
        .value {
356 357 358
            float: right;
            text-align: right;
        }
Bence Dányi committed
359
        .description {
360 361
            font-size: inherit;
            background-image: url(/static/icons/document-snippet.png);
Bence Dányi committed
362
            .value {
363 364
                font-size: 0.8em;
                word-spacing: 3px;
Bence Dányi committed
365
                max-width: 200px;
366 367 368
            }
        }
    }
Bence Dányi committed
369
    &.new .name {
370 371 372
        background-image: url(/static/icons/computer--plus.png);
    }
}
373
#modal, #new-share .type-summary, .share-type .value {
374 375 376 377
    &.type-summary {
        font-size: .8em;
        text-align: right;
    }
378
    span {
379 380 381
        background-position: left center;
        background-repeat: no-repeat;
        padding-left: 18px;
382 383 384 385 386 387
        &.suspend {
            background-image: url(/static/icons/control-pause.png);
        }
        &.delete {
            background-image: url(/static/icons/minus-circle.png);
        }
388 389 390 391 392 393 394 395 396 397 398
    }
}
#template-wizard .size-summary, .type .value {
    &.size-summary {
        font-size: .8em;
        text-align: right;
    }
    span {
        background-position: left center;
        background-repeat: no-repeat;
        padding-left: 18px;
Bence Dányi committed
399 400
            &.cpu {
                background-image: url(/static/icons/processor.png);
401
            }
Bence Dányi committed
402 403
            &.memory {
                background-image: url(/static/icons/memory.png);
404
            }
Bence Dányi committed
405 406
            &.credit {
                background-image: url(/static/icons/point.png);
407 408 409 410
            }
    }
}

Bence Dányi committed
411
.file-list {
412 413
    list-style: none;
    max-height: 400px;
Bence Dányi committed
414
    .name {
415 416
        float: left;
    }
Bence Dányi committed
417
    .info {
418 419 420 421 422 423 424 425 426 427 428 429 430 431
        float: right;
        width: 65px;
        text-align: right;
        font-size: 0.8em;
    }
    select {
        position: absolute;
        left: 10px;
        top: 5px;
        z-index: 10;
    }
}
#file-list {
    overflow-y: scroll;
Bence Dányi committed
432
    li:nth-child(3) .summary {
433 434
        border-top: none;
    }
Bence Dányi committed
435
    li:nth-child(2) .summary {
436 437
        border-top: none;
    }
Bence Dányi committed
438
    li:nth-child(1) .summary {
439 440 441 442
        border-top: none;
        border-bottom: 1px solid #888
    }
}
Bence Dányi committed
443 444
#current-location {
    .summary {
445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507
        border-bottom: 1px solid #888;
        height: 25px;
        .name {
            position: absolute;
            left: 100px;
            text-align: left;
        }
    }
}
.filetype-c {
    background-image: url(/static/icons/document-visual-studio.png);
}
.filetype-text {
    background-image: url(/static/icons/document.png);
}
.filetype-image {
    background-image: url(/static/icons/document-image.png);
}
.filetype-zip {
    background-image: url(/static/icons/folder-zipper.png);
}
.filetype-pdf {
    background-image: url(/static/icons/document-pdf.png);
}
.filetype-doc {
    background-image: url(/static/icons/document-word.png);
}
.filetype-excel {
    background-image: url(/static/icons/document-excel.png);
}
.filetype-csv {
    background-image: url(/static/icons/document-excel-csv.png);
}
.filetype-php {
    background-image: url(/static/icons/document-php.png);
}
.filetype-tex {
    background-image: url(/static/icons/document-tex.png);
}
.filetype-ppt {
    background-image: url(/static/icons/document-powerpoint.png);
}
.filetype-music {
    background-image: url(/static/icons/document-music.png);
}
.filetype-movie {
    background-image: url(/static/icons/document-film.png);
}
.filetype-folder {
    background-image: url(/static/icons/folder.png);
}
.toplist {
    background-image: url(/static/icons/arrow-circle-double.png);
}
.filetype-up {
    background-image: url(/static/icons/upload-cloud.png);
}
.filetype-new-folder {
    background-image: url(/static/icons/folder--plus.png);
}
.filetype-jump-out {
    background-image: url(/static/icons/arrow-curve-090.png);
}
Bence Dányi committed
508
.vm-on {
509 510
    background-image: url(/static/icons/computer-cloud.png);
}
Bence Dányi committed
511
.vm-off {
512 513 514
    background-image: url(/static/icons/computer-off.png);
}

Bence Dányi committed
515 516
#template .entry .summary .name {
  background-image: url(/static/icons/document-template.png);
517
}
Bence Dányi committed
518 519
#template .entry .public-template .name {
  background-image: url(/static/icons/blue-document-share.png);
520
}
Bence Dányi committed
521 522
#new-template-button .name {
  background-image: url(/static/icons/document--plus.png) !important;
523
}
Bence Dányi committed
524
.wm-list.modal {
525 526 527
  border-radius: 4px;
  border: 1px solid #666;
}
Bence Dányi committed
528
.wm-list.modal input {
529 530
  padding: 2px 10px;
}
Bence Dányi committed
531
.wm-list.modal .wm:nth-child(1) .summary {
532 533 534
  border-top: none;
}

Bence Dányi committed
535
#template {
536
    .entry {
Bence Dányi committed
537
        .template-details {
538 539 540 541
            margin: 0;
            padding: 0;
            border-top: 1px solid #888;
            display: none;
Bence Dányi committed
542
            ul {
543 544
                list-style-type: none;
            }
Bence Dányi committed
545
            li {
546 547 548
                padding-left: 10px;
                border-top: 1px solid #aaa;
                position: relative;
Bence Dányi committed
549
                &:first-child {
550 551
                    border-top: none;
                };
Bence Dányi committed
552
                .status {
553 554 555
                    float: right;
                    padding: 0 5px;
                }
Bence Dányi committed
556
                .group-name {
557 558 559 560 561 562 563 564 565 566 567 568 569
                    float: left;
                    line-height: 1.5em;
                    z-index: 2;
                    position: relative;
                }
            }
        }
    }
}
#vm-credentials, #ports {
    .content {
        padding: 15px;
    }
570 571 572 573
    .faded {
        color: #666;
        font-size: 0.8em;
    }
574 575 576 577 578 579 580 581 582 583
}

table {
    width: 100%;
    border-collapse: collapse;
    tr {
        width: 100%;
        &:hover {
            background-color: rgba(0,0,0,0.1);
        };
Bence Dányi committed
584
        td, th {
585 586 587 588 589 590 591 592 593 594 595 596 597
            padding: 5px;
        }
        td {
            width: 150px;
        }
    }
}

#groups {
    .entry {
        .summary {
            .name {
                background-image: url(/static/icons/users.png);
598
                .vendorVal(width, calc, "100% - 70px");
599 600
            }
        }
601 602 603 604 605 606 607 608 609
        li.owner {
            background-image: url(/static/icons/user-worker-boss.png);
        }
        li.course {
            background-image: url(/static/icons/book-open.png);
        }
        li.members {
            background-image: url(/static/icons/users.png);
        }
610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659
    }
    #new-group {
        .summary .name {
            background-image: url(/static/icons/user--plus.png);
        }
    }
    #show-hidden-groups .summary .name {
        background-image: url(/static/icons/eye.png);
    }
}


#group-members, #group-owners {
    .summary .name {
        background-image: url(/static/icons/user.png);
        float: left;
    }
}

#new-member, #new-owner {
    .name {
        background-image: url(/static/icons/user--plus.png) !important;
        float: left;
    }
    #new-member-form, #new-owner-form {
        float: right;
        margin-left: 5px;
        display: none;
        z-index: 2;
        position: relative;
    }
}

.shares {
    margin: 5px;
    list-style: none;
    li {
        overflow: hidden;
        border-radius: 2px;
        border: 1px solid #888;
        height: 30px;
        position: relative;
        margin: 5px 0;
        line-height: 30px;
        padding-left: 10px;
        background-color: rgba(0,0,0,0.05);
        -webkit-transition: background-color 0.3s;
        -moz-transition: background-color 0.3s;
        -o-transition: background-color 0.3s;
        transition: background-color 0.3s;
Bence Dányi committed
660
        &:hover {
661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679
            background-color: rgba(0,0,0,0.1);
            border: 1px solid #666;
            input {
                border-left: 1px solid #666;
            }
        }
        form {
            position: relative;
        }
        input {
            border: none;
            border-radius: 0;
            border-left: 1px solid #888;
            box-shadow: none;
            position: relative;
            top: -1px;
            height: 30px;
            right: -5px;
        }
680 681
        &.description {
            display: none;
682
            height: default;
683
            font-size: 0.8em;
684
            margin-left: 20px;
685
        }
686 687 688 689 690 691 692
        .edit {
            margin: 0 2px;
            img:hover {
                box-shadow: 0 0 10px rgba(0,0,0,0.4);
                background-color: rgba(0,0,0,0.4);
            }
        }
693 694 695 696 697 698 699
    }
}



.boxhelp {
    position: relative;
Bence Dányi committed
700
    font-weight: normal;
701 702 703 704
    .boxhelp-box {
        color:#000;
        position: absolute;
        width: 500px;
Őry Máté committed
705
        max-width: 100%;
706 707 708 709 710 711 712 713
        z-index: 1000000;
        font-size: .7em;
        background-color: #ffc;
        border-radius:4px;
        border:1px solid #aaa;
        box-shadow:0 0 30px rgba(0,0,0,0.3);
        margin:20px;
        display: none;
Bence Dányi committed
714
        font-size: 14px;
715
    }
Dányi Bence committed
716
    .help:hover .boxhelp-box {
717 718
        display: block;
    }
Dányi Bence committed
719 720 721 722 723
    .help {
        img {
            cursor: default;
        }
    }
724 725 726 727
    .icon {
        display: block;
        float: right;
    }
Dányi Bence committed
728 729 730 731
    img {
        margin: 3px;
        cursor: pointer;
    }
732 733 734 735 736 737 738
}

#new-owner-autocomplete {
    input[type=button] {
        float: right;
    }
}