app.less 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. @import "bpmn-js-properties-panel/styles/properties";
  2. * {
  3. box-sizing: border-box;
  4. }
  5. body,
  6. html {
  7. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  8. font-size: 12px;
  9. height: 100%;
  10. max-height: 100%;
  11. padding: 0;
  12. margin: 0;
  13. }
  14. a:link {
  15. text-decoration: none;
  16. }
  17. .content {
  18. position: relative;
  19. width: 100%;
  20. height: 100%;
  21. > .message {
  22. width: 100%;
  23. height: 100%;
  24. text-align: center;
  25. display: table;
  26. font-size: 16px;
  27. color: #111;
  28. .note {
  29. vertical-align: middle;
  30. text-align: center;
  31. display: table-cell;
  32. }
  33. &.error {
  34. .details {
  35. max-width: 500px;
  36. font-size: 12px;
  37. margin: 20px auto;
  38. text-align: left;
  39. color: #BD2828;
  40. }
  41. pre {
  42. border: solid 1px #BD2828;
  43. background: #fefafa;
  44. padding: 10px;
  45. color: #BD2828;
  46. }
  47. }
  48. }
  49. &:not(.with-error) .error,
  50. &.with-error .intro,
  51. &.with-diagram .intro {
  52. display: none;
  53. }
  54. .canvas {
  55. position: absolute;
  56. top: 0;
  57. left: 0;
  58. right: 0;
  59. bottom: 0;
  60. }
  61. .canvas,
  62. .properties-panel-parent {
  63. display: none;
  64. }
  65. &.with-diagram {
  66. .canvas,
  67. .properties-panel-parent {
  68. display: block;
  69. }
  70. }
  71. }
  72. .buttons {
  73. position: fixed;
  74. bottom: 20px;
  75. left: 20px;
  76. padding: 0;
  77. margin: 0;
  78. list-style: none;
  79. > li {
  80. display: inline-block;
  81. margin-right: 10px;
  82. > a {
  83. background: #DDD;
  84. border: solid 1px #666;
  85. display: inline-block;
  86. padding: 5px;
  87. }
  88. }
  89. a {
  90. opacity: 0.3;
  91. }
  92. a.active {
  93. opacity: 1.0;
  94. }
  95. }
  96. .properties-panel-parent {
  97. position: absolute;
  98. top: 0;
  99. bottom: 0;
  100. right: 0;
  101. width: 260px;
  102. z-index: 10;
  103. border-left: 1px solid #ccc;
  104. overflow: auto;
  105. &:empty {
  106. display: none;
  107. }
  108. > .djs-properties-panel {
  109. padding-bottom: 70px;
  110. min-height:100%;
  111. }
  112. }