-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [UIE-8009] - DBaaS enhancements Backups (#10961)
* feat: [UIE-8009] - DBaaS enhancements Backups * Added changeset: DBaaS V2 enhancements to the Backups * feat: [UIE-8009] - Review fix: refactoring * feat: [UIE-8009] - Review fix: replace Time Picker, refactoring
- Loading branch information
1 parent
5f08477
commit 109bac6
Showing
20 changed files
with
626 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
packages/manager/.changeset/pr-10961-upcoming-features-1726666902955.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@linode/manager": Upcoming Features | ||
--- | ||
|
||
DBaaS V2 enhancements to the Backups ([#10961](https://github.com/linode/manager/pull/10961)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81 changes: 81 additions & 0 deletions
81
...es/manager/src/features/Databases/DatabaseDetail/DatabaseBackups/DatabaseBackups.style.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
import { styled } from '@mui/material/styles'; | ||
import { DateCalendar, TimePicker } from '@mui/x-date-pickers'; | ||
|
||
import { Box } from 'src/components/Box'; | ||
import { Typography } from 'src/components/Typography'; | ||
|
||
export const StyledTimePicker = styled(TimePicker)(() => ({ | ||
'.MuiInputAdornment-root': { marginRight: '0' }, | ||
'.MuiInputBase-input': { padding: '8px 0 8px 12px' }, | ||
'.MuiInputBase-root': { borderRadius: '0', padding: '0px' }, | ||
|
||
'button.MuiButtonBase-root': { | ||
marginRight: '0', | ||
padding: '8px', | ||
}, | ||
height: '34px', | ||
marginTop: '8px', | ||
width: '120px', | ||
})); | ||
|
||
export const StyledDateCalendar = styled(DateCalendar, { | ||
label: 'StyledDateCalendar', | ||
})(({ theme }) => ({ | ||
'.MuiButtonBase-root.MuiPickersDay-root.Mui-disabled': { | ||
color: theme.color.grey3, | ||
}, | ||
'.MuiPickersArrowSwitcher-spacer': { width: '15px' }, | ||
'.MuiPickersCalendarHeader-labelContainer': { | ||
fontSize: '0.95rem', | ||
}, | ||
'.MuiPickersCalendarHeader-root': { | ||
marginTop: '0', | ||
paddingLeft: '17px', | ||
paddingRight: '3px', | ||
}, | ||
'.MuiPickersCalendarHeader-switchViewIcon': { | ||
fontSize: '28px', | ||
}, | ||
'.MuiPickersDay-root': { | ||
fontSize: '0.875rem', | ||
height: '32px', | ||
width: '32px', | ||
}, | ||
'.MuiSvgIcon-root': { | ||
fontSize: '22px', | ||
}, | ||
'.MuiTypography-root': { | ||
fontSize: '0.875rem', | ||
height: '32px', | ||
width: '32px', | ||
}, | ||
'.MuiYearCalendar-root': { | ||
width: '260px', | ||
}, | ||
marginLeft: '0px', | ||
width: '260px', | ||
})); | ||
|
||
export const StyledBox = styled(Box)(({ theme }) => ({ | ||
'& h6': { | ||
fontSize: '0.875rem', | ||
}, | ||
'& span': { | ||
marginBottom: '5px', | ||
marginTop: '7px', | ||
}, | ||
alignItems: 'flex-start', | ||
|
||
border: '1px solid #F4F4F4', | ||
color: theme.name === 'light' ? '#555555' : theme.color.headline, | ||
display: 'flex', | ||
flexDirection: 'column', | ||
height: '100%', | ||
padding: '8px 15px', | ||
background: theme.name === 'light' ? '#FBFBFB' : theme.color.grey2, | ||
})); | ||
|
||
export const StyledTypography = styled(Typography)(() => ({ | ||
lineHeight: '20px', | ||
marginTop: '4px', | ||
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.