Dev: Catch event listeners

This commit is contained in:
surunzi
2016-05-20 20:28:39 +08:00
parent 5f96530189
commit 1a9de88660
7 changed files with 176 additions and 3 deletions

View File

@@ -80,7 +80,7 @@
background: #fff;
font-size: 12px;
.style-wrapper {
padding: 10px;
padding: $common-padding;
.style-rules {
box-shadow: $box-shadow;
border: 1px solid $gray;
@@ -99,6 +99,33 @@
}
}
}
.listeners {
background: #fff;
font-size: 12px;
.listener-wrapper {
padding: $common-padding;
.listener {
box-shadow: $box-shadow;
margin-bottom: 10px;
background: #fff;
.listener-type {
padding: $common-padding;
background: $blue;
color: #fff;
}
.listener-content li {
padding: $common-padding;
border: 1px solid $gray;
border-top: none;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
&.capture {
background: $gray-light;
}
}
}
}
}
.bottom-bar {
height: 40px;
background: #fff;