aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/pages/properties-assignment/properties-assignment.page.component.less
blob: e56374a2c248d4d4a0f02e6d79026ca8813f03ae (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
@import '../../../../assets/styles/variables';
@ng2-shadow-gray: #f8f8f8;
@ng2-light-gray: #eaeaea;
@ng2-medium-gray: #d2d2d2;
@ng2-med-dark-gray: #999999;
@ng2-dark-gray: #5a5a5a;
@ng2-shadow-blue: #e6f6fb;
@ng2-bold-blue: #009fdb;
@ng2-success-green:#4ca90c;
@ng2-title-font-size:16px;
@ng2-text-font-size: 14px;

:host { display:block; height: 100%; }
/deep/ tabs {display:flex; flex-direction:column; height:100%; }

.properties-assignment-page {
    height: 100%;

    .main-content {
        display:flex;
        flex-direction:row;
        height: 100%;
    }

    .left-column {
        flex: 1 0 500px;
        position: relative;
        margin: 0 0 1em 0;

        /deep/ .tabs {
            width:25%;
            text-align:center;

        }

        /deep/ .tab {
            padding: 10px .5em;

            &.active {
                color:#009fdb;
                border-color: #d2d2d2;
                border-top: solid 4px #009fdb;
                background-color: white;
                padding-top:7px;
            }
        }

        .header {
            position:absolute;
            top:0;
            right:0;
            min-width:200px;
        }

        .search-filter-container{
            position: relative;
            right: 164px;
        }

        .search-box {
            border: 1px solid @ng2-medium-gray;
            border-radius: 4px;
            height: 32px;
            margin: 0;
            padding: 2px 20px 4px 10px;
            outline: none;
            font-style: italic;
            color:@ng2-med-dark-gray;
            margin-right:10px;

            &::-moz-placeholder { color:@ng2-med-dark-gray;}
            &::-webkit-input-placeholder{ color:@ng2-med-dark-gray;}
        }
        .search-icon {
            background-position: -48px -3137px;
            width: 14px;
            height: 14px;
            position: relative;
            right: 34px;
            top: 4px;
        }
        .advance-search{
            position: relative;
            right: 22px;
        }
        .clear-filter{
            cursor: pointer;
            color: @main_color_c;
            font-family: @font-omnes-medium-italic;
            text-decoration: underline;
            position: relative;
            top: 4px;
            right: 16px;
        }

        .declare-button{
            position: absolute;
            top: 0;
            right: 0;
        }
    }

    .right-column {
        display:flex;
        flex:0 0 350px;
        flex-direction:column;
        margin: 3em 0 1em 1em;
        padding: 10px;
        overflow:auto;

        /deep/ .tabs {
            width: 33%;
        }

        /deep/ .tab {
            padding: 0.5em 1em 0 1em;
            white-space: nowrap;
            font-size: 13px;
        }
    }

    .hierarchy-tabs {
        flex: 0 0 40px;
    }

    .gray-border {
        border: 1px solid #ddd;
    }


    .hierarchy-nav-container {
        flex:1;
        overflow: auto;
        flex-direction: column;
        height: 100%;
    }

    .hierarchy-header {
        height:30px;
        line-height: 2.5em;
        display: flex;
        width: 100%;
        padding-left: 14px;
        font-weight: bold;
        text-align: left;
        background-color: @ng2-light-gray;
        font-size: 13px;
        span{
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
            max-width: 290px;
        }
    }

    .hierarchy-nav {
        display: grid;
        margin-top: 1em;
        margin-left: 1em;
        font-size: 12px;
        padding-top: 1em;
    }
}