Skip to content

Commit

Permalink
For #6518: change thumbnail
Browse files Browse the repository at this point in the history
  • Loading branch information
ebruchez committed Dec 18, 2024
1 parent a611141 commit c54d0c6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -803,6 +803,14 @@ body.orbeon {
overflow: hidden;
box-sizing: border-box;

&.fb-builtin-template {
img {
opacity: 0.8;
box-sizing: border-box;
padding: 5%;
}
}

&.xforms-repeat-selected-item-1 {
border-color: @focusBorderColor;
.focusDecorations();
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@
<url>oxf:/forms/orbeon/builder/form/template-wizard.xml</url>
<title>Wizard Form</title>
<description>This template is configured to use the Wizard view.</description>
<thumbnail>oxf:/forms/orbeon/builder/form/template-wizard.webp</thumbnail>
<thumbnail>oxf:/forms/orbeon/builder/form/template-wizard.jpg</thumbnail>
</_>
</_>
<_/>
Expand Down Expand Up @@ -1053,7 +1053,7 @@
<xf:group xxf:element="div" class="fb-template-cards-container" id="fb-template-cards-container">
<xh:div class="fb-template-cards">
<xf:repeat ref="instance('template-forms')/*" id="form-template-repeat">
<xh:div class="fb-template-card" title="{{title}}">
<xh:div class="fb-template-card {if (position() le 2) then 'fb-builtin-template' else ()}" title="{{title}}">
<xf:output class="fb-template-title" value="title"/>
<xf:output class="fb-template-thumbnail" mediatype="image/*" ref="thumbnail[xxf:non-blank()]"/>
</xh:div>
Expand Down

0 comments on commit c54d0c6

Please sign in to comment.