1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/dashboard/client/components/+apps-helm-charts/helm-charts.scss
Jari Kolehmainen db4dca3005 lens app source code
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-15 09:46:21 +02:00

62 lines
1.1 KiB
SCSS

.HelmCharts {
.SearchInput {
width: 70%;
margin: auto;
> label {
padding: $padding $padding * 2;
}
}
.TableCell {
text-overflow: ellipsis;
&.name {
flex-grow: 1.3;
}
&.icon {
display: flex;
flex-grow: 0.3;
padding: 0;
figure {
$iconSize: $unit * 3.5;
width: $iconSize;
height: $iconSize;
border-radius: 50%;
background: $helmImgBackground url(./helm-placeholder.svg) center center no-repeat;
background-size: 72%; // bg size looks same as image on top of it
margin: auto;
img {
object-fit: contain;
width: inherit;
height: inherit;
visibility: hidden;
border-radius: inherit;
background-color: $helmImgBackground;
padding: $padding / 2;
&.visible {
visibility: visible;
}
}
}
}
&.description {
flex-grow: 2.5;
}
&.repository {
&.stable {
color: $helmStableRepo;
}
&.incubator {
color: $helmIncubatorRepo;
}
}
}
}