Skip to content
This repository has been archived by the owner on Nov 22, 2019. It is now read-only.

Commit

Permalink
minor styling changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mdrillin committed Feb 5, 2018
1 parent b57b78e commit f0261f7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
Expand Up @@ -19,6 +19,7 @@
}

.dataservice-card-toolbar {
border-top: 1px solid lightgrey;
border-bottom: 1px solid lightgrey;
margin-bottom: 6px;
margin-top: 0;
Expand Down Expand Up @@ -69,6 +70,7 @@
}

.dataservice-card-selected .card-pf .card-pf-heading {
border-top: var(--border-width) var(--border-style) var(--border-color);
border-right: var(--border-width) var(--border-style) var(--border-color);
border-left: var(--border-width) var(--border-style) var(--border-color);
}
Expand All @@ -82,6 +84,7 @@
.dataservice-card-selected .card-pf .card-pf-footer {
border-right: var(--border-width) var(--border-style) var(--border-color);
border-left: var(--border-width) var(--border-style) var(--border-color);
border-bottom: var(--border-width) var(--border-style) var(--border-color);
}

.dataservice-card-body .list-pf-container {
Expand All @@ -106,7 +109,7 @@ div .dataservice-card-body-title {
color: slategray;
height: 50px;
margin-bottom: 8px;
overflow: scroll;
overflow: auto;
padding: 0 5px 5px 5px;
}

Expand Down
Expand Up @@ -90,20 +90,11 @@ export class DataserviceCardComponent implements OnInit {
* @returns {string[]} the names of the views
*/
public getViews( ds: Dataservice ): string[] {
// TODO rewrite when REST functionality has been implemented
const result: string[] = [];

const v1 = "ViewOne";
result.push( v1 );

const v2 = "ViewTwo";
result.push( v2 );

const v3 = "ViewThree";
result.push( v3 );

const v4 = "ViewFour";
result.push( v4 );
for (const viewName of ds.getServiceViewNames()) {
result.push(viewName);
}

return result;
}
Expand All @@ -124,7 +115,7 @@ export class DataserviceCardComponent implements OnInit {
},
titleBorder: true,
noPadding: true,
topBorder: true
topBorder: false
} as CardConfig;

this.listConfig = {
Expand Down

0 comments on commit f0261f7

Please sign in to comment.