0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-26 08:29:42 -05:00
penpot/resources/public/styles/partials/workspace-bar.scss

132 lines
2.1 KiB
SCSS
Raw Normal View History

2015-06-18 19:35:50 +02:00
.workspace-bar {
align-items: center;
background-color: $color-gray;
2016-02-14 20:37:01 +01:00
border-bottom: 1px solid $color-gray-dark;
2015-06-18 19:35:50 +02:00
display: flex;
height: 40px;
padding: $x-small $medium $x-small 65px;
position: relative;
z-index: 11;
.main-icon {
align-items: center;
2016-02-12 16:29:40 +01:00
background-color: $color-gray-dark;
2015-06-18 19:35:50 +02:00
cursor: pointer;
display: flex;
height: 100%;
justify-content: center;
left: 0;
position: absolute;
top: 0;
width: 50px;
a {
height: 35px;
svg {
2016-02-12 16:29:40 +01:00
fill: darken($color-gray-darker, 7%);
2015-06-18 19:35:50 +02:00
height: 35px;
width: 35px;
}
&:hover {
svg {
fill: $color-primary;
}
}
}
}
.project-tree-btn {
align-items: center;
background-color: $color-gray-dark;
border-radius: $br-small;
box-sizing: border-box;
cursor: pointer;
display: flex;
2016-02-14 20:37:01 +01:00
min-width: 164px;
2015-06-18 19:35:50 +02:00
padding: $x-small $x-big+$x-small $x-small $medium;
svg {
fill: $color-primary;
height: 20px;
margin-right: $small;
width: 20px;
}
span {
color: $color-primary;
}
&:hover {
background-color: $color-gray-darker;
}
}
.workspace-options {
display: flex;
.options-btn {
align-items: center;
border-right: 1px solid $color-gray-dark;
display: flex;
margin: 0;
&:last-child {
border: none;
}
li {
align-items: center;
background-color: $color-gray-lighter;
border-radius: $br-small;
cursor: pointer;
display: flex;
height: 30px;
justify-content: center;
margin: 0 $small;
position: relative;
width: 30px;
a {
padding-top: 6px;
}
svg {
fill: $color-gray-dark;
height: 18px;
width: 18px;
}
&:hover {
background-color: $color-white;
svg {
fill: $color-gray-darker;
}
}
&.selected {
background-color: $color-primary;
svg {
fill: $color-white;
}
}
}
}
}
}