/ext-4.1.0_b3/resources/themes/stylesheets/ext4/default/util/_splitter.scss

https://bitbucket.org/srogerf/javascript · Sass · 106 lines · 87 code · 19 blank · 0 comment · 0 complexity · ecb9bb8c3e8579f1c1101de9971f36a7 MD5 · raw file

  1. @mixin extjs-splitter {
  2. .#{$prefix}splitter {
  3. .#{$prefix}collapse-el {
  4. position: absolute;
  5. cursor: pointer;
  6. background-color: transparent;
  7. background-repeat: no-repeat !important;
  8. }
  9. }
  10. .#{$prefix}layout-split-left,
  11. .#{$prefix}layout-split-right {
  12. top: 50%;
  13. margin-top: -17px;
  14. width: 5px;
  15. height: 35px;
  16. }
  17. .#{$prefix}layout-split-top,
  18. .#{$prefix}layout-split-bottom {
  19. left: 50%;
  20. width: 35px;
  21. height: 5px;
  22. margin-left: -17px;
  23. }
  24. .#{$prefix}layout-split-left {
  25. background: no-repeat top right;
  26. background-image: theme-background-image($theme-name, 'util/splitter/mini-left.gif');
  27. }
  28. .#{$prefix}layout-split-right {
  29. background: no-repeat top left;
  30. background-image: theme-background-image($theme-name, 'util/splitter/mini-right.gif');
  31. }
  32. .#{$prefix}layout-split-top {
  33. background: no-repeat top left;
  34. background-image: theme-background-image($theme-name, 'util/splitter/mini-top.gif');
  35. }
  36. .#{$prefix}layout-split-bottom {
  37. background: no-repeat top left;
  38. background-image: theme-background-image($theme-name, 'util/splitter/mini-bottom.gif');
  39. }
  40. .#{$prefix}splitter-collapsed {
  41. .#{$prefix}layout-split-left {
  42. background: no-repeat top left;
  43. background-image: theme-background-image($theme-name, 'util/splitter/mini-right.gif');
  44. }
  45. .#{$prefix}layout-split-right {
  46. background: no-repeat top right;
  47. background-image: theme-background-image($theme-name, 'util/splitter/mini-left.gif');
  48. }
  49. .#{$prefix}layout-split-top {
  50. background: no-repeat top left;
  51. background-image: theme-background-image($theme-name, 'util/splitter/mini-bottom.gif');
  52. }
  53. .#{$prefix}layout-split-bottom {
  54. background: no-repeat top left;
  55. background-image: theme-background-image($theme-name, 'util/splitter/mini-top.gif');
  56. }
  57. }
  58. .#{$prefix}splitter-horizontal {
  59. cursor: e-resize;
  60. cursor: row-resize;
  61. font-size:1px;
  62. }
  63. .#{$prefix}splitter-vertical {
  64. cursor: e-resize;
  65. cursor: col-resize;
  66. font-size:1px;
  67. }
  68. .#{$prefix}splitter-collapsed {
  69. cursor: default;
  70. }
  71. .#{$prefix}splitter-active {
  72. z-index: 4;
  73. font-size:1px;
  74. background-color: rgb(180, 180, 180);
  75. @include opacity(0.8);
  76. }
  77. .#{$prefix}splitter-active {
  78. .#{$prefix}collapse-el {
  79. @include opacity(0.3);
  80. }
  81. }
  82. .#{$prefix}proxy-el {
  83. position: absolute;
  84. background: rgb(180, 180, 180);
  85. @include opacity(0.8);
  86. }
  87. }