// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. // // Copyright (c) 2015-2016 Andrey Antukh // Copyright (c) 2015-2016 Juan de la Cruz .main-bar { align-items: center; background-color: $color-white; border-bottom: 1px solid $color-gray-10; display: flex; height: 40px; padding: $x-small $small; padding-left: $x-big; position: relative; z-index: 10; .element-name { margin-right: $small; } .btn-secondary { flex-shrink: 0; margin-left: auto; } svg { fill: $color-black; height: 14px; margin-right: $x-small; width: 14px; } } .main-logo { border-right: 1px solid $color-gray-10; border-bottom: 1px solid $color-gray-10; text-align: center; padding-top: $x-small; svg { fill: $color-black; height: 30px; width: 30px; } } .main-nav { align-items: center; display: flex; font-size: $fs15; height: 35px; margin: 0 0 0 120px; li { a { border-bottom: 2px solid transparent; color: $color-gray-10; margin: $x-small $big; &:hover { border-color: $color-primary; } } &.current { a { border-color: $color-primary; } } } } .dashboard-title { color: $color-black; display: flex; font-size: $fs15; } .main-bar-icon { cursor: pointer; margin-left: $small; svg { fill: $color-gray-40; width: 10px; &:hover { fill: $color-primary-dark; } } } .user-zone { align-items: center; border-right: 1px solid $color-gray-10; border-bottom: 1px solid $color-gray-10; cursor: pointer; display: flex; padding: 0 $x-small 0 $small; position: relative; width: 180px; span { @include text-ellipsis; color: $color-black; margin: $small; font-size: $fs12; } img { border-radius: 50%; flex-shrink: 0; height: 25px; width: 25px; } ul.profile-menu { position: absolute; top: 0; left: 0; z-index: 12; width: 180px; background-color: $color-gray-60; border-radius: $br-small; padding: 0 $small; @include animation(0,.2s,fadeInDown); li { font-size: $fs13; padding: $small 0; svg { fill: $color-gray-20; height: 12px; width: 12px; } span { color: $color-white; } &:hover { span { color: $color-primary; } svg { fill: $color-primary; } } } } }