blob: 3f9fdecf3b21bc1f734aed5543e9283caa1d93f3 [file] [log] [blame]
/********************************************************************************
* Copyright (c) 2020 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
********************************************************************************/
@import "openk.styles";
:host {
display: flex;
flex-flow: column;
width: 100%;
overflow: auto;
box-sizing: border-box;
border: 1px solid $openk-form-border;
border-radius: 4px;
}
.predecessors {
width: 100%;
overflow: auto;
display: flex;
box-sizing: border-box;
height: 100%;
}
.predecessors---border {
border: 1px solid $openk-form-border;
border-radius: 4px;
}
.predecessors--table {
flex: 1;
width: 100%;
}
.predecessors--table--row {
background: $openk-background-card;
height: auto;
}
.predecessors--table--row---alternating-color {
&:nth-child(odd) {
background: $openk-background-highlight;
}
}
.predecessors--table--cell {
padding: 0.25em 0.75em;
}
.predecessors--table--cell---border {
border-bottom: 1px solid $openk-form-border;
}
.predecessors--table--cell---bold {
font-weight: bold;
font-size: 14px;
}
.predecessors--table--cell--checkbox {
display: flex;
flex-direction: row;
align-items: center;
}
.predecessors--table--cell---center {
text-align: center;
}
.predecessors--table--cell---fill {
width: 100%;
line-break: anywhere;
}
.predecessors--table--cell--checkbox---size {
font-size: 1em;
width: 1em;
height: 1em;
}
.predecessors--table--cell--btn {
transform: scale(0.7);
}
.predecessors--table--cell--icon---red {
color: get-color($openk-danger-palette, 300);
}
.mat-header-cell:first-of-type {
padding-left: 0.6em;
}
.mat-cell:first-of-type {
padding-left: 0.6em;
}
.mat-header-cell:last-of-type {
padding-right: 0.6em;
}
.mat-cell:last-of-type {
padding-right: 0.6em;
}
.mat-row:last-of-type {
.mat-cell {
border-bottom: 0;
}
}