👾 changes libraries types, reworked color palette

This commit is contained in:
alonso.torres 2020-03-26 14:19:27 +01:00
parent decd3e3443
commit 5cd8e85034
14 changed files with 193 additions and 128 deletions

View file

@ -52,24 +52,30 @@
left: 280px;
width: calc(100% - 280px);
}
& .context-menu-items {
bottom: 1.5rem;
top: initial;
min-width: 10rem;
}
}
.color-palette-actions {
display: flex;
flex-direction: column;
flex-shrink: 0;
margin-right: .5rem;
border: 1px solid #1F1F1F;
align-self: stretch;
padding: 0.5rem;
justify-content: center;
.color-palette-buttons {
align-items: center;
align-self: stretch;
border: 1px solid #1F1F1F;
cursor: pointer;
display: flex;
justify-content: space-around;
}
flex-direction: column;
flex-shrink: 0;
justify-content: center;
margin-right: .5rem;
padding: 0.5rem;
.color-palette-buttons {
align-items: center;
display: flex;
justify-content: space-around;
}
}
.color-palette-actions-button {
@ -115,6 +121,7 @@
display: flex;
overflow: hidden;
width: 100%;
height: 4.8rem;
padding: 0.25rem;
}

View file

@ -17,7 +17,9 @@
border-radius: $br-small;
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.25);
left: -$size-4;
max-height: 30rem;
min-width: 7rem;
overflow: auto;
position: absolute;
top: $size-3;
}
@ -27,9 +29,25 @@
display: block;
font-size: $fs12;
padding: $size-2 $size-4;
white-space: nowrap;
&:hover {
color: $color-black;
background: $color-primary-lighter;
background-color: $color-primary-lighter;
}
}
.context-menu.is-selectable {
& .context-menu-action {
padding-left: 1.5rem;
}
& .context-menu-item.is-selected .context-menu-action {
background-image: url(/images/icons/tick.svg);
background-repeat: no-repeat;
background-position: 5% 48%;
background-size: 10px;
font-weight: bold;
}
}

View file

@ -21,7 +21,8 @@
.settings-bar-inside {
align-items: center;
display: grid;
grid-template-columns: 100%;
&[data-layout*='layers'] {
grid-template-rows: 30% 70%;
}

View file

@ -3,6 +3,11 @@
grid-template-columns: repeat(2, 50%);
padding: 0.5rem;
align-items: center;
& .context-menu-items {
left: initial;
right: 0;
}
}
.libraries-window-bar-title {