Web:Components:Table: update dark-theme for group menu

This commit is contained in:
Timofey 2022-01-24 17:56:02 +08:00
parent 021f205c38
commit 4ef7bed60c
3 changed files with 8 additions and 1 deletions

View File

@ -68,13 +68,15 @@ StyledTableContainer.defaultProps = { theme: Base };
const StyledTableGroupMenu = styled.div` const StyledTableGroupMenu = styled.div`
position: relative; position: relative;
background: ${(props) => props.theme.tableContainer.groupMenu.background}; background: ${(props) => props.theme.tableContainer.groupMenu.background};
border-bottom: ${(props) =>
props.theme.tableContainer.groupMenu.borderBottom};
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
width: 100%; width: 100%;
z-index: 199; z-index: 199;
height: 52px; height: 52px;
box-shadow: 0px 5px 20px rgba(4, 15, 27, 7%); box-shadow: ${(props) => props.theme.tableContainer.groupMenu.boxShadow};
border-radius: 0px 0px 6px 6px; border-radius: 0px 0px 6px 6px;
margin: 0; margin: 0;
width: 100%; width: 100%;

View File

@ -1908,7 +1908,9 @@ const Base = {
groupMenu: { groupMenu: {
background: white, background: white,
borderBottom: "none",
borderRight: `1px solid ${grayMid}`, borderRight: `1px solid ${grayMid}`,
boxShadow: "0px 5px 20px rgba(4, 15, 27, 7%)",
}, },
header: { header: {

View File

@ -1910,7 +1910,10 @@ const Dark = {
groupMenu: { groupMenu: {
background: black, background: black,
borderBottom: "1px solid #474747",
borderRight: "1px solid #474747", borderRight: "1px solid #474747",
boxShadow:
"box-shadow: 0px 40px 60px rgba(0, 0, 0, 0.12), 0px 20.25px 26.1562px rgba(0, 0, 0, 0.081), 0px 8px 9.75px rgba(0, 0, 0, 0.06), 0px 1.75px 3.46875px rgba(0, 0, 0, 0.039);",
}, },
header: { header: {