Left menu: css improved for the projects tab

This commit is contained in:
gaelle morin 2020-01-06 12:19:08 +01:00
parent ef20af91dd
commit 4fb569b9ef
No known key found for this signature in database
GPG Key ID: BC97AADCB48B7F27

View File

@ -92,12 +92,16 @@
.sub-menu {
/* Specific styles for the "Projects" tab */
.project-tab>div>sib-display>div:nth-child(1) {
sib-set-default[name='project'] {
padding: 1rem 1rem 1rem 3.2rem;
.project-customer,
.project-name {
display: inline-block;
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@ -115,15 +119,19 @@
}
}
.project-tab>div>sib-display[fields='project(customer.name, name), badge']>div:hover {
hd-counter {
margin-top: 16px;
margin-left: 8px;
}
&:hover {
background-color: $color-233-20-17;
box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.26);
sib-set-default[name='project'] {
background-color: $color-233-20-17;
box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.26);
color: $color-218-100-98;
/* transition: all 0.6s cubic-bezier(0.39, 0.575, 0.565, 1); Need better animation */
width: auto;
z-index: 1000;
.project-customer,
@ -135,7 +143,13 @@
font-weight: normal;
}
}
hd-counter {
display: none;
}
}
}
/* End of specific styles of "Projects" tab */
sib-display>div {
@ -175,6 +189,7 @@
flex: 3;
}
hd-counter {
background: burlywood;
height: 20px;
width: 20px;
margin-right: 1em;