Skip to content

Commit

Permalink
WID-550 - UiTX layout sticker improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
brampauwelyn committed Jan 10, 2024
1 parent 1fba8b4 commit 40d1a2e
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 14 deletions.
2 changes: 1 addition & 1 deletion views/widgets/event-summary.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
{% endif %}
{% if settings_items.icon_uitx.enabled and event.uitx %}
<span class="cnw_sticker cnw_sticker--uitx">
<svg xmlns="http://www.w3.org/2000/svg" width="98" height="37" viewBox="0 0 99 37">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 99 37">
<g fill-rule="nonzero" fill="none">
<path d="M20.95 21.396c0 2.45-.257 4.426-2.142 6.19-1.686 1.571-3.744 2.127-5.802 2.303-1.8.154-4.144-.115-5.658-1.178-2.084-1.5-2.482-3.72-2.482-6.551V6.549l6.115.508v14.147c0 .76-.029 1.786.371 2.465.458.705 1.372.958 2.144.922.685-.033 1.542-.296 2.056-.83.774-.762.686-1.903.686-2.92V7.492l4.715.392-.002 13.512Zm7.515 6.777-5.658.465V14.519l5.658.176v13.478Zm0-15.011-5.658-.25v-4.87l5.658.47v4.65Zm11.286 14.174-5.715.477V13.505l-4.114-.177V8.632L43.78 9.784v4.141l-4.03-.173v13.584Z" fill="#40404A"/>
<path fill="#40404A" d="M0 0h61.665v37H0l49.333-6.168V6.166z"/>
Expand Down
2 changes: 1 addition & 1 deletion views/widgets/search-results-widget/detail-page.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@

{% endif %}

{% if settings.uitx_disclaimer and event.uitx %}
{% if settings.icon_uitx and event.uitx %}

<dt>UiTX</dt>
<dd>
Expand Down
20 changes: 13 additions & 7 deletions web/assets/css/cn_widget_styling.css

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions widgets-static/app/styles/01_components/_detail-page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,15 @@
padding-right: 60px;
}
}
.cnw_sticker--vlieg {
float: right;
}

.cnw_sticker {
margin-right: 10px;
}

.cnw_sticker--uitpas,
.cnw_sticker--museumpas,
.cnw_sticker--uitx {
.cnw_sticker--uitx,
.cnw_sticker--vlieg {
margin-top: 10px;
float: right;
}
Expand Down
7 changes: 6 additions & 1 deletion widgets-static/app/styles/01_components/_search-result.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@

margin-bottom: 20px;

float: left;


.cnw_txt{
background-color: #44444C;
Expand All @@ -111,6 +113,7 @@
display: block;
width:45px;
border: none;
float: right;

.uit-logo-bg {
stop-color : #F0B32C;
Expand All @@ -122,11 +125,13 @@

.cnw_sticker--museumpas {
display: block;
width: 45px;
width: 55px;
float: right;
}

.cnw_sticker--uitx {
display: block;
width: 108px;
}

.cnw_searchresult__options {
Expand Down

0 comments on commit 40d1a2e

Please sign in to comment.