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

Open in your IDE?
  1. {#
  2.   framework/_select_entity_modal_css.html.twig
  3.   ==========================================================================
  4.   Entity-picker modal: form header, selectize control, item rows
  5.   De-duplicated from 2 templates. Lifted VERBATIM — same rules, same order — and
  6.   each call site keeps the include AT THE POSITION its <style> occupied, so the
  7.   cascade is unchanged. This is a de-duplication, not a restyle.
  8.   The block is STATIC (no Twig interpolation), so unlike the per-company theme
  9.   block it depends on nothing in the surrounding context.
  10.   SIBLING VARIANTS EXIST: none
  11.   Those are byte-different blocks styling the same area. They are deliberately
  12.   separate: they do not share their rule blocks, so folding them into one file
  13.   would change what some pages render. Do not merge them without diffing first.
  14.   ==========================================================================
  15. #}
  16. <style>
  17.     .modal div[class*="col-md"], .modal div[class*="col-lg"], .modal div[class*="col-xs"], .modal div[class*="col-sm"] {
  18.         margin-bottom: 0px;
  19.     }
  20.     .d-flex
  21.     {
  22.         display: flex;
  23.     }
  24.     #selectEntityModal {
  25.         /*box-shadow: 0px 6px 18px rgb(0 0 0 / 9%);*/
  26.         /*border-radius: 12px;*/
  27.     }
  28.     #selectEntityModal .modal-body {
  29.         padding: 0 1rem;
  30.     }
  31.     #selectEntityModal p {
  32.         margin-bottom: .5rem;
  33.     }
  34.     #selectEntityModal .selectize-control {
  35.         min-width: 100%;
  36.     }
  37.     #selectEntityModal .selectize-input.items {
  38.         border: 1px solid #d0d0d0;
  39.         padding: 8px 8px;
  40.         display: inline-block;
  41.         width: 100%;
  42.         overflow: hidden;
  43.         position: relative;
  44.         z-index: 1;
  45.         box-sizing: border-box;
  46.         box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1);
  47.         border-radius: 3px;
  48.     }
  49.     #selectEntityModalForm {
  50.         /*max-width: 500px;*/
  51.         background-color: #ffffff;
  52.         /*margin: 40px auto;*/
  53.         padding: 40px;
  54.         box-shadow: 0px 6px 18px rgb(0 0 0 / 9%);
  55.         /*border-radius: 12px;*/
  56.     }
  57.     #selectEntityModalForm .form-header {
  58.         gap: 5px;
  59.         text-align: center;
  60.         font-size: .9em;
  61.     }
  62.     #selectEntityModalForm .form-header .stepIndicator {
  63.         position: relative;
  64.         flex: 1;
  65.         padding-bottom: 30px;
  66.     }
  67.     #selectEntityModalForm .form-header .stepIndicator.active {
  68.         font-weight: 600;
  69.     }
  70.     #selectEntityModalForm .form-header .stepIndicator.finish {
  71.         font-weight: 600;
  72.         color: #009688;
  73.     }
  74.     #selectEntityModalForm .form-header .stepIndicator::before {
  75.         content: "";
  76.         position: absolute;
  77.         left: 50%;
  78.         bottom: 0;
  79.         transform: translateX(-50%);
  80.         z-index: 9;
  81.         width: 20px;
  82.         height: 20px;
  83.         background-color: #d5efed;
  84.         border-radius: 50%;
  85.         border: 3px solid #ecf5f4;
  86.     }
  87.     #selectEntityModalForm .form-header .stepIndicator.active::before {
  88.         background-color: #a7ede8;
  89.         border: 3px solid #d5f9f6;
  90.     }
  91.     #selectEntityModalForm .form-header .stepIndicator.finish::before {
  92.         background-color: #009688;
  93.         border: 3px solid #b7e1dd;
  94.     }
  95.     #selectEntityModalForm .form-header .stepIndicator::after {
  96.         content: "";
  97.         position: absolute;
  98.         left: 50%;
  99.         bottom: 8px;
  100.         width: 100%;
  101.         height: 3px;
  102.         background-color: #f3f3f3;
  103.     }
  104.     #selectEntityModalForm .form-header .stepIndicator.active::after {
  105.         background-color: #a7ede8;
  106.     }
  107.     #selectEntityModalForm .form-header .stepIndicator.finish::after {
  108.         background-color: #009688;
  109.     }
  110.     #selectEntityModalForm .form-header .stepIndicator:last-child:after {
  111.         display: none;
  112.     }
  113.     #selectEntityModalForm input {
  114.         padding: 15px 20px;
  115.         width: 100%;
  116.         font-size: 1em;
  117.         border: 1px solid #e3e3e3;
  118.         border-radius: 5px;
  119.     }
  120.     #selectEntityModalForm input:focus {
  121.         border: 1px solid #009688;
  122.         outline: 0;
  123.     }
  124.     #selectEntityModalForm input.invalid {
  125.         border: 1px solid #ffaba5;
  126.     }
  127.     #selectEntityModalForm .step {
  128.         display: none;
  129.     }
  130.     #selectEntityModalForm .form-footer {
  131.         overflow: auto;
  132.         gap: 20px;
  133.     }
  134.     #selectEntityModalForm .form-footer button {
  135.         background-color: #1d5b9e;
  136.         border: 1px solid #1d5b9e;
  137.         color: #ffffff;
  138.         border: none;
  139.         padding: 13px 30px;
  140.         font-size: 1em;
  141.         cursor: pointer;
  142.         border-radius: 5px;
  143.         flex: 1;
  144.         margin-top: 5px;
  145.     }
  146.     #selectEntityModalForm .form-footer button:hover {
  147.         opacity: 0.8;
  148.     }
  149.     #selectEntityModalForm .form-footer #promptInfo_prevBtn {
  150.         background-color: #fff;
  151.         color: #009688;
  152.     }
  153.     .box-selector {
  154.         padding: 10px 4px;
  155.         cursor: pointer;
  156.     }
  157.     .box-selector .inside {
  158.         padding: 5px;
  159.         border-radius: 5px;
  160.         -webkit-box-shadow: 10px 10px 48px -24px rgba(14, 26, 87, 1);
  161.         -moz-box-shadow: 10px 10px 48px -24px rgba(14, 26, 87, 1);
  162.         box-shadow: 10px 10px 48px -24px rgba(14, 26, 87, 1);
  163.     }
  164.     .box-selector .inside input {
  165.         cursor: pointer
  166.     }
  167.     .box-selector .inside textarea {
  168.         text-align: center;
  169.         cursor: pointer;
  170.         width: 100%;
  171.         border: none;
  172.         resize: none;
  173.         font-size: 14px;
  174.         color: #1d5b9e;
  175.         font-weight: bold;
  176.     }
  177.     .box-selector.sch_selector_mon .inside,
  178.     .box-selector.sch_selector_day .inside
  179.         /*.box-selector.sch_selector_time .inside*/
  180.     {
  181.         padding: 10px 5px;
  182.     }
  183.     .box-selector.sch_selector_time .inside {
  184.         padding: 4px 5px;
  185.     }
  186.     .step .view_if_has_schedules {
  187.         display: none;
  188.     }
  189.     .box-selector.active:not(.man_sch_selector) .inside {
  190.         border: 2px solid #1d5b9e;
  191.         -webkit-box-shadow: 10px 10px 24px -3px rgba(29, 91, 158, 1);
  192.         -moz-box-shadow: 10px 10px 24px -3px rgba(29, 91, 158, 1);
  193.         box-shadow: 10px 10px 24px -3px rgba(29, 91, 158, 1);
  194.     }
  195.     .box-selector.active.man_sch_selector .inside {
  196.         border: 2px solid #1d5b9e;
  197.         -webkit-box-shadow: none;
  198.         -moz-box-shadow: none;
  199.         box-shadow: none;
  200.     }
  201.     .box-selector.sch_selector_mon.active .inside,
  202.     .box-selector.sch_selector_day.active .inside,
  203.     .box-selector.sch_selector_time.active .inside {
  204.         border: 2px solid #1d5b9e;
  205.         -webkit-box-shadow: 4px 7px 24px -3px rgba(29, 91, 158, 1);
  206.         -moz-box-shadow: 10px 10px 24px -3px rgba(29, 91, 158, 1);
  207.         box-shadow: 4px 7px 24px -3px rgba(29, 91, 158, 1);
  208.     }
  209.     .box-selector .img {
  210.         margin-left: 5px;
  211.     }
  212.     .box-selector .title {
  213.         text-align: center;
  214.         font-size: 13px;
  215.         margin-top: auto;
  216.         margin-bottom: auto;
  217.     }
  218.     .box-selector.paymentMethodSelectorBtn .title {
  219.         text-align: center;
  220.         margin-bottom: 1px;
  221.         font-size: 14px;
  222.     }
  223.     .box-selector .sub-title {
  224.         font-size: 12px;
  225.         color: grey;
  226.     }
  227.     #selectEntityModal .routineTable {
  228.         text-align: left;
  229.         vertical-align: middle;
  230.     }
  231.     #selectEntityModal .routineTable .icon-delete {
  232.         color: darkred;
  233.         font-weight: bold;
  234.     }
  235.     #selectEntityModal .routineTable .icon-delete .fa {
  236.         padding: 10px;
  237.         border-radius: 39px;
  238.         border: 1px solid #eddcdc;
  239.         width: 34px;
  240.         height: 34px;
  241.         text-align: center;
  242.     }
  243.     #selectEntityModal .routineTable .icon-check {
  244.         color: green;
  245.         font-weight: bold;
  246.     }
  247.     #selectEntityModal .routineTable .icon-check .fa {
  248.         opacity: 0.1;
  249.     }
  250.     #selectEntityModal .routineTable .icon-check.isChecked .fa {
  251.         opacity: 1;
  252.     }
  253.     #selectEntityModal .routineTable .icon-check .fa {
  254.         padding: 10px;
  255.         border-radius: 39px;
  256.         border: 1px solid #eddcdc;
  257.         width: 34px;
  258.         height: 34px;
  259.         text-align: center;
  260.     }
  261.     #selectEntityModal .routineTable {
  262.         text-align: left;
  263.         vertical-align: middle;
  264.     }
  265.     #selectEntityModal .routineTable .icon-delete {
  266.         color: darkred;
  267.         font-weight: bold;
  268.     }
  269.     #selectEntityModal .routineTable .icon-delete .fa {
  270.         padding: 10px;
  271.         border-radius: 39px;
  272.         border: 1px solid #eddcdc;
  273.         width: 34px;
  274.         height: 34px;
  275.         text-align: center;
  276.     }
  277.     #selectEntityModal .routineTable .icon-check {
  278.         color: green;
  279.         font-weight: bold;
  280.     }
  281.     #selectEntityModal .routineTable .icon-check .fa {
  282.         opacity: 0.1;
  283.     }
  284.     #selectEntityModal .routineTable .icon-check.isChecked .fa {
  285.         opacity: 1;
  286.     }
  287.     #selectEntityModal .routineTable .icon-check .fa {
  288.         padding: 10px;
  289.         border-radius: 39px;
  290.         border: 1px solid #eddcdc;
  291.         width: 34px;
  292.         height: 34px;
  293.         text-align: center;
  294.     }
  295. </style>