Merge pull request #428 from MuhammadKhalilzadeh/slight-changes-in-dashboard

applying changes
This commit is contained in:
Alexander Holliday authored and GitHub committed 2024-07-24 09:47:26 -07:00
commit ff7862b4c0
12 files changed
+22 -6

No files matched your search

@@ -14,7 +14,7 @@
.server-status-tile {
min-width: 250px;
width: calc(100% - 310px);
padding: var(--spacing-general-1);
padding: var(--spacing-general-0);
border: 1px solid var(--color-border-0);
border-radius: var(--border-radius-0);
}
@@ -22,7 +22,7 @@
.server-status-tile-title {
font-size: var(--font-size-0);
font-weight: bold;
margin-bottom: 25px;
margin-bottom: calc(var(--spacing-general-1) / 2);
}
.server-status-tile-value {
@@ -1,5 +1,5 @@
.dashboard-sidebar {
height: calc(100vh - 64px);
height: calc(100vh - var(--env-var-nav-bar-height));
width: 250px;
border: 1px solid var(--color-border-0);
border-top: none;
+4
View File
@@ -1,4 +1,8 @@
/* NavBar Component Styles*/
.css-14ds6td-MuiPaper-root-MuiAppBar-root {
height: var(--env-var-nav-bar-height);
}
.icon-button-toggle {
display: flex;
align-items: center;
+3 -2
View File
@@ -99,8 +99,9 @@ function NavBar() {
position="sticky"
sx={{
width: "100%",
backgroundColor: "white",
boxShadow: "var(--env-var-shadow-1)",
backgroundColor: "transparent",
boxShadow: "none",
borderBottom: "1px solid var(--color-border-0)",
}}
>
<Container maxWidth="xxl" sx={{ width: "100%" }}>
+1 -1
View File
@@ -6,7 +6,7 @@
justify-content: flex-start;
}
.main-content>div:nth-child(2){
.main-content > div:nth-child(2) {
position: relative;
/* overflow-y: auto; */
flex: 1;
@@ -127,6 +127,7 @@ const Configure = () => {
style={{
maxWidth: "1200px",
padding: `${theme.content.pY} ${theme.content.pX}`,
backgroundColor: "var(--env-var-color-30)",
}}
>
<Button
@@ -133,6 +133,7 @@ const CreateMonitor = () => {
style={{
maxWidth: "1200px",
padding: `${theme.content.pY} ${theme.content.pX}`,
backgroundColor: "var(--env-var-color-30)",
}}
>
<Button
@@ -203,6 +203,7 @@ const DetailsPage = () => {
className="monitor-details"
style={{
padding: `${theme.content.pY} ${theme.content.pX}`,
backgroundColor: "var(--env-var-color-30)",
}}
>
<Button
+2
View File
@@ -5,6 +5,7 @@
.monitors {
font-family: var(--env-var-font-familt-1);
background-color: var(--env-var-color-30);
}
.monitors-bar {
@@ -23,6 +24,7 @@
margin-top: var(--env-var-spacing-2);
display: flex;
gap: 24px;
height: 100px;
}
.monitors-gaps-medium {
+1
View File
@@ -126,6 +126,7 @@ const Monitors = () => {
className="monitors"
style={{
padding: `${theme.content.pY} ${theme.content.pX}`,
backgroundColor: "var(--env-var-color-30)",
}}
>
<div className="monitors-bar">
+1
View File
@@ -16,6 +16,7 @@ const Settings = () => {
maxWidth: "1200px",
padding: `${theme.content.pY} ${theme.content.pX}`,
paddingBottom: 0,
backgroundColor: "var(--env-var-color-30)",
}}
>
<form className="settings-form" noValidate spellCheck="false">
+4
View File
@@ -47,6 +47,7 @@
--lighter-env-var-color-27: rgba(254, 207, 96, 0.1);
--env-var-color-28: #f79009;
--env-var-color-29: #d0d5dd;
--env-var-color-30: #fcfcfd;
--env-var-radius-1: 4px;
--env-var-radius-2: 8px;
@@ -57,12 +58,15 @@
--env-var-height-1: 100vh;
--env-var-height-2: 34px;
--env-var-nav-bar-height: 64px;
--env-var-spacing-1: 12px;
--env-var-spacing-1-plus: 16px;
--env-var-spacing-1-minus: 10px;
--env-var-spacing-2: 24px;
--env-var-spacing-3: 32px;
--env-var-spacing-4: 40px;
--env-var-spacing-5: 65px;
--env-var-font-size-small: 11px;
--env-var-font-size-small-plus: 12px;