File tree Expand file tree Collapse file tree 1 file changed +31
-21
lines changed Expand file tree Collapse file tree 1 file changed +31
-21
lines changed Original file line number Diff line number Diff line change 11
11
<span class =" key" >{{ field.key }}</span >
12
12
<span class =" colon" >:</span >
13
13
<span class =" value" :class =" valueType" >{{ formattedValue }}</span >
14
+
15
+ <div class =" meta" v-if =" field.meta" >
16
+ <div class =" meta-field" v-for =" (val, key) in field.meta" >
17
+ <span class =" key" >{{ key }}</span >
18
+ <span class =" value" >{{ val }}</span >
19
+ </div >
20
+ </div >
14
21
</div >
15
22
<div class =" children" v-if =" expanded && isExpandableType" >
16
23
<data-field
@@ -157,6 +164,7 @@ export default {
157
164
color #9 9 9
158
165
& .literal
159
166
color #00 33 cc
167
+
160
168
.type
161
169
color $background-color
162
170
padding 3px 6px
@@ -169,10 +177,6 @@ export default {
169
177
background-color #e e e
170
178
& .prop
171
179
background-color #96 af dd
172
- & :hover
173
- cursor pointer
174
- .meta
175
- display block
176
180
& .computed
177
181
background-color #af 90 d5
178
182
& .vuex-getter
@@ -181,25 +185,31 @@ export default {
181
185
background-color #ff cc 00
182
186
& .observable
183
187
background-color #ff 99 99
188
+
189
+ .meta
190
+ display none
191
+ position absolute
192
+ z-index 999
193
+ font-size 11px
194
+ color #4 4 4
195
+ top 0
196
+ right calc (100% + 10px )
197
+ width 170px
198
+ border 1px solid #e3 e3 e3
199
+ border-radius 3px
200
+ padding 8px 12px
201
+ background-color $background-color
202
+ line-height 16px
203
+ box-shadow 0 2px 12px rgba (0 ,0 ,0 ,.1 )
204
+ .key
205
+ width 90px
206
+ .meta-field
207
+ display block
208
+ & :hover
209
+ cursor pointer
184
210
.meta
185
- display none
186
- position absolute
187
- z-index 999
188
- font-size 11px
189
- color #4 4 4
190
- top 0
191
- left calc (100% + 4px )
192
- width 170px
193
- border 1px solid #e3 e3 e3
194
- border-radius 3px
195
- padding 8px 12px
196
- background-color $background-color
197
- line-height 16px
198
- box-shadow 0 2px 12px rgba (0 ,0 ,0 ,.1 )
199
- .key
200
- width 90px
201
- .meta-field
202
211
display block
212
+
203
213
.app.dark &
204
214
.key
205
215
color : #e3 6e ec
You can’t perform that action at this time.
0 commit comments