First commit
This commit is contained in:
70
application/demo/page/news.page.title.js
Normal file
70
application/demo/page/news.page.title.js
Normal file
@@ -0,0 +1,70 @@
|
||||
|
||||
|
||||
import newsTitle from '../news.title.js';
|
||||
|
||||
import flexbox from '/elements/flexbox.js';
|
||||
|
||||
export default class newsPageTitle extends newsTitle, flexbox{
|
||||
|
||||
useCustomElement = false;
|
||||
|
||||
fontWeight = "bold";
|
||||
|
||||
//padding = 20;
|
||||
|
||||
//width = "600px"
|
||||
|
||||
//boxSizing = "border-box";
|
||||
|
||||
|
||||
#ifdef MACOS
|
||||
|
||||
#ifdef DARK
|
||||
|
||||
background = "#282828";
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef LIGHT
|
||||
|
||||
background = "#ffffff";
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef WINDOWS
|
||||
|
||||
#ifdef DARK
|
||||
|
||||
//background = "#202020cc";
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef LIGHT
|
||||
|
||||
//background = "rgb(255 255 255 / 75%)";
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef ANDROID
|
||||
|
||||
borderRadius = "18px 18px 0 0"
|
||||
|
||||
width = "100%"
|
||||
|
||||
#ifdef LIGHT
|
||||
|
||||
background = "white";
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
fontSize = 30;
|
||||
|
||||
padding = 20;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user