adjusted scrollbar for dag in all possible modes
removed pages
This commit is contained in:
1 parent
3f74c10cbf
commit
28fbdf1698
26 files changed
+92
-155
No files matched your search
@@ -0,0 +1,18 @@
|
||||
.page {
|
||||
/* dims */
|
||||
height : 100vh;
|
||||
width : 100vw;
|
||||
margin : 0;
|
||||
padding : 0;
|
||||
overflow : hidden;
|
||||
max-width : 100vw;
|
||||
max-height: 100vh;
|
||||
|
||||
/* font */
|
||||
font-size : 16px;
|
||||
font-family: Tahoma, Geneva, sans-serif;
|
||||
color : var(--primary-accent);
|
||||
|
||||
/* background */
|
||||
background-color: var(--primary);
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
import { createAppUseStyles } from "./theme";
|
||||
|
||||
export const usePageTheme = createAppUseStyles(theme => ({
|
||||
page: {
|
||||
// dims
|
||||
height: '100vh',
|
||||
width: '100vw',
|
||||
margin: 0,
|
||||
padding: 0,
|
||||
overflow: 'auto',
|
||||
maxWidth: '100vw',
|
||||
maxHeight: '100vh',
|
||||
|
||||
// font
|
||||
fontSize: '16px',
|
||||
fontFamily: 'Tahoma, Geneva, sans-serif',
|
||||
color: theme.primaryAccent,
|
||||
|
||||
// background
|
||||
backgroundColor: theme.primary,
|
||||
|
||||
// children
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
justifyContent: 'flex-start',
|
||||
alignItems: 'center',
|
||||
|
||||
'> div': {
|
||||
flex: 1,
|
||||
},
|
||||
|
||||
// scroll
|
||||
'&::-webkit-scrollbar': {
|
||||
width: '10px'
|
||||
},
|
||||
'&::-webkit-scrollbar-track': {
|
||||
background: theme.secondary,
|
||||
},
|
||||
'&::-webkit-scrollbar-thumb': {
|
||||
background: theme.secondaryAccent,
|
||||
},
|
||||
'&::-webkit-scrollbar-thumb:hover': {
|
||||
background: theme.primaryAccent,
|
||||
},
|
||||
}
|
||||
}))
|
||||
@@ -1,10 +1,10 @@
|
||||
:root {
|
||||
--primary : #111111;
|
||||
--secondary : #1c1c1c;
|
||||
--primaryAccent : #bbbbbb;
|
||||
--secondaryAccent: #929191;
|
||||
touch-action : pan-x pan-y;
|
||||
height : 100%;
|
||||
--primary : #111111;
|
||||
--secondary : #1c1c1c;
|
||||
--primary-accent : #bbbbbb;
|
||||
--secondary-accent: #929191;
|
||||
touch-action : pan-x pan-y;
|
||||
height : 100%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import "styles/root.css";
|
||||
import "styles/page.css";
|
||||
|
||||
import { Classes } from "jss";
|
||||
import { Context, createContext } from "react"
|
||||
|
||||
Reference in new issue
Block a user