mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix Cluster Settings style specificity
Signed-off-by: alexfront <alex.andreev.email@gmail.com>
This commit is contained in:
parent
b8bde06869
commit
70ae3f7012
@ -1,95 +1,97 @@
|
|||||||
.ClusterSettings {
|
.ClusterSettings {
|
||||||
grid-template-columns: unset;
|
.WizardLayout {
|
||||||
padding: 0;
|
grid-template-columns: unset;
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
.head-col {
|
.head-col {
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
||||||
:nth-child(2) {
|
:nth-child(2) {
|
||||||
flex: 1 0 0;
|
flex: 1 0 0;
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
color: $grey-600;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.info-col {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content-col {
|
|
||||||
margin: 0;
|
|
||||||
padding-top: $padding * 3;
|
|
||||||
background-color: transparent;
|
|
||||||
|
|
||||||
.SubTitle {
|
|
||||||
text-transform: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.settings-wrapper {
|
|
||||||
margin: 0 auto;
|
|
||||||
width: 60%;
|
|
||||||
min-width: 570px;
|
|
||||||
max-width: 1000px;
|
|
||||||
|
|
||||||
> div {
|
|
||||||
margin-top: $margin * 5;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.admin-note {
|
a {
|
||||||
font-size: small;
|
text-decoration: none;
|
||||||
opacity: 0.5;
|
color: $grey-600;
|
||||||
margin-left: $margin;
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.info-col {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content-col {
|
||||||
|
margin: 0;
|
||||||
|
padding-top: $padding * 3;
|
||||||
|
background-color: transparent;
|
||||||
|
|
||||||
|
.SubTitle {
|
||||||
|
text-transform: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button-area {
|
.settings-wrapper {
|
||||||
|
margin: 0 auto;
|
||||||
|
width: 60%;
|
||||||
|
min-width: 570px;
|
||||||
|
max-width: 1000px;
|
||||||
|
|
||||||
|
> div {
|
||||||
|
margin-top: $margin * 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-note {
|
||||||
|
font-size: small;
|
||||||
|
opacity: 0.5;
|
||||||
|
margin-left: $margin;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-area {
|
||||||
|
margin-top: $margin * 2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.file-loader {
|
||||||
margin-top: $margin * 2;
|
margin-top: $margin * 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hint {
|
||||||
|
font-size: smaller;
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
|
||||||
|
p + p, .hint + p {
|
||||||
|
padding-top: $padding;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.file-loader {
|
.status-table {
|
||||||
margin-top: $margin * 2;
|
margin: $margin * 3 0;
|
||||||
}
|
|
||||||
|
|
||||||
.hint {
|
.Table {
|
||||||
font-size: smaller;
|
border: 1px solid var(--drawerSubtitleBackground);
|
||||||
opacity: 0.8;
|
border-radius: $radius;
|
||||||
}
|
|
||||||
|
|
||||||
p + p, .hint + p {
|
.TableRow {
|
||||||
padding-top: $padding;
|
&:not(:last-of-type) {
|
||||||
}
|
border-bottom: 1px solid var(--drawerSubtitleBackground);
|
||||||
}
|
}
|
||||||
|
|
||||||
.status-table {
|
.value {
|
||||||
margin: $margin * 3 0;
|
flex-grow: 2;
|
||||||
|
color: var(--textColorSecondary);
|
||||||
.Table {
|
}
|
||||||
border: 1px solid var(--drawerSubtitleBackground);
|
|
||||||
border-radius: $radius;
|
|
||||||
|
|
||||||
.TableRow {
|
|
||||||
&:not(:last-of-type) {
|
|
||||||
border-bottom: 1px solid var(--drawerSubtitleBackground);
|
|
||||||
}
|
|
||||||
|
|
||||||
.value {
|
|
||||||
flex-grow: 2;
|
|
||||||
color: var(--textColorSecondary);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.Input, .Select {
|
.Input, .Select {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Select {
|
.Select {
|
||||||
&__control {
|
&__control {
|
||||||
box-shadow: 0 0 0 1px $borderFaintColor;
|
box-shadow: 0 0 0 1px $borderFaintColor;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -30,14 +30,16 @@ export class ClusterSettings extends React.Component {
|
|||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
return (
|
return (
|
||||||
<WizardLayout header={header} className="ClusterSettings">
|
<div className="ClusterSettings">
|
||||||
<div className="settings-wrapper">
|
<WizardLayout header={header}>
|
||||||
<Status cluster={cluster}></Status>
|
<div className="settings-wrapper">
|
||||||
<General cluster={cluster}></General>
|
<Status cluster={cluster}></Status>
|
||||||
<Features cluster={cluster}></Features>
|
<General cluster={cluster}></General>
|
||||||
<Removal cluster={cluster}></Removal>
|
<Features cluster={cluster}></Features>
|
||||||
</div>
|
<Removal cluster={cluster}></Removal>
|
||||||
</WizardLayout>
|
</div>
|
||||||
|
</WizardLayout>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user