mirror of
https://github.com/penpot/penpot.git
synced 2025-01-25 16:09:17 -05:00
154 lines
2.5 KiB
SCSS
154 lines
2.5 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: $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-dashboard {
|
|
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;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
}
|