boards.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /**
  2. * IBM Confidential
  3. * OCO Source Materials
  4. * IBM Business Platform: Dashboard
  5. * (C) Copyright IBM Corp. 2018, 2020
  6. * The source code for this program is not published or otherwise divested of its trade secrets,
  7. * irrespective of what has been deposited with the U.S. Copyright Office
  8. **/
  9. // Used to calculate the position of the widget flyout. Disable pointer event so it does not interfere with anything.
  10. @import "../lib/@ba-ui-toolkit/essentials/_essentials.scss";
  11. .widgetContextNode {
  12. pointer-events: none;
  13. }
  14. .page,
  15. .page *,
  16. .widget,
  17. .widget * {
  18. box-sizing: content-box;
  19. }
  20. .widget:not(.shapeWidget) .staticContent {
  21. border: 1px solid transparent;
  22. }
  23. .page,
  24. .widget,
  25. .pagegroup {
  26. position: relative;
  27. }
  28. .searchInput {
  29. &.hasContent {
  30. .closeIcon {
  31. display: inline-block;
  32. }
  33. }
  34. & input {
  35. padding: 0 0 0 30px;
  36. left: -25px;
  37. position: relative;
  38. [dir="rtl"] & {
  39. padding: 0 30px 0 0px;
  40. left: auto;
  41. right: -25px;
  42. }
  43. &::-ms-clear {
  44. display: none;
  45. }
  46. }
  47. .searchIcon {
  48. @include theming(color, icon-01);
  49. position: relative;
  50. left: 1px;
  51. top: 2px;
  52. font-size: $body-size;
  53. display: inline-block;
  54. z-index: 100;
  55. flex: none;
  56. &[dir="rtl"] {
  57. left: auto;
  58. right: 1px;
  59. }
  60. }
  61. .closeIcon {
  62. @include theming(color, icon-01);
  63. position: relative;
  64. right: 50px;
  65. top: 2px;
  66. font-size: $body-size;
  67. cursor: pointer;
  68. display: none;
  69. width: 16px;
  70. &[dir="rtl"] {
  71. right: auto;
  72. left: 50px;
  73. }
  74. }
  75. }
  76. .quickAddPopover {
  77. @include theming(color, ui-05);
  78. font-size: $body-size-s;
  79. text-align: center;
  80. @include user-select(none);
  81. z-index: 2000;
  82. }
  83. .errorContainer {
  84. position: absolute;
  85. top: 0;
  86. left: 0;
  87. width: 100%;
  88. height: 100%;
  89. @include theming(background-color, ui-02);
  90. @include theming(color, text-01);
  91. &[dir="rtl"] {
  92. left: auto;
  93. right: 0;
  94. }
  95. }
  96. .avatarContainer {
  97. position: absolute;
  98. top: 0;
  99. bottom: 0;
  100. left: 0;
  101. right: 0;
  102. overflow:hidden;
  103. }