File tree 2 files changed +58
-2
lines changed
2 files changed +58
-2
lines changed Original file line number Diff line number Diff line change 16
16
< meta name ="theme-color " content ="#80000a " />
17
17
</ head >
18
18
< body >
19
- < wc-trakt-extension > Loading web component ... </ wc-trakt-extension >
19
+ < wc-trakt-extension >
20
+ < div id ="app-skeleton-container ">
21
+ < div id ="app-skeleton-navbar "> </ div >
22
+ < div id ="app-skeleton-content ">
23
+ < span id ="app-skeleton-loader "> Loading popup application ...</ span >
24
+ </ div >
25
+ </ div >
26
+ </ wc-trakt-extension >
20
27
< script type ="module " src ="./views/options/main.ts "> </ script >
21
28
</ body >
22
29
</ html >
52
59
flex : 1 1 auto;
53
60
flex-direction : column;
54
61
}
62
+
63
+ # app-skeleton-container {
64
+ height : 100% ;
65
+ }
66
+
67
+ # app-skeleton-navbar {
68
+ width : 100% ;
69
+ height : 44px ;
70
+ background : rgba (0 0 0 / 30% );
71
+
72
+ & : hover {
73
+ background : rgba (0 0 0 / 60% );
74
+ }
75
+ }
76
+
77
+ # app-skeleton-content {
78
+ display : flex;
79
+ align-items : center;
80
+ justify-content : center;
81
+ height : calc (var (--full-height , 100dvh ) - 44px )
82
+ }
55
83
</ style >
Original file line number Diff line number Diff line change 6
6
< title > Side Trakt Options</ title >
7
7
</ head >
8
8
< body >
9
- < wc-trakt-extension > Loading options component ... </ wc-trakt-extension >
9
+ < wc-trakt-extension >
10
+ < div id ="app-skeleton-container ">
11
+ < div id ="app-skeleton-navbar "> </ div >
12
+ < div id ="app-skeleton-content ">
13
+ < span id ="app-skeleton-loader "> Loading popup application ...</ span >
14
+ </ div >
15
+ </ div >
16
+ </ wc-trakt-extension >
10
17
< script type ="module " src ="./main.ts "> </ script >
11
18
</ body >
12
19
</ html >
34
41
flex : 1 1 auto;
35
42
flex-direction : column;
36
43
}
44
+
45
+ # app-skeleton-container {
46
+ height : 100% ;
47
+ }
48
+
49
+ # app-skeleton-navbar {
50
+ width : 100% ;
51
+ height : 44px ;
52
+ background : rgba (0 0 0 / 30% );
53
+
54
+ & : hover {
55
+ background : rgba (0 0 0 / 60% );
56
+ }
57
+ }
58
+
59
+ # app-skeleton-content {
60
+ display : flex;
61
+ align-items : center;
62
+ justify-content : center;
63
+ height : calc (var (--full-height , 100dvh ) - 44px )
64
+ }
37
65
</ style >
You can’t perform that action at this time.
0 commit comments