57 lines
590 B
JavaScript
57 lines
590 B
JavaScript
|
|
import newsBody from '../news.body.js';
|
|
|
|
import textarea from '/elements/textarea.js';
|
|
|
|
import flexbox from '/elements/flexbox.js';
|
|
|
|
export default class newsPageBody extends flexbox, newsBody{
|
|
|
|
padding = 20;
|
|
|
|
width = "-webkit-fill-available"
|
|
|
|
#ifdef MACOS
|
|
|
|
#ifdef DARK
|
|
|
|
background = "#282828";
|
|
|
|
#endif
|
|
|
|
#ifdef LIGHT
|
|
|
|
background = "#ffffff";
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#ifdef WINDOWS
|
|
|
|
#ifdef DARK
|
|
|
|
|
|
#endif
|
|
|
|
#ifdef LIGHT
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#ifdef ANDROID
|
|
|
|
borderRadius = "0 0 18px 18px"
|
|
|
|
|
|
#ifdef LIGHT
|
|
|
|
background = "white";
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
} |