summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/modules/onboardingCatalog/_createItemTile.scss
blob: 9838e65b10244f490d9a18f44dc31d7ef547514e (plain)
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
65
66
67
68
69
70
71
72
73
74
75
76
77
.create-catalog-item-wrapper {
    width: 204px;
    height: 200px;
    display: flex;
    flex-direction: column;
    margin: 9px;

    .tile.create-catalog-item {
        margin: 9px 0 9px 0;
        display: flex;
        background-color: $white;
        &:first-child {
            margin-top: 0;
        }
        &:last-child {
            margin-bottom: 0;
        }
        flex-direction: row;
        align-items: center;
        justify-content: center;
        &.disabled {
            color: $gray;
            .create-item-plus-icon {
                fill: $gray;
            }
        }
        &:hover {
            box-shadow: 0.3px 5px 12.8px 1.3px rgba(24, 24, 25, 0.15);

            border: 1px solid $light-gray;
        }
        &:only-child {
            text-align: center;
            flex-direction: column;
            justify-content: center;
            .create-item-plus-icon {
                margin: 0 0 15px 0;
            }
            .create-item-text {
                @extend .heading-4-semibold;
            }
        }
        .create-item-plus-icon {
            margin: -5px 12px 0 0;
            height: 19px;
            width: 19px;
            .svg-icon {
                &.__plus {
                    width: 19px;
                    height: 19px;
                }
            }
        }
        &.vlm-type {
            .create-item-text {
                color: $purple;
            }

            .create-item-plus-icon {
                fill: $purple;
            }
        }
        &.vsp-type {
            .create-item-text {
                color: $blue;
            }

            .create-item-plus-icon {
                fill: $blue;
            }
        }
        .create-item-text {
            width: 140px;
            @extend .heading-5-semibold;
        }
    }
}