1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Cluster Settings styling

Signed-off-by: alexfront <alex.andreev.email@gmail.com>
This commit is contained in:
alexfront 2020-08-06 13:02:57 +03:00
parent ead8f4336b
commit cf4c7422ed
6 changed files with 29 additions and 24 deletions

View File

@ -1,5 +1,19 @@
.ClusterSettings {
grid-template-columns: unset;
padding: 0;
.head-col {
justify-content: space-between;
:nth-child(2) {
flex: 1 0 0;
}
a {
text-decoration: none;
color: $grey-600;
}
}
.info-col {
display: none;
@ -8,6 +22,7 @@
.content-col {
margin: 0;
padding-top: $padding * 3;
background-color: transparent;
.SubTitle {
text-transform: none;
@ -29,10 +44,19 @@
margin-left: $margin;
}
button {
.button-area {
margin-top: $margin * 2;
}
}
.file-loader {
margin-top: $margin * 2;
}
.hint {
font-size: smaller;
opacity: 0.8;
}
}
.status-table {

View File

@ -35,7 +35,7 @@ export class InstallFeature extends React.Component<Props> {
}
{features.installed &&
<Button
primary
accent
disabled={disabled}
onClick={this.runAction("uninstallFeature")}
>
@ -74,7 +74,7 @@ export class InstallFeature extends React.Component<Props> {
return (
<>
{this.props.children}
{this.getActionButtons()}
<div className="button-area">{this.getActionButtons()}</div>
</>
);
}

View File

@ -30,7 +30,7 @@ export class RemoveClusterButton extends React.Component<Props> {
render() {
return (
<Button accent onClick={this.confirmRemoveCluster}>
<Button accent onClick={this.confirmRemoveCluster} className="button-area">
Remove Cluster
</Button>
);

View File

@ -1,18 +0,0 @@
export enum TextInputStatus {
CLEAN = "clean",
DIRTY = "dirty",
UPDATING = "updating",
ERROR = "error",
UPDATED = "updated",
}
export enum GeneralInputStatus {
CLEAN = "clean",
ERROR = "error",
}
export enum ActionStatus {
IDLE = "idle",
PROCESSING = "processing",
ERROR = "error"
}

View File

@ -15,7 +15,6 @@
> .head-col {
position: sticky;
background-color: var(--clusters-menu-bgc);
border-bottom: 1px solid $grey-800;
}

View File

@ -31,7 +31,7 @@ html {
border-radius: $radius;
background: transparent;
min-height: 0;
box-shadow: 0 0 0 1px $halfGray;
box-shadow: 0 0 0 1px $borderFaintColor;
&--is-focused {
box-shadow: 0 0 0 2px $primary;