Updated default Portal icons

no refs.
- added a set of portal icons
- updated related CSS and mappings
This commit is contained in:
Peter Zimon 2020-07-24 16:59:41 +02:00
parent 0a33f97fb1
commit 9e9dcf4d1a
7 changed files with 12 additions and 7 deletions

View File

@ -12,23 +12,23 @@ const ICON_EXTENSIONS = ['gif', 'jpg', 'jpeg', 'png', 'svg'];
const ICON_MAPPING = [
{
icon: 'user-circle',
icon: 'portal-icon-1',
value: 'icon-1'
},
{
icon: 'ambulance',
icon: 'portal-icon-2',
value: 'icon-2'
},
{
icon: 'book-open',
icon: 'portal-icon-3',
value: 'icon-3'
},
{
icon: 'store',
icon: 'portal-icon-4',
value: 'icon-4'
},
{
icon: 'gift',
icon: 'portal-icon-5',
value: 'icon-5'
}
];

View File

@ -215,11 +215,11 @@
}
.gh-portal-button-icon svg {
fill: var(--midlightgrey-d1);
color: var(--midlightgrey-d1);
}
.gh-portal-button-icon.selected-icon svg {
fill: var(--blue);
color: var(--blue);
}
.gh-portal-button-uploadicon,

View File

@ -0,0 +1 @@
<svg id="Regular" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.2px;}</style></defs><title>single-neutral</title><circle class="cls-1" cx="12" cy="6" r="5.25"/><path class="cls-1" d="M2.25,23.25a9.75,9.75,0,0,1,19.5,0"/></svg>

After

Width:  |  Height:  |  Size: 343 B

View File

@ -0,0 +1 @@
<svg id="Regular" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.2px;}</style></defs><title>single-neutral-actions-edit-1</title><path class="cls-1" d="M22.63,14.869,15,22.5l-3.75.75L12,19.5l7.63-7.631a2.116,2.116,0,0,1,2.992,0l.008.009A2.113,2.113,0,0,1,22.63,14.869Z"/><circle class="cls-1" cx="7.5" cy="4.875" r="4.125"/><path class="cls-1" d="M13.338,13.919A6.729,6.729,0,0,0,.75,17.25"/></svg>

After

Width:  |  Height:  |  Size: 514 B

View File

@ -0,0 +1 @@
<svg id="Regular" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.2px;}</style></defs><title>single-neutral-id-card-3</title><path class="cls-1" d="M9.75,5.25H2.25a1.5,1.5,0,0,0-1.5,1.5v13.5a1.5,1.5,0,0,0,1.5,1.5h19.5a1.5,1.5,0,0,0,1.5-1.5V6.75a1.5,1.5,0,0,0-1.5-1.5h-7.5"/><path class="cls-1" d="M14.25,4.5a2.25,2.25,0,0,0-4.5,0v3a.75.75,0,0,0,.75.75h3a.75.75,0,0,0,.75-.75Z"/><circle class="cls-1" cx="8.25" cy="13.875" r="2.625"/><path class="cls-1" d="M3.75,21.75a4.5,4.5,0,0,1,9,0Z"/><line class="cls-1" x1="14.25" y1="12.75" x2="18.75" y2="12.75"/><line class="cls-1" x1="14.25" y1="15.75" x2="20.25" y2="15.75"/></svg>

After

Width:  |  Height:  |  Size: 740 B

View File

@ -0,0 +1 @@
<svg id="Regular" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.2px;}</style></defs><title>single-neutral-actions-add</title><circle class="cls-1" cx="17.25" cy="17.25" r="6"/><line class="cls-1" x1="17.25" y1="14.25" x2="17.25" y2="20.25"/><line class="cls-1" x1="14.25" y1="17.25" x2="20.25" y2="17.25"/><path class="cls-1" d="M.75,17.25a6.753,6.753,0,0,1,9.4-6.208"/><circle class="cls-1" cx="7.5" cy="4.875" r="4.125"/></svg>

After

Width:  |  Height:  |  Size: 546 B

View File

@ -0,0 +1 @@
<svg id="Regular" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.2px;}</style></defs><title>single-neutral-actions-star</title><path class="cls-1" d="M.75,17.25a6.751,6.751,0,0,1,10.517-5.6"/><circle class="cls-1" cx="7.5" cy="4.875" r="4.125"/><path class="cls-1" d="M17.946,11.68,19.488,15h3a.735.735,0,0,1,.518,1.283l-2.6,2.562,1.443,3.314a.786.786,0,0,1-1.119.982l-3.487-1.961-3.486,1.961a.786.786,0,0,1-1.12-.982l1.443-3.314-2.6-2.562A.734.734,0,0,1,11.988,15h3l1.544-3.323A.8.8,0,0,1,17.946,11.68Z"/></svg>

After

Width:  |  Height:  |  Size: 628 B