Skip to content

Commit

Permalink
Added icon for .btn-view
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Nov 24, 2024
1 parent dcb5265 commit 5474bb8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ li button.btn-edit-constructors, li button.btn-add-data, li button.btn-add-ontol
.btn-file { background-image: url('../icons/ic_file_upload_black_24px.svg'); }
.btn-import { background-image: url('../icons/ic_transform_black_24px.svg'); }
.btn-chart { background-image: url('../icons/ic_show_chart_black_24px.svg'); }
.btn-view { background-image: url('../icons/ic_view_list_black_24px.svg'); }
.btn-latest { background-image: url('../icons/ic_new_releases_black_24px.svg'); }
.btn-geo { background-image: url('../icons/ic_location_on_black_24px.svg'); }
.btn-logo { background-position: left; background-repeat: no-repeat; padding-left: 32px; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,12 @@ extension-element-prefixes="ixsl"
<xsl:attribute name="class" select="concat($class, ' ', 'btn-logo btn-chart')"/>
</xsl:template>

<xsl:template match="*[@rdf:about = '&ldh;View']" mode="ldh:logo">
<xsl:param name="class" as="xs:string?"/>

<xsl:attribute name="class" select="concat($class, ' ', 'btn-logo btn-view')"/>
</xsl:template>

<xsl:template match="*[@rdf:about = ('&ldh;URISyntaxViolation', '&spin;ConstraintViolation', '&sh;ValidationResult', '&sh;ValidationReport', '&ldh;ResourceExistsException')]" mode="ldh:logo">
<xsl:param name="class" as="xs:string?"/>

Expand Down

0 comments on commit 5474bb8

Please sign in to comment.