Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

510 lines
9.9 KiB

  1. <style resid=main>
  2. DUIListView [id=atom(listview)]
  3. {
  4. contentalign: middlecenter;
  5. fontsize: sysmetric(DSM_ICONFONTSIZE);
  6. fontweight: sysmetric(DSM_ICONFONTWEIGHT);
  7. fontstyle: sysmetric(DSM_ICONFONTSTYLE);
  8. fontface: sysmetricstr(DSMS_ICONFONTFACE);
  9. }
  10. DUIAxHost [id=atom(preview)]
  11. {
  12. contentalign: middlecenter;
  13. borderthickness: rect(5rp,5rp,5rp,5rp);
  14. bordercolor: PREVIEW_BORDERCOLOR;
  15. }
  16. Element
  17. {
  18. background: argb(0,0,0,0);
  19. }
  20. Element [id=atom(blockade)]
  21. {
  22. background: BLOCKADE_BACKGROUND;
  23. #ifndef CLASSIC_THEME
  24. borderthickness: rect(0rp,0rp,1rp,1rp);
  25. bordercolor: BLOCKADE_BORDERCOLOR;
  26. #endif
  27. }
  28. #ifndef CLASSIC_THEME
  29. Element [id=atom(blockadeaccent)]
  30. {
  31. background: BLOCKADE_ACCENT;
  32. }
  33. #endif
  34. Element [id=atom(blockadeclient)]
  35. {
  36. contentalign: bottomright;
  37. padding: rect (10rp,0rp,0rp,0rp);
  38. }
  39. Element [id=atom(blockadetitle)]
  40. {
  41. fontface: BLOCKADE_TITLE_FONTFACE;
  42. fontsize: BLOCKADE_TITE_FONTSIZE;
  43. fontweight: BLOCKADE_TITLE_FONTWEIGHT;
  44. foreground: BLOCKADE_TITLE;
  45. background: argb(0,0,0,0);
  46. padding: rect (0rp,20rp,10rp,0rp);
  47. contentalign: wrapleft;
  48. }
  49. Element [id=atom(blockademessage)]
  50. {
  51. fontface: BLOCKADE_MESSAGE_FONTFACE;
  52. fontsize: BLOCKADE_MESSAGE_FONTSIZE;
  53. fontweight: BLOCKADE_MESSAGE_FONTWEIGHT;
  54. foreground: BLOCKADE_MESSAGE;
  55. background: argb(0,0,0,0);
  56. padding: rect (1rp,15rp,10rp,0rp);
  57. contentalign: wrapleft;
  58. }
  59. Element [id=atom(blockadeclear)]
  60. {
  61. margin: rect(0rp,20rp,0rp,0rp);
  62. }
  63. Button [id=atom(blockadeclearbutton)][keyfocused]
  64. {
  65. contentalign: focusrect;
  66. }
  67. Element [id=atom(blockadecleartext)]
  68. {
  69. fontface: BLOCKADE_CLEAR_FONTFACE;
  70. fontsize: BLOCKADE_CLEAR_FONTSIZE;
  71. fontweight: BLOCKADE_CLEAR_WEIGHT;
  72. foreground: BLOCKADE_CLEAR;
  73. background: argb(0,0,0,0);
  74. contentalign: wrapleft;
  75. padding: rect (3rp,0rp,0rp,0rp);
  76. }
  77. Element [id=atom(blockadecleartext)][mousefocused]
  78. {
  79. cursor: hand;
  80. fontstyle: underline;
  81. }
  82. </style>
  83. <style resid=mainsectionss>
  84. element
  85. {
  86. background: argb(0,0,0,0);
  87. }
  88. expando
  89. {
  90. fontface: SS_EXPANDO_FONTFACE;
  91. fontsize: SS_EXPANDO_FONTSIZE;
  92. #ifdef CLASSIC_THEME
  93. fontweight: SS_EXPANDO_FONTWEIGHT;
  94. fontstyle: SS_EXPANDO_FONTSTYLE;
  95. #endif
  96. margin: rect(0rp,5rp,0rp,0rp);
  97. animation: rectanglev | s | fast;
  98. background: argb(0,0,0,0);
  99. }
  100. button
  101. {
  102. cursor: hand;
  103. #ifdef CLASSIC_THEME
  104. background: argb(0,0,0,0);
  105. #endif
  106. }
  107. button [keyfocused]
  108. {
  109. contentalign: focusrect;
  110. }
  111. button [id=atom(header)]
  112. {
  113. background: SS_EXPANDO_HEADER_BACKGROUND;
  114. #ifndef CLASSIC_THEME
  115. borderthickness: rect(2,2,2,0);
  116. #endif
  117. foreground: SS_EXPANDO_HEADER;
  118. fontweight: SS_EXPANDO_HEADER_FONTWEIGHT;
  119. #ifdef CLASSIC_THEME
  120. padding: rect(10,2,3,2);
  121. #else
  122. padding: rect(10,0,0,0);
  123. #endif
  124. animation: rectanglev | s | fast;
  125. }
  126. element [id=atom(title)]
  127. {
  128. contentalign: middleleft;
  129. #ifdef CLASSIC_THEME
  130. padding: rect(3rp,0rp,4rp,0rp);
  131. #else
  132. padding: rect(0rp,0rp,4rp,0rp);
  133. #endif
  134. animation: rectanglev | s | fast;
  135. }
  136. #ifndef CLASSIC_THEME
  137. element [id=atom(title)][keyfocused]
  138. {
  139. foreground: SS_EXPANDO_TITLE_KEYFOCUSED;
  140. }
  141. element [id=atom(title)][mousefocused]
  142. {
  143. foreground: SS_EXPANDO_TITLE_MOUSEFOCUSED;
  144. }
  145. #endif
  146. element [id=atom(arrow)]
  147. {
  148. #ifdef CLASSIC_THEME
  149. content: rcbmp(IDB_DOWNMAIN);
  150. #else
  151. content: rcbmp(IDB_DOWNMAIN,2,255,0,0,0,0);
  152. #endif
  153. animation: rectanglev | s | fast;
  154. }
  155. element [id=atom(arrow)][selected]
  156. {
  157. #ifdef CLASSIC_THEME
  158. content: rcbmp(IDB_UPMAIN);
  159. #else
  160. content: rcbmp(IDB_UPMAIN,2,255,0,0,0,0);
  161. #endif
  162. }
  163. element [id=atom(arrow)][mousefocused]
  164. {
  165. #ifdef CLASSIC_THEME
  166. content: rcbmp(IDB_DOWNHOTMAIN);
  167. #else
  168. content: rcbmp(IDB_DOWNHOTMAIN,2,255,0,0,0,0);
  169. #endif
  170. }
  171. element [id=atom(arrow)][selected][mousefocused]
  172. {
  173. #ifdef CLASSIC_THEME
  174. content: rcbmp(IDB_UPHOTMAIN);
  175. #else
  176. content: rcbmp(IDB_UPHOTMAIN,2,255,0,0,0,0);
  177. #endif
  178. }
  179. clipper
  180. {
  181. alpha: 0;
  182. #ifdef CLASSIC_THEME
  183. background: SS_EXPANDO_CLIPPER;
  184. #else
  185. background: argb(0,0,0,0);
  186. #endif
  187. animation: alpha | rectanglev | s | fast;
  188. }
  189. clipper [selected]
  190. {
  191. alpha: 255;
  192. }
  193. #ifndef CLASSIC_THEME
  194. element [id=atom(watermark)]
  195. {
  196. background: SS_EXPANDO_WATERMARK;
  197. contentalign: bottomright;
  198. animation: rectanglev | s | fast;
  199. }
  200. #endif
  201. tasklist [id=atom(tasklist)]
  202. {
  203. #ifdef CLASSIC_THEME
  204. background: SS_EXPANDO_TASKLIST;
  205. #else
  206. background: argb(0,0,0,0);
  207. #endif
  208. borderthickness: rect(1,0,1,1);
  209. bordercolor: SS_EXPANDO_TASKLIST_BORDERCOLOR;
  210. padding: rect(12rp,10rp,12rp,10rp);
  211. animation: rectanglev | s | fast;
  212. }
  213. </style>
  214. <style resid=mainsectiontaskss>
  215. destinationtask
  216. {
  217. margin: rect(0rp,4rp,0rp,0rp);
  218. }
  219. actiontask
  220. {
  221. margin: rect(0rp,4rp,0rp,0rp);
  222. }
  223. button
  224. {
  225. background: argb(0,0,0,0);
  226. foreground: SS_TASK_BUTTON;
  227. contentalign: wrapleft;
  228. margin: rect(0rp,4rp,0rp,0rp);
  229. }
  230. button [keyfocused]
  231. {
  232. contentalign: focusrect;
  233. }
  234. button [mousefocused]
  235. {
  236. cursor: hand;
  237. fontstyle: underline;
  238. }
  239. element
  240. {
  241. background: argb(0,0,0,0);
  242. }
  243. element [id=atom(title)]
  244. {
  245. contentalign: wrapleft;
  246. padding: rect(6rp,0rp,4rp,0rp);
  247. }
  248. #ifndef CLASSIC_THEME
  249. element [id=atom(title)][mousefocused]
  250. {
  251. foreground: SS_TASK_TITLE_MOUSEFOCUSED;
  252. }
  253. #endif
  254. </style>
  255. //
  256. // Section style sheet
  257. //
  258. <style resid=sectionss>
  259. expando
  260. {
  261. fontface: NS_EXPANDO_FONTFACE;
  262. fontsize: NS_EXPANDO_FONTSIZE;
  263. #ifdef CLASSIC_THEME
  264. fontweight: NS_EXPANDO_FONTWEIGHT;
  265. fontstyle: NS_EXPANDO_FONTSTYLE;
  266. #endif
  267. margin: rect(0rp,15rp,0rp,15rp);
  268. animation: rectanglev | s | fast;
  269. background: argb(0,0,0,0);
  270. }
  271. button
  272. {
  273. background: NS_EXPANDO_BUTTON_BACKGROUND;
  274. foreground: NS_EXPANDO_BUTTON;
  275. fontweight: NS_EXPANDO_BUTTON_FONTWEIGHT;
  276. padding: rect(10rp,0rp,1rp,0rp);
  277. borderthickness: rect(2,2,2,0);
  278. bordercolor: NS_EXPANDO_BUTTON_BORDERCOLOR;
  279. cursor: hand;
  280. animation: rectanglev | s | fast;
  281. }
  282. button [keyfocused]
  283. {
  284. contentalign: focusrect;
  285. }
  286. element
  287. {
  288. background: argb(0,0,0,0);
  289. }
  290. element [id=atom(title)]
  291. {
  292. contentalign: middleleft;
  293. animation: rectanglev | s | fast;
  294. }
  295. #ifndef CLASSIC_THEME
  296. element [id=atom(title)][mousefocused]
  297. {
  298. foreground: NS_EXPANDO_TITLE_MOUSEFOCUSED;
  299. }
  300. #endif
  301. element [id=atom(arrow)]
  302. {
  303. #ifdef CLASSIC_THEME
  304. content: rcbmp(IDB_DOWN);
  305. #else
  306. content: rcbmp(IDB_DOWN,2,255,0,0,0,0);
  307. #endif
  308. animation: rectanglev | s | fast;
  309. }
  310. element [id=atom(arrow)][selected]
  311. {
  312. #ifdef CLASSIC_THEME
  313. content: rcbmp(IDB_UP);
  314. #else
  315. content: rcbmp(IDB_UP,2,255,0,0,0,0);
  316. #endif
  317. }
  318. element [id=atom(arrow)][mousefocused]
  319. {
  320. #ifdef CLASSIC_THEME
  321. content: rcbmp(IDB_DOWNHOT);
  322. #else
  323. content: rcbmp(IDB_DOWNHOT,2,255,0,0,0,0);
  324. #endif
  325. }
  326. element [id=atom(arrow)][selected][mousefocused]
  327. {
  328. #ifdef CLASSIC_THEME
  329. content: rcbmp(IDB_UPHOT);
  330. #else
  331. content: rcbmp(IDB_UPHOT,2,255,0,0,0,0);
  332. #endif
  333. }
  334. clipper
  335. {
  336. alpha: 0;
  337. #ifdef CLASSIC_THEME
  338. background: NS_EXPANDO_CLIPPER;
  339. #else
  340. background: argb(0,0,0,0);
  341. #endif
  342. animation: alpha | rectanglev | s | fast;
  343. }
  344. clipper [selected]
  345. {
  346. alpha: 255;
  347. }
  348. tasklist [id=atom(tasklist)]
  349. {
  350. background: NS_EXPANDO_TASKLIST;
  351. borderthickness: rect(1,0,1,1);
  352. bordercolor: NS_EXPANDO_TASKLIST_BORDERCOLOR;
  353. padding: rect(12rp,10rp,12rp,10rp);
  354. animation: rectanglev | s | fast;
  355. }
  356. </style>
  357. <style resid=sectiontaskss>
  358. destinationtask
  359. {
  360. margin: rect(0rp,4rp,0rp,0rp);
  361. }
  362. actiontask
  363. {
  364. margin: rect(0rp,4rp,0rp,0rp);
  365. }
  366. button
  367. {
  368. contentalign: wrapleft;
  369. foreground: NS_TASK_BUTTON;
  370. background: argb(0,0,0,0);
  371. }
  372. button [keyfocused]
  373. {
  374. contentalign: focusrect;
  375. }
  376. button [mousefocused]
  377. {
  378. cursor: hand;
  379. fontstyle: underline;
  380. }
  381. element
  382. {
  383. background: argb(0,0,0,0);
  384. }
  385. element [id=atom(title)]
  386. {
  387. contentalign: wrapleft;
  388. padding: rect(6rp,0rp,4rp,0rp);
  389. }
  390. #ifndef CLASSIC_THEME
  391. element [id=atom(title)][mousefocused]
  392. {
  393. foreground: NS_TASK_TITLE_MOUSEFOCUSED;
  394. }
  395. #endif
  396. </style>
  397. <style resid=taskpane>
  398. element [id=atom(sectionlist)]
  399. {
  400. background: TASKPANE_BACKGROUND;
  401. padding: rect(12rp,12rp,12rp,12rp);
  402. #ifndef CLASSIC_THEME
  403. borderthickness: rect(1,0,0,1);
  404. bordercolor: TASKPANE_BORDERCOLOR;
  405. #endif
  406. }
  407. #ifdef CLASSIC_THEME
  408. #include "..\scrollbar_win32.uix"
  409. #else
  410. #include "..\scrollbar_themed.uix"
  411. #endif
  412. </style>
  413. <style resid=NameSpaceItemInfoList>
  414. NameSpaceItemInfo
  415. {
  416. contentalign: wrapleft;
  417. #ifdef CLASSIC_THEME
  418. background: NAMESPACE_BACKGROUND;
  419. foreground: NAMESPACE_FOREGROUND;
  420. #else
  421. background: argb(0,0,0,0);
  422. #endif
  423. margin: rect(0rp,5rp,0rp,0rp);
  424. }
  425. NameSpaceItemInfo [id=atom(InfoName)]
  426. {
  427. fontweight: NAMESPACE_NAME_FONTWEIGHT;
  428. }
  429. NameSpaceItemInfo [id=atom(InfoType)]
  430. {
  431. margin: rect(0rp,0rp,0rp,0rp);
  432. }
  433. </style>