mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-10-13 15:28:05 +01:00
fixed lint errors
This commit is contained in:
parent
c08e80670e
commit
5439fd18f9
@ -121,7 +121,7 @@ export const mediumWidthStackStyles: IStackStyles = { root: { width: 600 } };
|
||||
|
||||
export const shortWidthTextFieldStyles: Partial<ITextFieldStyles> = { root: { paddingLeft: 10, width: 210 } };
|
||||
|
||||
export const shortWidthDropDownStyles: Partial<IDropdownStyles> = { dropdown: { paddingleft: 10, width: 202 } };
|
||||
export const shortWidthDropDownStyles: Partial<IDropdownStyles> = { dropdown: { paddingLeft: 10, width: 202 } };
|
||||
|
||||
export const transparentDetailsRowStyles: Partial<IDetailsRowStyles> = {
|
||||
root: {
|
||||
@ -170,15 +170,15 @@ export const messageBarStyles: Partial<IMessageBarStyles> = {
|
||||
marginTop: "5px",
|
||||
backgroundColor: "var(--colorNeutralBackground1)",
|
||||
selectors: {
|
||||
'&.ms-MessageBar--severeWarning': {
|
||||
"&.ms-MessageBar--severeWarning": {
|
||||
backgroundColor: "var(--colorNeutralBackground4)",
|
||||
},
|
||||
'&.ms-MessageBar--warning': {
|
||||
"&.ms-MessageBar--warning": {
|
||||
backgroundColor: "var(--colorNeutralBackground3)",
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
text: { fontSize: 14 }
|
||||
text: { fontSize: 14 },
|
||||
};
|
||||
|
||||
export const throughputUnit = "RU/s";
|
||||
@ -557,22 +557,22 @@ export const getChoiceGroupStyles = (
|
||||
},
|
||||
root: {
|
||||
selectors: {
|
||||
'.ms-ChoiceFieldLabel': {
|
||||
color: "var(--colorNeutralForeground1) "
|
||||
".ms-ChoiceFieldLabel": {
|
||||
color: "var(--colorNeutralForeground1)",
|
||||
},
|
||||
'.ms-ChoiceField-field:hover .ms-ChoiceFieldLabel': {
|
||||
color: "var(--colorNeutralForeground1) "
|
||||
".ms-ChoiceField-field:hover .ms-ChoiceFieldLabel": {
|
||||
color: "var(--colorNeutralForeground1)",
|
||||
},
|
||||
'.ms-ChoiceField:hover .ms-ChoiceFieldLabel': {
|
||||
color: "var(--colorNeutralForeground1) "
|
||||
".ms-ChoiceField:hover .ms-ChoiceFieldLabel": {
|
||||
color: "var(--colorNeutralForeground1)",
|
||||
},
|
||||
'.ms-ChoiceField:hover .ms-ChoiceField-innerField': {
|
||||
color: "var(--colorNeutralForeground1) "
|
||||
".ms-ChoiceField:hover .ms-ChoiceField-innerField": {
|
||||
color: "var(--colorNeutralForeground1)",
|
||||
},
|
||||
'.ms-ChoiceField-innerField': {
|
||||
color: "var(--colorNeutralForeground1) "
|
||||
}
|
||||
}
|
||||
".ms-ChoiceField-innerField": {
|
||||
color: "var(--colorNeutralForeground1)",
|
||||
},
|
||||
},
|
||||
},
|
||||
flexContainer: [
|
||||
{
|
||||
@ -591,13 +591,13 @@ export const getChoiceGroupStyles = (
|
||||
color: "var(--colorNeutralForeground1)",
|
||||
},
|
||||
".ms-ChoiceFieldLabel": {
|
||||
color: "var(--colorNeutralForeground1)"
|
||||
color: "var(--colorNeutralForeground1)",
|
||||
},
|
||||
".ms-ChoiceFieldLabel:hover": {
|
||||
color: "var(--colorNeutralForeground1)"
|
||||
color: "var(--colorNeutralForeground1)",
|
||||
},
|
||||
".ms-ChoiceField-field:hover .ms-ChoiceFieldLabel": {
|
||||
color: "var(--colorNeutralForeground1)"
|
||||
color: "var(--colorNeutralForeground1)",
|
||||
},
|
||||
},
|
||||
display: isHorizontal ? "inline-flex" : "default",
|
||||
|
@ -551,22 +551,22 @@ export class ThroughputInputAutoPilotV3Component extends React.Component<
|
||||
root: {
|
||||
marginTop: "5px",
|
||||
selectors: {
|
||||
'&.ms-MessageBar--severeWarning': {
|
||||
"&.ms-MessageBar--severeWarning": {
|
||||
backgroundColor: "var(--colorStatusDangerBackground1)",
|
||||
border: "1px solid var(--colorStatusDangerBorder1)"
|
||||
border: "1px solid var(--colorStatusDangerBorder1)",
|
||||
},
|
||||
'&.ms-MessageBar--warning': {
|
||||
"&.ms-MessageBar--warning": {
|
||||
backgroundColor: "var(--colorStatusWarningBackground1)",
|
||||
border: "1px solid var(--colorStatusWarningBorder1)"
|
||||
border: "1px solid var(--colorStatusWarningBorder1)",
|
||||
},
|
||||
'.ms-MessageBar-icon': {
|
||||
".ms-MessageBar-icon": {
|
||||
color: "var(--colorNeutralForeground1)",
|
||||
},
|
||||
'.ms-MessageBar-text': {
|
||||
".ms-MessageBar-text": {
|
||||
color: "var(--colorNeutralForeground1)",
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
private getThroughputWarningMessageBar = (): JSX.Element => {
|
||||
@ -655,13 +655,12 @@ export class ThroughputInputAutoPilotV3Component extends React.Component<
|
||||
backgroundColor: "var(--colorNeutralBackground4)",
|
||||
},
|
||||
root: {
|
||||
|
||||
selectors: {
|
||||
'input': {
|
||||
"input": {
|
||||
backgroundColor: "var(--colorNeutralBackground4)",
|
||||
color: "var(--colorNeutralForeground1)",
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
}}
|
||||
disabled={this.overrideWithProvisionedThroughputSettings()}
|
||||
|
@ -132,7 +132,7 @@ export const CommandBar: React.FC<Props> = ({ container }: Props) => {
|
||||
root: {
|
||||
backgroundColor: "var(--colorNeutralBackground1)",
|
||||
color: "var(--colorNeutralForeground1)",
|
||||
padding: isFabric() ? "2px 8px 0px 8px" : undefined
|
||||
padding: isFabric() ? "2px 8px 0px 8px" : undefined,
|
||||
},
|
||||
button: {
|
||||
backgroundColor: "var(--colorNeutralBackground1)",
|
||||
|
Loading…
x
Reference in New Issue
Block a user