UI for Zipcoin Blue

split-pane.scss 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. @import "../../themes/ionic.globals";
  2. // Split Pane
  3. // --------------------------------------------------
  4. $split-pane-side-min-width: 270px !default;
  5. $split-pane-side-max-width: 28% !default;
  6. .split-pane {
  7. @include position(0, 0, 0, 0);
  8. position: absolute;
  9. display: flex;
  10. flex-direction: row;
  11. flex-wrap: nowrap;
  12. contain: strict;
  13. }
  14. .split-pane-side:not(ion-menu) {
  15. display: none;
  16. }
  17. .split-pane-visible >.split-pane-side,
  18. .split-pane-visible >.split-pane-main {
  19. @include position(0, 0, 0, 0);
  20. // scss-lint:disable ImportantRule
  21. position: relative;
  22. z-index: 0;
  23. flex: 1;
  24. box-shadow: none !important;
  25. }
  26. .split-pane-visible >.split-pane-side {
  27. flex-shrink: 0;
  28. order: -1;
  29. }
  30. .split-pane-visible >.split-pane-main,
  31. .split-pane-visible >ion-nav.split-pane-side,
  32. .split-pane-visible >ion-tabs.split-pane-side,
  33. .split-pane-visible >ion-menu.menu-enabled {
  34. display: block;
  35. }
  36. .split-pane-visible >ion-split-pane.split-pane-side,
  37. .split-pane-visible >ion-split-pane.split-pane-main {
  38. display: flex;
  39. }
  40. .split-pane-visible >ion-menu.menu-enabled {
  41. >.menu-inner {
  42. @include position-horizontal(0, 0);
  43. // scss-lint:disable ImportantRule
  44. width: auto;
  45. box-shadow: none !important;
  46. transform: none !important;
  47. }
  48. >.ion-backdrop {
  49. // scss-lint:disable ImportantRule
  50. display: hidden !important;
  51. }
  52. }
  53. .split-pane-visible >.split-pane-side[side=start] {
  54. @include multi-dir() {
  55. order: -1;
  56. }
  57. }
  58. .split-pane-visible >.split-pane-side[side=end] {
  59. @include multi-dir() {
  60. order: 1;
  61. }
  62. }
  63. .split-pane-visible >.split-pane-side[side=left] {
  64. @include ltr() {
  65. order: -1;
  66. }
  67. @include rtl() {
  68. order: 1;
  69. }
  70. }
  71. .split-pane-visible >.split-pane-side[side=right] {
  72. @include ltr() {
  73. order: 1;
  74. }
  75. @include rtl() {
  76. order: -1;
  77. }
  78. }