mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-19 00:41:31 +00:00
Few more UI observation (fixes) (#2283)
* fixed bottom border for fabric * fixed scrollbar * reverted last * updated the review comments * Fixed scroll , updated the home page UI box shadow, header font weight, margin between boxed , subtab underline for fabric fixed --------- Co-authored-by: Sakshi Gupta <sakshig@microsoft.com>
This commit is contained in:
@@ -2643,7 +2643,7 @@ a:link {
|
|||||||
|
|
||||||
.tabPanesContainer {
|
.tabPanesContainer {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
overflow-y: scroll;
|
overflow: hidden;
|
||||||
background-color: var(--colorNeutralBackground1);
|
background-color: var(--colorNeutralBackground1);
|
||||||
color: var(--colorNeutralForeground1);
|
color: var(--colorNeutralForeground1);
|
||||||
}
|
}
|
||||||
@@ -2651,6 +2651,7 @@ a:link {
|
|||||||
.tabs-container {
|
.tabs-container {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.paddingspan4 {
|
.paddingspan4 {
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ html {
|
|||||||
body {
|
body {
|
||||||
font-family: @FabricFont;
|
font-family: @FabricFont;
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
|
--colorCompoundBrandBackground: @FabricAccentMedium;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
|||||||
@@ -61,7 +61,8 @@ const useStyles = makeStyles({
|
|||||||
display: "flex",
|
display: "flex",
|
||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
minHeight: "100vh",
|
height: "100%",
|
||||||
|
overflowY: "auto",
|
||||||
backgroundColor: "var(--colorNeutralBackground1)",
|
backgroundColor: "var(--colorNeutralBackground1)",
|
||||||
color: "var(--colorNeutralForeground1)",
|
color: "var(--colorNeutralForeground1)",
|
||||||
},
|
},
|
||||||
@@ -73,20 +74,19 @@ const useStyles = makeStyles({
|
|||||||
},
|
},
|
||||||
title: {
|
title: {
|
||||||
fontSize: "48px",
|
fontSize: "48px",
|
||||||
fontWeight: "500",
|
fontWeight: "400",
|
||||||
margin: "16px auto",
|
margin: "16px auto",
|
||||||
color: "var(--colorNeutralForeground1)",
|
color: "var(--colorNeutralForeground1)",
|
||||||
},
|
},
|
||||||
subtitle: {
|
subtitle: {
|
||||||
fontSize: "18px",
|
fontSize: "18px",
|
||||||
marginBottom: "40px",
|
|
||||||
color: "var(--colorNeutralForeground2)",
|
color: "var(--colorNeutralForeground2)",
|
||||||
},
|
},
|
||||||
cardContainer: {
|
cardContainer: {
|
||||||
display: "grid",
|
display: "grid",
|
||||||
gridTemplateColumns: "repeat(2, 1fr)",
|
gridTemplateColumns: "repeat(2, 1fr)",
|
||||||
gap: "16px",
|
gap: "16px",
|
||||||
width: "66%",
|
width: "60%",
|
||||||
margin: "0 auto",
|
margin: "0 auto",
|
||||||
backgroundColor: "var(--colorNeutralBackground1)",
|
backgroundColor: "var(--colorNeutralBackground1)",
|
||||||
color: "var(--colorNeutralForeground1)",
|
color: "var(--colorNeutralForeground1)",
|
||||||
@@ -100,7 +100,7 @@ const useStyles = makeStyles({
|
|||||||
color: "var(--colorNeutralForeground1)",
|
color: "var(--colorNeutralForeground1)",
|
||||||
border: "1px solid var(--colorNeutralStroke1)",
|
border: "1px solid var(--colorNeutralStroke1)",
|
||||||
borderRadius: "4px",
|
borderRadius: "4px",
|
||||||
boxShadow: "var(--shadow4)",
|
boxShadow: "rgba(0, 0, 0, 0.25) 0px 4px 4px",
|
||||||
cursor: "pointer",
|
cursor: "pointer",
|
||||||
minHeight: "150px",
|
minHeight: "150px",
|
||||||
"&:hover": {
|
"&:hover": {
|
||||||
@@ -128,11 +128,10 @@ const useStyles = makeStyles({
|
|||||||
textAlign: "left",
|
textAlign: "left",
|
||||||
},
|
},
|
||||||
moreStuffContainer: {
|
moreStuffContainer: {
|
||||||
display: "grid",
|
display: "flex",
|
||||||
gridTemplateColumns: "repeat(3, 1fr)",
|
justifyContent: "space-between",
|
||||||
gap: "32px",
|
gap: "32px",
|
||||||
width: "66%",
|
width: "90%",
|
||||||
margin: "40px auto",
|
|
||||||
},
|
},
|
||||||
moreStuffColumn: {
|
moreStuffColumn: {
|
||||||
display: "flex",
|
display: "flex",
|
||||||
@@ -227,7 +226,7 @@ export const SplashScreen: React.FC<SplashScreenProps> = ({ explorer }) => {
|
|||||||
return (
|
return (
|
||||||
<Stack
|
<Stack
|
||||||
className="splashStackContainer"
|
className="splashStackContainer"
|
||||||
style={{ width: "66%", cursor: "pointer", margin: "40px auto" }}
|
style={{ width: "60%", cursor: "pointer", margin: "40px auto" }}
|
||||||
tokens={{ childrenGap: 16 }}
|
tokens={{ childrenGap: 16 }}
|
||||||
>
|
>
|
||||||
<Stack className="splashStackRow" horizontal>
|
<Stack className="splashStackRow" horizontal>
|
||||||
@@ -903,9 +902,9 @@ export const SplashScreen: React.FC<SplashScreenProps> = ({ explorer }) => {
|
|||||||
return (
|
return (
|
||||||
<div className={styles.splashScreenContainer}>
|
<div className={styles.splashScreenContainer}>
|
||||||
<div className={styles.splashScreen}>
|
<div className={styles.splashScreen}>
|
||||||
<h1 className={styles.title} role="heading" aria-label="Welcome to Azure Cosmos DB">
|
<h2 className={styles.title} role="heading" aria-label="Welcome to Azure Cosmos DB">
|
||||||
Welcome to Azure Cosmos DB<span className="activePatch"></span>
|
Welcome to Azure Cosmos DB<span className="activePatch"></span>
|
||||||
</h1>
|
</h2>
|
||||||
<div className={styles.subtitle}>Globally distributed, multi-model database service for any scale</div>
|
<div className={styles.subtitle}>Globally distributed, multi-model database service for any scale</div>
|
||||||
{getSplashScreenButtons()}
|
{getSplashScreenButtons()}
|
||||||
{useCarousel.getState().showCoachMark && (
|
{useCarousel.getState().showCoachMark && (
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ const useStyles = makeStyles({
|
|||||||
button: {
|
button: {
|
||||||
border: "1px solid var(--colorNeutralStroke1)",
|
border: "1px solid var(--colorNeutralStroke1)",
|
||||||
boxSizing: "border-box",
|
boxSizing: "border-box",
|
||||||
boxShadow: "var(--shadow4)",
|
boxShadow: "rgba(0, 0, 0, 0.25) 0px 4px 4px",
|
||||||
borderRadius: "4px",
|
borderRadius: "4px",
|
||||||
padding: "32px 16px",
|
padding: "32px 16px",
|
||||||
backgroundColor: "var(--colorNeutralBackground1)",
|
backgroundColor: "var(--colorNeutralBackground1)",
|
||||||
|
|||||||
Reference in New Issue
Block a user