0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-07 14:58:38 -05:00
penpot/resources/public/styles/partials/main-bar.scss
2015-12-30 00:19:47 +02:00

113 lines
1.5 KiB
SCSS

.main-bar {
align-items: center;
background-color: $color-gray;
display: flex;
height: 50px;
padding: $x-small $medium;
position: relative;
z-index: 10;
.main-logo {
svg {
fill: $color-white;
height: 40px;
width: 120px;
}
}
}
.main-nav {
align-items: center;
display: flex;
height: 50px;
margin: 0 0 0 120px;
li {
a {
color: lighten($color-gray-light, 12%);
padding: 1rem;
&:hover {
color: $color-white;
}
}
&.current {
a {
color: $color-white;
}
}
}
}
.user-zone {
align-items: center;
cursor: pointer;
display: flex;
margin-left: auto;
position: relative;
span {
color: $color-gray-lighter;
margin: $small;
}
img {
border: 2px solid $color-gray-lighter;
border-radius: 50%;
width: 32px;
}
.dropdown {
background-color: $color-white;
border-radius: $br-small;
box-sizing: border-box;
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-light;
height: 12px;
width: 12px;
}
span {
color: $color-gray-light;
}
&:hover {
span {
color: $color-gray-darker;
}
svg {
fill: $color-gray-darker;
}
}
}
}
}