ToolTip.scss 22 KB

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