diff --git a/src/components/sidebar.vue b/src/components/sidebar.vue index b8af8ce..a98f129 100644 --- a/src/components/sidebar.vue +++ b/src/components/sidebar.vue @@ -14,27 +14,6 @@ - - -
- -
-
Hans Zimmer
Administrator
-
-
-
- -
-
@@ -155,54 +134,6 @@ } } - /*-------------------------------------------------------------- - # Left Sidebar (User Profile) - --------------------------------------------------------------*/ - .user_profile { - position:fixed; bottom:0px; left:0px; right:0px; cursor:pointer; width:230px; - &>.trigger { - .clearfix(); - display:block; - - // a {display:block; width:100%; height:100%;} - - .image {float:left; width:45px; height:45px; padding-top:7px; text-align:center;} - .image .icon {font-size:22px; color:#FFF;} - .image img {width:70%; margin:0 auto; display:block;} - - .text {float:left; line-height:1; color:#FFF; font-size:14px; padding-left:15px; padding-top: 9px;} - .text .role {font-size:12px; color:rgba(255,255,255,0.5); display:block; margin-top:0px;} - - &:hover {background:rgba(40,183,141,0.3);} - - .btn {position:absolute; right:0px; top:0px; width:auto; height:auto; padding-top:12px; padding-right:20px;} - .btn .icon {color:#FFF; font-size:18px; transition:all 0.3s;} - } - - &>.content { - display:none; color:#FFF; padding-bottom:30px; - - ul{ - list-style-type: none; - - li{ - padding:0px; line-height:1.2; color:#FFF; position:relative; - .icon {color:#FFF; font-size:20px; text-align:center; position:relative; left:0; float:left; height:45px; width:45px; line-height:45px;} - .navigation_text {position:relative; font-size:14px; display:block; color:#FFF; text-align:left; float:left; padding:0px 10px 0px 15px; width:180px; line-height:45px;} - a {color:#FFF; display:block; height:45px;} - &:after {clear:both; content:""; display:block;} - &:hover {background:rgba(40,183,141,0.3);} - } - } - } - - &.open { - background:rgba(40,183,141,0.3); - &>.trigger{background:rgba(40,183,141,0.5);} - .icon-arrow-up{transform: rotate(180deg);} - } - } - @media(max-width: @screen-xs-max) { .sidebar { left:inherit; position:relative; width:100%; top:0px; margin-bottom:30px; diff --git a/src/components/topbar.vue b/src/components/topbar.vue index 8af8a22..3dac660 100644 --- a/src/components/topbar.vue +++ b/src/components/topbar.vue @@ -2,12 +2,49 @@
Meine Website
+ + +
+ +
+
Hans Zimmer
Administrator
+
+
+ +
+ + - \ No newline at end of file + .icon{ + font-size: 22px; + } + + .image, .text, .trigger_btn{ + float: left; + } + + div+div{ + margin-left: 10px; + } + + .image { + max-height: @barHeight - 8px; + img{ + width:70%; margin:0 auto; display:block; + } + } + + .text { + font-size: 12px; + + .role{ + display: block; + font-size: 11px; + color: fade(white, 50%); + } + } + } + + .user_menu { + display: none; + background: @cms_brand_primary; + + ul{ + list-style-type: none; + + li{ + .icon { + float:left; + width: 45px; + line-height:45px; + text-align: center; + font-size: 20px; + } + .title { + float: left; + font-size: 14px; + line-height: 45px; + padding: 0 10px; + } + a {color:#FFF; display:block; height:45px;} + &:after {clear:both; content:""; display:block;} + &:hover {background:rgba(40,183,141,0.3);} + } + } + } + + &.open { + .user_menu{display: block;} + &>.trigger{background: rgba(40, 183, 141, 0.5);} + .trigger_btn .icon:before{transform: rotate(180deg);} + } + } + \ No newline at end of file