File tree Expand file tree Collapse file tree 2 files changed +55
-1
lines changed
packages/mgt-components/src/components/mgt-person Expand file tree Collapse file tree 2 files changed +55
-1
lines changed Original file line number Diff line number Diff line change @@ -421,5 +421,59 @@ mgt-person .avatar-icon {
421421 margin : var ($details-spacing , 0px 6px 0px 0px );
422422 }
423423 }
424+
425+ .user-presence {
426+ .presence-oof-offline svg {
427+ margin-right : calc (#{$avatar-size } * 0.07 - 2px );
428+ }
429+ .presence-offline ::before {
430+ margin-right : calc (#{$avatar-size } * 0.07 - 2px );
431+ }
432+
433+ .presence-available ::before {
434+ margin-right : calc (#{$avatar-size } * 0.07 - 2px );
435+ }
436+
437+ .presence-oof-available ::before {
438+ margin-right : calc (#{$avatar-size } * 0.07 - 2px );
439+ }
440+
441+ .presence-away ::before {
442+ margin-right : calc (#{$avatar-size } * 0.07 - 2px );
443+ }
444+
445+ .presence-dnd ::before {
446+ margin-right : calc (#{$avatar-size } * 0.07 - 2px );
447+ }
448+
449+ .presence-oof-dnd ::before {
450+ margin-right : calc (#{$avatar-size } * 0.07 - 2px );
451+ }
452+ }
453+
454+ & .small {
455+ & .initials-text ,
456+ & .contact-icon {
457+ font-size : calc (#{$avatar-size-s } * 0.4 );
458+ }
459+ .user-presence {
460+ left : calc (#{$avatar-size-s } - 8px );
461+ top : calc (#{$avatar-size-s } - 8px );
462+ width : 8px ;
463+ height : 8px ;
464+
465+ .presence-basic {
466+ width : 4px ;
467+ height : 4px ;
468+ border-radius : 4px ;
469+ padding : 0 ;
470+
471+ & .presence-oof-offline svg {
472+ height : 0 ;
473+ width : 0 ;
474+ }
475+ }
476+ }
477+ }
424478 }
425479}
Original file line number Diff line number Diff line change 88
99<p align =" center " >
1010 <a href =" https://github.com/microsoftgraph/msgraph-sdk-javascript " ><img src =" https://img.shields.io/badge/code_style-prettier-ff69b4.svg " ></a > <a href =" https://stackoverflow.com/questions/tagged/microsoft-graph-toolkit " ><img src =" https://img.shields.io/stackexchange/stackoverflow/t/microsoft-graph-toolkit.svg " ></a >
11- <a href = " https://dev.azure.com/microsoft-graph-toolkit/microsoft-graph-toolkit/_build/latest?definitionId=1&branchName=main " >< br >< img src =" https://dev.azure. com/microsoft-graph-toolkit /microsoft-graph-toolkit/_apis/build/status/microsoftgraph.microsoft-graph-toolkit?branchName=main " ></ a > <a href =" https://www.webcomponents.org/element/@microsoft/mgt " ><img src =" https://img.shields.io/badge/webcomponents.org-published-blue.svg " ></a > <a href =" https://mgt.dev " ><img src =" https://cdn.jsdelivr.net/gh/storybookjs/brand@master/badge/badge-storybook.svg " ></a > <a href =" https://github.com/microsoftgraph/microsoft-graph-toolkit/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22 " ><img src =" https://img.shields.io/github/issues/microsoftgraph/microsoft-graph-toolkit/good%20first%20issue?color=brightgreen " ></a >
11+ <img src =" https://github. com/microsoftgraph /microsoft-graph-toolkit/workflows/Build%20CI/badge.svg " / > <a href =" https://www.webcomponents.org/element/@microsoft/mgt " ><img src =" https://img.shields.io/badge/webcomponents.org-published-blue.svg " ></a > <a href =" https://mgt.dev " ><img src =" https://cdn.jsdelivr.net/gh/storybookjs/brand@master/badge/badge-storybook.svg " ></a > <a href =" https://github.com/microsoftgraph/microsoft-graph-toolkit/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22 " ><img src =" https://img.shields.io/github/issues/microsoftgraph/microsoft-graph-toolkit/good%20first%20issue?color=brightgreen " ></a >
1212</p >
1313
1414<h3 align =" center " ><a href =" https://aka.ms/mgt-docs " >Documentation</a ></h3 >
You can’t perform that action at this time.
0 commit comments