Skip to content

Commit ac9f25f

Browse files
bexsoftBenjamin Perez
andauthored
Changed background to white & added new shadow in title bar (#1141)
Signed-off-by: Benjamin Perez <[email protected]> Co-authored-by: Benjamin Perez <[email protected]>
1 parent a4de76c commit ac9f25f

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

portal-ui/build/styles/root-styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137

138138
body {
139139
margin: 0;
140-
background-color: rgb(250, 250, 250);
140+
background-color: #fff;
141141
font-family: "Lato", sans-serif;
142142
-webkit-font-smoothing: antialiased;
143143
-moz-osx-font-smoothing: grayscale;

portal-ui/public/styles/root-styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137

138138
body {
139139
margin: 0;
140-
background-color: rgb(250, 250, 250);
140+
background-color: #fff;
141141
font-family: "Lato", sans-serif;
142142
-webkit-font-smoothing: antialiased;
143143
-moz-osx-font-smoothing: grayscale;

portal-ui/src/screens/Console/Common/PageHeader/PageHeader.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@ const styles = (theme: Theme) =>
1515
headerContainer: {
1616
// position: "absolute",
1717
width: "100%",
18-
minHeight: 77,
18+
minHeight: 79,
1919
display: "flex",
2020
backgroundColor: "#fff",
21-
borderBottom: "2px solid",
22-
borderBottomColor: "#e8e8e8",
2321
left: 0,
22+
boxShadow: "rgba(0,0,0,.08) 0 3px 10px",
2423
},
2524
label: {
2625
display: "flex",

portal-ui/src/screens/Console/Menu/Menu.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,10 @@ const styles = (theme: Theme) =>
6868
createStyles({
6969
logo: {
7070
paddingTop: 25,
71+
height: 80,
7172
marginBottom: 30,
7273
paddingLeft: 45,
74+
borderBottom: "#1C3B64 1px solid",
7375
transition: theme.transitions.create("paddingLeft", {
7476
easing: theme.transitions.easing.sharp,
7577
duration: theme.transitions.duration.leavingScreen,
@@ -560,7 +562,7 @@ const Menu = ({
560562
size="large"
561563
>
562564
{sidebarOpen ? <ChevronLeft /> : <MenuIcon />}
563-
</IconButton>
565+
</IconButton>
564566
</div>
565567
<List className={classes.menuList}>
566568
{menuGroups.map((groupMember, index) => {
@@ -578,7 +580,7 @@ const Menu = ({
578580

579581
return (
580582
<React.Fragment key={`menuElem-${index.toString()}`}>
581-
<Divider className={classes.menuDivider} />
583+
{index !== 0 && <Divider className={classes.menuDivider} />}
582584
{filterByGroup.map((page: IMenuItem) => {
583585
switch (page.type) {
584586
case "item": {

portal-ui/src/theme/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const theme = createTheme({
1717
error: {
1818
light: "#e03a48",
1919
main: "#dc1f2e",
20-
contrastText: "#ffffff",
20+
contrastText: "#fff",
2121
},
2222
grey: {
2323
100: "#f0f0f0",
@@ -31,7 +31,7 @@ const theme = createTheme({
3131
900: "#333333",
3232
},
3333
background: {
34-
default: "#FAFAFA",
34+
default: "#fff",
3535
},
3636
},
3737
typography: {

0 commit comments

Comments
 (0)