mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Remove Select's outlined theme
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
df1b947870
commit
ea59590202
@ -142,7 +142,6 @@ class NonInjectedCreateResource extends React.Component<CreateResourceProps & De
|
|||||||
options={this.props.createResourceTemplates.get()}
|
options={this.props.createResourceTemplates.get()}
|
||||||
formatGroupLabel={group => group.label}
|
formatGroupLabel={group => group.label}
|
||||||
menuPlacement="top"
|
menuPlacement="top"
|
||||||
themeName="outlined"
|
|
||||||
onChange={(option) => {
|
onChange={(option) => {
|
||||||
if (option) {
|
if (option) {
|
||||||
this.props.createResourceTabStore.setData(this.tabId, option.value);
|
this.props.createResourceTabStore.setData(this.tabId, option.value);
|
||||||
|
|||||||
@ -93,14 +93,12 @@ const NonInjectedInstallChart = observer(
|
|||||||
options={version.options.get()}
|
options={version.options.get()}
|
||||||
onChange={(changed) => version.onChange(changed?.value)}
|
onChange={(changed) => version.onChange(changed?.value)}
|
||||||
menuPlacement="top"
|
menuPlacement="top"
|
||||||
themeName="outlined"
|
|
||||||
id={`install-chart-version-select-for-${tabId}`}
|
id={`install-chart-version-select-for-${tabId}`}
|
||||||
/>
|
/>
|
||||||
<span>Namespace</span>
|
<span>Namespace</span>
|
||||||
<NamespaceSelect
|
<NamespaceSelect
|
||||||
showIcons={false}
|
showIcons={false}
|
||||||
menuPlacement="top"
|
menuPlacement="top"
|
||||||
themeName="outlined"
|
|
||||||
value={namespace.value.get()}
|
value={namespace.value.get()}
|
||||||
onChange={namespace.onChange}
|
onChange={namespace.onChange}
|
||||||
id={`install-chart-namespace-select-for-${tabId}`}
|
id={`install-chart-namespace-select-for-${tabId}`}
|
||||||
|
|||||||
@ -81,7 +81,6 @@ export class NonInjectedUpgradeChart extends React.Component<UpgradeChartProps &
|
|||||||
id="char-version-input"
|
id="char-version-input"
|
||||||
className="chart-version"
|
className="chart-version"
|
||||||
menuPlacement="top"
|
menuPlacement="top"
|
||||||
themeName="outlined"
|
|
||||||
value={model.version.value.get()}
|
value={model.version.value.get()}
|
||||||
options={model.versionOptions.get()}
|
options={model.versionOptions.get()}
|
||||||
onChange={model.version.set}
|
onChange={model.version.set}
|
||||||
|
|||||||
@ -43,10 +43,6 @@ html {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__value-container {
|
|
||||||
margin-bottom: 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
&__single-value {
|
&__single-value {
|
||||||
color: var(--textColorSecondary);
|
color: var(--textColorSecondary);
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
@ -93,6 +89,8 @@ html {
|
|||||||
&__option {
|
&__option {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
border-radius: 3px;
|
||||||
|
padding: 6px 8px;
|
||||||
|
|
||||||
&:active {
|
&:active {
|
||||||
background: var(--primary);
|
background: var(--primary);
|
||||||
@ -179,21 +177,6 @@ html {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.theme-outlined {
|
|
||||||
.Select__control {
|
|
||||||
box-shadow: 0 0 0 1px var(--colorVague);
|
|
||||||
color: var(--primary);
|
|
||||||
|
|
||||||
.Select__value-container {
|
|
||||||
padding: 0 $padding * 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
.Select__dropdown-indicator {
|
|
||||||
padding: 3px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&.theme-lens {
|
&.theme-lens {
|
||||||
:hover {
|
:hover {
|
||||||
&.Select__control {
|
&.Select__control {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user