Fix PolicyInstanceComponent and add test coverage
[portal/nonrtric-controlpanel.git] / webapp-frontend / src / app / policy / policy-instance / policy-instance.component.scss
1 /*-
2  * ========================LICENSE_START=================================
3  * O-RAN-SC
4  * %%
5  * Copyright (C) 2019 Nordix Foundation
6  * %%
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ========================LICENSE_END===================================
19  */
20
21 :host{
22   min-width: 100%;
23 }
24
25 .instances-table {
26   width: 100%;
27   margin-top: 10px;
28   margin-bottom: 10px;
29   background-color: transparent;
30 }
31
32 .mat-column-instanceId {
33   word-wrap: break-word;
34   white-space: unset;
35   flex: 0 0 22%;
36   width: 22%;
37 }
38
39 .mat-column-ric {
40   word-wrap: break-word;
41   white-space: unset;
42   flex: 0 0 22%;
43   width: 22%;
44 }
45
46 .mat-column-service {
47   word-wrap: break-word;
48   white-space: unset;
49   flex: 0 0 22%;
50   width: 22%;
51 }
52
53 .mat-column-lastModified {
54   word-wrap: break-word;
55   white-space: unset;
56   flex: 0 0 22%;
57   width: 22%;
58 }
59
60 .mat-column-action {
61   word-wrap: break-word;
62   white-space: unset;
63   flex: 0 0 12%;
64   width: 12%;
65 }
66
67
68 .table-dark {
69   background-color: #2d2d3d;
70 }
71
72 .action-cell {
73   display: flex;
74   padding-left: 2px;
75 }
76
77 .display-none {
78   display: none;
79 }
80
81 .spinner-container mat-spinner {
82   margin: 0 auto 0 auto;
83 }