Skip to content
Snippets Groups Projects
Commit 23982d57 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#419 - style category square

parent d4748b67
Branches
Tags
No related merge requests found
...@@ -48,3 +48,8 @@ ...@@ -48,3 +48,8 @@
height: 34px; height: 34px;
width: 34px; width: 34px;
} }
.account-square-border {
border: 3px solid var(--color-blue);
line-height: 28px !important;
}
...@@ -100,11 +100,11 @@ ...@@ -100,11 +100,11 @@
</#macro> </#macro>
<#macro accountIcon account classes="" datasetValue=""> <#macro accountIcon account classes="" datasetValue="">
<div class="category-circle ${classes} category-square <#if account.getIcon()?? == false>background-blue</#if>" <#if datasetValue?has_content>data-value="${account.getID()}"</#if>> <div class="category-circle ${classes} category-square <#if account.getIcon()?? == false>account-square-border</#if>" <#if datasetValue?has_content>data-value="${account.getID()}"</#if>>
<#if account.getIcon()??> <#if account.getIcon()??>
<img src="${account.getIcon().getBase64EncodedImage()}" class="account-select-icon"/> <img src="${account.getIcon().getBase64EncodedImage()}" class="account-select-icon"/>
<#else> <#else>
<span class="text-white"> <span class="text-blue">
${account.getName()?capitalize[0]} ${account.getName()?capitalize[0]}
</span> </span>
</#if> </#if>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment