OSDN Git Service

cleaned up SplashScreen and implemented ajax loading
[alterlinux/lightdm-webkit2-theme-alter.git] / json / SplashScreen.json
1 {
2         "fit": true,
3         "filter": false,
4         "vignette": true,
5         "active-timeout": 15,
6         "transition": "fade",
7         "content": {
8                 "clock": [{
9                         "format": "dddd, MMMM Do",
10                         "css": {
11                                 "color": "white"
12                         },
13                         "parent-css": {
14                                 "margin-top": "calc(20vh - 70pt)",
15                                 "text-align": "center",
16                                 "font-size": "70pt",
17                                 "font-family": "Noto Sans",
18                                 "font-weight": "lighter",
19                                 "text-shadow": "rgba(0, 0, 0, 0.5) 0px 7px 10px",
20                         }
21                 },{
22                         "format": ["h:mm", "A"],
23                         "css": [
24                                 {"font-size": "65pt", "font-weight": 200 },
25                                 {"font-size": "30pt", "font-weight": "lighter", "margin-left": "10pt"}
26                         ],
27                         "parent-css": {
28                                 "margin-top": "20vh",
29                                 "color": "white",
30                                 "font-family": "Noto Sans",
31                                 "text-align": "center",
32                                 "text-shadow": "rgba(0, 0, 0, 0.5) 0px 7px 10px",
33                         }
34                 }],
35
36                 "html": [{
37                         "html":"<text style='display: none' class='active-appear'>Press any key to login</text>",
38                         "css": {
39                                 "margin-top": "5vh",
40                                 "font-weight": "200",
41                                 "font-size": "23pt",
42                                 "text-align": "center",
43                                 "color": "rgba(255, 255, 255, 0.8)"
44                         }
45                 }]
46         }
47 }