0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-30 19:00:10 -05:00
penpot/frontend/resources/styles/main/partials/dashboard-header.scss
2021-06-15 11:34:39 +02:00

121 lines
2 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) UXBOX Labs SL
.dashboard-header {
align-items: center;
background-color: $color-white;
display: flex;
height: 63px;
padding: $x-small $medium $x-small $small;
position: relative;
z-index: 10;
justify-content: space-between;
.element-name {
margin-right: $small;
}
.btn-secondary {
flex-shrink: 0;
z-index: 10;
height: 32px;
}
svg {
fill: $color-black;
height: 14px;
margin-right: $x-small;
width: 14px;
}
nav {
display: flex;
width: 300px;
justify-content: center;
z-index: 1;
margin-top: 39px;
ul {
display: flex;
align-items: center;
font-size: $fs15;
justify-content: center;
}
li {
a {
align-items: center;
border-bottom: 3px solid transparent;
color: $color-gray-30;
display: flex;
height: 40px;
padding: $x-small $big;
flex-basis: 140px;
&:hover {
color: $color-black;
}
}
&.active {
a {
color: $color-black;
border-color: $color-primary;
}
}
}
}
.dashboard-title {
display: flex;
h1 {
color: $color-black;
display: flex;
flex-shrink: 0;
font-size: $fs18;
font-weight: 600;
z-index: 10;
}
.context-menu.is-open {
margin-top: 10px;
}
}
.icon {
display: flex;
align-items: center;
cursor: pointer;
margin-left: $small;
z-index: 10;
svg {
fill: $color-gray-40;
width: 15px;
height: 15px;
&:hover {
fill: $color-primary-dark;
}
}
}
.dashboard-header-actions {
display: flex;
}
.pin-icon {
margin: 0 $small 0 $big;
svg {
fill: $color-gray-20;
}
&.active {
svg { fill: $color-gray-50; }
}
}
}