First commit
This commit is contained in:
66
application/elements/page.js
Normal file
66
application/elements/page.js
Normal file
@@ -0,0 +1,66 @@
|
||||
|
||||
export default class page{
|
||||
|
||||
|
||||
#ifdef ANDROID
|
||||
|
||||
height = "100vh"
|
||||
|
||||
padding = 0;
|
||||
|
||||
borderRadius = 0;
|
||||
|
||||
#ifdef LIGHT
|
||||
|
||||
background = "#f2f2f2";
|
||||
|
||||
// background = "#000000";
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef MACOS
|
||||
|
||||
#ifdef DARK
|
||||
|
||||
background = "#282828";
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef LIGHT
|
||||
|
||||
background = "#fdfdfd";
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef WINDOWS
|
||||
|
||||
#ifdef DARK
|
||||
|
||||
background = "#202020cc";
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef LIGHT
|
||||
|
||||
background = "rgb(255 255 255 / 75%)";
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
padding = 20;
|
||||
|
||||
height = "-webkit-fill-available";
|
||||
|
||||
minHeight = 400;
|
||||
|
||||
width = "-webkit-fill-available";
|
||||
|
||||
paddingRight = 80;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user