mirror of
https://github.com/penpot/penpot.git
synced 2025-01-31 03:09:19 -05:00
118 lines
2.1 KiB
SCSS
118 lines
2.1 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/.
|
|
//
|
|
// 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 $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;
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
|
|
.pin-icon {
|
|
svg {
|
|
fill: $color-gray-20;
|
|
}
|
|
|
|
&.active {
|
|
svg { fill: $color-gray-50; }
|
|
}
|
|
}
|
|
}
|