topbottomDialog.scss 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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. .popoverTBDialogContainer {
  10. font-weight: $fw-regular;
  11. font-style: normal;
  12. @include theming(color, interactive-02);
  13. @include theming(background-color, ui-background);
  14. .content {
  15. width: 100%;
  16. @include theming(background-color, ui-01);
  17. height: 100%;
  18. }
  19. .selectWrapper {
  20. position: relative;
  21. margin: 0 10px;
  22. height: 42px;
  23. overflow: hidden;
  24. vertical-align: middle;
  25. .carrotDown {
  26. position: absolute;
  27. top: 0;
  28. padding-top: 10px;
  29. right: 10px;
  30. pointer-events: none;
  31. @include theming(color, interactive-01);
  32. &[dir="rtl"] {
  33. right: auto;
  34. left: 10px;
  35. }
  36. }
  37. select {
  38. width: 100%;
  39. outline-width: initial;
  40. background: transparent;
  41. font-weight: $fw-regular;
  42. padding: 10px;
  43. border: 0;
  44. border-radius: 0;
  45. @include theming(color, interactive-01);
  46. -webkit-appearance: none;
  47. -moz-appearance: none;
  48. &::-ms-expand {
  49. display: none; //Select removing native dropdown arrow on IE 10+
  50. }
  51. }
  52. }
  53. }
  54. html.chrome .popoverDialogContainer .selectWrapper .carrotDown {
  55. padding-top: 12px;
  56. }
  57. .topbottomDialog {
  58. overflow: hidden;
  59. height: auto !important;
  60. .content {
  61. border-top: 1px solid;
  62. @include theming(border-top-color, ui-03);
  63. height: auto;
  64. .selectionRow {
  65. display: flex;
  66. flex-direction: row;
  67. margin-top: 10px;
  68. text-align: left;
  69. &[dir="rtl"] {
  70. text-align: right;
  71. }
  72. &:last-child {
  73. margin-bottom: 10px;
  74. }
  75. .selectionlabel {
  76. flex: 1 30%;
  77. margin: 0 16px 0 0;
  78. height: 40px;
  79. padding: 10px 0 0 10px;
  80. &[dir="rtl"] {
  81. padding: 10px 10px 0 0px;
  82. }
  83. .selectionlabelDesc {
  84. font-size: $caption-size;
  85. @include theming(color, text-02);
  86. }
  87. }
  88. input[name="topbottomValue"] {
  89. margin-right: 10px;
  90. text-align: center;
  91. width: 4em;
  92. &[dir="rtl"] {
  93. margin-right: 0px;
  94. margin-left: 10px;
  95. }
  96. }
  97. .topbottomRank {
  98. flex: 1;
  99. }
  100. .selectWrapper {
  101. flex: auto;
  102. margin: 0 10px 0 0;
  103. min-width: 60%;
  104. &[dir="rtl"] {
  105. margin: 0 0px 0 10px;
  106. }
  107. }
  108. .rankcheckboxlabel {
  109. flex: 1 80%;
  110. margin: 0 5px 0 0;
  111. height: 42px;
  112. padding: 10px 0 0 10px;
  113. &[dir="rtl"] {
  114. margin: 0 0px 0 5px;
  115. padding: 10px 10px 0 0px;
  116. }
  117. }
  118. .inputHolder {
  119. @include theming(background-color, ui-background);
  120. display: flex;
  121. align-items: center;
  122. >input[type='text'] {
  123. flex: auto;
  124. height: 100%;
  125. margin-right: 8px;
  126. border: none;
  127. background: none;
  128. font-weight: $fw-regular;
  129. @include theming(color, text-02);
  130. -webkit-appearance: none;
  131. -moz-appearance: none;
  132. overflow: hidden;
  133. text-overflow: ellipsis;
  134. white-space: nowrap;
  135. &[dir="rtl"] {
  136. margin-right: 0px;
  137. margin-left: 8px;
  138. }
  139. &:focus {
  140. outline: none;
  141. } // not display the clear button of a text input control on IE 10+
  142. &::-ms-clear {
  143. display: none;
  144. }
  145. &::placeholder { // set explicitly for IE
  146. font-weight: $fw-light;
  147. }
  148. }
  149. >svg {
  150. flex: none;
  151. height: 16px;
  152. width: 16px;
  153. cursor: default;
  154. @include theming(fill, icon-01);
  155. margin: 0px 8px;
  156. }
  157. }
  158. }
  159. .selectionRadio {
  160. display: flex;
  161. flex-direction: column;
  162. padding: 0 10px;
  163. input {
  164. margin: 10px 10px 10px 0;
  165. &[dir="rtl"] {
  166. margin: 10px 0px 10px 10px;
  167. }
  168. }
  169. }
  170. .selectionRow.searchByColumn .selectionlabel {
  171. align-self: center;
  172. overflow: hidden;
  173. text-overflow: ellipsis;
  174. white-space: nowrap;
  175. flex: 0 1 auto;
  176. height: auto;
  177. padding: 0 0 0 10px;
  178. &[dir="rtl"] {
  179. padding: 0 10px 0 0px;
  180. }
  181. }
  182. .selectionRow.buttonRow {
  183. justify-content: flex-end;
  184. padding: 0 10px;
  185. }
  186. }
  187. }
  188. .ui-autocomplete.ui-menu.ui-front {
  189. z-index: $popoverZIndex + 1; //need to be higher than the popover z-index
  190. &.ui-widget.ui-widget-content {
  191. overflow-y: auto;
  192. max-height: 200px;
  193. font-family: $font-family;
  194. }
  195. }
  196. .autoCompleteInput.ui-state-active a, .autoCompleteInput.ui-state-active a:link, .autoCompleteInput.ui-state-active a:visited {
  197. @include theming(color, ui-01);
  198. }