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

109 lines
1.9 KiB
SCSS
Raw Normal View History

// 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/.
//
// This Source Code Form is "Incompatible With Secondary Licenses", as
// defined by the Mozilla Public License, v. 2.0.
//
// Copyright (c) 2020 UXBOX Labs SL
.dashboard-header {
align-items: center;
background-color: $color-white;
display: flex;
height: 63px;
padding: $x-small $small;
position: relative;
z-index: 10;
2020-10-05 18:20:39 +02:00
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 {
2020-10-05 18:20:39 +02:00
display: flex;
width: 300px;
justify-content: center;
z-index: 1;
margin-top: 39px;
ul {
display: flex;
2020-10-05 18:20:39 +02:00
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;
}
}
2020-10-05 18:20:39 +02:00
&.active {
a {
color: $color-black;
border-color: $color-primary;
}
}
}
}
.dashboard-title {
display: flex;
2020-10-05 18:20:39 +02:00
h1 {
color: $color-black;
display: flex;
flex-shrink: 0;
font-size: $fs18;
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;
}
}
}
}