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:
parent
ead8f4336b
commit
cf4c7422ed
@ -1,5 +1,19 @@
|
|||||||
.ClusterSettings {
|
.ClusterSettings {
|
||||||
grid-template-columns: unset;
|
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 {
|
.info-col {
|
||||||
display: none;
|
display: none;
|
||||||
@ -8,6 +22,7 @@
|
|||||||
.content-col {
|
.content-col {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding-top: $padding * 3;
|
padding-top: $padding * 3;
|
||||||
|
background-color: transparent;
|
||||||
|
|
||||||
.SubTitle {
|
.SubTitle {
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
@ -29,10 +44,19 @@
|
|||||||
margin-left: $margin;
|
margin-left: $margin;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
.button-area {
|
||||||
margin-top: $margin * 2;
|
margin-top: $margin * 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.file-loader {
|
||||||
|
margin-top: $margin * 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hint {
|
||||||
|
font-size: smaller;
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.status-table {
|
.status-table {
|
||||||
|
|||||||
@ -35,7 +35,7 @@ export class InstallFeature extends React.Component<Props> {
|
|||||||
}
|
}
|
||||||
{features.installed &&
|
{features.installed &&
|
||||||
<Button
|
<Button
|
||||||
primary
|
accent
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
onClick={this.runAction("uninstallFeature")}
|
onClick={this.runAction("uninstallFeature")}
|
||||||
>
|
>
|
||||||
@ -74,7 +74,7 @@ export class InstallFeature extends React.Component<Props> {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{this.props.children}
|
{this.props.children}
|
||||||
{this.getActionButtons()}
|
<div className="button-area">{this.getActionButtons()}</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -30,7 +30,7 @@ export class RemoveClusterButton extends React.Component<Props> {
|
|||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<Button accent onClick={this.confirmRemoveCluster}>
|
<Button accent onClick={this.confirmRemoveCluster} className="button-area">
|
||||||
Remove Cluster
|
Remove Cluster
|
||||||
</Button>
|
</Button>
|
||||||
);
|
);
|
||||||
|
|||||||
@ -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"
|
|
||||||
}
|
|
||||||
@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
> .head-col {
|
> .head-col {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
background-color: var(--clusters-menu-bgc);
|
|
||||||
border-bottom: 1px solid $grey-800;
|
border-bottom: 1px solid $grey-800;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -31,7 +31,7 @@ html {
|
|||||||
border-radius: $radius;
|
border-radius: $radius;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
box-shadow: 0 0 0 1px $halfGray;
|
box-shadow: 0 0 0 1px $borderFaintColor;
|
||||||
|
|
||||||
&--is-focused {
|
&--is-focused {
|
||||||
box-shadow: 0 0 0 2px $primary;
|
box-shadow: 0 0 0 2px $primary;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user