Merge branch 'circle-perf-fix' into 'master'
Circle perf fix See merge request startinblox/applications/sib-app!108
This commit is contained in:
commit
d37796f86f
@ -55,14 +55,22 @@ nav#main__menu.jsLeftMenu
|
|||||||
div.menu-icon.icon-folder-alt
|
div.menu-icon.icon-folder-alt
|
||||||
sib-route(name='circle', rdf-type='hd:circle', use-id='', hidden)
|
sib-route(name='circle', rdf-type='hd:circle', use-id='', hidden)
|
||||||
div.sub-menu.menu-notification
|
div.sub-menu.menu-notification
|
||||||
|
sib-widget(name='menu-circle-fix-url')
|
||||||
|
template
|
||||||
|
sib-display(
|
||||||
|
data-src='${value}'
|
||||||
|
fields='name, badge'
|
||||||
|
value-badge='${value}'
|
||||||
|
widget-badge='hd-counter'
|
||||||
|
widget-name='sib-display-div'
|
||||||
|
)
|
||||||
sib-display(
|
sib-display(
|
||||||
bind-user
|
bind-user
|
||||||
nested-field='circles'
|
nested-field='circles'
|
||||||
fields='circle.name, circle'
|
fields='circle'
|
||||||
empty-widget='hd-create'
|
empty-widget='hd-create'
|
||||||
empty-value='circle'
|
empty-value='circle'
|
||||||
widget-circle.name='sib-display-div'
|
widget-circle='menu-circle-fix-url'
|
||||||
widget-circle='hd-counter'
|
|
||||||
order-by='circle.name'
|
order-by='circle.name'
|
||||||
next='circle'
|
next='circle'
|
||||||
)
|
)
|
||||||
@ -75,7 +83,7 @@ nav#main__menu.jsLeftMenu
|
|||||||
div.menu-icon.icon-envelope-letter
|
div.menu-icon.icon-envelope-letter
|
||||||
sib-route(name='messages', rdf-type='foaf:user', use-id='', hidden)
|
sib-route(name='messages', rdf-type='foaf:user', use-id='', hidden)
|
||||||
div.sub-menu.menu-notification
|
div.sub-menu.menu-notification
|
||||||
sib-display(
|
sib-display.nosub(
|
||||||
data-src=`${endpoints.users}`
|
data-src=`${endpoints.users}`
|
||||||
fields='username, badge'
|
fields='username, badge'
|
||||||
widget-username='sib-display-div'
|
widget-username='sib-display-div'
|
||||||
|
@ -125,6 +125,10 @@
|
|||||||
}
|
}
|
||||||
/* End of specific styles of "Projects" tab */
|
/* End of specific styles of "Projects" tab */
|
||||||
|
|
||||||
|
>sib-display.nosub>div>sib-display>div {
|
||||||
|
padding: 1rem 1rem 1rem 3.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
sib-display>div {
|
sib-display>div {
|
||||||
|
|
||||||
.create {
|
.create {
|
||||||
@ -141,15 +145,18 @@
|
|||||||
>div {
|
>div {
|
||||||
color: $color-244-10-70;
|
color: $color-244-10-70;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
>menu-circle-fix-url>sib-display>div {
|
||||||
padding: 1rem 1rem 1rem 3.2rem;
|
padding: 1rem 1rem 1rem 3.2rem;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&[fields="project(customer.name, name), badge"]>div {
|
&[fields="project(customer.name, name), badge"]>div {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&>sib-display[active]>div {
|
&>sib-display[active]>div,
|
||||||
|
&>sib-display>div>menu-circle-fix-url>sib-display[active]>div {
|
||||||
background-color: $color-46-100-67;
|
background-color: $color-46-100-67;
|
||||||
color: $color-233-18-29;
|
color: $color-233-18-29;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@ -157,7 +164,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.menu-notification {
|
&.menu-notification {
|
||||||
> sib-display > div > sib-display > div {
|
> sib-display > div > sib-display > div > menu-circle-fix-url {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
> sib-display > div > sib-display > div,
|
||||||
|
> sib-display > div > sib-display > div > menu-circle-fix-url > sib-display > div {
|
||||||
display: flex;
|
display: flex;
|
||||||
sib-display-div {
|
sib-display-div {
|
||||||
flex: 3;
|
flex: 3;
|
||||||
|
Loading…
Reference in New Issue
Block a user