File: bootOrder.css

package info (click to toggle)
cockpit 239-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 67,268 kB
  • sloc: javascript: 245,474; ansic: 72,273; python: 23,634; xml: 6,155; sh: 2,919; makefile: 923; sed: 5
file content (64 lines) | stat: -rw-r--r-- 1,391 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
.boot-order .list-group {
    --machines-boot-list-offset: 15rem;
    max-height: calc(100vh - var(--machines-boot-list-offset));
}

.boot-order-list-view {
    margin-top: 0;
    margin-bottom: 0;
}

/* Overriding Patternfly's ListView */
.boot-order .list-view-pf-body {
    align-items: baseline;
    min-height: 26px;
}

.boot-order .list-group-item {
    padding: 1rem 1.5rem;
}

.boot-order .list-view-pf-main-info,
.boot-order .list-view-pf-checkbox,
.boot-order .list-view-pf-actions {
    align-self: baseline;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.boot-order .list-view-pf-checkbox {
    position: relative;
    top: 3px;
}

.boot-order .list-view-pf-description {
    flex: 1 0 30%;
    flex-basis: 30%;
}

.boot-order .list-view-pf-additional-info {
    flex-basis: 70%;
}

.boot-order .list-group-item:not(.is-checked) .list-view-pf-actions {
    display: none;
}

.boot-order .ct-form + .ct-form {
    margin-left: 1rem;
}

@media screen and (min-width: 769px) {
    /* Adjust the spacing offset */
    .boot-order .list-group {
        --machines-boot-list-offset: 22rem;
    }

    /* Add spacer when list-view actions are not visible */
    .boot-order .list-group-item:not(.is-checked) .list-view-pf-main-info {
        /* Size of action arrows (26px x 2 - 1px) + padding-left (20px) */
        margin-right: 71px;
    }
}