aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/panel-tabs.less
blob: b3c03f85c5cb4ab4bddee3e9b7c652be01dfcf5c (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
@import '../../../../../../assets/styles/variables';
@import '../../../../../../assets/styles/override';


// ---------------------------------------------------------------------------------------------------
///* override sdc-ui library tabs */
// ---------------------------------------------------------------------------------------------------


:host ::ng-deep .sdc-tabs {

    .sdc-tabs-list {
        display: flex;
        border-bottom: 1px solid @sdcui_color_silver;
        min-height: min-content;
    }
    .sdc-tab {
        background-color: @sdcui_color_white;
        border: 1px solid @sdcui_color_silver;
        border-left: none;
        border-bottom: none;
        height: 36px;
        width: 60px;
        display: flex;
        align-content: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
        margin: 0;


        &.sdc-tab-active {
            background-color: @sdcui_color_silver;
            border-bottom: none;
        }
        &[disabled] {
            opacity: 0.3;
            cursor: default;
        }
    }
    &.sdc-tabs-header {
        .sdc-tab {
            font-size: 24px;
        }
    }
    &.sdc-tabs-menu {
        .sdc-tab {
            font-size: 14px;
            padding: 0px 10px 4px 10px;          
        }
    }
    .sdc-tab-content {
        margin-top: 0;
        flex:1;
        overflow-y:auto;
    }
}


:host ::ng-deep .expand-collapse-title {
    margin-top: 1px;
    background-color: #eaeaea;
    color: #5a5a5a;
    font-family: OpenSans-Semibold, sans-serif;
}