transformer.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. .msp-transformer {
  2. .msp-entity-badge {
  3. position: absolute;
  4. top: 0;
  5. right: 0;
  6. height: $row-height;
  7. line-height: $row-height;
  8. width: $row-height;
  9. }
  10. }
  11. .msp-layout-right {
  12. background: $control-background;
  13. }
  14. .msp-transformer-wrapper {
  15. position: relative;
  16. }
  17. .msp-transformer-wrapper {
  18. .msp-entity-badge {
  19. left: 0;
  20. top: 0;
  21. }
  22. &:first-child {
  23. .msp-panel-description-content {
  24. top: $row-height + 1;
  25. }
  26. }
  27. &:not(:first-child) {
  28. .msp-panel-description-content {
  29. bottom: $row-height + 1;
  30. }
  31. }
  32. }
  33. .msp-transform-wrapper {
  34. margin-bottom: $control-spacing;
  35. }
  36. .msp-transform-header {
  37. position: relative;
  38. // border-top: 1px solid $entity-color-Behaviour; // TODO: separate color
  39. > button {
  40. text-align: left;
  41. padding-left: $row-height;
  42. background: $control-background; // color-lower-contrast($default-background, 4%);
  43. font-weight: bold;
  44. }
  45. > button:hover {
  46. color: color-lower-contrast($font-color, 15%);
  47. }
  48. }
  49. .msp-transform-default-params {
  50. position: absolute;
  51. right: 0;
  52. top: 0;
  53. }
  54. .msp-transform-default-params:hover {
  55. background: color-lower-contrast($default-background, 20%);
  56. }
  57. .msp-transform-apply-wrap {
  58. position: relative;
  59. margin-top: 1px;
  60. width: 100%;
  61. }
  62. .msp-transform-refresh {
  63. width: $control-label-width + $control-spacing;
  64. background: $default-background;
  65. text-align: right;
  66. }
  67. .msp-transform-apply {
  68. display: block;
  69. position: absolute;
  70. left: $control-label-width + $control-spacing;
  71. right: 0;
  72. top: 0;
  73. }
  74. .msp-data-beh {
  75. margin: $control-spacing 0 !important;
  76. }