feature: refactoring

This commit is contained in:
gaelle morin 2020-12-18 18:39:45 +01:00
parent d772bbb8d7
commit 3f1731728b
No known key found for this signature in database
GPG Key ID: 028426702B95CF9C
2 changed files with 6 additions and 39 deletions

View File

@ -29,7 +29,6 @@ nav {
margin-left: 3px; margin-left: 3px;
margin-right: 3px; margin-right: 3px;
opacity: 0.8; opacity: 0.8;
vertical-align: top;
width: 12px; width: 12px;
div { div {
@ -38,6 +37,10 @@ nav {
} }
} }
.sub-menu-name {
margin-right: 15px;
}
/* Ellipsis */ /* Ellipsis */
.ellipsis { .ellipsis {
@ -59,42 +62,6 @@ nav {
} }
} }
.sub-menu-name {
margin-right: 15px;
}
/* Ellipsis for project tab */
.circle-tab,
.project-tab {
.project-customer,
.project-name {
display: block;
width: calc(80vw - 96px);
@media(min-width: 1024px) {
width: 100%;
}
}
.project-customer,
.project-name>div {
@media(min-width: 1024px) {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
.divider { .divider {
height: 1px; height: 1px;
background-color: #D7DBE0; background-color: #D7DBE0;

View File

@ -52,7 +52,7 @@ solid-widget(name='hubl-menu-fix-url-circle')
fields='segment(status, circle(name, jabberID), badge)' fields='segment(status, circle(name, jabberID), badge)'
class-segment="segment lg-full padding-top-xxsmall padding-right-small padding-left-medium" class-segment="segment lg-full padding-top-xxsmall padding-right-small padding-left-medium"
class-status='segment sub-menu-icon' class-status='segment text-top sub-menu-icon'
class-circle='segment lg-three-quarter sub-menu-name' class-circle='segment lg-three-quarter sub-menu-name'
@ -76,7 +76,7 @@ solid-widget(name='hubl-menu-fix-url-project')
fields='segment(status, project(customer.name, name, jabberID), badge)' fields='segment(status, project(customer.name, name, jabberID), badge)'
class-segment="segment lg-full padding-top-xxsmall padding-right-small padding-left-medium" class-segment="segment lg-full padding-top-xxsmall padding-right-small padding-left-medium"
class-status='segment sub-menu-icon' class-status='segment text-top sub-menu-icon'
class-project='segment lg-three-quarter sub-menu-name' class-project='segment lg-three-quarter sub-menu-name'