Skip to content

Commit 86efc04

Browse files
Bård ØienBård Øien
Bård Øien
authored and
Bård Øien
committed
Make state inspector types easier to notice
1 parent 5d72aea commit 86efc04

File tree

1 file changed

+25
-15
lines changed

1 file changed

+25
-15
lines changed

src/devtools/components/StateInspector.vue

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -61,24 +61,34 @@ export default {
6161
</script>
6262

6363
<style lang="stylus">
64-
.data-wrapper
65-
display flex
66-
flex-wrap wrap
67-
padding-top 20px
64+
@import "../variables"
6865
69-
.data-fields
70-
padding 20px 20px 40px
66+
.data-wrapper
67+
padding 10px 0 20px 0
68+
background darken($white, 10%)
7169
72-
.data-el
73-
padding 0px 10px
74-
flex 1 0 33.33%
75-
font-size 14px
70+
.app.dark &
71+
background $slate
7672
77-
.data-type
78-
color #486887
79-
padding-left 20px
80-
margin-bottom -10px
73+
.data-fields
74+
padding 20px
75+
background #fff
76+
border-bottom-left-radius 3px
77+
border-bottom-right-radius 3px
8178
8279
.app.dark &
83-
color lighten(#486887, 30%)
80+
border 1px solid $green
81+
background transparent
82+
83+
.data-el
84+
margin-bottom 10px
85+
padding 0px 10px
86+
font-size 14px
87+
88+
.data-type
89+
color $white
90+
background: $green
91+
padding 5px 10px 5px 20px
92+
border-top-left-radius 3px
93+
border-top-right-radius 3px
8494
</style>

0 commit comments

Comments
 (0)