File tree Expand file tree Collapse file tree 1 file changed +165
-0
lines changed
Expand file tree Collapse file tree 1 file changed +165
-0
lines changed Original file line number Diff line number Diff line change 1+
2+
3+ < misc-hdr style ='position:relative '>
4+
5+ < template shadowrootmode =open >
6+
7+ < style >
8+
9+ section
10+ {margin : 0 ;box-sizing : border-box;display : flex;align-items : center;gap : 10px ;
11+ padding-bottom : 20px ;border-bottom : 1px solid lightgray;
12+ }
13+
14+ .icon {
15+ cursor : pointer;
16+ border-radius : 3px ;
17+ border : 1px solid gray;
18+ box-sizing : border-box;
19+ width : 38px ;
20+ height : 38px ;
21+ }
22+
23+ .item {
24+ display : inline-flex;
25+ align-items : center;
26+ text-align : center;
27+ background : buttonface;
28+ border-radius : 3px ;
29+ border : 1px solid lightgray;
30+ padding : 5px 7px ;
31+ }
32+
33+ .item-label {
34+ }
35+
36+ ::slotted (.title ) {
37+ text-align : center;
38+ position : absolute;
39+ left : 0 ;
40+ right : 0 ;
41+ top : 0px ;
42+ z-index : -1 ;
43+ margin : 0 auto;
44+ }
45+
46+
47+ .date {
48+ position : absolute;
49+ top : 5px ;
50+ right : 5px ;
51+ }
52+
53+ a {
54+ color : blue;
55+ }
56+ a : visited {
57+ color : blue;
58+ }
59+
60+
61+ </ style >
62+
63+ < section >
64+
65+ <!--
66+ <img id=help class=icon style='padding:2px' src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAABANJREFUSEvNl2tsVEUUx39n224pEVNsTcGqAYM1gYYP0mCUaILGLqVptzVGKZCArxIU2VYTYpQapU2Mj9jWR9H6wUesUdcGWoRSJIQYjUhETUkkRUVIoGztLqB9bOm2OzL7urtst3eXhsT77c495/+bOXPmzLlCEk9JydOZKsNi8ws2QYqAW4DskOsF4IRC/WRRdIvP393V9fZFM1mZyqC0dONsX8aMZ0SpjUCOmVjou0eJbM/wjb65e/f284l8YsCqbNN8JK0Ii5JeJXN2IXVjkJskMMbMCu4yV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lKRbJa4AAAAASUVORK5CYII='>
67+ -->
68+
69+ < div class =item >
70+
71+ <!--
72+ <top-menu component=grp v2.0></top-menu>
73+ -->
74+
75+ < a id =home class =item-label href ='/ '>
76+ home
77+ </ a >
78+
79+ </ div >
80+
81+ < div class =item >
82+
83+ < a id =home class =item-label href ='/utils/misc/index.html '>
84+ misc
85+ </ a >
86+
87+ </ div >
88+
89+
90+ < slot > </ slot >
91+
92+
93+ < div class =date >
94+ < slot name =date > </ slot >
95+ </ div >
96+
97+
98+ </ section >
99+
100+ </ template >
101+
102+ < script >
103+
104+ ( function misc_hdr ( { mod, dom, host} ) {
105+
106+ var obj = {
107+ version : 'v2.0' ,
108+ } ;
109+
110+ var df = true
111+ ;
112+
113+ var ext , $ , menu
114+ ;
115+
116+ obj . initmod = function ( params ) {
117+
118+ ext = params . ext ;
119+ $ = params . $ ;
120+ menu = params . menu ;
121+
122+ } //initmod
123+
124+
125+ //:
126+
127+ var top ;
128+
129+ obj . init = async function ( ) {
130+
131+ //top = mod['top-menu'];
132+
133+ //top.initmod({$,menu});
134+
135+ //await top.init();
136+
137+
138+ } //init
139+
140+
141+ //:
142+
143+
144+ obj . initdom = function ( ) {
145+
146+ //var root = $.$(rootnode,'misc-hdr');
147+ var shadow = host . shadowRoot ;
148+
149+ //top.initdom(shadow);
150+
151+
152+ } //initdom
153+
154+
155+
156+ return obj ;
157+
158+ } ) //misc-hdr
159+
160+ </ script >
161+
162+ </ misc-hdr >
163+
164+
165+
You can’t perform that action at this time.
0 commit comments