summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/artifacts-tab/artifacts-tab.component.less
blob: fef199dd977c03920893b6296a34dd735f6037d8 (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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
@import '../../../../../../../assets/styles/override';


.artifacts /deep/ .expand-collapse-content {
    padding: 10px 0px;

    &.collapsed {
        padding: 0 0;
    }
}

.i-sdc-designer-sidebar-section-content-item-artifact {

    &:not(:hover) .artifact-button {
        display:none;
    }
    .artifact-buttons-container {
        display: inline-flex;
        flex-direction: row-reverse;
        position: absolute;
        right:0;

        &.upper-buttons {
            margin-top: 8px;
        }

        .artifact-button {
            cursor:pointer;
            padding-right:5px;

            &.edit-pencil {
                margin-top: 10px;
            }
        }
    }
}

.w-sdc-designer-sidebar-section-footer {
    padding: 20px;
    display: flex;
    justify-content: center;
    
}


.w-sdc-designer-sidebar-tab-content.artifacts {

    .i-sdc-designer-sidebar-section-content-item-artifact.hand {
      cursor: pointer;
    }

    .w-sdc-designer-sidebar-section-content {
        padding: 0;
    }
    .w-sdc-designer-sidebar-section-title {
        &.expanded {
            margin-bottom: 0;
        }
    }

    .i-sdc-designer-sidebar-section-content-item-artifact-details {
        display: inline-block;
        margin-left: 5px;
        vertical-align: middle;
        width: 180px;
        &.heat {
            line-height: 18px;
            width: 250px;
        }
    }

    .i-sdc-designer-sidebar-section-content-item-artifact-details-name {

        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width:220px;
        display: inline-block;
        //text-transform: capitalize;
        &.enabled {
            &:hover {
                color: @sdcui_color_dark-blue;
            }
        }

    }

    .i-sdc-designer-sidebar-section-content-item-artifact-heat-env {
        color: @sdcui_color_dark-gray;
        margin-top: 6px;
        line-height: 42px;
        padding-top: 10px;
        border-top:1px solid #c8cdd1;
        .enabled {
            &:hover {
                cursor: pointer;
                color: @sdcui_color_dark-blue;
            }
        }
    }

    .i-sdc-designer-sidebar-section-content-item-artifact-filename {
        color: @sdcui_color_dark-gray;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 225px;
        display: inline-block;
        font-weight: bold;
        &.enabled {
            &:hover {
                color: @sdcui_color_dark-blue;
            }
        }
    }


    .i-sdc-designer-sidebar-section-content-item-file-link{
        border-left: 1px #848586 solid;
        height: 58px;
        margin-left: -11px;
        margin-top: 11px;
        border-top: 1px #848586 solid;
        border-bottom: 1px #848586 solid;
        width: 12px;
        float: left;
    }

    .i-sdc-designer-sidebar-section-content-item-artifact-details-desc {
        display: none;
        line-height: 16px;
        word-wrap: break-word;
        white-space: normal;
    }

    .i-sdc-designer-sidebar-section-content-item-artifact-details-desc-label {
        color: @sdcui_color_dark-gray;
    }


    .i-sdc-designer-sidebar-section-content-item-artifact {
        border-bottom: 1px solid #c8cdd1;
        padding: 5px 10px 5px 18px;
        position: relative;
        // line-height: 36px;
        min-height: 61px;
        //cursor: default;
        display: flex;
        align-items: center;


        .i-sdc-designer-sidebar-section-content-item-button {
            top: 20px;
            line-height: 10px;
        }

        &:hover {
            //background-color: @color_c;
            background-color: white;
            transition: all .3s;

            .i-sdc-designer-sidebar-section-content-item-button {
                display: block;

            }

        }
    }
}