59 lines
3.2 KiB
Plaintext
59 lines
3.2 KiB
Plaintext
-if @new_site
|
|
=raw "</div>" if !@admin
|
|
.quote_content{:style =>("with_img" if input.image_file)}
|
|
.inner
|
|
= image_tag(input.image_file.file.square, :class => "vertical_center") if input.image_file
|
|
.desc
|
|
.quote
|
|
%span.sep="«"
|
|
=input.quote
|
|
»
|
|
.author
|
|
=input.author
|
|
.clear
|
|
|
|
=raw "<div class='main row-fluid'>" if !@admin
|
|
|
|
|
|
|
|
|
|
-else
|
|
-css_style = ""
|
|
|
|
|
|
-css_style += "color:#{input.color};" if input.color?
|
|
|
|
.quote{:style => css_style}
|
|
.guillemet.bottom_corner
|
|
|
|
<svg width="40px" height="40px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">
|
|
<g transform="matrix(6.6048,0,0,6.6048,0.86082,1.26248)">
|
|
|
|
<g>
|
|
=raw '<path d="M6.48,4.382C6.484,7.373 4.416,10.198 1.612,11.14C0.945,11.365 0.64,11.1 0.352,10.614C0.035,10.081 0.24,9.735 0.728,9.437C1.445,8.998 2.13,8.506 2.645,7.828C3.517,6.677 3.293,5.563 2.067,4.846C1.86,4.725 1.645,4.619 1.441,4.493C0.155,3.7 -0.283,2.701 0.178,1.626C0.705,0.396 2.268,-0.293 3.592,0.12C5.284,0.648 6.477,2.41 6.48,4.382" style="fill:'+(input.color? ? input.color : "black")+';fill-rule:nonzero;"/>'
|
|
=raw '<path d="M14.88,4.621C14.883,7.487 13.007,10.193 10.412,11.111C9.82,11.32 9.367,11.389 9.03,10.693C8.716,10.046 9.022,9.73 9.507,9.43C10.295,8.944 11.028,8.4 11.466,7.546C12.02,6.465 11.816,5.636 10.807,4.965C10.576,4.811 10.315,4.701 10.07,4.568C8.698,3.824 8.268,2.734 8.86,1.511C9.483,0.226 10.862,-0.317 12.185,0.2C13.836,0.846 14.878,2.554 14.88,4.621" style="fill:'+(input.color? ? input.color : "black")+';fill-rule:nonzero;"/>'
|
|
</g>
|
|
</g>
|
|
|
|
</svg>
|
|
|
|
.guillemet.top_corner
|
|
<svg width="40px" height="40px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">
|
|
<g transform="matrix(-6.6048,2.12427e-15,-2.12427e-15,-6.6048,99.1431,75.5965)">
|
|
|
|
<g>
|
|
=raw '<path d="M6.48,4.382C6.484,7.373 4.416,10.198 1.612,11.14C0.945,11.365 0.64,11.1 0.352,10.614C0.035,10.081 0.24,9.735 0.728,9.437C1.445,8.998 2.13,8.506 2.645,7.828C3.517,6.677 3.293,5.563 2.067,4.846C1.86,4.725 1.645,4.619 1.441,4.493C0.155,3.7 -0.283,2.701 0.178,1.626C0.705,0.396 2.268,-0.293 3.592,0.12C5.284,0.648 6.477,2.41 6.48,4.382" style="fill:'+(input.color? ? input.color : "black")+';fill-rule:nonzero;"/>'
|
|
=raw '<path d="M14.88,4.621C14.883,7.487 13.007,10.193 10.412,11.111C9.82,11.32 9.367,11.389 9.03,10.693C8.716,10.046 9.022,9.73 9.507,9.43C10.295,8.944 11.028,8.4 11.466,7.546C12.02,6.465 11.816,5.636 10.807,4.965C10.576,4.811 10.315,4.701 10.07,4.568C8.698,3.824 8.268,2.734 8.86,1.511C9.483,0.226 10.862,-0.317 12.185,0.2C13.836,0.846 14.878,2.554 14.88,4.621" style="fill:'+(input.color? ? input.color : "black")+';fill-rule:nonzero;"/>'
|
|
</g>
|
|
</g>
|
|
|
|
</svg>
|
|
|
|
|
|
|
|
=#'+(input.color? ? input.color : "black")+'
|
|
.quote_content
|
|
=input.quote
|
|
%p.author
|
|
=input.author
|