Dialog.scss 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894
  1. /**
  2. * @class Ext.Dialog
  3. */
  4. /**
  5. * @var {color/list}
  6. * Dialog background-color
  7. */
  8. $dialog-background-color: dynamic(null);
  9. /**
  10. * @var {color/list}
  11. * Dialog border-color
  12. */
  13. $dialog-border-color: dynamic($base-highlight-color);
  14. /**
  15. * @var {number/list}
  16. * Dialog border-width
  17. */
  18. $dialog-border-width: dynamic(5px);
  19. /**
  20. * @var {string/list}
  21. * Dialog border-style
  22. */
  23. $dialog-border-style: dynamic(null);
  24. /**
  25. * @var {number/list}
  26. * Dialog border-radius
  27. */
  28. $dialog-border-radius: dynamic(4px);
  29. /**
  30. * @var {number/list}
  31. * Dialog border-radius in the {@link Global_CSS#$enable-big big} sizing scheme
  32. */
  33. $dialog-border-radius-big: dynamic(5px);
  34. /**
  35. * @var {color}
  36. * Dialog body background-color
  37. */
  38. $dialog-body-background-color: dynamic($dialog-background-color);
  39. /**
  40. * @var {color}
  41. * Dialog body text color
  42. */
  43. $dialog-body-color: dynamic(null);
  44. /**
  45. * @var {color}
  46. * Dialog body border-color
  47. */
  48. $dialog-body-border-color: dynamic(null);
  49. /**
  50. * @var {number/list}
  51. * Dialog body border-width
  52. */
  53. $dialog-body-border-width: dynamic(null);
  54. /**
  55. * @var {number/list}
  56. * Dialog body border-style
  57. */
  58. $dialog-body-border-style: dynamic(null);
  59. /**
  60. * @var {string/number}
  61. * Dialog body font-weight
  62. */
  63. $dialog-body-font-weight: dynamic(null);
  64. /**
  65. * @var {number}
  66. * Dialog body font-size
  67. */
  68. $dialog-body-font-size: dynamic(null);
  69. /**
  70. * @var {number}
  71. * Dialog body font-size in the {@link Global_CSS#$enable-big big} sizing scheme
  72. */
  73. $dialog-body-font-size-big: dynamic(null);
  74. /**
  75. * @var {number}
  76. * Dialog body line-height
  77. */
  78. $dialog-body-line-height: dynamic(null);
  79. /**
  80. * @var {number}
  81. * Dialog body line-height in the {@link Global_CSS#$enable-big big} sizing scheme
  82. */
  83. $dialog-body-line-height-big: dynamic(null);
  84. /**
  85. * @var {string}
  86. * Dialog body font-family
  87. */
  88. $dialog-body-font-family: dynamic(null);
  89. /**
  90. * @var {number/list}
  91. * Dialog body padding
  92. */
  93. $dialog-body-padding: dynamic(null);
  94. /**
  95. * @var {number/list}
  96. * Dialog body padding in the {@link Global_CSS#$enable-big big} sizing scheme
  97. */
  98. $dialog-body-padding-big: dynamic(null);
  99. /**
  100. * @var {color}
  101. * Dialog Header background-color
  102. */
  103. $dialog-header-background-color: dynamic($base-highlight-color);
  104. /**
  105. * @var {string/list}
  106. * Dialog Header background-gradient. Can be either the name of a gradient defined by
  107. * {@link Global_CSS#background-gradient} or a list of color stops.
  108. */
  109. $dialog-header-background-gradient: dynamic(null);
  110. /**
  111. * @var {color}
  112. * Dialog Header text color
  113. */
  114. $dialog-header-color: dynamic($light-color);
  115. /**
  116. * @var {color/list}
  117. * Dialog Header border-color
  118. */
  119. $dialog-header-border-color: dynamic(null);
  120. /**
  121. * @var {number/list}
  122. * Dialog Header border-width
  123. */
  124. $dialog-header-border-width: dynamic(null);
  125. /**
  126. * @var {string/list}
  127. * Dialog Header border-style
  128. */
  129. $dialog-header-border-style: dynamic(null);
  130. /**
  131. * @var {string/number}
  132. * Dialog Header font-weight
  133. */
  134. $dialog-header-font-weight: dynamic(null);
  135. /**
  136. * @var {number}
  137. * Dialog Header font-size
  138. */
  139. $dialog-header-font-size: dynamic(null);
  140. /**
  141. * @var {number}
  142. * Dialog Header font-size in the {@link Global_CSS#$enable-big big} sizing scheme
  143. */
  144. $dialog-header-font-size-big: dynamic(null);
  145. /**
  146. * @var {number}
  147. * Dialog Header line-height
  148. */
  149. $dialog-header-line-height: dynamic(null);
  150. /**
  151. * @var {number}
  152. * Dialog Header line-height in the {@link Global_CSS#$enable-big big} sizing scheme
  153. */
  154. $dialog-header-line-height-big: dynamic(null);
  155. /**
  156. * @var {string}
  157. * Dialog Header font-family
  158. */
  159. $dialog-header-font-family: dynamic(null);
  160. /**
  161. * @var {number/list}
  162. * Dialog Header padding
  163. */
  164. $dialog-header-padding: dynamic(4px 5px 10px);
  165. /**
  166. * @var {number/list}
  167. * Dialog Header padding in the {@link Global_CSS#$enable-big big} sizing scheme
  168. */
  169. $dialog-header-padding-big: dynamic(5px 10px 13px);
  170. /**
  171. * @var {number/list}
  172. * Dialog Header Title padding
  173. */
  174. $dialog-header-title-padding: dynamic(0);
  175. /**
  176. * @var {number/list}
  177. * Dialog Header Title padding in the {@link Global_CSS#$enable-big big} sizing scheme
  178. */
  179. $dialog-header-title-padding-big: dynamic(0);
  180. /**
  181. * @var {number}
  182. * Dialog Header Title opacity
  183. */
  184. $dialog-header-title-opacity: dynamic(null);
  185. /**
  186. * @var {shadow}
  187. * Dialog Header Shadow
  188. */
  189. $dialog-header-shadow: dynamic(null);
  190. /**
  191. * @var {number}
  192. * Z-Index for the Dialog Header, should be used with shadows to raise header above content
  193. */
  194. $dialog-header-z-index: dynamic(null);
  195. /**
  196. * @var {number}
  197. * Dialog Header min-height
  198. */
  199. $dialog-header-min-height: dynamic(null);
  200. /**
  201. * @var {number}
  202. * Dialog Header min-height in the {@link Global_CSS#$enable-big big} sizing scheme
  203. */
  204. $dialog-header-min-height-big: dynamic(null);
  205. /**
  206. * @var {color}
  207. * Dialog Header icon color.
  208. */
  209. $dialog-header-icon-color: dynamic(null);
  210. /**
  211. * @var {number}
  212. * Dialog Header icon size
  213. */
  214. $dialog-header-icon-size: dynamic(null);
  215. /**
  216. * @var {number}
  217. * Dialog Header icon size in the {@link Global_CSS#$enable-big big} sizing scheme
  218. */
  219. $dialog-header-icon-size-big: dynamic(null);
  220. /**
  221. * @var {number}
  222. * Dialog Header icon font-size. Used for configuring the size of font icons
  223. */
  224. $dialog-header-icon-font-size: dynamic(null);
  225. /**
  226. * @var {number}
  227. * Dialog Header icon font-size in the {@link Global_CSS#$enable-big big} sizing scheme
  228. */
  229. $dialog-header-icon-font-size-big: dynamic(null);
  230. /**
  231. * @var {number}
  232. * The space between the Dialog Header icon and text when the icon is horizontally aligned
  233. */
  234. $dialog-header-icon-horizontal-spacing: dynamic(null);
  235. /**
  236. * @var {number}
  237. * The space between the Dialog Header icon and text when the icon is horizontally aligned
  238. * in the {@link Global_CSS#$enable-big big} sizing scheme
  239. */
  240. $dialog-header-icon-horizontal-spacing-big: dynamic(null);
  241. /**
  242. * @var {number}
  243. * The space between the Dialog Header icon and text when the icon is vertically aligned
  244. */
  245. $dialog-header-icon-vertical-spacing: dynamic(null);
  246. /**
  247. * @var {number}
  248. * The space between the Dialog Header icon and text when the icon is vertically aligned
  249. * in the {@link Global_CSS#$enable-big big} sizing scheme
  250. */
  251. $dialog-header-icon-vertical-spacing-big: dynamic(null);
  252. /**
  253. * @var {number}
  254. * Dialog Header icon opacity
  255. */
  256. $dialog-header-icon-opacity: dynamic(null);
  257. /**
  258. * @var {color}
  259. * Dialog Tool color
  260. */
  261. $dialog-tool-color: dynamic(null);
  262. /**
  263. * @var {number}
  264. * Dialog Tool color when hovered
  265. */
  266. $dialog-tool-hovered-color: dynamic(null);
  267. /**
  268. * @var {number}
  269. * Dialog Tool color when pressed
  270. */
  271. $dialog-tool-pressed-color: dynamic(null);
  272. /**
  273. * @var {number}
  274. * Dialog Tool color when disabled
  275. */
  276. $dialog-tool-disabled-color: dynamic(null);
  277. /**
  278. * @var {color}
  279. * Dialog Tool background-color
  280. */
  281. $dialog-tool-background-color: dynamic(null);
  282. /**
  283. * @var {number}
  284. * Dialog Tool background-color when hovered
  285. */
  286. $dialog-tool-hovered-background-color: dynamic(null);
  287. /**
  288. * @var {number}
  289. * Dialog Tool background-color when pressed
  290. */
  291. $dialog-tool-pressed-background-color: dynamic(null);
  292. /**
  293. * @var {number}
  294. * Dialog Tool background-color when disabled
  295. */
  296. $dialog-tool-disabled-background-color: dynamic(null);
  297. /**
  298. * @var {number}
  299. * Dialog Tool opacity
  300. */
  301. $dialog-tool-opacity: dynamic(null);
  302. /**
  303. * @var {number}
  304. * Dialog Tool opacity when hovered
  305. */
  306. $dialog-tool-hovered-opacity: dynamic(null);
  307. /**
  308. * @var {number}
  309. * Dialog Tool opacity when pressed
  310. */
  311. $dialog-tool-pressed-opacity: dynamic(null);
  312. /**
  313. * @var {number}
  314. * Dialog Tool opacity when disabled
  315. */
  316. $dialog-tool-disabled-opacity: dynamic(null);
  317. /**
  318. * @var {number}
  319. * Dialog Tool border radius
  320. */
  321. $dialog-tool-border-radius: dynamic(null);
  322. /**
  323. * @var {number}
  324. * Dialog Tool border radius in the {@link Global_CSS#$enable-big big} sizing scheme
  325. */
  326. $dialog-tool-border-radius-big: dynamic(null);
  327. /**
  328. * @var {number}
  329. * Dialog Tool size
  330. */
  331. $dialog-tool-size: dynamic(null);
  332. /**
  333. * @var {number}
  334. * Dialog Tool size in the {@link Global_CSS#$enable-big big} sizing scheme
  335. */
  336. $dialog-tool-size-big: dynamic(null);
  337. /**
  338. * @var {number}
  339. * Dialog Tool font-size
  340. */
  341. $dialog-tool-font-size: dynamic(null);
  342. /**
  343. * @var {number}
  344. * Dialog Tool font-size in the {@link Global_CSS#$enable-big big} sizing scheme
  345. */
  346. $dialog-tool-font-size-big: dynamic(null);
  347. /**
  348. * @var {number}
  349. * The space between Dialog Tools
  350. */
  351. $dialog-tool-spacing: dynamic(null);
  352. /**
  353. * @var {number}
  354. * The space between Dialog Tools in the {@link Global_CSS#$enable-big big} sizing scheme
  355. */
  356. $dialog-tool-spacing-big: dynamic(null);
  357. /**
  358. * @var {string}
  359. * Dialog Tool cursor
  360. */
  361. $dialog-tool-cursor: dynamic(null);
  362. /**
  363. * @var {string}
  364. * Dialog Tool cursor when disabled
  365. */
  366. $dialog-tool-disabled-cursor: dynamic(null);
  367. /**
  368. * @var {number}
  369. * Dialog Tool outline width when focused
  370. */
  371. $dialog-tool-focused-outline-width: dynamic(null);
  372. /**
  373. * @var {string}
  374. * Dialog Tool outline style when focused
  375. */
  376. $dialog-tool-focused-outline-style: dynamic(null);
  377. /**
  378. * @var {color}
  379. * Dialog Tool outline color when focused
  380. */
  381. $dialog-tool-focused-outline-color: dynamic(null);
  382. /**
  383. * @var {number}
  384. * Dialog Tool outline offset when focused
  385. */
  386. $dialog-tool-focused-outline-offset: dynamic(null);
  387. /**
  388. * @var {color}
  389. * Dialog anchor border-color
  390. */
  391. $dialog-anchor-border-color: dynamic(null);
  392. /**
  393. * @var {color}
  394. * Dialog anchor background-color
  395. */
  396. $dialog-anchor-background-color: dynamic(null);
  397. /**
  398. * @var {number}
  399. * The height (in all orientations) of the anchor arrow
  400. */
  401. $dialog-anchor-height: dynamic(null);
  402. /**
  403. * @var {number}
  404. * The width (in all orientations) of the anchor arrow.
  405. */
  406. $dialog-anchor-width: dynamic(null);
  407. /**
  408. * @var {number}
  409. * The extra spacing beyond the tip of the anchor arrow to prevent the pointer touching
  410. * the target;
  411. */
  412. $dialog-anchor-margin: dynamic(null);
  413. /**
  414. * @var {string}
  415. * `true` to include {@link #manageBorders border management} rules
  416. */
  417. $dialog-manage-borders: dynamic($panel-manage-borders);
  418. /**
  419. * @var {number}
  420. * Dialog min-width
  421. */
  422. $dialog-min-width: dynamic(250px);
  423. /**
  424. * @var {number}
  425. * Dialog min-width in the {@link Global_CSS#$enable-big big} sizing scheme
  426. */
  427. $dialog-min-width-big: dynamic(300px);
  428. /**
  429. * Creates a visual theme for a Dialog.
  430. *
  431. * @param {string} $ui
  432. * The name of the UI being created. Can not included spaces or special punctuation
  433. * (used in CSS class names).
  434. *
  435. * @param {String} [$xtype=dialog] (protected) The {@link Ext.Class#xtype} to use
  436. * in CSS selectors. For use by UI mixins of derived classes.
  437. *
  438. * @param {String} [$header-xtype=dialogheader] (protected) The {@link Ext.Class#xtype} to use
  439. * in CSS selectors for the header component. For use by UI mixins of derived classes.
  440. *
  441. * @param {String} [$title-xtype=dialogtitle] (protected) The {@link Ext.Class#xtype} to use
  442. * in CSS selectors for the title component. For use by UI mixins of derived classes.
  443. *
  444. * @param {String} [$tool-xtype=dialogtool] (protected) The {@link Ext.Class#xtype} to use
  445. * in CSS selectors for tools. For use by UI mixins of derived classes.
  446. *
  447. * @param {color} $background-color
  448. * Dialog background-color
  449. *
  450. * @param {color/list} $border-color
  451. * Dialog border-color
  452. *
  453. * @param {number/list} $border-width
  454. * Dialog border-width
  455. *
  456. * @param {string/list} $border-style
  457. * Dialog border-style
  458. *
  459. * @param {number/list} $border-radius
  460. * Dialog border-radius
  461. *
  462. * @param {number/list} $border-radius-big
  463. * Dialog border-radius in the {@link Global_CSS#$enable-big big} sizing scheme
  464. *
  465. * @param {color} $body-background-color
  466. * Dialog body background-color
  467. *
  468. * @param {color} $body-color
  469. * Dialog body text color
  470. *
  471. * @param {color} $body-border-color
  472. * Dialog body border-color
  473. *
  474. * @param {number/list} $body-border-width
  475. * Dialog body border-width
  476. *
  477. * @param {number/list} $body-border-style
  478. * Dialog body border-style
  479. *
  480. * @param {string/number} $body-font-weight
  481. * Dialog body font-weight
  482. *
  483. * @param {number} $body-font-size
  484. * Dialog body font-size
  485. *
  486. * @param {number} $body-font-size-big
  487. * Dialog body font-size in the {@link Global_CSS#$enable-big big} sizing scheme
  488. *
  489. * @param {number} $body-line-height
  490. * Dialog body line-height
  491. *
  492. * @param {number} $body-line-height-big
  493. * Dialog body line-height in the {@link Global_CSS#$enable-big big} sizing scheme
  494. *
  495. * @param {string} $body-font-family
  496. * Dialog body font-family
  497. *
  498. * @param {number/list} $body-padding
  499. * Dialog body padding
  500. *
  501. * @param {number/list} $body-padding-big
  502. * Dialog body padding in the {@link Global_CSS#$enable-big big} sizing scheme
  503. *
  504. * @param {color} $header-background-color
  505. * Dialog Header background-color
  506. *
  507. * @param {string/list} $header-background-gradient
  508. * Dialog Header background-gradient. Can be either the name of a gradient defined by
  509. * {@link Global_CSS#background-gradient} or a list of color stops.
  510. *
  511. * @param {color} $header-color
  512. * Dialog Header text color
  513. *
  514. * @param {color/list} $header-border-color
  515. * Dialog Header border-color
  516. *
  517. * @param {number/list} $header-border-width
  518. * Dialog Header border-width
  519. *
  520. * @param {string/list} $header-border-style
  521. * Dialog Header border-style
  522. *
  523. * @param {string/number} $header-font-weight
  524. * Dialog Header font-weight
  525. *
  526. * @param {number} $header-font-size
  527. * Dialog Header font-size
  528. *
  529. * @param {number} $header-font-size-big
  530. * Dialog Header font-size in the {@link Global_CSS#$enable-big big} sizing scheme
  531. *
  532. * @param {number} $header-line-height
  533. * Dialog Header line-height
  534. *
  535. * @param {number} $header-line-height-big
  536. * Dialog Header line-height in the {@link Global_CSS#$enable-big big} sizing scheme
  537. *
  538. * @param {string} $header-font-family
  539. * Dialog Header font-family
  540. *
  541. * @param {number/list} $header-padding
  542. * Dialog Header padding
  543. *
  544. * @param {number/list} $header-padding-big
  545. * Dialog Header padding in the {@link Global_CSS#$enable-big big} sizing scheme
  546. *
  547. * @param {number/list} $header-title-padding
  548. * Dialog Header Title padding
  549. *
  550. * @param {number/list} $header-title-padding-big
  551. * Dialog Header Title padding in the {@link Global_CSS#$enable-big big} sizing scheme
  552. *
  553. * @param {number/list} $header-title-opacity
  554. * Dialog Header Title opacity
  555. *
  556. * @param {shadow} $header-shadow
  557. * Dialog Header Shadow
  558. *
  559. * @param {number} $header-z-index
  560. * Z-Index for the Dialog Header, should be used with shadows to raise header above content
  561. *
  562. * @param {number} $header-min-height
  563. * Dialog Header min-height
  564. *
  565. * @param {number} $header-min-height-big
  566. * Dialog Header min-height in the {@link Global_CSS#$enable-big big} sizing scheme
  567. *
  568. * @param {color} $header-icon-color
  569. * Dialog Header icon color.
  570. *
  571. * @param {number} $header-icon-size
  572. * Dialog Header icon size
  573. *
  574. * @param {number} $header-icon-size-big
  575. * Dialog Header icon size in the {@link Global_CSS#$enable-big big} sizing scheme
  576. *
  577. * @param {number} $header-icon-font-size
  578. * Dialog Header icon font-size. Used for configuring the size of font icons
  579. *
  580. * @param {number} $header-icon-font-size-big
  581. * Dialog Header icon font-size in the {@link Global_CSS#$enable-big big} sizing scheme
  582. *
  583. * @param {number} $header-icon-horizontal-spacing
  584. * The space between the Dialog Header icon and text when the icon is horizontally aligned
  585. *
  586. * @param {number} $header-icon-horizontal-spacing-big
  587. * The space between the Dialog Header icon and text when the icon is horizontally aligned
  588. * in the {@link Global_CSS#$enable-big big} sizing scheme
  589. *
  590. * @param {number} $header-icon-vertical-spacing
  591. * The space between the Dialog Header icon and text when the icon is vertically aligned
  592. *
  593. * @param {number} $header-icon-vertical-spacing-big
  594. * The space between the Dialog Header icon and text when the icon is vertically aligned
  595. * in the {@link Global_CSS#$enable-big big} sizing scheme
  596. *
  597. * @param {number} $header-icon-opacity
  598. * Dialog Header icon opacity
  599. *
  600. * @param {color} $tool-color
  601. * Dialog Tool color
  602. *
  603. * @param {number} $tool-hovered-color
  604. * Dialog Tool color when hovered
  605. *
  606. * @param {number} $tool-pressed-color
  607. * Dialog Tool color when pressed
  608. *
  609. * @param {number} $tool-disabled-color
  610. * Dialog Tool color when disabled
  611. *
  612. * @param {color} $tool-background-color
  613. * Dialog Tool background-color
  614. *
  615. * @param {number} $tool-hovered-background-color
  616. * Dialog Tool background-color when hovered
  617. *
  618. * @param {number} $tool-pressed-background-color
  619. * Dialog Tool background-color when pressed
  620. *
  621. * @param {number} $tool-disabled-background-color
  622. * Dialog Tool background-color when disabled
  623. *
  624. * @param {number} $tool-opacity
  625. * Dialog Tool opacity
  626. *
  627. * @param {number} $tool-hovered-opacity
  628. * Dialog Tool opacity when hovered
  629. *
  630. * @param {number} $tool-pressed-opacity
  631. * Dialog Tool opacity when pressed
  632. *
  633. * @param {number} $tool-disabled-opacity
  634. * Dialog Tool opacity when disabled
  635. *
  636. * @param {number} $tool-border-radius
  637. * Dialog Tool border radius
  638. *
  639. * @param {number} $tool-border-radius-big
  640. * Dialog Tool border radius in the {@link Global_CSS#$enable-big big} sizing scheme
  641. *
  642. * @param {number} $tool-size
  643. * Dialog Tool size
  644. *
  645. * @param {number} $tool-size-big
  646. * Dialog Tool size in the {@link Global_CSS#$enable-big big} sizing scheme
  647. *
  648. * @param {number} $tool-font-size
  649. * Dialog Tool font-size
  650. *
  651. * @param {number} $tool-font-size-big
  652. * Dialog Tool font-size in the {@link Global_CSS#$enable-big big} sizing scheme
  653. *
  654. * @param {number} $tool-spacing
  655. * The space between Dialog Tools
  656. *
  657. * @param {number} $tool-spacing-big
  658. * The space between Dialog Tools in the {@link Global_CSS#$enable-big big} sizing scheme
  659. *
  660. * @param {string} $tool-cursor
  661. * Dialog Tool cursor
  662. *
  663. * @param {string} $tool-disabled-cursor
  664. * Dialog Tool cursor when disabled
  665. *
  666. * @param {number} $tool-focused-outline-width
  667. * Dialog Tool outline width when focused
  668. *
  669. * @param {string} $tool-focused-outline-style
  670. * Dialog Tool outline style when focused
  671. *
  672. * @param {color} $tool-focused-outline-color
  673. * Dialog Tool outline color when focused
  674. *
  675. * @param {number} $tool-focused-outline-offset
  676. * Dialog Tool outline offset when focused
  677. *
  678. * @param {color} $anchor-border-color
  679. * Dialog anchor border-color
  680. *
  681. * @param {color} $anchor-background-color
  682. * Dialog anchor background-color
  683. *
  684. * @param {number} $anchor-height
  685. * The height (in all orientations) of the anchor arrow
  686. *
  687. * @param {number} $anchor-width
  688. * The width (in all orientations) of the anchor arrow.
  689. *
  690. * @param {number} $anchor-margin
  691. * The extra spacing beyond the tip of the anchor arrow to prevent the pointer touching
  692. * the target;
  693. *
  694. * @param {string} $manage-borders
  695. * `true` to include {@link #manageBorders border management} rules
  696. *
  697. * @param {number} $min-width
  698. * Dialog min-width
  699. *
  700. * @param {number} $min-width-big
  701. * Dialog min-width in the {@link Global_CSS#$enable-big big} sizing scheme
  702. */
  703. @mixin dialog-ui(
  704. $ui: null,
  705. $xtype: dialog,
  706. $header-xtype: dialogheader,
  707. $title-xtype: dialogtitle,
  708. $tool-xtype: dialogtool,
  709. $background-color: null,
  710. $border-color: null,
  711. $border-width: null,
  712. $border-style: null,
  713. $border-radius: null,
  714. $border-radius-big: null,
  715. $body-background-color: null,
  716. $body-color: null,
  717. $body-border-color: null,
  718. $body-border-width: null,
  719. $body-border-style: null,
  720. $body-font-weight: null,
  721. $body-font-size: null,
  722. $body-font-size-big: null,
  723. $body-line-height: null,
  724. $body-line-height-big: null,
  725. $body-font-family: null,
  726. $body-padding: null,
  727. $body-padding-big: null,
  728. $header-background-color: null,
  729. $header-background-gradient: null,
  730. $header-color: null,
  731. $header-border-color: null,
  732. $header-border-width: null,
  733. $header-border-style: null,
  734. $header-font-weight: null,
  735. $header-font-size: null,
  736. $header-font-size-big: null,
  737. $header-line-height: null,
  738. $header-line-height-big: null,
  739. $header-font-family: null,
  740. $header-padding: null,
  741. $header-padding-big: null,
  742. $header-title-padding: null,
  743. $header-title-padding-big: null,
  744. $header-title-opacity: null,
  745. $header-shadow: null,
  746. $header-z-index: null,
  747. $header-min-height: null,
  748. $header-min-height-big: null,
  749. $header-icon-color: null,
  750. $header-icon-size: null,
  751. $header-icon-size-big: null,
  752. $header-icon-font-size: null,
  753. $header-icon-font-size-big: null,
  754. $header-icon-horizontal-spacing: null,
  755. $header-icon-horizontal-spacing-big: null,
  756. $header-icon-vertical-spacing: null,
  757. $header-icon-vertical-spacing-big: null,
  758. $header-icon-opacity: null,
  759. $tool-color: null,
  760. $tool-hovered-color: null,
  761. $tool-pressed-color: null,
  762. $tool-disabled-color: null,
  763. $tool-background-color: null,
  764. $tool-hovered-background-color: null,
  765. $tool-pressed-background-color: null,
  766. $tool-disabled-background-color: null,
  767. $tool-opacity: null,
  768. $tool-hovered-opacity: null,
  769. $tool-pressed-opacity: null,
  770. $tool-disabled-opacity: null,
  771. $tool-border-radius: null,
  772. $tool-border-radius-big: null,
  773. $tool-size: null,
  774. $tool-size-big: null,
  775. $tool-font-size: null,
  776. $tool-font-size-big: null,
  777. $tool-spacing: null,
  778. $tool-spacing-big: null,
  779. $tool-cursor: null,
  780. $tool-disabled-cursor: null,
  781. $tool-focused-outline-width: null,
  782. $tool-focused-outline-style: null,
  783. $tool-focused-outline-color: null,
  784. $tool-focused-outline-offset: null,
  785. $anchor-border-color: null,
  786. $anchor-background-color: null,
  787. $anchor-height: null,
  788. $anchor-width: null,
  789. $anchor-margin: null,
  790. $manage-borders: $dialog-manage-borders,
  791. $min-width: null,
  792. $min-width-big: null
  793. ) {
  794. $ui-suffix: ui-suffix($ui);
  795. $arguments: intersect-arguments(dialog-ui, panel-ui);
  796. @include panel-ui($arguments...);
  797. .#{$prefix}#{$xtype}#{$ui-suffix} {
  798. min-width: $min-width;
  799. @if $enable-big {
  800. .#{$prefix}big & {
  801. min-width: $min-width-big;
  802. }
  803. }
  804. }
  805. }