{!isSaveQueryEnabled() ? (
- {setupSaveQueriesText}
+
+ {setupSaveQueriesText}
+
) : (
For compliance reasons, we save queries in a container in your Azure Cosmos account, in a separate database called “___Cosmos”. To proceed, we need to create a container in your account, estimated additional cost is $0.77 daily.
diff --git a/src/Explorer/Panes/SettingsPane/SettingsPane.tsx b/src/Explorer/Panes/SettingsPane/SettingsPane.tsx
index bbf4c1438..69cca5fc5 100644
--- a/src/Explorer/Panes/SettingsPane/SettingsPane.tsx
+++ b/src/Explorer/Panes/SettingsPane/SettingsPane.tsx
@@ -55,7 +55,6 @@ import React, { FunctionComponent, useState } from "react";
import create, { UseStore } from "zustand";
import Explorer from "../../Explorer";
import { RightPaneForm, RightPaneFormProps } from "../RightPaneForm/RightPaneForm";
-
export interface DataPlaneRbacState {
dataPlaneRbacEnabled: boolean;
aadTokenUpdated: boolean;
@@ -72,6 +71,7 @@ const useStyles = makeStyles({
bulletList: {
listStyleType: "disc",
paddingLeft: "20px",
+ color: "var(--colorNeutralForeground1)",
},
container: {
display: "flex",
@@ -83,6 +83,7 @@ const useStyles = makeStyles({
},
header: {
marginRight: "5px",
+ color: "var(--colorNeutralForeground1)",
},
headerIcon: {
paddingTop: "4px",
@@ -90,6 +91,7 @@ const useStyles = makeStyles({
},
settingsSectionContainer: {
paddingLeft: "15px",
+ color: "var(--colorNeutralForeground1)",
},
settingsSectionDescription: {
paddingBottom: "10px",
@@ -628,9 +630,35 @@ export const SettingsPane: FunctionComponent<{ explorer: Explorer }> = ({
".ms-ChoiceField-wrapper label": {
fontSize: 12,
paddingTop: 0,
+ color: "inherit",
},
".ms-ChoiceField": {
marginTop: 0,
+ color: "inherit",
+ },
+ ".ms-ChoiceField-field": {
+ color: "inherit",
+ },
+ ".ms-ChoiceField-field:hover": {
+ color: "inherit",
+ },
+ ".ms-ChoiceField-field:hover .ms-ChoiceField-labelWrapper": {
+ color: "inherit",
+ },
+ ".ms-ChoiceField-field:hover span": {
+ color: "inherit",
+ },
+ ".ms-ChoiceField-wrapper": {
+ color: "inherit",
+ },
+ ".ms-ChoiceField-wrapper:hover": {
+ color: "inherit",
+ },
+ ".ms-ChoiceField-labelWrapper": {
+ color: "inherit",
+ },
+ ".ms-ChoiceField-labelWrapper:hover": {
+ color: "inherit",
},
},
},
@@ -642,6 +670,7 @@ export const SettingsPane: FunctionComponent<{ explorer: Explorer }> = ({
fontSize: 12,
fontWeight: 400,
display: "block",
+ color: "inherit",
},
root: {},
container: {},
@@ -654,15 +683,37 @@ export const SettingsPane: FunctionComponent<{ explorer: Explorer }> = ({
label: {
fontSize: 12,
fontWeight: 400,
+ color: "var(--colorNeutralForeground1)",
},
root: {
paddingBottom: 10,
},
- labelWrapper: {},
- icon: {},
- spinButtonWrapper: {},
- input: {},
- arrowButtonsContainer: {},
+ labelWrapper: {
+ color: "var(--colorNeutralForeground1)",
+ },
+ icon: {
+ color: "var(--colorNeutralForeground1)",
+ },
+ spinButtonWrapper: {
+ backgroundColor: "var(--colorNeutralBackground3)",
+ borderColor: "var(--colorNeutralStroke1)",
+ },
+ input: {
+ color: "var(--colorNeutralForeground1)",
+ backgroundColor: "var(--colorNeutralBackground3)",
+ selectors: {
+ "::placeholder": {
+ color: "var(--colorNeutralForeground2)",
+ },
+ "&:focus": {
+ backgroundColor: "var(--colorNeutralBackground3)",
+ borderColor: "var(--colorBrandStroke1)",
+ },
+ },
+ },
+ arrowButtonsContainer: {
+ backgroundColor: "var(--colorNeutralBackground3)",
+ },
};
return (
@@ -712,6 +763,7 @@ export const SettingsPane: FunctionComponent<{ explorer: Explorer }> = ({
className="textfontclr"
incrementButtonAriaLabel="Increase value by 1"
decrementButtonAriaLabel="Decrease value by 1"
+ styles={spinButtonStyles}
/>
)}
@@ -773,7 +825,37 @@ export const SettingsPane: FunctionComponent<{ explorer: Explorer }> = ({
}
onChange={handleOnSelectedRegionOptionChange}
options={regionOptions}
- styles={{ root: { marginBottom: "10px" } }}
+ styles={{
+ root: { marginBottom: "10px" },
+ dropdown: {
+ backgroundColor: "var(--colorNeutralBackground3)",
+ color: "var(--colorNeutralForeground1)",
+ borderColor: "var(--colorNeutralStroke1)",
+ },
+ title: {
+ backgroundColor: "var(--colorNeutralBackground3)",
+ color: "var(--colorNeutralForeground1)",
+ borderColor: "var(--colorNeutralStroke1)",
+ },
+ dropdownItem: {
+ backgroundColor: "var(--colorNeutralBackground3)",
+ color: "var(--colorNeutralForeground1)",
+ selectors: {
+ "&:hover": {
+ backgroundColor: "var(--colorNeutralBackground4)",
+ color: "var(--colorNeutralForeground1)",
+ },
+ },
+ },
+ dropdownItemSelected: {
+ backgroundColor: "var(--colorBrandBackground)",
+ color: "var(--colorNeutralForegroundOnBrand)",
+ },
+ callout: {
+ backgroundColor: "var(--colorNeutralBackground3)",
+ borderColor: "var(--colorNeutralStroke1)",
+ },
+ }}
/>
@@ -973,6 +1055,9 @@ export const SettingsPane: FunctionComponent<{ explorer: Explorer }> = ({
checked={containerPaginationEnabled}
onChange={() => setContainerPaginationEnabled(!containerPaginationEnabled)}
label="Enable container pagination"
+ onRenderLabel={() => (
+