mockaton 7.5.0 → 7.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Dashboard.css +10 -8
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "mockaton",
3
3
  "description": "A deterministic server-side for developing and testing frontend clients",
4
4
  "type": "module",
5
- "version": "7.5.0",
5
+ "version": "7.5.1",
6
6
  "main": "index.js",
7
7
  "types": "index.d.ts",
8
8
  "license": "MIT",
package/src/Dashboard.css CHANGED
@@ -7,10 +7,10 @@
7
7
  --color4xxBackground: #ffedd1;
8
8
  --colorAccent: #1e88e5;
9
9
  --colorBackground: #fff;
10
+ --colorHeaderBackground: #eee;
10
11
  --colorComboBoxBackground: #fafafa;
11
12
  --colorComboBoxHeaderBackground: #fff;
12
13
  --colorDisabled: #222;
13
- --colorHeaderBackground: #fff;
14
14
  --colorHover: #dfefff;
15
15
  --colorLabel: #666;
16
16
  --colorLightRed: #ffe4ee;
@@ -24,10 +24,10 @@
24
24
  --color4xxBackground: #403630;
25
25
  --colorAccent: #1f91ff;
26
26
  --colorBackground: #161616;
27
+ --colorHeaderBackground: #090909;
27
28
  --colorComboBoxBackground: #252525;
28
29
  --colorComboBoxHeaderBackground: #222;
29
30
  --colorDisabled: #aaa;
30
- --colorHeaderBackground: #141414;
31
31
  --colorHover: #023661;
32
32
  --colorLabel: #aaa;
33
33
  --colorLightRed: #ffe4ee;
@@ -55,6 +55,7 @@ body {
55
55
  }
56
56
 
57
57
  select {
58
+ font-size: 100%;
58
59
  background: var(--colorComboBoxBackground);
59
60
  color: var(--colorText);
60
61
  cursor: pointer;
@@ -83,12 +84,14 @@ menu {
83
84
  display: flex;
84
85
  width: 100%;
85
86
  align-items: flex-end;
86
- padding: 16px 16px;
87
+ padding: 20px 16px;
87
88
  background: var(--colorHeaderBackground);
89
+ box-shadow: var(--boxShadow1);
88
90
  gap: 16px;
89
91
 
90
92
  img {
91
93
  width: 140px;
94
+ align-self: center;
92
95
  margin-right: 75px;
93
96
  }
94
97
 
@@ -135,7 +138,7 @@ menu {
135
138
  main {
136
139
  display: flex;
137
140
  align-items: flex-start;
138
- margin-top: 56px;
141
+ margin-top: 64px;
139
142
 
140
143
  > table {
141
144
  border-collapse: collapse;
@@ -155,7 +158,7 @@ main {
155
158
 
156
159
  .PayloadViewer {
157
160
  position: sticky;
158
- top: 60px;
161
+ top: 72px;
159
162
  width: 50%;
160
163
  margin-left: 20px;
161
164
 
@@ -165,9 +168,8 @@ main {
165
168
 
166
169
  pre {
167
170
  overflow: auto;
168
- max-height: calc(100vh - 160px);
169
- padding: 12px;
170
- padding-left: 0;
171
+ max-height: calc(100vh - 72px);
172
+ padding-top: 12px;
171
173
 
172
174
  code {
173
175
  white-space: pre;