mirror of
https://github.com/penpot/penpot.git
synced 2025-02-05 05:49:07 -05:00
124 lines
1.9 KiB
SCSS
124 lines
1.9 KiB
SCSS
// 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 <niwi@niwi.nz>
|
|
// Copyright (c) 2015-2016 Juan de la Cruz <delacruzgarciajuan@gmail.com>
|
|
|
|
.main-bar {
|
|
align-items: center;
|
|
background-color: $primary-ui-bg;
|
|
display: flex;
|
|
height: 40px;
|
|
padding: $x-small $medium;
|
|
position: relative;
|
|
z-index: 10;
|
|
|
|
.main-logo {
|
|
padding-top: $x-small;
|
|
|
|
svg {
|
|
fill: $intense-ui-icons;
|
|
height: 30px;
|
|
width: 100px;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.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: $soft-ui-text;
|
|
margin: $x-small $big;
|
|
|
|
&:hover {
|
|
border-color: $main-ui-color;
|
|
}
|
|
|
|
}
|
|
|
|
&.current {
|
|
|
|
a {
|
|
border-color: $main-ui-color;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.user-zone {
|
|
align-items: center;
|
|
cursor: pointer;
|
|
display: flex;
|
|
margin-left: auto;
|
|
position: relative;
|
|
|
|
span {
|
|
color: $medium-ui-text;
|
|
margin: $small;
|
|
}
|
|
|
|
img {
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
height: 25px;
|
|
width: 25px;
|
|
}
|
|
|
|
.dropdown {
|
|
background-color: $color-white;
|
|
border-radius: $br-small;
|
|
border: 1px solid $color-gray-10;
|
|
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-40;
|
|
height: 12px;
|
|
width: 12px;
|
|
}
|
|
|
|
span {
|
|
color: $color-gray-40;
|
|
}
|
|
|
|
&:hover {
|
|
|
|
span {
|
|
color: $intense-ui-text;
|
|
}
|
|
|
|
svg {
|
|
fill: $intense-ui-text;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|