-
-
-
-
+
@@ -47,6 +74,9 @@ import axios from 'axios'
// Import basic UIkit
import UIkit from 'uikit';
+// Import components
+import tabIcon from './components/tabIcon.vue'
+
// Import components
import paneConnect from './components/paneConnect.vue'
import paneNavigate from './components/paneNavigate.vue'
@@ -62,6 +92,7 @@ export default {
name: 'app',
components: {
+ tabIcon,
streamDisplay,
galleryDisplay,
paneConnect,
@@ -119,13 +150,16 @@ export default {
},
methods: {
- setTab: function(tabName) {
- if (this.currentTab == tabName) {
+ setTab: function(event, tab) {
+ console.log(event)
+ console.log(tab)
+ if (this.currentTab == tab) {
this.showControlBar = !this.showControlBar
+ this.currentTab = 'none'
}
else {
this.showControlBar = true
- this.currentTab = tabName
+ this.currentTab = tab
}
},
@@ -187,22 +221,25 @@ body, html {
.uk-tab {
padding-left: 0;
}
-.panel-content {
+#component-left {
width: 300px;
- overflow: auto;
}
-#panelLeft {
+#container-left {
+ overflow: hidden auto;
+}
+
+#container-left, #switcher-left {
border-width: 0 1px 0 0;
border-style: solid;
border-color: rgba(180, 180, 180, 0.25)
}
-#component-switcher-left a{
+#switcher-left a{
padding: 12px 20px;
}
-#component-switcher-left{
+#switcher-left{
background-color: rgba(180, 180, 180, 0.1);
}
diff --git a/src/assets/less/theme.less b/src/assets/less/theme.less
index 4384f188..f9ec1d7b 100644
--- a/src/assets/less/theme.less
+++ b/src/assets/less/theme.less
@@ -307,13 +307,13 @@ body { overflow: hidden; }
/*
* Button and link
*/
- .uk-link:hover, a:hover {
+.uk-link:hover, a:hover {
color: @global-button-background;
- }
+}
- .uk-button {
+.uk-button {
border-radius: 2px;
- }
+}
.tm-button-default,
.tm-button-primary { border-radius: 500px; }
diff --git a/src/components/tabIcon.vue b/src/components/tabIcon.vue
new file mode 100644
index 00000000..0824d97f
--- /dev/null
+++ b/src/components/tabIcon.vue
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file