mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
more pwa styles added
This commit is contained in:
33
web/src/style/CustomMaterialUiStyles.js
Normal file
33
web/src/style/CustomMaterialUiStyles.js
Normal file
@@ -0,0 +1,33 @@
|
||||
import { ListItem } from '@material-ui/core'
|
||||
import Dialog from '@material-ui/core/Dialog'
|
||||
import { pwaFooterHeight } from 'components/App/PWAFooter/style'
|
||||
import styled from 'styled-components'
|
||||
import { Header } from 'style/DialogStyles'
|
||||
|
||||
export const StyledMenuButtonWrapper = styled(ListItem).attrs({ button: true })`
|
||||
@media screen and (display-mode: standalone) {
|
||||
width: 100%;
|
||||
height: 60px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 10px;
|
||||
}
|
||||
`
|
||||
|
||||
export const StyledDialog = styled(Dialog)`
|
||||
@media screen and (display-mode: standalone) {
|
||||
margin-bottom: ${pwaFooterHeight}px;
|
||||
|
||||
.MuiDialog-container .MuiPaper-root {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const StyledHeader = styled(Header)`
|
||||
@media screen and (display-mode: standalone) {
|
||||
padding-top: 47px;
|
||||
}
|
||||
`
|
||||
@@ -22,12 +22,6 @@ export default createGlobalStyle`
|
||||
}
|
||||
}
|
||||
|
||||
header {
|
||||
@media screen and (display-mode: standalone) {
|
||||
padding-top: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
button {
|
||||
font-family: "Open Sans", sans-serif;
|
||||
letter-spacing: -0.1px;
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
import { ListItem } from '@material-ui/core'
|
||||
import styled from 'styled-components'
|
||||
|
||||
export default styled(ListItem).attrs({ button: true })`
|
||||
@media screen and (display-mode: standalone) {
|
||||
width: 100%;
|
||||
height: 60px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 10px;
|
||||
}
|
||||
`
|
||||
Reference in New Issue
Block a user