70 lines
747 B
JavaScript
70 lines
747 B
JavaScript
|
|
|
||
|
|
|
||
|
|
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;
|
||
|
|
|
||
|
|
}
|