diff --git a/client/src/views/Main.vue b/client/src/views/Main.vue index 29e18b1..b58b48b 100644 --- a/client/src/views/Main.vue +++ b/client/src/views/Main.vue @@ -61,12 +61,15 @@ -
- - Show Device Detector response - - +
+
+ + + +

raw data

+
+
@@ -196,4 +199,38 @@ export default Vue.extend({ top: 10px; width: 20px; } + + #detailsBox { + padding: 0; + + .collapseButton { + padding: 20px; + cursor: pointer; + svg { + position: absolute; + transform: rotate(90deg); + transition: transform .3s; + } + + &:hover, &:focus, &.open { + svg { + transform: rotate(180deg); + } + } + } + + h3 { + text-align: center; + margin: 0; + font-weight: 400; + } + + } + + .collapseContent { + border-top: 1px solid #ddd; + pre { + padding: 20px; + } + }