0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-06 14:28:30 -05:00
penpot/resources/public/styles/partials/main-bar.scss

115 lines
1.5 KiB
SCSS
Raw Normal View History

2015-06-18 19:35:50 +02:00
.main-bar {
align-items: center;
2016-02-17 08:56:02 +01:00
background-color: $primary-ui-bg;
2015-06-18 19:35:50 +02:00
display: flex;
height: 50px;
padding: $x-small $medium;
position: relative;
z-index: 10;
.main-logo {
svg {
2016-02-17 08:56:02 +01:00
fill: $light-ui-icons;
2015-06-18 19:35:50 +02:00
height: 40px;
width: 120px;
}
}
}
2015-12-15 11:35:38 +01:00
.main-nav {
align-items: center;
display: flex;
height: 50px;
2015-12-15 22:56:03 +01:00
margin: 0 0 0 120px;
2015-12-15 11:35:38 +01:00
li {
a {
2016-02-17 08:56:02 +01:00
color: $bright-ui-text;
2015-12-15 11:35:38 +01:00
padding: 1rem;
&:hover {
2016-02-17 08:56:02 +01:00
color: $dark-ui-text;
2015-12-15 11:35:38 +01:00
}
}
&.current {
a {
2016-02-17 08:56:02 +01:00
color: $dark-ui-text;
2015-12-15 11:35:38 +01:00
}
}
}
}
2015-06-18 19:35:50 +02:00
.user-zone {
align-items: center;
cursor: pointer;
display: flex;
margin-left: auto;
position: relative;
span {
2016-02-17 08:56:02 +01:00
color: $light-ui-text;
2015-06-18 19:35:50 +02:00
margin: $small;
}
img {
2016-02-17 08:56:02 +01:00
border: 2px solid $dark-ui-bg;
2015-06-18 19:35:50 +02:00
border-radius: 50%;
width: 32px;
}
.dropdown {
2016-02-18 19:27:36 +01:00
background-color: $color-white;
2015-06-18 19:35:50 +02:00
border-radius: $br-small;
2016-02-17 08:56:02 +01:00
border: 1px solid $bright-ui-border;
2015-06-18 19:35:50 +02:00
box-sizing: border-box;
2015-12-15 12:58:49 +01:00
min-width: 150px;
2015-06-18 19:35:50 +02:00
padding: 0 $small;
position: absolute;
top: 0;
2015-12-15 12:58:49 +01:00
right: 0;
2015-06-18 19:35:50 +02:00
width: 100%;
z-index: 12;
@include animation(0,.2s,fadeInDown);
li {
font-size: $fs13;
padding: $small 0;
svg {
2016-02-17 08:56:02 +01:00
fill: $light-ui-text;
2015-06-18 19:35:50 +02:00
height: 12px;
width: 12px;
}
span {
2016-02-17 08:56:02 +01:00
color: $light-ui-text;
2015-06-18 19:35:50 +02:00
}
&:hover {
span {
2016-02-17 08:56:02 +01:00
color: $dark-ui-text;
2015-06-18 19:35:50 +02:00
}
svg {
2016-02-17 08:56:02 +01:00
fill: $dark-ui-text;
2015-06-18 19:35:50 +02:00
}
}
}
}
}