// 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; position: relative; z-index: 10; .main-logo { border-right: 1px solid $color-gray-10; padding-right: $small; padding-top: $x-small; svg { fill: $color-black; height: 30px; width: 30px; } } .btn-dashboard { margin-left: auto; } } .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; font-size: $fs15; font-weight: normal; margin: 0 $x-big; } .user-zone { align-items: center; border-right: 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; } .dropdown { background-color: $color-gray-60; border-radius: $br-small; min-width: 150px; padding: 0 $small; position: absolute; top: 0; right: 0; width: 100%; z-index: 12; @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; } } } } }