summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/view-models/workspace/tabs/general/general.less
blob: b60e4b8de497ef6d33ceaa9e4e73e4b3cd9ef1b8 (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
170
.sdc-workspace-general-step {
    display: flex;
    flex-direction: column;
    .w-sdc-main-container-body-content-action-buttons{
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-bottom: 10px;
    }
    .w-sdc-form {
        padding: 0;
        flex-grow: 10;
        .i-sdc-form-file-upload{
            input[type="button"] {
                cursor: pointer;
                display: block;
                filter: alpha(opacity=0);
                width: 100px;
                height: 30px;
                opacity: 0;
                position: absolute;
                right: 0;
                text-align: right;
                top: 0;
            }

            .file-upload-browse-btn {
                .noselect;
                .bg_n;
                padding: 4px 6px;
                cursor: pointer;
                z-index: 999;
                width: 100px;
                height: 28px;
                text-align: center;
                border-left: solid 1px #cfcfcf;

                &.disabled {
                    cursor: default;
                }

                &:hover:not(.disabled) {
                    background-color: #dbdee2;
                }
            }
        }

        .description{
            height: 360px;
        }

        .i-sdc-form-item.description-field{
            margin-bottom: 0;
        }

        .w-sdc-form-section-container {
            text-align: center;
        }

        .i-sdc-form-item {
            &.upload {
                margin-top: 0;
                width: auto;
                padding: 10px;
            }
            margin-bottom: 15px;
        }

        .i-sdc-form-label {
            font-size: 12px;
        }

        .template-desc {
            border: 1px dashed @border_color_f;
            height: 130px;
            overflow: hidden;
            padding: 10px 6px 6px 6px;
            margin-top: 10px;
        }

        .sdc-tag .tag {
            max-width: 225px;
        }

    }

    .w-sdc-form-column {
        position: relative;
    }

    .meta-data{
        padding: 8px 0 2px 20px;
        text-align: left;
        background-color: @tlv_color_t;
        position: relative;
        width: 100%;
        .meta-data-item-value{
            padding-bottom: 6px;
        }
    }

    .upper-general-fields{
        display: flex;
    }

    .selected-icon-container{
        flex-grow: 1;
        display: flex;
        align-items: center;
        .selected-icon-inner-container{
            height: 60px;
            width: 60px;
            margin: 0 auto;
        }
        .update-component-icon{
            position: relative;
            float: right;
            cursor: pointer;
            z-index: 1;
        }
        .selected-icon{
            position: relative;
            top: -20px;
            &.disable{
                position: inherit;
            }
        }
        &.show-only-on-over{
            .update-component-icon{
                display: none;
            }
            .selected-icon{
                position: inherit;
            }
            &:hover{
                .update-component-icon{
                    display: inline-block;
                }
                .selected-icon{
                    position: relative;
                }
            }
        }
    }

    .name-and-category-fields{
        flex-grow: 5;
    }


    .unsaved-file-warning {
        border: solid 1px #ffb81c;
        padding: 5px 8px;
        display: flex;
        align-items: center;
        color: #ffb81c;
        margin-right: 10px;
        border-radius: 2px;
        .sdc-warning {
            margin-right:4px;
        }
    }

    .revert-btn {
        margin-left: 10px;
    }

}