Breadcrumb.scss 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542
  1. /** @class Ext.toolbar.Breadcrumb */
  2. // Some breadcrumb vars derive their values from toolbar vars, so make sure we have imported
  3. // the Toolbar vars first since there is no dependency at the class-level. This means
  4. // Toolbar vars might get imported twice but that is not a problem since the variables
  5. // are !default - the second import will be effectively ignored.
  6. @import 'Toolbar';
  7. /**
  8. * @var {string}
  9. * The UI of buttons that are used in the "default" breadcrumb UI
  10. */
  11. $breadcrumb-button-ui: dynamic('default-toolbar');
  12. /**
  13. * @var {number}
  14. * The space between the breadcrumb buttons
  15. */
  16. $breadcrumb-button-spacing: dynamic(0px);
  17. /**
  18. * @var {number}
  19. * The width of breadcrumb arrows when {@link #useSplitButtons} is `false`
  20. */
  21. $breadcrumb-arrow-width: dynamic($button-small-split-width);
  22. /**
  23. * @var {number}
  24. * The width of breadcrumb arrows when {@link #useSplitButtons} is `true`
  25. */
  26. $breadcrumb-split-width: dynamic($button-small-split-width);
  27. /**
  28. * @var {string}
  29. * The background-image for the default "folder" icon
  30. */
  31. $breadcrumb-folder-icon: dynamic('tree/folder');
  32. /**
  33. * @var {string}
  34. * The background-image for the default "open folder" icon
  35. */
  36. $breadcrumb-folder-open-icon: dynamic('tree/folder-open');
  37. /**
  38. * @var {string}
  39. * The background-image for the default "leaf" icon
  40. */
  41. $breadcrumb-leaf-icon: dynamic('tree/leaf');
  42. /**
  43. * @var {number}
  44. * The font size to use for breadcrumb icons when {@link Global_CSS#$enable-font-icons} is `true`.
  45. */
  46. $breadcrumb-glyph-font-size: dynamic(16px);
  47. /**
  48. * @var {color}
  49. * The color to use for breadcrumb icons when {@link Global_CSS#$enable-font-icons} is `true`.
  50. */
  51. $breadcrumb-glyph-color: dynamic($button-toolbar-glyph-color);
  52. /**
  53. * @var {string/list}
  54. * Glyph for the "folder" icon when {@link Global_CSS#$enable-font-icons} is `true`.
  55. */
  56. $breadcrumb-folder-glyph: dynamic($fa-var-folder-o $breadcrumb-glyph-font-size $font-icon-font-family);
  57. /**
  58. * @var {color}
  59. * The color to use for the "folder" icon when {@link Global_CSS#$enable-font-icons} is `true`.
  60. */
  61. $breadcrumb-folder-glyph-color: dynamic($breadcrumb-glyph-color);
  62. /**
  63. * @var {string/list}
  64. * Glyph for the "open folder" icon when {@link Global_CSS#$enable-font-icons} is `true`.
  65. */
  66. $breadcrumb-folder-open-glyph: dynamic($fa-var-folder-open-o $breadcrumb-glyph-font-size $font-icon-font-family);
  67. /**
  68. * @var {color}
  69. * The color to use for the "open folder" icon when {@link Global_CSS#$enable-font-icons} is `true`.
  70. */
  71. $breadcrumb-folder-open-glyph-color: dynamic($breadcrumb-folder-glyph-color);
  72. /**
  73. * @var {string/list}
  74. * Glyph for the "leaf" icon when {@link Global_CSS#$enable-font-icons} is `true`.
  75. */
  76. $breadcrumb-leaf-glyph: dynamic($fa-var-file-o $breadcrumb-glyph-font-size $font-icon-font-family);
  77. /**
  78. * @var {color}
  79. * The color to use for the "leaf" icon when {@link Global_CSS#$enable-font-icons} is `true`.
  80. */
  81. $breadcrumb-leaf-glyph-color: dynamic($breadcrumb-glyph-color);
  82. /**
  83. * @var {string/list}
  84. * Glyph for the "arrow" icon when {@link Global_CSS#$enable-font-icons} is `true`.
  85. */
  86. $breadcrumb-arrow-glyph: dynamic($fa-var-angle-right $breadcrumb-glyph-font-size $font-icon-font-family);
  87. /**
  88. * @var {string/list}
  89. * Glyph for the "arrow" icon when {@link Global_CSS#$enable-font-icons} is `true` and rtl is `true`.
  90. */
  91. $breadcrumb-arrow-glyph-rtl: dynamic($fa-var-angle-left $breadcrumb-glyph-font-size $font-icon-font-family);
  92. /**
  93. * @var {color}
  94. * The color to use for the "arrow" icon when {@link Global_CSS#$enable-font-icons} is `true`.
  95. */
  96. $breadcrumb-arrow-glyph-color: dynamic($breadcrumb-glyph-color);
  97. /**
  98. * @var {string/list}
  99. * Glyph for the "expanded arrow" icon when {@link Global_CSS#$enable-font-icons} is `true`.
  100. */
  101. $breadcrumb-arrow-expanded-glyph: dynamic($fa-var-angle-down $breadcrumb-glyph-font-size $font-icon-font-family);
  102. /**
  103. * @var {color}
  104. * The color to use for the "expanded arrow" icon when {@link Global_CSS#$enable-font-icons} is `true`.
  105. */
  106. $breadcrumb-arrow-expanded-glyph-color: dynamic($breadcrumb-arrow-glyph-color);
  107. /**
  108. * @var {boolean}
  109. * `true` to include a separate background-image for menu arrows when a breadcrumb button's
  110. * menu is open
  111. */
  112. $breadcrumb-include-menu-active-arrow: dynamic(true);
  113. /**
  114. * @var {boolean}
  115. * `true` to include a separate background-image for split arrows when a breadcrumb button's
  116. * arrow is hovered
  117. */
  118. $breadcrumb-include-split-over-arrow: dynamic(true);
  119. /**
  120. * @var {number}
  121. * The width of Breadcrumb scrollers
  122. */
  123. $breadcrumb-scroller-width: dynamic($toolbar-scroller-width);
  124. /**
  125. * @var {number}
  126. * The height of Breadcrumb scrollers
  127. */
  128. $breadcrumb-scroller-height: dynamic($toolbar-scroller-height);
  129. /**
  130. * @var {color}
  131. * The border-color of Breadcrumb scrollers
  132. */
  133. $breadcrumb-scroller-border-color: dynamic($toolbar-scroller-border-color);
  134. /**
  135. * @var {number}
  136. * The border-width of Breadcrumb scrollers
  137. */
  138. $breadcrumb-scroller-border-width: dynamic($toolbar-scroller-border-width);
  139. /**
  140. * @var {number/list}
  141. * The margin of "top" Breadcrumb scroller buttons
  142. */
  143. $breadcrumb-scroller-top-margin: dynamic($toolbar-scroller-top-margin);
  144. /**
  145. * @var {number/list}
  146. * The margin of "right" Breadcrumb scroller buttons
  147. */
  148. $breadcrumb-scroller-right-margin: dynamic($toolbar-scroller-right-margin);
  149. /**
  150. * @var {number/list}
  151. * The margin of "bottom" Breadcrumb scroller buttons
  152. */
  153. $breadcrumb-scroller-bottom-margin: dynamic($toolbar-scroller-bottom-margin);
  154. /**
  155. * @var {number/list}
  156. * The margin of "left" Breadcrumb scroller buttons
  157. */
  158. $breadcrumb-scroller-left-margin: dynamic($toolbar-scroller-left-margin);
  159. /**
  160. * @var {string}
  161. * The cursor of Breadcrumb scrollers
  162. */
  163. $breadcrumb-scroller-cursor: dynamic($toolbar-scroller-cursor);
  164. /**
  165. * @var {string}
  166. * The cursor of disabled Breadcrumb scrollers
  167. */
  168. $breadcrumb-scroller-cursor-disabled: dynamic($toolbar-scroller-cursor-disabled);
  169. /**
  170. * @var {number}
  171. * The opacity of Breadcrumb scroller buttons. Only applicable when
  172. * {@link #$breadcrumb-classic-scrollers} is `false`.
  173. */
  174. $breadcrumb-scroller-opacity: dynamic($toolbar-scroller-opacity);
  175. /**
  176. * @var {number}
  177. * The opacity of hovered Breadcrumb scroller buttons. Only applicable when
  178. * {@link #$breadcrumb-classic-scrollers} is `false`.
  179. */
  180. $breadcrumb-scroller-opacity-over: dynamic($toolbar-scroller-opacity-over);
  181. /**
  182. * @var {number}
  183. * The opacity of pressed Breadcrumb scroller buttons. Only applicable when
  184. * {@link #$breadcrumb-classic-scrollers} is `false`.
  185. */
  186. $breadcrumb-scroller-opacity-pressed: dynamic($toolbar-scroller-opacity-pressed);
  187. /**
  188. * @var {number}
  189. * The opacity of disabled Breadcrumb scroller buttons. Only applicable when
  190. * {@link #$breadcrumb-classic-scrollers} is `false`.
  191. */
  192. $breadcrumb-scroller-opacity-disabled: dynamic($toolbar-scroller-opacity-disabled);
  193. /**
  194. * @var {boolean}
  195. * `true` to use classic-style scroller buttons. When `true` scroller buttons are given their
  196. * hover state by changing their background-position, When `false` scroller buttons are
  197. * given their hover state by applying opacity.
  198. */
  199. $breadcrumb-classic-scrollers: dynamic($toolbar-classic-scrollers);
  200. /**
  201. * @var {boolean}
  202. * `true` to include the "default" breadcrumb UI
  203. */
  204. $include-breadcrumb-default-ui: dynamic(true);
  205. /**
  206. * Creates a visual theme for a Breadcrumb.
  207. *
  208. * @param {string} $ui
  209. * The name of the UI being created. Can not included spaces or special punctuation
  210. * (used in CSS class names).
  211. *
  212. * @param {string} [$ui-button-ui=$breadcrumb-button-ui]
  213. * The name of the button UI that will be used with this breadcrumb UI. Used for overriding
  214. * the button arrows for the given button UI when it is used inside a breadcrumb with this UI.
  215. *
  216. * @param {number} [$ui-button-spacing=$breadcrumb-button-spacing]
  217. * The space between the breadcrumb buttons
  218. *
  219. * @param {number} [$ui-arrow-width=$breadcrumb-arrow-width]
  220. * The width of the breadcrumb arrows when
  221. * {@link Ext.toolbar.Breadcrumb#useSplitButtons} is `false`
  222. *
  223. * @param {number} [$ui-split-width=$breadcrumb-split-width]
  224. * The width of breadcrumb arrows when {@link Ext.toolbar.Breadcrumb#useSplitButtons}
  225. * is `true`
  226. *
  227. * @param {boolean} [$ui-include-menu-active-arrow=$breadcrumb-include-menu-active-arrow]
  228. * `true` to include a separate background-image for menu arrows when a breadcrumb button's
  229. * menu is open
  230. *
  231. * @param {boolean} [$ui-include-split-over-arrow=$breadcrumb-include-split-over-arrow]
  232. * `true` to include a separate background-image for split arrows when a breadcrumb button's
  233. * arrow is hovered
  234. *
  235. * @param {string} [$ui-folder-icon=$breadcrumb-folder-icon]
  236. * The background-image for the "folder" icon
  237. *
  238. * @param {string} [$ui-folder-open-icon=$breadcrumb-folder-open-icon]
  239. * The background-image for the "open folder" icon
  240. *
  241. * @param {string} [$ui-leaf-icon=$breadcrumb-leaf-icon]
  242. * The background-image for the "leaf" icon
  243. *
  244. * @param {string/list} [$ui-folder-glyph=$breadcrumb-folder-glyph]
  245. * Glyph for the "folder" icon when {@link Global_CSS#$enable-font-icons} is `true`.
  246. *
  247. * @param {color} [$ui-folder-glyph-color=$breadcrumb-folder-glyph-color]
  248. * The color to use for the "folder" icon when {@link Global_CSS#$enable-font-icons} is `true`.
  249. *
  250. * @param {string/list} [$ui-folder-open-glyph=$breadcrumb-folder-open-glyph]
  251. * Glyph for the "open folder" icon when {@link Global_CSS#$enable-font-icons} is `true`.
  252. *
  253. * @param {color} [$ui-folder-open-glyph-color=$breadcrumb-folder-open-glyph-color]
  254. * The color to use for the "open folder" icon when {@link Global_CSS#$enable-font-icons} is `true`.
  255. *
  256. * @param {string/list} [$ui-leaf-glyph=$breadcrumb-leaf-glyph]
  257. * Glyph for the "leaf" icon when {@link Global_CSS#$enable-font-icons} is `true`.
  258. *
  259. * @param {color} [$ui-leaf-glyph-color=$breadcrumb-leaf-glyph-color]
  260. * The color to use for the "leaf" icon when {@link Global_CSS#$enable-font-icons} is `true`.
  261. *
  262. * @param {string/list} [$ui-arrow-glyph=$breadcrumb-arrow-glyph]
  263. * Glyph for the "arrow" icon when {@link Global_CSS#$enable-font-icons} is `true`.
  264. *
  265. * @param {string/list} [$ui-arrow-glyph-rtl=$breadcrumb-arrow-glyph-rtl]
  266. * Glyph for the "arrow" icon when {@link Global_CSS#$enable-font-icons} is `true` and rtl is `true`.
  267. *
  268. * @param {color} [$ui-arrow-glyph-color=$breadcrumb-arrow-glyph-color]
  269. * The color to use for the "arrow" icon when {@link Global_CSS#$enable-font-icons} is `true`.
  270. *
  271. * @param {string/list} [$ui-arrow-expanded-glyph=$breadcrumb-arrow-expanded-glyph]
  272. * Glyph for the "expanded arrow" icon when {@link Global_CSS#$enable-font-icons} is `true`.
  273. *
  274. * @param {color} [$ui-arrow-expanded-glyph-color=$breadcrumb-arrow-expanded-glyph-color]
  275. * The color to use for the "expanded arrow" icon when {@link Global_CSS#$enable-font-icons} is `true`.
  276. *
  277. * @param {number} [$ui-scroller-width=$breadcrumb-scroller-width]
  278. * The width of Breadcrumb scrollers
  279. *
  280. * @param {number} [$ui-scroller-height=$breadcrumb-scroller-height]
  281. * The height of Breadcrumb scrollers
  282. *
  283. * @param {color} [$ui-scroller-border-color=$breadcrumb-scroller-border-color]
  284. * The border-color of Breadcrumb scrollers
  285. *
  286. * @param {number} [$ui-scroller-border-width=$breadcrumb-scroller-border-width]
  287. * The border-width of Breadcrumb scrollers
  288. *
  289. * @param {string} [$ui-scroller-cursor=$breadcrumb-scroller-cursor]
  290. * The cursor of Breadcrumb scrollers
  291. *
  292. * @param {string} [$ui-scroller-cursor-disabled=$breadcrumb-scroller-cursor-disabled]
  293. * The cursor of disabled Breadcrumb scrollers
  294. *
  295. * @param {number/list} [$ui-scroller-top-margin=$breadcrumb-scroller-top-margin]
  296. * The margin of "top" scroller buttons
  297. *
  298. * @param {number/list} [$ui-scroller-right-margin=$breadcrumb-scroller-right-margin]
  299. * The margin of "right" scroller buttons
  300. *
  301. * @param {number/list} [$ui-scroller-bottom-margin=$breadcrumb-scroller-bottom-margin]
  302. * The margin of "bottom" scroller buttons
  303. *
  304. * @param {number/list} [$ui-scroller-left-margin=$breadcrumb-scroller-left-margin]
  305. * The margin of "left" scroller buttons
  306. *
  307. * @param {number} [$ui-scroller-opacity=$breadcrumb-scroller-opacity]
  308. * The opacity of Breadcrumb scroller buttons. Only applicable when
  309. * `$ui-classic-scrollers` is `false`.
  310. *
  311. * @param {number} [$ui-scroller-opacity-over=$breadcrumb-scroller-opacity-over]
  312. * The opacity of hovered Breadcrumb scroller buttons. Only applicable when
  313. * `$ui-classic-scrollers` is `false`.
  314. *
  315. * @param {number} [$ui-scroller-opacity-pressed=$breadcrumb-scroller-opacity-pressed]
  316. * The opacity of pressed Breadcrumb scroller buttons. Only applicable when
  317. * `$ui-classic-scrollers` is `false`.
  318. *
  319. * @param {number} [$ui-scroller-opacity-disabled=$breadcrumb-scroller-opacity-disabled]
  320. * The opacity of disabled Breadcrumb scroller buttons.
  321. *
  322. * @param {boolean} [$ui-classic-scrollers=$breadcrumb-classic-scrollers]
  323. * `true` to use classic-style scroller buttons. When `true` scroller buttons are given
  324. * their hover state by changing their background-position, When `false` scroller buttons
  325. * are given their hover state by applying opacity.
  326. * @member Ext.toolbar.Breadcrumb
  327. */
  328. @mixin extjs-breadcrumb-ui(
  329. $ui: null,
  330. $ui-button-ui: $breadcrumb-button-ui,
  331. $ui-button-spacing: $breadcrumb-button-spacing,
  332. $ui-arrow-width: $breadcrumb-arrow-width,
  333. $ui-split-width: $breadcrumb-split-width,
  334. $ui-include-menu-active-arrow: $breadcrumb-include-menu-active-arrow,
  335. $ui-include-split-over-arrow: $breadcrumb-include-split-over-arrow,
  336. $ui-folder-icon: $breadcrumb-folder-icon,
  337. $ui-folder-open-icon: $breadcrumb-folder-open-icon,
  338. $ui-leaf-icon: $breadcrumb-leaf-icon,
  339. $ui-folder-glyph: $breadcrumb-folder-glyph,
  340. $ui-folder-glyph-color: $breadcrumb-folder-glyph-color,
  341. $ui-folder-open-glyph: $breadcrumb-folder-open-glyph,
  342. $ui-folder-open-glyph-color: $breadcrumb-folder-open-glyph-color,
  343. $ui-leaf-glyph: $breadcrumb-leaf-glyph,
  344. $ui-leaf-glyph-color: $breadcrumb-leaf-glyph-color,
  345. $ui-arrow-glyph: $breadcrumb-arrow-glyph,
  346. $ui-arrow-glyph-rtl: $breadcrumb-arrow-glyph-rtl,
  347. $ui-arrow-glyph-color: $breadcrumb-arrow-glyph-color,
  348. $ui-arrow-expanded-glyph: $breadcrumb-arrow-expanded-glyph,
  349. $ui-arrow-expanded-glyph-color: $breadcrumb-arrow-expanded-glyph-color,
  350. $ui-scroller-width: $breadcrumb-scroller-width,
  351. $ui-scroller-height: $breadcrumb-scroller-height,
  352. $ui-scroller-border-color: $breadcrumb-scroller-border-color,
  353. $ui-scroller-border-width: $breadcrumb-scroller-border-width,
  354. $ui-scroller-cursor: $breadcrumb-scroller-cursor,
  355. $ui-scroller-cursor-disabled: $breadcrumb-scroller-cursor-disabled,
  356. $ui-scroller-top-margin: $breadcrumb-scroller-top-margin,
  357. $ui-scroller-right-margin: $breadcrumb-scroller-right-margin,
  358. $ui-scroller-bottom-margin: $breadcrumb-scroller-bottom-margin,
  359. $ui-scroller-left-margin: $breadcrumb-scroller-left-margin,
  360. $ui-scroller-opacity: $breadcrumb-scroller-opacity,
  361. $ui-scroller-opacity-over: $breadcrumb-scroller-opacity-over,
  362. $ui-scroller-opacity-pressed: $breadcrumb-scroller-opacity-pressed,
  363. $ui-scroller-opacity-disabled: $breadcrumb-scroller-opacity-disabled,
  364. $ui-classic-scrollers: $breadcrumb-classic-scrollers
  365. ) {
  366. .#{$prefix}breadcrumb-btn-#{$ui} {
  367. margin: 0 0 0 $ui-button-spacing;
  368. }
  369. .#{$prefix}breadcrumb-icon-folder-#{$ui} {
  370. @if $enable-font-icons and ($ui-folder-glyph != null) {
  371. @include font-icon($ui-folder-glyph);
  372. color: $ui-folder-glyph-color;
  373. } @else {
  374. background-image: theme-background-image($ui-folder-icon);
  375. }
  376. .#{$prefix}btn-menu-active & {
  377. @if $enable-font-icons and ($ui-folder-open-glyph != null) {
  378. @include font-icon($ui-folder-open-glyph);
  379. color: $ui-folder-open-glyph-color;
  380. } @else {
  381. background-image: theme-background-image($ui-folder-open-icon);
  382. }
  383. }
  384. }
  385. .#{$prefix}breadcrumb-icon-leaf-#{$ui} {
  386. @if $enable-font-icons and ($ui-leaf-glyph != null) {
  387. @include font-icon($ui-leaf-glyph);
  388. color: $ui-leaf-glyph-color;
  389. } @else {
  390. background-image: theme-background-image($ui-leaf-icon);
  391. }
  392. }
  393. .#{$prefix}btn-wrap-#{$ui-button-ui}-small.#{$prefix}btn-arrow:after {
  394. .#{$prefix}breadcrumb-btn & {
  395. width: $ui-arrow-width;
  396. background-image: theme-background-image('breadcrumb/#{$ui}-arrow');
  397. }
  398. @if $include-rtl {
  399. .#{$prefix}rtl.#{$prefix}breadcrumb-btn & {
  400. background-image: theme-background-image('breadcrumb/#{$ui}-arrow-rtl');
  401. }
  402. }
  403. @if $ui-include-menu-active-arrow {
  404. .#{$prefix}btn-menu-active.#{$prefix}breadcrumb-btn & {
  405. background-image: theme-background-image('breadcrumb/#{$ui}-arrow-open');
  406. }
  407. @if $include-rtl {
  408. .#{$prefix}rtl.#{$prefix}btn-menu-active.#{$prefix}breadcrumb-btn & {
  409. background-image: theme-background-image('breadcrumb/#{$ui}-arrow-open-rtl');
  410. }
  411. }
  412. }
  413. }
  414. .#{$prefix}btn-wrap-#{$ui-button-ui}-small.#{$prefix}btn-split:after {
  415. .#{$prefix}breadcrumb-btn & {
  416. width: $ui-split-width;
  417. @if $enable-font-icons and ($ui-arrow-glyph != null) {
  418. @include font-icon($ui-arrow-glyph, $pseudo: false);
  419. color: $ui-arrow-glyph-color;
  420. // !important needed to override base button styles which are far more specific
  421. background: none !important;
  422. } @else {
  423. background-image: theme-background-image('breadcrumb/#{$ui}-split-arrow');
  424. }
  425. }
  426. @if $include-rtl {
  427. .#{$prefix}rtl.#{$prefix}breadcrumb-btn & {
  428. @if $enable-font-icons and ($ui-arrow-glyph-rtl != null) {
  429. @include font-icon($ui-arrow-glyph-rtl, $pseudo: false);
  430. background: none !important;
  431. } @else {
  432. background-image: theme-background-image('breadcrumb/#{$ui}-split-arrow-rtl');
  433. }
  434. }
  435. }
  436. @if $ui-include-split-over-arrow and ((not $enable-font-icons) or ($ui-arrow-glyph == null)) {
  437. .#{$prefix}btn-over.#{$prefix}breadcrumb-btn & {
  438. background-image: theme-background-image('breadcrumb/#{$ui}-split-arrow-over');
  439. }
  440. @if $include-rtl {
  441. .#{$prefix}rtl.#{$prefix}btn-over.#{$prefix}breadcrumb-btn & {
  442. background-image: theme-background-image('breadcrumb/#{$ui}-split-arrow-over-rtl');
  443. }
  444. }
  445. }
  446. @if $ui-include-menu-active-arrow {
  447. .#{$prefix}btn-menu-active.#{$prefix}breadcrumb-btn & {
  448. @if $enable-font-icons and ($ui-arrow-expanded-glyph != null) {
  449. @include font-icon($ui-arrow-expanded-glyph, $pseudo: false);
  450. color: $ui-arrow-expanded-glyph-color;
  451. // !important needed to override base button styles which are far more specific
  452. background: none !important;
  453. } @else {
  454. background-image: theme-background-image('breadcrumb/#{$ui}-split-arrow-open');
  455. }
  456. }
  457. @if $include-rtl and ((not $enable-font-icons) or ($ui-arrow-glyph == null)) {
  458. .#{$prefix}rtl.#{$prefix}btn-menu-active.#{$prefix}breadcrumb-btn & {
  459. background-image: theme-background-image('breadcrumb/#{$ui}-split-arrow-open-rtl');
  460. }
  461. }
  462. }
  463. }
  464. @if $include-ext-layout-container-boxoverflow-scroller {
  465. @include extjs-box-scroller-ui(
  466. $ui: $ui,
  467. $type: 'breadcrumb',
  468. $horizontal-width: $ui-scroller-width,
  469. $horizontal-height: $ui-scroller-height,
  470. $top-margin: $ui-scroller-top-margin,
  471. $right-margin: $ui-scroller-right-margin,
  472. $bottom-margin: $ui-scroller-bottom-margin,
  473. $left-margin: $ui-scroller-left-margin,
  474. $horizontal-border-color: $ui-scroller-border-color,
  475. $horizontal-border-width: $ui-scroller-border-width,
  476. $cursor: $ui-scroller-cursor,
  477. $cursor-disabled: $ui-scroller-cursor-disabled,
  478. $align: middle,
  479. $opacity: $ui-scroller-opacity,
  480. $opacity-over: $ui-scroller-opacity-over,
  481. $opacity-pressed: $ui-scroller-opacity-pressed,
  482. $opacity-disabled: $ui-scroller-opacity-disabled,
  483. $classic: $ui-classic-scrollers,
  484. $include-vertical: false
  485. );
  486. }
  487. }