Date.scss 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651
  1. /**
  2. * @class Ext.picker.Date
  3. */
  4. /**
  5. * @var {number}
  6. * The border-width of the DatePicker
  7. */
  8. $datepicker-border-width: dynamic(1px);
  9. /**
  10. * @var {string}
  11. * The border-style of the DatePicker
  12. */
  13. $datepicker-border-style: dynamic(solid);
  14. /**
  15. * @var {color}
  16. * The background-color of the DatePicker
  17. */
  18. $datepicker-background-color: dynamic(#fff);
  19. /**
  20. * @var {string}
  21. * The background-image of the DatePicker next arrow
  22. */
  23. $datepicker-next-image: dynamic('datepicker/arrow-right');
  24. /**
  25. * @var {list}
  26. * The background-position of the DatePicker next arrow
  27. */
  28. $datepicker-next-background-position: dynamic(0 0);
  29. /**
  30. * @var {string}
  31. * The background-image of the DatePicker previous arrow
  32. */
  33. $datepicker-prev-image: dynamic('datepicker/arrow-left');
  34. /**
  35. * @var {list}
  36. * The background-position of the DatePicker previous arrow
  37. */
  38. $datepicker-prev-background-position: dynamic(0 0);
  39. /**
  40. * @var {color}
  41. * Color of the Date Picker arrows when {@link Global_CSS#$enable-font-icons} is `true`.
  42. */
  43. $datepicker-arrow-glyph-color: dynamic($color);
  44. /**
  45. * @var {string/list}
  46. * Glyph for the Date Picker next arrow when {@link Global_CSS#$enable-font-icons} is `true`.
  47. */
  48. $datepicker-next-glyph: dynamic($fa-var-angle-double-right 16px $font-icon-font-family);
  49. /**
  50. * @var {string/list}
  51. * Glyph for the Date Picker previous arrow when {@link Global_CSS#$enable-font-icons} is `true`.
  52. */
  53. $datepicker-prev-glyph: dynamic($fa-var-angle-double-left 16px $font-icon-font-family);
  54. /**
  55. * @var {number}
  56. * The width of DatePicker arrows
  57. */
  58. $datepicker-arrow-width: dynamic(16px);
  59. /**
  60. * @var {number}
  61. * The height of DatePicker arrows
  62. */
  63. $datepicker-arrow-height: dynamic(16px);
  64. /**
  65. * @var {string}
  66. * The type of cursor to display when the cursor is over a DatePicker arrow
  67. */
  68. $datepicker-arrow-cursor: dynamic(pointer);
  69. /**
  70. * @var {number}
  71. * The opacity of the DatePicker arrows
  72. */
  73. $datepicker-arrow-opacity: dynamic(1);
  74. /**
  75. * @var {number}
  76. * The opacity of the DatePicker arrows when hovered
  77. */
  78. $datepicker-arrow-opacity-over: dynamic(1);
  79. /**
  80. * @var {color} $datepicker-header-background-color
  81. * The Date Picker header background color.
  82. */
  83. /**
  84. * @var {string/list}
  85. * The Date Picker header background gradient. Can be either the name of a predefined gradient
  86. * or a list of color stops. Used as the `$type` parameter for {@link Global_CSS#background-gradient}.
  87. */
  88. $datepicker-header-background-gradient: dynamic('none');
  89. /**
  90. * @var {number/list}
  91. * The padding of the Date Picker header
  92. */
  93. $datepicker-header-padding: dynamic(4px 6px);
  94. /**
  95. * @var {color}
  96. * The color of the Date Picker month button
  97. */
  98. $datepicker-month-button-color: dynamic(#fff);
  99. /**
  100. * @var {color}
  101. * The background-color of the Date Picker month button
  102. */
  103. $datepicker-month-button-background-color: dynamic(transparent);
  104. /**
  105. * @var {color}
  106. * The background-color of the Date Picker month button when hovered
  107. */
  108. $datepicker-month-button-over-background-color: dynamic($datepicker-month-button-background-color);
  109. /**
  110. * @var {color}
  111. * The background-color of the Date Picker month button when pressed
  112. */
  113. $datepicker-month-button-pressed-background-color: dynamic($datepicker-month-button-over-background-color);
  114. /**
  115. * @var {number}
  116. * The font-size of the Date Picker month button
  117. */
  118. $datepicker-month-button-font-size: dynamic($button-small-font-size);
  119. /**
  120. * @var {number/list}
  121. * The padding of the Date Picker month button
  122. */
  123. $datepicker-month-button-padding: dynamic($button-small-padding);
  124. /**
  125. * @var {number}
  126. * The width of the arrow on the Date Picker month button
  127. */
  128. $datepicker-month-button-arrow-width: dynamic($button-small-arrow-width);
  129. /**
  130. * @var {string}
  131. * The background-image of the arrow on the Date Picker month button
  132. */
  133. $datepicker-month-button-arrow-image: dynamic('datepicker/month-arrow');
  134. /**
  135. * @var {string/list}
  136. * Glyph for the arrow on the Date Picker month button when
  137. * {@link Global_CSS#$enable-font-icons} is `true`.
  138. */
  139. $datepicker-month-button-arrow-glyph: dynamic($fa-var-angle-down 16px $font-icon-font-family);
  140. /**
  141. * @var {color}
  142. * Color of the arrow on the Date Picker month button when
  143. * {@link Global_CSS#$enable-font-icons} is `true`.
  144. */
  145. $datepicker-month-button-arrow-glyph-color: dynamic($button-toolbar-arrow-glyph-color);
  146. /**
  147. * @var {string}
  148. * The text-align of the Date Picker header
  149. */
  150. $datepicker-header-text-align: dynamic(center);
  151. /**
  152. * @var {number}
  153. * The height of Date Picker items
  154. */
  155. $datepicker-item-height: dynamic(25px);
  156. /**
  157. * @var {number}
  158. * The width of Date Picker items
  159. */
  160. $datepicker-item-width: dynamic(30px);
  161. /**
  162. * @var {number/list}
  163. * The padding of Date Picker items
  164. */
  165. $datepicker-item-padding: dynamic(0 7px 0 0);
  166. /**
  167. * @var {string}
  168. * The font-family of Date Picker items
  169. */
  170. $datepicker-item-font-family: dynamic($font-family);
  171. /**
  172. * @var {number}
  173. * The font-size of Date Picker items
  174. */
  175. $datepicker-item-font-size: dynamic($font-size);
  176. /**
  177. * @var {string}
  178. * The font-weight of Date Picker items
  179. */
  180. $datepicker-item-font-weight: dynamic($font-weight);
  181. /**
  182. * @var {string}
  183. * The text-align of Date Picker items
  184. */
  185. $datepicker-item-text-align: dynamic(right);
  186. /**
  187. * @var {color}
  188. * The text color of Date Picker items
  189. */
  190. $datepicker-item-color: dynamic($color);
  191. /**
  192. * @var {string}
  193. * The type of cursor to display when the cursor is over a Date Picker item
  194. */
  195. $datepicker-item-cursor: dynamic(pointer);
  196. /**
  197. * @var {string}
  198. * The font-family of Date Picker column headers
  199. */
  200. $datepicker-column-header-font-family: dynamic($datepicker-item-font-family);
  201. /**
  202. * @var {number}
  203. * The font-size of Date Picker column headers
  204. */
  205. $datepicker-column-header-font-size: dynamic($datepicker-item-font-size);
  206. /**
  207. * @var {string}
  208. * The font-weight of Date Picker column headers
  209. */
  210. $datepicker-column-header-font-weight: dynamic($datepicker-item-font-weight);
  211. /**
  212. * @var {string/list}
  213. * The background-gradient of Date Picker column headers. Can be either the name of a
  214. * predefined gradient or a list of color stops. Used as the `$type` parameter for
  215. * {@link Global_CSS#background-gradient}.
  216. */
  217. $datepicker-column-header-background-gradient: dynamic('none');
  218. /**
  219. * @var {string}
  220. * The border-style of Date Picker column headers
  221. */
  222. $datepicker-column-header-border-style: dynamic(solid);
  223. /**
  224. * @var {number}
  225. * The border-width of Date Picker column headers
  226. */
  227. $datepicker-column-header-border-width: dynamic(0 0 1px);
  228. /**
  229. * @var {string}
  230. * The text-align of Date Picker column headers
  231. */
  232. $datepicker-column-header-text-align: dynamic($datepicker-item-text-align);
  233. /**
  234. * @var {number}
  235. * The height of Date Picker column headers
  236. */
  237. $datepicker-column-header-height: dynamic($datepicker-item-height);
  238. /**
  239. * @var {number/list}
  240. * The padding of Date Picker column headers
  241. */
  242. $datepicker-column-header-item-padding: dynamic(0 9px 0 0);
  243. /**
  244. * @var {number}
  245. * The border-width of Date Picker items
  246. */
  247. $datepicker-item-border-width: dynamic(1px);
  248. /**
  249. * @var {string}
  250. * The border-style of Date Picker items
  251. */
  252. $datepicker-item-border-style: dynamic(solid);
  253. /**
  254. * @var {color}
  255. * The border-color of Date Picker items
  256. */
  257. $datepicker-item-border-color: dynamic($datepicker-background-color);
  258. /**
  259. * @var {string}
  260. * The border-style of today's date on the Date Picker
  261. */
  262. $datepicker-item-today-border-style: dynamic(solid);
  263. /**
  264. * @var {color}
  265. * The background-color of today's date on the Date Picker
  266. */
  267. $datepicker-item-today-background-color: dynamic($datepicker-background-color);
  268. /**
  269. * @var {color}
  270. * The background-color of hovered Date Picker items
  271. */
  272. $datepicker-item-hover-background-color: dynamic($datepicker-background-color);
  273. /**
  274. * @var {color}
  275. * The text color of selected Date Picker items
  276. */
  277. $datepicker-item-selected-color: dynamic($datepicker-item-color);
  278. /**
  279. * @var {color}
  280. * The background-color of selected Date Picker items
  281. */
  282. $datepicker-item-selected-background-color: dynamic($datepicker-background-color);
  283. /**
  284. * @var {string}
  285. * The border-style of selected Date Picker itemds
  286. */
  287. $datepicker-item-selected-border-style: dynamic(solid);
  288. /**
  289. * @var {color}
  290. * The border-color of selected Date Picker items
  291. */
  292. $datepicker-item-selected-border-color: dynamic($datepicker-item-border-color);
  293. /**
  294. * @var {string}
  295. * The font-weight of the selected item
  296. */
  297. $datepicker-item-selected-font-weight: dynamic($font-weight-bold);
  298. /**
  299. * @var {color}
  300. * The text color of the items in the previous and next months
  301. */
  302. $datepicker-item-prev-next-color: dynamic(lighten($datepicker-item-color, 75%));
  303. /**
  304. * @var {string}
  305. * The type of cursor to display when the cursor is over a disabled item
  306. */
  307. $datepicker-item-disabled-cursor: dynamic(default);
  308. /**
  309. * @var {color}
  310. * The text color of disabled Date Picker items
  311. */
  312. $datepicker-item-disabled-color: dynamic(lighten($datepicker-item-color, 50%));
  313. /**
  314. * @var {color}
  315. * The background-color of disabled Date Picker items
  316. */
  317. $datepicker-item-disabled-background-color: dynamic(#eee);
  318. /**
  319. * @var {color}
  320. * The background-color of the Date Picker footer
  321. */
  322. $datepicker-footer-background-color: dynamic($datepicker-column-header-background-color);
  323. /**
  324. * @var {string/list}
  325. * The background-gradient of the Date Picker footer. Can be either the name of a
  326. * predefined gradient or a list of color stops. Used as the `$type` parameter for
  327. * {@link Global_CSS#background-gradient}.
  328. */
  329. $datepicker-footer-background-gradient: dynamic('none');
  330. /**
  331. * @var {number/list}
  332. * The border-width of the Date Picker footer
  333. */
  334. $datepicker-footer-border-width: dynamic(1px 0 0);
  335. /**
  336. * @var {string}
  337. * The border-style of the Date Picker footer
  338. */
  339. $datepicker-footer-border-style: dynamic(solid);
  340. /**
  341. * @var {string}
  342. * The text-align of the Date Picker footer
  343. */
  344. $datepicker-footer-text-align: dynamic(center);
  345. /**
  346. * @var {number/list}
  347. * The padding of the Date Picker footer
  348. */
  349. $datepicker-footer-padding: dynamic(3px 0);
  350. /**
  351. * @var {number}
  352. * The space between the footer buttons
  353. */
  354. $datepicker-footer-button-spacing: dynamic(4px);
  355. /**
  356. * @var {color}
  357. * The border-color of the Month Picker
  358. */
  359. $datepicker-monthpicker-border-color: dynamic($datepicker-border-color);
  360. /**
  361. * @var {number}
  362. * The border-width of the Month Picker
  363. */
  364. $datepicker-monthpicker-border-width: dynamic($datepicker-border-width);
  365. /**
  366. * @var {string}
  367. * The border-style of the Month Picker
  368. */
  369. $datepicker-monthpicker-border-style: dynamic($datepicker-border-style);
  370. /**
  371. * @var {color}
  372. * The text color of Month Picker items
  373. */
  374. $datepicker-monthpicker-item-color: dynamic($color);
  375. /**
  376. * @var {color}
  377. * The text color of Month Picker items
  378. */
  379. $datepicker-monthpicker-item-border-width: dynamic($datepicker-item-border-width);
  380. /**
  381. * @var {color}
  382. * The border-color of Month Picker items
  383. */
  384. $datepicker-monthpicker-item-border-color: dynamic($datepicker-item-border-color);
  385. /**
  386. * @var {string}
  387. * The border-style of Month Picker items
  388. */
  389. $datepicker-monthpicker-item-border-style: dynamic($datepicker-item-border-style);
  390. /**
  391. * @var {string}
  392. * The font-family of Month Picker items
  393. */
  394. $datepicker-monthpicker-item-font-family: dynamic($datepicker-item-font-family);
  395. /**
  396. * @var {number}
  397. * The font-size of Month Picker items
  398. */
  399. $datepicker-monthpicker-item-font-size: dynamic($datepicker-item-font-size);
  400. /**
  401. * @var {string}
  402. * The font-weight of Month Picker items
  403. */
  404. $datepicker-monthpicker-item-font-weight: dynamic($datepicker-item-font-weight);
  405. /**
  406. * @var {number/list}
  407. * The margin of Month Picker items
  408. */
  409. $datepicker-monthpicker-item-margin: dynamic(5px);
  410. /**
  411. * @var {string}
  412. * The text-align of Month Picker items
  413. */
  414. $datepicker-monthpicker-item-text-align: dynamic(center);
  415. /**
  416. * @var {number}
  417. * The height of Month Picker items
  418. */
  419. $datepicker-monthpicker-item-height: dynamic(24px);
  420. /**
  421. * @var {string}
  422. * The type of cursor to display when the cursor is over a Month Picker item
  423. */
  424. $datepicker-monthpicker-item-cursor: dynamic(pointer);
  425. /**
  426. * @var {color}
  427. * The background-color of hovered Month Picker items
  428. */
  429. $datepicker-monthpicker-item-hover-background-color: dynamic($datepicker-item-hover-background-color);
  430. /**
  431. * @var {color}
  432. * The background-color of selected Month Picker items
  433. */
  434. $datepicker-monthpicker-item-selected-background-color: dynamic($datepicker-item-selected-background-color);
  435. /**
  436. * @var {color}
  437. * The text color of selected Month Picker items
  438. */
  439. $datepicker-monthpicker-item-selected-color: dynamic($datepicker-item-selected-color);
  440. /**
  441. * @var {string}
  442. * The border-style of selected Month Picker items
  443. */
  444. $datepicker-monthpicker-item-selected-border-style: dynamic($datepicker-item-selected-border-style);
  445. /**
  446. * @var {color}
  447. * The border-color of selected Month Picker items
  448. */
  449. $datepicker-monthpicker-item-selected-border-color: dynamic($datepicker-item-selected-border-color);
  450. /**
  451. * @var {number}
  452. * The height of the Month Picker year navigation buttons
  453. */
  454. $datepicker-monthpicker-yearnav-button-height: dynamic(16px);
  455. /**
  456. * @var {number}
  457. * The width of the Month Picker year navigation buttons
  458. */
  459. $datepicker-monthpicker-yearnav-button-width: dynamic(16px);
  460. /**
  461. * @var {string}
  462. * The type of cursor to display when the cursor is over a Month Picker year navigation button
  463. */
  464. $datepicker-monthpicker-yearnav-button-cursor: dynamic(pointer);
  465. /**
  466. * @var {number}
  467. * The opacity of the Month Picker year navigation buttons
  468. */
  469. $datepicker-monthpicker-yearnav-button-opacity: dynamic(1);
  470. /**
  471. * @var {number}
  472. * The opacity of hovered Month Picker year navigation buttons
  473. */
  474. $datepicker-monthpicker-yearnav-button-opacity-over: dynamic(1);
  475. /**
  476. * @var {string}
  477. * The background-image of the Month Picker next year navigation button
  478. */
  479. $datepicker-monthpicker-next-image: dynamic('datepicker/arrow-right');
  480. /**
  481. * @var {string}
  482. * The background-image of the Month Picker previous year navigation button
  483. */
  484. $datepicker-monthpicker-prev-image: dynamic('datepicker/arrow-left');
  485. /**
  486. * @var {list}
  487. * The background-poisition of the Month Picker next year navigation button
  488. */
  489. $datepicker-monthpicker-next-background-position: dynamic(0 0);
  490. /**
  491. * @var {list}
  492. * The background-poisition of the hovered Month Picker next year navigation button
  493. */
  494. $datepicker-monthpicker-next-background-position-over: dynamic(0 0);
  495. /**
  496. * @var {list}
  497. * The background-poisition of the Month Picker previous year navigation button
  498. */
  499. $datepicker-monthpicker-prev-background-position: dynamic(0 0);
  500. /**
  501. * @var {list}
  502. * The background-poisition of the hovered Month Picker previous year navigation button
  503. */
  504. $datepicker-monthpicker-prev-background-position-over: dynamic(0 0);
  505. /**
  506. * @var {color}
  507. * Color of the Month Picker arrows when {@link Global_CSS#$enable-font-icons} is `true`.
  508. */
  509. $datepicker-monthpicker-arrow-glyph-color: dynamic($datepicker-arrow-glyph-color);
  510. /**
  511. * @var {string/list}
  512. * Glyph for the Month Picker next year arrow when {@link Global_CSS#$enable-font-icons} is `true`.
  513. */
  514. $datepicker-monthpicker-next-glyph: dynamic($datepicker-next-glyph);
  515. /**
  516. * @var {string/list}
  517. * Glyph for the Month Picker previous year arrow when {@link Global_CSS#$enable-font-icons} is `true`.
  518. */
  519. $datepicker-monthpicker-prev-glyph: dynamic($datepicker-prev-glyph);
  520. /**
  521. * @var {string}
  522. * The border-style of the Month Picker separator
  523. */
  524. $datepicker-monthpicker-separator-border-style: dynamic(solid);
  525. /**
  526. * @var {number}
  527. * The border-width of the Month Picker separator
  528. */
  529. $datepicker-monthpicker-separator-border-width: dynamic(1px);
  530. /**
  531. * @var {color}
  532. * The border-color of the Month Picker separator
  533. */
  534. $datepicker-monthpicker-separator-border-color: dynamic($datepicker-border-color);
  535. /**
  536. * @var {number/list}
  537. * The margin of Month Picker items when the datepicker does not have footer buttons
  538. */
  539. $datepicker-monthpicker-small-item-margin: dynamic(2px 5px);
  540. /**
  541. * @var {number}
  542. * The height of Month Picker items when the datepicker does not have footer buttons
  543. */
  544. $datepicker-monthpicker-small-item-height: dynamic($datepicker-monthpicker-item-height);