diff --git a/public_html/css/header.css b/public_html/css/header.css
index 431f342..1fb17ab 100644
--- a/public_html/css/header.css
+++ b/public_html/css/header.css
@@ -15,6 +15,12 @@
/* background-color: rgba(0,0,0,.7); */
color: #fff;
+
+ overflow: hidden;
+
+ cursor: pointer;
+
+ transition: all .2s ease-in-out;
}
/* Header Icon > Title */
@@ -136,4 +142,15 @@
#header-notif .hnotif[data-count='']:before,
#header-notif .hnotif[data-count='0']:before{
display: none;
+}
+
+
+
+
+/****************************/
+
+/* Minified Header */
+#WRAPPER.min #HEADER #header-icon{
+ width: calc( 3.5em - 3em );
+ background-position: center center;
}
\ No newline at end of file
diff --git a/public_html/css/layout.css b/public_html/css/layout.css
index 033fae9..ab8b7b5 100644
--- a/public_html/css/layout.css
+++ b/public_html/css/layout.css
@@ -68,4 +68,6 @@ body{
flex-direction: column;
justify-content: flex-start;
flex-wrap: nowrap;
+
+ transition: width .2s ease-in-out;
}
\ No newline at end of file
diff --git a/public_html/css/menu.css b/public_html/css/menu.css
index 6ac3fbf..72036f5 100644
--- a/public_html/css/menu.css
+++ b/public_html/css/menu.css
@@ -34,8 +34,8 @@
cursor: pointer;
- transition: background-color .2s ease-in-out,
- color .2s ease-in-out;
+ transition: background-color .1s ease-in-out,
+ color .2s ease-in-out;
}
#MENU .menu-item:hover,
@@ -47,3 +47,14 @@
/****************************/
+
+/* Minified Menu */
+#WRAPPER.min #MENU{
+ width: calc( 3.5em - 1px );
+}
+
+
+#WRAPPER.min #MENU .menu-item-wrapper .menu-item{
+ background-position: center center;
+ background-size: 50%;
+}
\ No newline at end of file
diff --git a/view/main.js b/view/main.js
index 81b12ad..39e92c8 100755
--- a/view/main.js
+++ b/view/main.js
@@ -33,7 +33,6 @@ new Vue({
})
-
/* (3) Set WebSocket channels
---------------------------------------------------------*/
/* (1) Connection channel */
@@ -77,4 +76,6 @@ window.wsc_chat = window.wsc.channel('chat').listen(function(msg, err){
// {3} Manage notification //
window.gstore.data.notif[1].data = window.gstore.data.notif[1].data.concat( msg.msg );
-}).send({name: window._SERVER.session.name});
\ No newline at end of file
+}).send({name: window._SERVER.session.name});
+
+
diff --git a/view/vue-config.js b/view/vue-config.js
index 14f115d..d4a6446 100644
--- a/view/vue-config.js
+++ b/view/vue-config.js
@@ -29,4 +29,11 @@ window.gstore.add('menu_item', {
icon: 'messages'
}
});
-window.gstore.add('menu_item_active', 'dashboard');
\ No newline at end of file
+window.gstore.add('menu_item_active', 'dashboard');
+window.gstore.add('min_menu', true);
+
+
+// Functions
+window.gstore.add('func', {
+ toggleMenuSize: function(){ window.gstore.data.min_menu=!window.gstore.data.min_menu; }
+});
\ No newline at end of file
diff --git a/view/vue/header.vue b/view/vue/header.vue
index d920e25..d5215ff 100644
--- a/view/vue/header.vue
+++ b/view/vue/header.vue
@@ -1,6 +1,6 @@
-