templates/themes/ottcomputer/includes/modal-confirm-offer.html.twig line 1

Open in your IDE?
  1. <style>
  2.     /* The Modal (background) */
  3.     .modal {
  4.         display: none; /* Hidden by default */
  5.         position: fixed; /* Stay in place */
  6.         z-index: 1010; /* Sit on top */
  7.         padding-top: 150px; /* Location of the box */
  8.         left: 0;
  9.         top: 0;
  10.         width: 100%; /* Full width */
  11.         height: 100%; /* Full height */
  12.         background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  13.     }
  14.     /* Modal Content */
  15.     .modal-content {
  16.         position: relative;
  17.         background-color: #4F3175;
  18.         margin: auto;
  19.         padding: 0;
  20.         width: 50%;
  21.         box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  22.         animation-name: animatetop;
  23.         animation-duration: 0.4s
  24.     }
  25.     /* Modal Header */
  26.     .modal-header {
  27.         padding: 2px 16px;
  28.         color: white;
  29.     }
  30.     /* Modal Body */
  31.     .modal-body {
  32.         padding: 6%;
  33.     }
  34.     /* The Close Button */
  35.     .close {
  36.         color: #aaaaaa;
  37.         float: right;
  38.         font-size: 28px;
  39.         font-weight: bold;
  40.     }
  41.     .close:hover,
  42.     .close:focus {
  43.         color: #000;
  44.         text-decoration: none;
  45.         cursor: pointer;
  46.     }
  47.     #myModalConfirmOffer a {
  48.         color: #ffffff;
  49.         text-decoration: underline;
  50.     }
  51.     @media only screen and (max-width: 600px) {
  52.         /*!* The Modal (background) *!*/
  53.         .modal {
  54.             padding-top: 0;
  55.         }
  56.         /*!* The Modal (background) *!*/
  57.         .modal-content {
  58.             width: 100%; /* Full width */
  59.             height: 100%; /* Full width */
  60.         }
  61.     }
  62.     @media only screen and (max-width: 1000px) and (max-height: 450px) {
  63.         /* The Modal (background) */
  64.         .modal {
  65.             padding-top: 5%;
  66.         }
  67.         /* The Modal (background) */
  68.         .modal-content {
  69.             width: 75%; /* Full width */
  70.         }
  71.     }
  72.     /* Add Animation */
  73.     @keyframes animatetop {
  74.         from {
  75.             top: -300px;
  76.             opacity: 0
  77.         }
  78.         to {
  79.             top: 0;
  80.             opacity: 1
  81.         }
  82.     }
  83. </style>
  84.     <div id="myModalConfirmOffer" class="modal">
  85.     <div class="modal-content">
  86.         <div class="modal-header">
  87.             <span id="btnCloseModalConfirmOffer" class="close">&times;</span>
  88.         </div>
  89.         <div class="grid-x grid-margin-x modal-body">
  90.             <div class="cell medium-12">
  91.                 <div class="grid-x grid-margin-y">
  92.                     <div class="cell small-12 large-11 large-offset-1">
  93.                         <h1 class="text-center" style="color: #FFFFFF;">
  94.                             {{ "BESTELLUNG AUFGEBEN"|trans }}
  95.                         </h1>
  96.                     </div>
  97.                 </div>
  98.                 <div class="grid-margin-y">
  99.                     <p class="text-center" style="color: #FFFFFF; font-size: 18px;">
  100.                         {{ "Indem Sie auf"|trans }} <b>{{ "JETZT KAUFEN"|trans }}</b>
  101.                         {{ "klicken geben Sie Ihre Bestellung bei CAD2CUT verbindlich auf und stimmen den"|trans }}
  102.                         <b><a href="{{ startSite ~ 'agb' }}"
  103.                               target="_blank">{{ "Allgemeinen Geschäftsbedingungen"|trans }}</a></b> {{ "sowie den"|trans }}
  104.                         <b><a href="{{ startSite ~ 'datenschutz' }}"
  105.                               target="_blank">{{ "Datenschutzbestimmungen"|trans }}</a></b> {{ "zu."|trans }}
  106.                     </p>
  107.                 </div>
  108.                 <br>
  109.                 <div class="grid-x grid-margin-x">
  110.                     <div class="cell small-6 large-5 large-offset-1">
  111.                         <button id="btnCancelModalConfirmOffer" class="button expanded"
  112.                                 style="background: #FFFFFF; color: #4F3175">{{ "BESTELLUNG Ă„NDERN"|trans }}</button>
  113.                     </div>
  114.                     <div class="cell small-6 large-5">
  115.                         <button id="btnConfirModalConfirmOffer"
  116.                                 class="button expanded secondary">{{ "JETZT KAUFEN"|trans }}</button>
  117.                     </div>
  118.                 </div>
  119.             </div>
  120.         </div>
  121.     </div>
  122. </div>