alexanderjt

Windows XP logonui style

Jun 8th, 2023
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.05 KB | None | 0 0
  1. <style resid=framess>
  2. element
  3. {
  4. background: argb(0,0,0,0);
  5. }
  6. element [id=atom(contentcontainer)]
  7. {
  8. background: rgb(90,126,220);
  9. }
  10. button
  11. {
  12. background: rcbmp(112,6,#FF00FF,0,0,1,0);
  13. borderthickness: rect(8,8,0,8);
  14. }
  15. </style>
  16.  
  17. <style resid=toppanelss>
  18. element
  19. {
  20. background: argb(0,0,0,0);
  21. }
  22. element [id=atom(toppanel)]
  23. {
  24. background: rgb(0,48,156);
  25. }
  26. element [id=atom(divider)]
  27. {
  28. background: rcbmp(125,6,#FF00FF,0,0,1,0);
  29. }
  30. </style>
  31.  
  32. <style resid=bottompanelss>
  33. element
  34. {
  35. background: argb(0,0,0,0);
  36. }
  37. element [id=atom(bottompanel)]
  38. {
  39. background: gradient(argb(0,57,52,173), argb(0,0,48,156), 0);
  40. fontface: rcstr(2);
  41. }
  42. element [id=atom(divider)]
  43. {
  44. background: rcbmp(126,6,#FF00FF,0,0,1,0);
  45. }
  46. element [id=atom(options)]
  47. {
  48. padding: rect(25rp, 20rp, 25rp, 20rp);
  49. }
  50. button
  51. {
  52. fontsize: rcint(42) pt;
  53. foreground: white;
  54. cursor: hand;
  55. }
  56. button [mousefocused]
  57. {
  58. fontstyle: underline;
  59. }
  60. button [keyfocused]
  61. {
  62. fontstyle: underline;
  63. }
  64. element [id=atom(instruct)]
  65. {
  66. contentalign: wrapleft;
  67. padding: rect(18rp,0,0,0);
  68. fontsize: rcint(43) pt;
  69. foreground: white;
  70. }
  71. </style>
  72.  
  73. <style resid=leftpanelss>
  74. element
  75. {
  76. background: argb(0,0,0,0);
  77. fontface: rcstr(1);
  78. }
  79. element [id=atom(product)]
  80. {
  81. animation: alpha | s | mediumslow;
  82. }
  83. element [id=atom(leftpanel)]
  84. {
  85. foreground: rgb(239,247,255);
  86. }
  87. element [id=atom(welcome)]
  88. {
  89. fontstyle: italic;
  90. fontsize: rcint(44) pt;
  91. fontweight: bold;
  92. padding: rect(0rp,0rp,22rp,0);
  93. contentalign: topright;
  94. }
  95. element [id=atom(welcomeshadow)]
  96. {
  97. foreground: rgb(49,81,181);
  98. fontstyle: italic;
  99. fontsize: rcint(44) pt;
  100. fontweight: bold;
  101. padding: rect(2rp,3rp,20rp,0);
  102. contentalign: topright;
  103. }
  104. element[id=atom(help)]
  105. {
  106. fontsize: rcint(45) pt;
  107. padding: rect(81rp,81rp,0,0);
  108. contentalign: wrapright;
  109. }
  110. </style>
  111.  
  112. <style resid=rightpanelss>
  113. element
  114. {
  115. background: argb(0,0,0,0);
  116. }
  117. element [id=atom(divider)]
  118. {
  119. background: rcbmp(124,6,#FF00FF,0,0,1,0);
  120. }
  121. scrollbar [vertical]
  122. {
  123. layoutpos: nineright;
  124. background: rgb(115,146,231);
  125. }
  126. viewer
  127. {
  128. layoutpos: nineclient;
  129. }
  130. thumb
  131. {
  132. background: rcbmp(111,6,#FF00FF,0,0,1,0);
  133. borderthickness: rect(3,3,3,3);
  134. }
  135. repeatbutton [id=atom(lineup)]
  136. {
  137. content: rcbmp(110,3,-1,sysmetric(20),sysmetric(20),0,0);
  138. }
  139. repeatbutton [id=atom(linedown)]
  140. {
  141. content: rcbmp(109,3,-1,sysmetric(20),sysmetric(20),0,0);
  142. }
  143. </style>
  144. <style resid=hotaccountlistss>
  145. element
  146. {
  147. background: argb(0,0,0,0);
  148. fontface: rcstr(3);
  149. }
  150. selector
  151. {
  152. padding: rect(0rp,26rp,5rp,26rp);
  153. }
  154. logonaccount
  155. {
  156. cursor: hand;
  157. foreground: rgb(239,247,255);
  158. background: rgb(90,126,220);
  159. animation: alpha | log | fast;
  160. alpha:96;
  161. }
  162. logonaccount [logonstate=1]
  163. {
  164. animation: rectangle | s | mediumfast;
  165. cursor: arrow;
  166. alpha:255;
  167. }
  168. logonaccount [mousewithin]
  169. {
  170. cursor: hand;
  171.  
  172. alpha:255;
  173. }
  174. logonaccount [selected]
  175. {
  176. cursor: hand;
  177.  
  178. alpha:255;
  179. }
  180. element [id=atom(userpane)]
  181. {
  182. padding: rect(2rp,2rp,14rp,2rp);
  183. borderthickness: rect(5,5,0,5);
  184. bordercolor: rgb(90,126,220);
  185. fontsize: rcint(45) pt;
  186. }
  187. element [id=atom(userpane)][selected]
  188. {
  189. background: rcbmp(112,6,#FF00FF,0,0,1,0);
  190. }
  191.  
  192. logonaccount [selected]
  193. {
  194. alpha: 255;
  195. }
  196. element [id=atom(pictureframe)]
  197. {
  198. background: rcbmp(113,7,255,0,0,1,0);
  199. borderthickness: rect(5,5,5,5);
  200. margin: rect(0,0, 7rp,0);
  201. }
  202. element [id=atom(pictureframe)] [mousefocused]
  203. {
  204. background: rcbmp(119,7,255,0,0,1,0);
  205. borderthickness: rect(5,5,5,5);
  206. margin: rect(0,0,7rp,0);
  207. alpha: 255;
  208. }
  209. element [id=atom(pictureframe)] [selected]
  210. {
  211. background: rcbmp(119,7,255,0,0,1,0);
  212. borderthickness: rect(5,5,5,5);
  213. margin: rect(0,0,7rp,0);
  214. alpha: 255;
  215. }
  216. element [id=atom(username)]
  217. {
  218. foreground: rgb(239,247,255);
  219. contentalign: endellipsis;
  220. }
  221. button [class="status"]
  222. {
  223. background: argb(0,0,0,0);
  224. foreground: rgb(0,48,156);
  225. fontsize: rcint(46) pt;
  226. fontweight: bold;
  227. }
  228. button [class="status"][mousefocused]
  229. {
  230. fontstyle: underline;
  231. }
  232. button [class="status"][keyfocused]
  233. {
  234. fontstyle: underline;
  235. }
  236. button [class="status"][selected]
  237. {
  238. foreground: rgb(239,247,255);
  239. fontsize: rcint(46) pt;
  240. fontweight: bold;
  241. }
  242.  
  243. </style>
  244.  
  245. <style resid=accountlistss>
  246. element
  247. {
  248. background: argb(0,0,0,0);
  249. fontface: rcstr(3);
  250. }
  251. selector
  252. {
  253. padding: rect(0rp,26rp,5rp,26rp);
  254. }
  255. logonaccount
  256. {
  257. cursor: hand;
  258. animation: alpha | log | fast;
  259. background: rgb(90,126,220);
  260. }
  261. logonaccount [logonstate=1]
  262. {
  263. animation: rectangle | s | mediumfast;
  264. cursor: arrow;
  265. }
  266. element [id=atom(userpane)]
  267. {
  268. padding: rect(2rp,2rp,14rp,2rp);
  269. borderthickness: rect(5,5,0,5);
  270. bordercolor: rgb(90,126,220);
  271. fontsize: rcint(45) pt;
  272. }
  273. element [id=atom(userpane)][selected]
  274. {
  275. background: rcbmp(112,6,#FF00FF,0,0,1,0);
  276. }
  277. element [id=atom(pictureframe)]
  278. {
  279. background: rcbmp(113,7,255,0,0,1,0);
  280. borderthickness: rect(5,5,5,5);
  281. margin: rect(0,0,7rp,0);
  282. }
  283. element [id=atom(username)]
  284. {
  285. foreground: rgb(239,247,255);
  286. contentalign: endellipsis;
  287. }
  288. button [class="status"]
  289. {
  290. background: argb(0,0,0,0);
  291. foreground: rgb(0,48,156);
  292. fontsize: rcint(46) pt;
  293. fontweight: bold;
  294. contentalign: wrapleft;
  295. }
  296. button [class="status"][mousefocused]
  297. {
  298. fontstyle: underline;
  299. }
  300. button [class="status"][keyfocused]
  301. {
  302. fontstyle: underline;
  303. }
  304. button [class="status"][selected]
  305. {
  306. foreground: rgb(239,247,255);
  307. fontsize: rcint(46) pt;
  308. fontweight: bold;
  309. }
  310.  
  311. </style>
  312.  
  313. <style resid=passwordpaness>
  314. element
  315. {
  316. background: argb(0,0,0,0);
  317. }
  318. element [id=atom(passwordpanelayer)]
  319. {
  320. padding: rect(71rp,0,0,0);
  321. }
  322. element [id=atom(instruct)]
  323. {
  324. fontface: rcstr(48);
  325. fontsize: rcint(47) pt;
  326. foreground: white;
  327. padding: rect(3rp,0,0,3rp);
  328. }
  329. edit [id=atom(password)]
  330. {
  331. background: rcbmp(102,6,#FF00FF,0,0,1,0);
  332. borderthickness: rect(3,3,5,5);
  333. passwordcharacter: 9679;
  334. fontface: "arial";
  335. fontsize: 16pt;
  336. }
  337. button [id=atom(go)]
  338. {
  339. margin: rect(5rp,0,0,0);
  340. content: rcbmp(103,3,-1,26rp,26rp,0,0);
  341. padding: rect(0rp,1rp,0,1rp);
  342. }
  343. button [id=atom(go)][keyfocused]
  344. {
  345. content: rcbmp(104,3,-1,26rp,26rp,0,0);
  346. }
  347. button [id=atom(info)]
  348. {
  349. margin: rect(5rp,0,0,0);
  350. content: rcbmp(105,3,-1,28rp,28rp,0,0);
  351. }
  352. button [id=atom(info)][keyfocused]
  353. {
  354. content: rcbmp(106,3,-1,28rp,28rp,0,0);
  355. }
  356. element [id=atom(keyboard)]
  357. {
  358. cursor: arrow;
  359. margin: rect(5rp,0,0,0);
  360. }
  361. </style>
  362.  
  363. <style resid=scroller>
  364.  
  365. scrollbar
  366. {
  367. layoutpos: ninebottom;
  368. }
  369.  
  370. scrollbar [vertical]
  371. {
  372. layoutpos: nineright;
  373. }
  374.  
  375. viewer
  376. {
  377. layoutpos: nineclient;
  378. }
  379.  
  380. thumb
  381. {
  382. background: dtb(handlemap(1), 3, 1);
  383. content: dtb(handlemap(1), 9, 1);
  384. contentalign: middlecenter;
  385. }
  386.  
  387. thumb [mousefocused]
  388. {
  389. background: dtb(handlemap(1), 3, 2);
  390. content: dtb(handlemap(1), 9, 2);
  391. }
  392.  
  393. thumb [captured]
  394. {
  395. background: dtb(handlemap(1), 3, 3);
  396. content: dtb(handlemap(1), 9, 3);
  397. }
  398.  
  399. repeatbutton [id=atom(lineup)]
  400. {
  401. background: dtb(handlemap(1), 1, 1);
  402. width: sysmetric(2);
  403. height: sysmetric(20);
  404. }
  405.  
  406. repeatbutton [id=atom(lineup)][mousefocused]
  407. {
  408. background: dtb(handlemap(1), 1, 2);
  409. }
  410.  
  411. repeatbutton [id=atom(lineup)][pressed]
  412. {
  413. background: dtb(handlemap(1), 1, 3);
  414. }
  415.  
  416. repeatbutton [id=atom(linedown)]
  417. {
  418. background: dtb(handlemap(1), 1, 5);
  419. width: sysmetric(2);
  420. height: sysmetric(20);
  421. }
  422.  
  423. repeatbutton [id=atom(linedown)][mousefocused]
  424. {
  425. background: dtb(handlemap(1), 1, 6);
  426. }
  427.  
  428. repeatbutton [id=atom(linedown)][pressed]
  429. {
  430. background: dtb(handlemap(1), 1, 7);
  431. }
  432.  
  433. repeatbutton [id=atom(pageup)]
  434. {
  435. background: dtb(handlemap(1), 7, 1);
  436. }
  437.  
  438. repeatbutton [id=atom(pageup)][mousefocused]
  439. {
  440. background: dtb(handlemap(1), 7, 2);
  441. }
  442.  
  443. repeatbutton [id=atom(pageup)][pressed]
  444. {
  445. background: dtb(handlemap(1), 7, 3);
  446. }
  447.  
  448. repeatbutton [id=atom(pagedown)]
  449. {
  450. background: dtb(handlemap(1), 6, 1);
  451. }
  452.  
  453. repeatbutton [id=atom(pagedown)][mousefocused]
  454. {
  455. background: dtb(handlemap(1), 6, 2);
  456. }
  457.  
  458. repeatbutton [id=atom(pagedown)][pressed]
  459. {
  460. background: dtb(handlemap(1), 6, 3);
  461. }
  462.  
  463. </style>
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470. <logonframe resid=main id=atom(frame) sheet=styleref(framess) layout=borderlayout()>
  471.  
  472. <element id=atom(toppanel) sheet=styleref(toppanelss) layout=borderlayout() layoutpos=top height=80rp>
  473. <element id=atom(divider) layoutpos=bottom height=2rp/>
  474. </element>
  475.  
  476. <element id=atom(bottompanel) sheet=styleref(bottompanelss) layout=borderlayout() layoutpos=bottom>
  477. <element id=atom(divider) layoutpos=top height=2rp/>
  478. <element id=atom(options) layout=borderlayout() layoutpos=client>
  479. <element layout=borderlayout() layoutpos=left>
  480. <button id=atom(power) layout=borderlayout() layoutpos=top accessible=true accRole=43 accName=rcstr(11)>
  481. <element layoutpos=left content=rcbmp(107,3,-1,26rp,26rp,0,0) />
  482. <element id=atom(label) layoutpos=client margin=rect(2rp,0,0,0)/>
  483. </button>
  484. <button id=atom(undock) layout=borderlayout() layoutpos=top margin=rect(0,2rp,0,0) accessible=true accRole=43 accName=rcstr(14)>
  485. <element layoutpos=left content=rcbmp(108,3,-1,26rp,26rp,0,0)/>
  486. <element id=atom(label) layoutpos=client margin=rect(2rp,0,0,0)/>
  487. </button>
  488. </element>
  489. <element id=atom(instruct) layoutpos=right content=rcstr(25) width=325rp/>
  490. </element>
  491. </element>
  492.  
  493. <element id=atom(contentcontainer) layout=flowlayout(1,3,2,3) layoutpos=client content=rcbmp(100,0,0,219rp,207rp,1,0)>
  494. <element id=atom(leftpanel) sheet=styleref(leftpanelss) layout=filllayout() layoutpos=left>
  495. <element id=atom(logoarea) layout=verticalflowlayout(0,3,3,2)>
  496. <element id=atom(product) contentalign=topright padding=rect(0rp,0rp,20rp,20rp) content=rcbmp(123,3,-1,137,86,0,0) background=rgb(90,126,220)/>
  497. <element id=atom(help) contentalign=wrapright width=384rp padding=rect(0rp,0rp,40rp,0rp)/>
  498. </element>
  499. <element id=atom(msgarea) layout=verticalflowlayout(0,0,0,2) >
  500. <element layout=filllayout() width=384rp>
  501. <element id=atom(welcomeshadow) content=rcstr(7)/>
  502. <element id=atom(welcome) content=rcstr(7)/>
  503. </element>
  504. </element>
  505. </element>
  506.  
  507. <element id=atom(rightpanel) sheet=styleref(rightpanelss) layout=borderlayout() layoutpos=left width=384rp>
  508. <element id=atom(divider) layoutpos=left width=1rp/>
  509. <scrollviewer id=atom(scroller) sheet=styleref(scroller) layoutpos=client xscrollable=false margin=rect(26rp,0rp,0rp,0rp)>
  510. <selector id=atom(accountlist) sheet=styleref(accountlistss) layout=verticalflowlayout(0,3,3,2)/>
  511. </scrollviewer>
  512. </element>
  513.  
  514. </element>
  515.  
  516. </logonframe>
  517.  
  518.  
  519.  
  520.  
  521.  
  522. <logonaccount resid=accountitem id=atom(accountitem) layout=filllayout() accessible=true accRole=43>
  523. <element id=atom(userpanelayer) layout=borderlayout() height=80rp>
  524. <element id=atom(userpane) layout=borderlayout() layoutpos=top>
  525. <element id=atom(pictureframe) layout=flowlayout(0,2,2) layoutpos=left width=58rp height=58rp>
  526. <element id=atom(picture) />
  527. </element>
  528. <element id=atom(username) layoutpos=top/>
  529. <button id=atom(status0) class="status" layoutpos=none/>
  530. <button id=atom(status1) class="status" layoutpos=none/>
  531. </element>
  532. </element>
  533. </logonaccount>
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540. <element resid=passwordpanel id=atom(passwordpanelayer) sheet=styleref(passwordpaness) layout=borderlayout() height=80rp>
  541. <element layout=borderlayout() layoutpos=bottom>
  542. <edit id=atom(password) layoutpos=left width=163rp/>
  543. <element id=atom(keyboard) layoutpos=left/>
  544. <button id=atom(go) layoutpos=left accessible=true accRole=43 accName= rcstr(100)/>
  545. <button id=atom(info) layoutpos=left accessible=true accRole=43 accName= rcstr(13)/>
  546. </element>
  547. <element id=atom(instruct) layoutpos=bottom content=rcstr(6)/>
  548. </element>
Add Comment
Please, Sign In to add comment