_boundlist.scss2.html 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>The source code</title>
  6. <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
  7. <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
  8. <style type="text/css">
  9. .highlight { display: block; background-color: #ddd; }
  10. </style>
  11. <script type="text/javascript">
  12. function highlight() {
  13. document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
  14. }
  15. </script>
  16. </head>
  17. <body onload="prettyPrint(); highlight();">
  18. <pre class="prettyprint lang-js"><span id='Ext-view-BoundList-css_mixin-extjs-boundlist'>/**
  19. </span> * Creates the base structure of a BoundList.
  20. * @member Ext.view.BoundList
  21. */
  22. @mixin extjs-boundlist {
  23. .#{$prefix}boundlist {
  24. border-width: $boundlist-border-width;
  25. border-style: $boundlist-border-style;
  26. border-color: $boundlist-border-color;
  27. background: $boundlist-background-color;
  28. .#{$prefix}toolbar {
  29. border-width: 1px 0 0 0;
  30. }
  31. }
  32. // IE6/7 have issues with lists in strict mode
  33. @if $include-ie {
  34. .#{$prefix}strict {
  35. .#{$prefix}ie6,
  36. .#{$prefix}ie7 {
  37. .#{$prefix}boundlist-list-ct {
  38. position: relative;
  39. }
  40. }
  41. }
  42. }
  43. .#{$prefix}boundlist-item {
  44. padding: $boundlist-item-padding;
  45. @include no-select;
  46. cursor: pointer;
  47. cursor: hand;
  48. position: relative; /*allow hover in IE on empty items*/
  49. border-width: $boundlist-item-border-width;
  50. border-style: $boundlist-item-border-style;
  51. border-color: $boundlist-item-border-color;
  52. }
  53. .#{$prefix}boundlist-selected {
  54. background: $boundlist-item-selected-background-color;
  55. border-color: $boundlist-item-selected-border-color;
  56. }
  57. .#{$prefix}boundlist-item-over {
  58. background: $boundlist-item-over-background-color;
  59. border-color: $boundlist-item-over-border-color;
  60. }
  61. .#{$prefix}boundlist-floating {
  62. border-top-width: 0;
  63. }
  64. .#{$prefix}boundlist-above {
  65. border-top-width: 1px;
  66. border-bottom-width: 1px;
  67. }
  68. }</pre>
  69. </body>
  70. </html>