Skip to content

Commit c64b462

Browse files
authored
Merge branch 'master' into add-routing-tab
2 parents 8971b85 + 2ade912 commit c64b462

File tree

2 files changed

+42
-1
lines changed

2 files changed

+42
-1
lines changed

src/devtools/components/SplitPane.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
:class="{ dragging: dragging }">
77
<div class="left" :style="{ width: split + '%' }">
88
<slot name="left"></slot>
9-
<div class="dragger" @mousedown="dragStart">
9+
<div class="dragger" @mousedown.prevent="dragStart">
1010
</div>
1111
</div>
1212
<div class="right" :style="{ width: (100 - split) + '%' }">

src/devtools/views/events/EventsHistory.vue

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,45 @@ export default {
7676

7777
<style lang="stylus" scoped>
7878
@import "../../common"
79+
.no-events
80+
color #ccc
81+
text-align center
82+
margin-top 50px
83+
line-height 30px
84+
85+
.entry
86+
position relative;
87+
font-family Menlo, Consolas, monospace
88+
color #881391
89+
cursor pointer
90+
padding 10px 20px
91+
font-size 12px
92+
background-color $background-color
93+
box-shadow 0 1px 5px rgba(0,0,0,.12)
94+
.event-name
95+
font-weight 600
96+
.event-source
97+
color #999
98+
.component-name
99+
color $component-color
100+
.event-type
101+
color #999
102+
margin-left 8px
103+
&.active
104+
color #fff
105+
background-color $active-color
106+
.time, .event-type, .component-name
107+
color lighten($active-color, 75%)
108+
.event-name
109+
color: #fff
110+
.event-source
111+
color #ddd
112+
.app.dark &
113+
background-color $dark-background-color
114+
115+
.time
116+
font-size 11px
117+
color #999
118+
float right
119+
margin-top 3px
79120
</style>

0 commit comments

Comments
 (0)