templates/layout/styles.html.twig line 1

Open in your IDE?
  1. {% set settings = pimcore_website_config('Settings',null, app.request.locale) %}
  2. {% if settings %}
  3.     {% set button_design  = settings.buttons %}
  4.     {% set swiper_points  = settings.gallerieNavigation %}
  5.     {% set color_swatches = settings.colorSwatches%}
  6.     {# google search console #}
  7.     {# <meta name="google-site-verification" content=""> #}
  8. <style>
  9.     :root {
  10.     {% for color in settings.colors %}
  11.         --{{ color.key | lower}}:{{ color.color }};
  12.     {% endfor %}
  13.         --white: #fff;
  14.         --black: #000;
  15.     }
  16.     {% if button_design == "square" %}
  17.     .buttons-row a.btn.primary {
  18.         border-radius: 0;
  19.     }
  20.     {% endif %}
  21.     {% if swiper_points == "lines" %}
  22.     .swiper-pagination-clickable .swiper-pagination-bullet {
  23.         width: 47px;
  24.         border-radius: 0;
  25.         height: 3px;
  26.     }
  27.     {% endif %}
  28.     {% if color_swatches == "square" %}
  29.     .bild-text23.bild-text23-half .container .element.drittel.color-swatches .item-wrapper .item .circle-color {
  30.         border-radius: 0;
  31.     }
  32.     {% endif %}
  33.     {% if color_swatches == "shape" %}
  34.     .bild-text23.bild-text23-half .container .element.drittel.color-swatches .item-wrapper .item .circle-color {
  35.         border-left: 6vw solid white;
  36.         border-right: 6vw solid white;
  37.         border-bottom: 12vw solid;
  38.         border-radius: 0;
  39.         width: 0;
  40.         height: 0;
  41.     }
  42.     {% endif %}
  43.     .buttons-row a.btn.primary {
  44.         border: 1px solid {{ settings.buttonColor }};
  45.     }
  46.     .buttons-row a.btn.primary:hover {
  47.         background-color: {{ settings.buttonColor }};
  48.     }
  49.     .buttons-row a.btn.primary.icon span.download {
  50.         color: {{ settings.buttonColor }};
  51.     }
  52. </style>
  53. {% if settings.gutter == "with_gutter" %}
  54.     <link href="{{ asset('assets/css/gutters.css') }}" media="screen" rel="stylesheet" type="text/css" />
  55. {% endif %}
  56. {% endif %}