feature: left-menu: projects
This commit is contained in:
@ -67,6 +67,9 @@
|
||||
&.margin-left-small {
|
||||
margin-left: 15px;
|
||||
}
|
||||
&.margin-right-xsmall {
|
||||
margin-right: 6px;
|
||||
}
|
||||
&.margin-right-small {
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
@ -69,9 +69,10 @@
|
||||
.message-tab {
|
||||
|
||||
/* Spaces and cursor */
|
||||
/* For project and circle */
|
||||
hubl-menu-fix-url-project>solid-link>solid-display>div,
|
||||
hubl-menu-fix-url-circle>solid-link>solid-display>div,
|
||||
>div>solid-display>div>solid-display-div[name="name"] {
|
||||
solid-form + div>solid-display>div {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 6px 10px 6px 23px;
|
||||
@ -119,11 +120,12 @@
|
||||
|
||||
/* Styles for the small icon */
|
||||
.sub-menu-icon {
|
||||
width: 16px;
|
||||
width: 20px;
|
||||
text-align: center;
|
||||
|
||||
div {
|
||||
font-family: simple-line-icons;
|
||||
padding-right: 2px;
|
||||
margin-right: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
@ -131,15 +133,20 @@
|
||||
.sub-menu-name {
|
||||
flex: 3;
|
||||
|
||||
&>div {
|
||||
width: calc(80vw - 96px); /*96px = padding of the element + width and margin of counter */
|
||||
.project-customer,
|
||||
.project-name,
|
||||
&>div{
|
||||
display: block;
|
||||
width: calc(80vw - 96px); /*96px = padding of the element + width and margin of counter */
|
||||
|
||||
@include breakpoint(lg) {
|
||||
width: 150px;
|
||||
}
|
||||
}
|
||||
|
||||
&.ellipsis>div {
|
||||
&.ellipsis>div,
|
||||
.project-customer,
|
||||
.project-name>div {
|
||||
|
||||
@include breakpoint(lg) {
|
||||
overflow: hidden;
|
||||
@ -163,37 +170,6 @@
|
||||
color: var(--color-heading);
|
||||
}
|
||||
}
|
||||
|
||||
/* Ellipsis for project tab */
|
||||
.project-tab>div>solid-display>div:nth-child(1) {
|
||||
|
||||
solid-set-default[name='project'] {
|
||||
flex: 3;
|
||||
|
||||
.project-customer,
|
||||
.project-name {
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
width: calc(80vw - 96px);
|
||||
/*96px = padding of the element + width and margin of counter */
|
||||
|
||||
@include breakpoint(lg) {
|
||||
width: 150px;
|
||||
}
|
||||
}
|
||||
|
||||
.project-customer,
|
||||
.project-name>div {
|
||||
|
||||
@include breakpoint(lg) {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.divider {
|
||||
|
Reference in New Issue
Block a user