src/ApplicationBundle/Resources/views/framework/_legacy_amount_align_css.html.twig line 1

Open in your IDE?
  1. {#
  2.   framework/_legacy_amount_align_css.html.twig
  3.   ==============================================================================
  4.   This exact block was copy-pasted into 96 templates across 11 modules. Lifted
  5.   here VERBATIM — same rules, same order, no token conversion — so the render is
  6.   byte-identical and this stays a de-duplication, not a restyle.
  7.   Each call site keeps the include AT THE POSITION the <style> occupied, so the
  8.   cascade is unchanged. (Hoisting blocks to the top of a file is what broke two
  9.   pages on the first attempt at this: a later block interpolated a variable that
  10.   is {% set %} further down.)
  11.   The block is static — no Twig interpolation — which is why it was safe to start
  12.   with. Note `.trans_amount` is ALSO declared, differently and with !important, in
  13.   a separate block copied into 34 more templates; unifying the two is Phase 3
  14.   (tokenise), not this pass.
  15.   ==============================================================================
  16. #}
  17. <style type="text/css">
  18.     body {
  19.         /*-moz-transform: scale(0.5, 0.5); !* Moz-browsers *!*/
  20.         zoom: 1; /* Other non-webkit browsers */
  21.         zoom: 100%; /* Webkit browsers */
  22.     }
  23.     /*.modal-dialog {*/
  24.     /*width: 75%;*/
  25.     /*}*/
  26.     .trans_amount {
  27.         text-align: right;
  28.     }
  29. </style>