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