1+ < html window-frame ="solid-with-shadow " window-icon ="window-icon.png ">
2+ < head >
3+ < link href ="main_window.css " rel ="stylesheet " type ="text/css " />
4+ < link href ="input_config.css " rel ="stylesheet " type ="text/css " />
5+ < title > NxEmu Configuration</ title >
6+ < style >
7+ # SettingsPage
8+ {
9+ flow : horizontal;
10+ width : 100%% ;
11+ height : 100%% ;
12+ }
13+
14+ # MainTabNav {
15+ width : 9em ;
16+ height : 100%% ;
17+ border : 1px solid # 54575b ;
18+ border-radius : 0.5em ;
19+ background-color : # 232629 ;
20+ margin : 0 0.4em 0 0 ;
21+ color : # ffffff ;
22+ font-size : 0.9em ;
23+ }
24+
25+ # MainTabNav > Page : first-child
26+ {
27+ border-radius : 0.5em 0.5em 0 0 ;
28+ }
29+
30+ # MainTabNav > Page
31+ {
32+ padding : 0.2em 0.5em ;
33+ }
34+
35+ # MainTabNav > Page : visited
36+ {
37+ background : # 287399 ;
38+ }
39+
40+ # ConfigContents {
41+ width : 100%% ;
42+ height : 100%% ;
43+ color : # ffffff ;
44+ }
45+
46+ .checkbox-row ,
47+ .slider-row
48+ {
49+ margin : 0 0 1em 0 ;
50+ }
51+
52+ .form-row .left ,
53+ .form-row .right
54+ {
55+ width : 50%% ;
56+ display : inline-block;
57+ }
58+
59+ @set styled-select < std- select- dropdown {
60+ : root {
61+ color : # FFF ;
62+ padding : 0.1em ;
63+ margin : 0 0 0.3em 0 ;
64+ width : 100%% ;
65+ border : 1px solid # 54575b ;
66+ border-radius : .2em ;
67+ background : # 2F2F31 ;
68+ }
69+ : root : focus ,
70+ : root : active {
71+ border-color : # 3daee9 ;
72+ }
73+ : root : hover {
74+ background : # 3C3C3C ;
75+ }
76+ : root > popup .list {
77+ background-color : # 2B2B2B ;
78+ border-color : # 1F1F1F ;
79+ color : # FFF ;
80+ }
81+ : root option {
82+ vertical-align : middle;
83+ padding : 0.3em ;
84+ }
85+ : root > button {
86+ fill : # FFF ;
87+ }
88+ }
89+ select : not ([type ]) {
90+ style-set : styled-select;
91+ }
92+ slider {
93+ display : inline-block;
94+ style-set : std-hslider;
95+ }
96+
97+ @set std-hslider < std- hslider- base {
98+ : root {
99+ background : # 565a5e ;
100+ padding : 7dip ;
101+ background-clip : content-box;
102+ background-image : url (stock:block);
103+ background-repeat : no-repeat;
104+ background-position : 0 0 ;
105+ fill : color (accent);
106+ width : 8em ;
107+ height : 0.3em ;
108+ background-size : var (slider-position, 0px ) 0.3em ; // "value" part
109+ }
110+ : root > knob {
111+ size : 16dip ;
112+ box-shadow : # aaa 1dip 1dip 1dip ;
113+ background : color (accent);
114+ foreground : none;
115+ border : none;
116+ border-radius : 8dip ;
117+ padding : 0 ;
118+ }
119+
120+ : root > knob ::marker {
121+ content : parent-attr (value);
122+ size : 32dip 36dip ;
123+ line-height : 32dip ;
124+ text-align : center;
125+ background : no-repeat
126+ url (path:M8 2.1 c1.1 0 2.2 0.5 3 1.3 0.8 0.9 1.3 1.9 1.3 3.1 s-0.5 2.5 -1.3 3.3 l-3 3.1 -3 -3.1 c-0.8-0.8-1.3-2-1.3-3.3 0 -1.2 0.4 -2.2 1.3 -3.1 0.8 -0.8 1.9 -1.3 3 -1.3z );
127+ background-size : 32dip 36dip ;
128+ fill : color (lighten4);
129+ stroke : none;
130+ transform : translate (-8dip , -100% ) scale (0 );
131+ transition : transform 160ms ;
132+ transform-origin : 50% 100% ;
133+ filter : drop-shadow (1dip , 1dip , 1dip , # 999 );
134+ }
135+
136+ : root : focus > knob ::marker ,
137+ : root : hover > knob ::marker {
138+ transform : translate (-8dip , -100% ) scale (1 );
139+ }
140+ }
141+
142+ input [type = "checkbox" ] {
143+ appearance : none;
144+ height : 1em ;
145+ width : 1em ;
146+ border : 1px solid # 818183 ;
147+ background : none;
148+ border-radius : 0.3em ;
149+ }
150+
151+ input [type = "checkbox" ]: checked {
152+ background : no-repeat 50% 50% ;
153+ background-image : url (stock:checkmark);
154+ background-size : 0.7em ;
155+ }
156+ </ style >
157+ </ head >
158+ < header >
159+ < window-caption role =window-caption > < img src ="window-icon-32.png " /> < span > NxEmu Configuration</ span > </ window-caption >
160+ < window-buttons >
161+ < window-button role ="window-close "> </ window-button >
162+ </ window-buttons >
163+ </ header >
164+ < body >
165+ < div id ="SettingsPage ">
166+ < PageNav target ="ConfigContents " id ="MainTabNav ">
167+ < Page contents ="system_config_audio.html " label ="Audio " Name ="Audio " />
168+ </ PageNav >
169+ < div id ="ConfigContents " />
170+ </ div >
171+ < div class ="footer ">
172+ < button role ="window-close "> OK</ button >
173+ < button role ="window-close "> Cancel</ button >
174+ </ div >
175+ </ body >
176+ </ html >
0 commit comments