box.less 15.6 KB
Newer Older
Dányi Bence committed
1 2 3 4 5 6 7 8 9
.boxes
{
    width:480px;
    float:left;
}

.box
{
    background-color:#000;
10
    background-image:url(/static/image/hexa.png);
Dányi Bence committed
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
    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;
    h3
    {
        color:#fff;
        text-align:center;
        margin:0;
        padding:3px;
    }
    .content
    {
        min-height:100px;
        margin:0;
        padding:5px;
    }
}

36
.tooltip{
Dányi Bence committed
37
    position: relative;
Dányi Bence committed
38
    z-index: 1;
39 40 41 42 43 44 45 46 47 48 49 50 51
    .container{
        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);
        p{
            text-align: left;
            font-size: 0.8em;
            word-spacing: 2px;
            padding: 5px;
        }
        .tail{
Dányi Bence committed
52
            position: absolute;
53
            left: 350px;
Dányi Bence committed
54 55
            border-width: 17px;
            border-style: solid;
56 57 58 59 60 61 62 63 64 65
            border-color: #888 transparent transparent transparent;
            &:after{
                content: "";
                position: absolute;
                left: -17px;
                top: -18px;
                border-width: 17px;
                border-style: solid;
                border-color: #FFFF66 transparent transparent transparent;
            }
Dányi Bence committed
66
        }
Dányi Bence committed
67 68 69
    }
}

Dányi Bence committed
70 71 72 73
.entry-list {
    list-style-type: none;
}
.entry{
74 75 76 77 78 79 80 81
    &.opened {
        .actions{
            display: block !important;
        }
        .summary .name .details {
            display: inline;
            border: none;
        }
Dányi Bence committed
82
    }
Dányi Bence committed
83 84 85 86 87 88 89 90 91 92 93 94
    &.small .summary{
        padding: 5px;
        cursor: default;
        &:hover{
            background-color: #c1c1c1;
        }
        .name{
            background: none !important;
            text-align: center;
            float: none;
        }
    }
95 96 97 98 99 100 101 102 103
    &.small-row .summary{
        padding: 5px;
        &:hover{
            background-color: #b1b1b1;
        }
        .name{
            float: none;
        }
    }
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
    &.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);
        }
    }
Dányi Bence committed
119 120 121 122 123 124 125 126 127
    .quota{
        left: 0;
        top: 0;
        z-index: 0;
        position: absolute;
        width: 100%;
        height: 100%;
        .used{
            height: 100%;
Dányi Bence committed
128 129 130 131 132 133
            position: absolute;
        }
        .softLimit{
            height: 100%;
            position: absolute;
            border-left: 1px solid red;
Dányi Bence committed
134 135
        }
    }
Dányi Bence committed
136 137
    .summary{
        padding: 15px 5px;
138
        line-height: 1.7em;
Dányi Bence committed
139 140 141
        border-top: 1px solid #888;
        cursor: pointer;
        background-color: #c1c1c1;
Dányi Bence committed
142
        position: relative;
143
        -webkit-transition: background-color 0.3s;
144 145 146
        -moz-transition: background-color 0.3s;
        -o-transition: background-color 0.3s;
        transition: background-color 0.3s;
Dányi Bence committed
147
        &.unfinished{
tarokkk committed
148
            background-color: rgb(252, 252, 108);
149
            background-image: url(/static/image/constr.png);
150 151
            background-position: right top;
            background-repeat: no-repeat;
tarokkk committed
152 153
            &:hover{
                background-color: rgb(236, 236, 106);
154
                background-image: url(/static/image/constr.png);
tarokkk committed
155
            }
Dányi Bence committed
156
        }
157
        &.selected-summary{
tarokkk committed
158
            background-color: rgb(124, 236, 103);
159
            &:hover{
tarokkk committed
160
                background-color: rgb(135, 211, 120);
161 162
            }
        }
163 164 165 166 167 168
        &.public-template{
            background-color: rgb(167, 179, 195);
            &:hover{
                background-color: rgb(157, 169, 185);
            }
        }
Dányi Bence committed
169 170
        &:hover{
            background-color: #b1b1b1;
171
            background-image: none;
Dányi Bence committed
172 173 174
            .actions{
                display: block;
            }
175 176 177 178
            .name .details {
                display: inline;
                border: none;
            }
Dányi Bence committed
179
        }
Dányi Bence committed
180

Dányi Bence committed
181 182 183 184 185 186 187 188
        .id{
            float: right;
            width: 30px;
        }
        .name{
            float: left;
            padding-left: 25px;
            background-repeat: no-repeat;
189
            background-position: left center;
Dányi Bence committed
190 191
            z-index: 2;
            position: relative;
192
            height: 24px;
193 194
            &.filetype-new-folder {
                float: left;
195 196 197
            }
            .details {
                display: none;
198 199
            }
        }
Dányi Bence committed
200 201 202 203
        .status{
            text-align: right;
            float: right;
            width: 60px;
Dányi Bence committed
204 205
            z-index: 2;
            position: relative;
Dányi Bence committed
206 207 208 209 210
        }
        .actions{
            float: right;
            margin-left: 5px;
            display: none;
Dányi Bence committed
211 212
            z-index: 2;
            position: relative;
Dányi Bence committed
213
            a{
214
                margin: 2px 0;
Dányi Bence committed
215 216 217 218 219 220 221 222 223 224 225
                height: 16px;
                width: 16px;
                display: block;
                float: left;
                margin-left: 2px;
                &:hover{
                    box-shadow: 0 0 10px rgba(0,0,0,0.4);
                    background-color: rgba(0,0,0,0.4);
                }
            }
        }
Dányi Bence committed
226 227 228 229 230 231 232 233 234 235
        #new-folder-form {
            float: right;
            margin-left: 5px;
            display: none;
            z-index: 2;
            position: relative;
        }
    }
    &.opened #new-folder-form {
        display: block;
Dányi Bence committed
236 237 238 239
    }
    .details{
        border-top: 1px solid #888;
        display: none;
Dányi Bence committed
240 241
        .container{
            padding: 5px 5px;
242 243 244 245 246
            .upload-zone{
                margin: 10px;
                border-radius: 10px;
                border: 2px dashed #666;
                text-align: center;
247
                font-size: 0.8em;
248 249 250 251
                padding: 10px;
                p {
                    padding: 0;
                }
252
            }
Dányi Bence committed
253
        }
Dányi Bence committed
254 255 256 257 258
        h3{
            font-weight: normal;
        }
        ul{
            list-style: none;
Dányi Bence committed
259
            margin: 0px 5px;
Dányi Bence committed
260 261
        }
        li{
262
            margin: 8px 0px;
Dányi Bence committed
263 264 265 266
            padding: 3px 0px 3px 20px;
            border-bottom: 1px dotted #aaa;
            background-repeat: no-repeat;
            background-position: 0px 4px;
Dányi Bence committed
267 268 269
            &:last-child{
                border-bottom: none;
            };
Dányi Bence committed
270 271 272 273 274 275
        }
        a{
            text-decoration: underline;
        }
        .name{
            float: none;
276
            background-image: url(/static/icons/computer.png);
Dányi Bence committed
277 278
        }
        .os-win{
279
            background-image: url(/static/icons/windows.png)
Dányi Bence committed
280 281
        }
        .os-linux{
282
            background-image: url(/static/icons/animal-penguin.png)
Dányi Bence committed
283
        }
284
        .template{
285
            background-image: url(/static/icons/document-template.png)
286
        }
Dányi Bence committed
287
        .type{
288
            background-image: url(/static/icons/box-share.png)
Dányi Bence committed
289 290
        }
        .date{
291
            background-image: url(/static/icons/calendar-day.png)
Dányi Bence committed
292 293
        }
        .cpu{
294
            background-image: url(/static/icons/processor.png)
Dányi Bence committed
295 296
        }
        .memory{
297
            background-image: url(/static/icons/memory.png)
Dányi Bence committed
298 299
        }
        .count{
300
            background-image: url(/static/icons/documents-stack.png)
Dányi Bence committed
301 302 303 304 305 306 307 308
        }
        .value{
            float: right;
            width: 200px;
            text-align: right;
        }
        .description{
            font-size: inherit;
309
            background-image: url(/static/icons/document-snippet.png);
Dányi Bence committed
310 311
            .value{
                font-size: 0.8em;
Dányi Bence committed
312 313
                word-spacing: 3px;
                width: 350px;
Dányi Bence committed
314 315 316 317
            }
        }
    }
    &.new .name{
318
        background-image: url(/static/icons/computer--plus.png);
Dányi Bence committed
319 320
    }
}
Őry Máté committed
321 322 323 324 325 326 327 328 329 330
#new-share .type-summary, .share-type .value {
    &.type-summary {
        font-size: .8em;
        text-align: right;
    }
    span {
        background-position: left center;
        background-repeat: no-repeat;
        padding-left: 18px;
            &.suspend{
331
                background-image: url(/static/icons/control-pause.png)
Őry Máté committed
332 333
            }
            &.delete{
334
                background-image: url(/static/icons/minus-circle.png)
Őry Máté committed
335 336 337
            }
    }
}
338 339
#template-wizard .size-summary, .type .value {
    &.size-summary {
340 341
        font-size: .8em;
        text-align: right;
342 343 344 345 346 347
    }
    span {
        background-position: left center;
        background-repeat: no-repeat;
        padding-left: 18px;
            &.cpu{
348
                background-image: url(/static/icons/processor.png)
349 350
            }
            &.memory{
351
                background-image: url(/static/icons/memory.png)
352 353
            }
            &.credit{
354
                background-image: url(/static/icons/point.png)
355
            }
356 357
    }
}
Dányi Bence committed
358 359 360

.file-list{
    list-style: none;
Dányi Bence committed
361
    max-height: 400px;
Dányi Bence committed
362 363 364 365 366
    .name{
        float: left;
    }
    .info{
        float: right;
367
        width: 65px;
Dányi Bence committed
368
        text-align: right;
369
        font-size: 0.8em;
Dányi Bence committed
370
    }
Dányi Bence committed
371 372 373 374 375 376
    select {
        position: absolute;
        left: 10px;
        top: 5px;
        z-index: 10;
    }
Dányi Bence committed
377
}
378
#file-list {
379
    overflow-y: scroll;
380 381 382 383 384 385 386 387 388 389 390
    li:nth-child(3) .summary{
        border-top: none;
    }
    li:nth-child(2) .summary{
        border-top: none;
    }
    li:nth-child(1) .summary{
        border-top: none;
        border-bottom: 1px solid #888
    }
}
391 392 393 394 395 396 397 398 399 400
#current-location{
    .summary{
        border-bottom: 1px solid #888;
        height: 25px;
        .name {
            position: absolute;
            left: 100px;
            text-align: left;
        }
    }
401
}
Dányi Bence committed
402
.filetype-c {
403
    background-image: url(/static/icons/document-visual-studio.png);
Dányi Bence committed
404 405
}
.filetype-text {
406
    background-image: url(/static/icons/document.png);
Dányi Bence committed
407 408
}
.filetype-image {
409
    background-image: url(/static/icons/document-image.png);
Dányi Bence committed
410 411
}
.filetype-zip {
412
    background-image: url(/static/icons/folder-zipper.png);
Dányi Bence committed
413
}
414
.filetype-pdf {
415
    background-image: url(/static/icons/document-pdf.png);
416 417
}
.filetype-doc {
418
    background-image: url(/static/icons/document-word.png);
419 420
}
.filetype-excel {
421
    background-image: url(/static/icons/document-excel.png);
422 423
}
.filetype-csv {
424
    background-image: url(/static/icons/document-excel-csv.png);
425 426
}
.filetype-php {
427
    background-image: url(/static/icons/document-php.png);
428 429
}
.filetype-tex {
430
    background-image: url(/static/icons/document-tex.png);
431 432
}
.filetype-ppt {
433
    background-image: url(/static/icons/document-powerpoint.png);
434 435
}
.filetype-music {
436
    background-image: url(/static/icons/document-music.png);
437 438
}
.filetype-movie {
439
    background-image: url(/static/icons/document-film.png);
440
}
Dányi Bence committed
441
.filetype-folder {
442
    background-image: url(/static/icons/folder.png);
Dányi Bence committed
443
}
Dányi Bence committed
444
.toplist {
445
    background-image: url(/static/icons/arrow-circle-double.png);
Dányi Bence committed
446 447
}
.filetype-up {
448
    background-image: url(/static/icons/upload-cloud.png);
Dányi Bence committed
449
}
Dányi Bence committed
450
.filetype-new-folder {
451
    background-image: url(/static/icons/folder--plus.png);
Dányi Bence committed
452
}
Dányi Bence committed
453
.filetype-jump-out {
454
    background-image: url(/static/icons/arrow-curve-090.png);
Dányi Bence committed
455
}
Dányi Bence committed
456
.vm-on{
457
    background-image: url(/static/icons/computer-cloud.png);
Dányi Bence committed
458
}
Dányi Bence committed
459
.vm-off{
460
    background-image: url(/static/icons/computer-off.png);
Dányi Bence committed
461 462 463
}

#template .wm .summary .name{
464
  background-image: url(/static/icons/document-template.png)
Dányi Bence committed
465
}
466
#template .wm .public-template .name{
467
  background-image: url(/static/icons/blue-document-share.png)
468
}
Dányi Bence committed
469
#new-template-button .name{
470
  background-image: url(/static/icons/document--plus.png) !important
Dányi Bence committed
471 472 473 474 475 476 477 478 479 480 481
}
.wm-list.modal{
  border-radius: 4px;
  border: 1px solid #666;
}
.wm-list.modal input{
  padding: 2px 10px;
}
.wm-list.modal .wm:nth-child(1) .summary{
  border-top: none;
}
Dányi Bence committed
482 483

#template{
Dányi Bence committed
484
    .entry {
Dányi Bence committed
485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513
        .template-details{
            margin: 0;
            padding: 0;
            border-top: 1px solid #888;
            display: none;
            ul{
                list-style-type: none;
            }
            li{
                padding-left: 10px;
                border-top: 1px solid #aaa;
                position: relative;
                &:first-child{
                    border-top: none;
                };
                .status{
                    float: right;
                    padding: 0 5px;
                }
                .group-name{
                    float: left;
                    line-height: 1.5em;
                    z-index: 2;
                    position: relative;
                }
            }
        }
    }
}
514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530
#vm-credentials, #ports {
    .content {
        padding: 15px;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    tr {
        width: 100%;
        &:hover {
            background-color: rgba(0,0,0,0.1);
        };
        td,th {
            padding: 5px;
        }
531 532 533
        td {
            width: 150px;
        }
534 535 536
    }
}

537
#groups {
Dányi Bence committed
538
    .entry {
539 540
        .summary {
            .name {
541
                background-image: url(/static/icons/users.png);
542 543 544 545 546
            }
        }
    }
    #new-group {
        .summary .name {
547
            background-image: url(/static/icons/user--plus.png);
548 549
        }
    }
550
    #show-hidden-groups .summary .name {
551
        background-image: url(/static/icons/eye.png);
552
    }
553
}
Dányi Bence committed
554

555

556
#group-members, #group-owners {
Dányi Bence committed
557
    .summary .name {
558
        background-image: url(/static/icons/user.png);
Dányi Bence committed
559
        float: left;
Dányi Bence committed
560 561 562
    }
}

563
#new-member, #new-owner {
Dányi Bence committed
564
    .name {
565
        background-image: url(/static/icons/user--plus.png) !important;
566
        float: left;
Dányi Bence committed
567
    }
568
    #new-member-form, #new-owner-form {
569 570
        float: right;
        margin-left: 5px;
Dányi Bence committed
571
        display: none;
572 573
        z-index: 2;
        position: relative;
Dányi Bence committed
574 575
    }
}
576 577 578 579 580

.shares {
    margin: 5px;
    list-style: none;
    li {
581 582
        overflow: hidden;
        border-radius: 2px;
583 584 585 586 587 588 589
        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);
Dányi Bence committed
590 591 592 593
        -webkit-transition: background-color 0.3s;
        -moz-transition: background-color 0.3s;
        -o-transition: background-color 0.3s;
        transition: background-color 0.3s;
594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615
        &:hover{
            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;
        }
    }
}
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

.boxhelp {
    position: relative;
    .boxhelp-box {
        color:#000;
        position: absolute;
        left: -100px;
        width: 500px;
        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;
    }
    &:hover .boxhelp-box {
        display: block;
    }
    .icon {
        display: block;
        float: right;
    }
}