aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/components/ui/canvas-zone/zone-container.component.less
blob: 02880a920219b4dd1235ee3a0a1a5350e48e4b65 (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
.sdc-canvas-zone {
    width: 285px;
    max-height:186px;
    display:flex;
    flex-direction:column;
    align-self: flex-end;
    color:white;
    font-family:OpenSans-Regular, sans-serif;
    transition: width .2s ease-in-out, max-height .2s ease-in-out .1s;
    position:relative;
    bottom:0px;
    
    .sdc-canvas-zone__header {
        background: #5A5A5A;
        border-radius: 2px 2px 0 0;
        padding: 5px 10px;
        display:flex;
        justify-content: space-between;
        font-size: 14px;
        text-transform:uppercase;
        .sdc-canvas-zone__state-button {
            font-weight:bold;
            cursor:pointer;
        }
    }

    .sdc-canvas-zone__container {
        padding:5px;
        background-color: #5A5A5A;
        opacity:0.9;
        flex: 1;
        display:flex;
        flex-direction: row;
        align-items: flex-start;
        flex-wrap:wrap;
        overflow-y:auto;
        min-height: 80px;
        max-height: 170px;
    }


    &.minimized {
        max-height:30px;
        width:120px;
        cursor:pointer;
        
        .sdc-canvas-zone__state-button {
            display:none;
        }
        .sdc-canvas-zone__container {
            flex: 0 0 0;
            min-height: 0;
            padding: 0;
            overflow-y:hidden;
            transition: min-height .2s ease-in-out .2s;
            transition: padding .1s ease-in-out 0s;
        }
    }
    &.hidden {
        display:none;
    }
}