hof 20.3.5 → 20.3.6-timeout-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nyc_output/2194bc4f-7454-4356-80e2-e52a7dc798aa.json +1 -0
 - package/.nyc_output/processinfo/2194bc4f-7454-4356-80e2-e52a7dc798aa.json +1 -0
 - package/.nyc_output/processinfo/index.json +1 -0
 - package/README.md +12 -12
 - package/frontend/govuk-template/govuk_template_generated.html +103 -0
 - package/frontend/template-partials/translations/src/en/buttons.json +1 -0
 - package/frontend/template-partials/translations/src/en/errors.json +4 -0
 - package/frontend/template-partials/views/layout.html +2 -1
 - package/frontend/template-partials/views/partials/session-timeout-warning.html +27 -0
 - package/frontend/themes/gov-uk/client-js/dialog/index.js +359 -0
 - package/frontend/themes/gov-uk/client-js/dialog/utils.js +114 -0
 - package/frontend/themes/gov-uk/client-js/index.js +1 -0
 - package/middleware/session-timeout.js +23 -0
 - package/package.json +1 -1
 - package/sandbox/apps/sandbox/behaviours/extend-session.js +9 -0
 - package/sandbox/apps/sandbox/translations/en/default.json +220 -0
 - package/sandbox/assets/scss/app.scss +115 -1
 - package/sandbox/package.json +1 -1
 - package/sandbox/public/css/app.css +9496 -0
 - package/sandbox/public/images/icons/icon-caret-left.png +0 -0
 - package/sandbox/public/images/icons/icon-complete.png +0 -0
 - package/sandbox/public/images/icons/icon-cross-remove-sign.png +0 -0
 - package/sandbox/public/js/bundle.js +46864 -0
 - package/sandbox/yarn.lock +6 -1
 - package/frontend/template-partials/views/partials/warn.html +0 -7
 
| 
         @@ -0,0 +1,220 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            {
         
     | 
| 
      
 2 
     | 
    
         
            +
              "fields": {
         
     | 
| 
      
 3 
     | 
    
         
            +
                "landing-page-radio": {
         
     | 
| 
      
 4 
     | 
    
         
            +
                  "legend": "Which form would you like to explore?",
         
     | 
| 
      
 5 
     | 
    
         
            +
                  "hint": "Choose one of the options below and press continue.",
         
     | 
| 
      
 6 
     | 
    
         
            +
                  "options": {
         
     | 
| 
      
 7 
     | 
    
         
            +
                    "basic-form": {
         
     | 
| 
      
 8 
     | 
    
         
            +
                      "label": "Basic form"
         
     | 
| 
      
 9 
     | 
    
         
            +
                    },
         
     | 
| 
      
 10 
     | 
    
         
            +
                    "complex-form": {
         
     | 
| 
      
 11 
     | 
    
         
            +
                      "label": "Complex form"
         
     | 
| 
      
 12 
     | 
    
         
            +
                    },
         
     | 
| 
      
 13 
     | 
    
         
            +
                    "build-your-own-form": {
         
     | 
| 
      
 14 
     | 
    
         
            +
                      "label": "Build your own form"
         
     | 
| 
      
 15 
     | 
    
         
            +
                    }
         
     | 
| 
      
 16 
     | 
    
         
            +
                  }
         
     | 
| 
      
 17 
     | 
    
         
            +
                },
         
     | 
| 
      
 18 
     | 
    
         
            +
                "name": {
         
     | 
| 
      
 19 
     | 
    
         
            +
                  "label": "Full name"
         
     | 
| 
      
 20 
     | 
    
         
            +
                },
         
     | 
| 
      
 21 
     | 
    
         
            +
                "dateOfBirth": {
         
     | 
| 
      
 22 
     | 
    
         
            +
                  "legend": "What is your date of birth?",
         
     | 
| 
      
 23 
     | 
    
         
            +
                  "hint": "For example, 31 10 1990"
         
     | 
| 
      
 24 
     | 
    
         
            +
                },
         
     | 
| 
      
 25 
     | 
    
         
            +
                "building": {
         
     | 
| 
      
 26 
     | 
    
         
            +
                  "label": "Building and street"
         
     | 
| 
      
 27 
     | 
    
         
            +
                },
         
     | 
| 
      
 28 
     | 
    
         
            +
                "street": {
         
     | 
| 
      
 29 
     | 
    
         
            +
                  "label": "Address line 2"
         
     | 
| 
      
 30 
     | 
    
         
            +
                },
         
     | 
| 
      
 31 
     | 
    
         
            +
                "townOrCity": {
         
     | 
| 
      
 32 
     | 
    
         
            +
                  "label": "Town or city"
         
     | 
| 
      
 33 
     | 
    
         
            +
                },
         
     | 
| 
      
 34 
     | 
    
         
            +
                "postcode": {
         
     | 
| 
      
 35 
     | 
    
         
            +
                  "label": "Postcode"
         
     | 
| 
      
 36 
     | 
    
         
            +
                },
         
     | 
| 
      
 37 
     | 
    
         
            +
                "incomeTypes": {
         
     | 
| 
      
 38 
     | 
    
         
            +
                  "label": "Sources of income",
         
     | 
| 
      
 39 
     | 
    
         
            +
                  "legend": "Select the options where you receive income from",
         
     | 
| 
      
 40 
     | 
    
         
            +
                  "hint": "Select all options that apply to you.",
         
     | 
| 
      
 41 
     | 
    
         
            +
                  "options": {
         
     | 
| 
      
 42 
     | 
    
         
            +
                    "salary": {
         
     | 
| 
      
 43 
     | 
    
         
            +
                      "label": "Salary"
         
     | 
| 
      
 44 
     | 
    
         
            +
                    },
         
     | 
| 
      
 45 
     | 
    
         
            +
                    "universal_credit": {
         
     | 
| 
      
 46 
     | 
    
         
            +
                      "label": "Universal Credit"
         
     | 
| 
      
 47 
     | 
    
         
            +
                    },
         
     | 
| 
      
 48 
     | 
    
         
            +
                    "child_benefit": {
         
     | 
| 
      
 49 
     | 
    
         
            +
                      "label": "Child Benefit"
         
     | 
| 
      
 50 
     | 
    
         
            +
                    },
         
     | 
| 
      
 51 
     | 
    
         
            +
                    "housing_benefit": {
         
     | 
| 
      
 52 
     | 
    
         
            +
                      "label": "Housing Benefit"
         
     | 
| 
      
 53 
     | 
    
         
            +
                    },
         
     | 
| 
      
 54 
     | 
    
         
            +
                    "other": {
         
     | 
| 
      
 55 
     | 
    
         
            +
                      "label": "Other"
         
     | 
| 
      
 56 
     | 
    
         
            +
                    }
         
     | 
| 
      
 57 
     | 
    
         
            +
                  }
         
     | 
| 
      
 58 
     | 
    
         
            +
                },
         
     | 
| 
      
 59 
     | 
    
         
            +
                "countryOfHearing": {
         
     | 
| 
      
 60 
     | 
    
         
            +
                  "legend": "What country was the appeal lodged?",
         
     | 
| 
      
 61 
     | 
    
         
            +
                  "options": {
         
     | 
| 
      
 62 
     | 
    
         
            +
                    "englandAndWales": {
         
     | 
| 
      
 63 
     | 
    
         
            +
                      "label": "England and Wales"
         
     | 
| 
      
 64 
     | 
    
         
            +
                    },
         
     | 
| 
      
 65 
     | 
    
         
            +
                    "scotland": {
         
     | 
| 
      
 66 
     | 
    
         
            +
                      "label": "Scotland"
         
     | 
| 
      
 67 
     | 
    
         
            +
                    },
         
     | 
| 
      
 68 
     | 
    
         
            +
                    "northernIreland": {
         
     | 
| 
      
 69 
     | 
    
         
            +
                      "label": "Northern Ireland"
         
     | 
| 
      
 70 
     | 
    
         
            +
                    }
         
     | 
| 
      
 71 
     | 
    
         
            +
                  }
         
     | 
| 
      
 72 
     | 
    
         
            +
                },
         
     | 
| 
      
 73 
     | 
    
         
            +
                "email": {
         
     | 
| 
      
 74 
     | 
    
         
            +
                  "label": "Email address"
         
     | 
| 
      
 75 
     | 
    
         
            +
                },
         
     | 
| 
      
 76 
     | 
    
         
            +
                "phone": {
         
     | 
| 
      
 77 
     | 
    
         
            +
                  "label": "Phone number",
         
     | 
| 
      
 78 
     | 
    
         
            +
                  "hint": "International phone numbers require the international dialling code, for example +33235066182"
         
     | 
| 
      
 79 
     | 
    
         
            +
                },
         
     | 
| 
      
 80 
     | 
    
         
            +
                "int-phone-number": {
         
     | 
| 
      
 81 
     | 
    
         
            +
                  "legend": "International phone number"
         
     | 
| 
      
 82 
     | 
    
         
            +
                },
         
     | 
| 
      
 83 
     | 
    
         
            +
                "complaintDetails": {
         
     | 
| 
      
 84 
     | 
    
         
            +
                  "label": "Complaint details",
         
     | 
| 
      
 85 
     | 
    
         
            +
                  "hint": "Briefly summarise your complaint. Include anything that can help our investigation."
         
     | 
| 
      
 86 
     | 
    
         
            +
                },
         
     | 
| 
      
 87 
     | 
    
         
            +
                "whatHappened": {
         
     | 
| 
      
 88 
     | 
    
         
            +
                  "label": "What happened",
         
     | 
| 
      
 89 
     | 
    
         
            +
                  "hint": "Briefly summarise what happened."
         
     | 
| 
      
 90 
     | 
    
         
            +
                },
         
     | 
| 
      
 91 
     | 
    
         
            +
                "countrySelect": {
         
     | 
| 
      
 92 
     | 
    
         
            +
                  "label": "Which country are you based in?",
         
     | 
| 
      
 93 
     | 
    
         
            +
                  "hint": "Start to type the country name and options will appear"
         
     | 
| 
      
 94 
     | 
    
         
            +
                },
         
     | 
| 
      
 95 
     | 
    
         
            +
                "appealStages": {
         
     | 
| 
      
 96 
     | 
    
         
            +
                  "label": "Appeal stage",
         
     | 
| 
      
 97 
     | 
    
         
            +
                  "hint": "Choose an appeal stage from the drop down menu",
         
     | 
| 
      
 98 
     | 
    
         
            +
                  "options": {
         
     | 
| 
      
 99 
     | 
    
         
            +
                    "null": "Select..."
         
     | 
| 
      
 100 
     | 
    
         
            +
                  }
         
     | 
| 
      
 101 
     | 
    
         
            +
                }
         
     | 
| 
      
 102 
     | 
    
         
            +
              },
         
     | 
| 
      
 103 
     | 
    
         
            +
              "journey": {
         
     | 
| 
      
 104 
     | 
    
         
            +
                "header": "HOF Bootstrap Sandbox Form",
         
     | 
| 
      
 105 
     | 
    
         
            +
                "confirmation": {
         
     | 
| 
      
 106 
     | 
    
         
            +
                  "details": "Your reference number <br><strong>HDJ2123F</strong>"
         
     | 
| 
      
 107 
     | 
    
         
            +
                }
         
     | 
| 
      
 108 
     | 
    
         
            +
              },
         
     | 
| 
      
 109 
     | 
    
         
            +
              "pages": {
         
     | 
| 
      
 110 
     | 
    
         
            +
                "landing-page": {
         
     | 
| 
      
 111 
     | 
    
         
            +
                  "header": "Landing page"
         
     | 
| 
      
 112 
     | 
    
         
            +
                },
         
     | 
| 
      
 113 
     | 
    
         
            +
                "build-your-own-form": {
         
     | 
| 
      
 114 
     | 
    
         
            +
                  "title": "Build your own form",
         
     | 
| 
      
 115 
     | 
    
         
            +
                  "subheader": "Access the build your own form guidance link"
         
     | 
| 
      
 116 
     | 
    
         
            +
                },
         
     | 
| 
      
 117 
     | 
    
         
            +
                "address": {
         
     | 
| 
      
 118 
     | 
    
         
            +
                  "header": "What is your address in the UK?",
         
     | 
| 
      
 119 
     | 
    
         
            +
                  "intro": "If you have no fixed address, enter an address where we can contact you."
         
     | 
| 
      
 120 
     | 
    
         
            +
                },
         
     | 
| 
      
 121 
     | 
    
         
            +
                "name": {
         
     | 
| 
      
 122 
     | 
    
         
            +
                  "header": "What is your full name?"
         
     | 
| 
      
 123 
     | 
    
         
            +
                },
         
     | 
| 
      
 124 
     | 
    
         
            +
                "email": {
         
     | 
| 
      
 125 
     | 
    
         
            +
                  "header": "Enter your email address"
         
     | 
| 
      
 126 
     | 
    
         
            +
                },
         
     | 
| 
      
 127 
     | 
    
         
            +
                "phone-number": {
         
     | 
| 
      
 128 
     | 
    
         
            +
                  "header": "Enter your phone number"
         
     | 
| 
      
 129 
     | 
    
         
            +
                },
         
     | 
| 
      
 130 
     | 
    
         
            +
                "confirm": {
         
     | 
| 
      
 131 
     | 
    
         
            +
                  "header": "Check your answers before submitting your application.",
         
     | 
| 
      
 132 
     | 
    
         
            +
                  "sections": {
         
     | 
| 
      
 133 
     | 
    
         
            +
                    "applicantsDetails": {
         
     | 
| 
      
 134 
     | 
    
         
            +
                      "header": "Applicant's details"
         
     | 
| 
      
 135 
     | 
    
         
            +
                    },
         
     | 
| 
      
 136 
     | 
    
         
            +
                    "address": {
         
     | 
| 
      
 137 
     | 
    
         
            +
                      "header": "Address"
         
     | 
| 
      
 138 
     | 
    
         
            +
                    },
         
     | 
| 
      
 139 
     | 
    
         
            +
                    "income": {
         
     | 
| 
      
 140 
     | 
    
         
            +
                      "header": "Income"
         
     | 
| 
      
 141 
     | 
    
         
            +
                    },
         
     | 
| 
      
 142 
     | 
    
         
            +
                    "appealDetails": {
         
     | 
| 
      
 143 
     | 
    
         
            +
                      "header": "Appeal details"
         
     | 
| 
      
 144 
     | 
    
         
            +
                    },
         
     | 
| 
      
 145 
     | 
    
         
            +
                    "countrySelect": {
         
     | 
| 
      
 146 
     | 
    
         
            +
                      "header": "Country of residence"
         
     | 
| 
      
 147 
     | 
    
         
            +
                    },
         
     | 
| 
      
 148 
     | 
    
         
            +
                    "contactDetails": {
         
     | 
| 
      
 149 
     | 
    
         
            +
                      "header": "Contact details"
         
     | 
| 
      
 150 
     | 
    
         
            +
                    },
         
     | 
| 
      
 151 
     | 
    
         
            +
                    "complaintDetails": {
         
     | 
| 
      
 152 
     | 
    
         
            +
                      "header": "Complaint details"
         
     | 
| 
      
 153 
     | 
    
         
            +
                    },
         
     | 
| 
      
 154 
     | 
    
         
            +
                    "whatHappened": {
         
     | 
| 
      
 155 
     | 
    
         
            +
                      "header": "What happened"
         
     | 
| 
      
 156 
     | 
    
         
            +
                    }
         
     | 
| 
      
 157 
     | 
    
         
            +
                  }
         
     | 
| 
      
 158 
     | 
    
         
            +
                },
         
     | 
| 
      
 159 
     | 
    
         
            +
                "confirmation": {
         
     | 
| 
      
 160 
     | 
    
         
            +
                  "title": "Application sent",
         
     | 
| 
      
 161 
     | 
    
         
            +
                  "alert": "Application sent",
         
     | 
| 
      
 162 
     | 
    
         
            +
                  "subheader": "What happens next",
         
     | 
| 
      
 163 
     | 
    
         
            +
                  "content": "We’ll contact you with the decision of your application or if we need more information from you."
         
     | 
| 
      
 164 
     | 
    
         
            +
                }
         
     | 
| 
      
 165 
     | 
    
         
            +
              },
         
     | 
| 
      
 166 
     | 
    
         
            +
              "validation": {
         
     | 
| 
      
 167 
     | 
    
         
            +
                "landing-page-radio": {
         
     | 
| 
      
 168 
     | 
    
         
            +
                  "required": "Select an option below and press continue"
         
     | 
| 
      
 169 
     | 
    
         
            +
                },
         
     | 
| 
      
 170 
     | 
    
         
            +
                "name": {
         
     | 
| 
      
 171 
     | 
    
         
            +
                  "default": "Enter your full name"
         
     | 
| 
      
 172 
     | 
    
         
            +
                },
         
     | 
| 
      
 173 
     | 
    
         
            +
                "dateOfBirth": {
         
     | 
| 
      
 174 
     | 
    
         
            +
                  "default": "Enter your date of birth in the correct format; for example, 31 10 1990",
         
     | 
| 
      
 175 
     | 
    
         
            +
                  "after": "Enter a date after 1 1 1900",
         
     | 
| 
      
 176 
     | 
    
         
            +
                  "before": "Enter a date that is in the past"
         
     | 
| 
      
 177 
     | 
    
         
            +
                },
         
     | 
| 
      
 178 
     | 
    
         
            +
                "building": {
         
     | 
| 
      
 179 
     | 
    
         
            +
                  "default": "Enter details of your building and street"
         
     | 
| 
      
 180 
     | 
    
         
            +
                },
         
     | 
| 
      
 181 
     | 
    
         
            +
                "townOrCity": {
         
     | 
| 
      
 182 
     | 
    
         
            +
                  "default": "Enter a town or city",
         
     | 
| 
      
 183 
     | 
    
         
            +
                  "regex": "Enter a town or city without including digits"
         
     | 
| 
      
 184 
     | 
    
         
            +
                },
         
     | 
| 
      
 185 
     | 
    
         
            +
                "postcode": {
         
     | 
| 
      
 186 
     | 
    
         
            +
                  "default": "Enter your postcode"
         
     | 
| 
      
 187 
     | 
    
         
            +
                },
         
     | 
| 
      
 188 
     | 
    
         
            +
                "incomeTypes": {
         
     | 
| 
      
 189 
     | 
    
         
            +
                  "default": "Select all options that apply to you."
         
     | 
| 
      
 190 
     | 
    
         
            +
                },
         
     | 
| 
      
 191 
     | 
    
         
            +
                "countryOfHearing": {
         
     | 
| 
      
 192 
     | 
    
         
            +
                  "default": "Select where the appeal hearing is to be held"
         
     | 
| 
      
 193 
     | 
    
         
            +
                },
         
     | 
| 
      
 194 
     | 
    
         
            +
                "countrySelect": {
         
     | 
| 
      
 195 
     | 
    
         
            +
                  "default": "Enter a valid country of residence",
         
     | 
| 
      
 196 
     | 
    
         
            +
                  "required": "Enter your country of residence"
         
     | 
| 
      
 197 
     | 
    
         
            +
                },
         
     | 
| 
      
 198 
     | 
    
         
            +
                "email": {
         
     | 
| 
      
 199 
     | 
    
         
            +
                  "default": "Enter your email address in the correct format"
         
     | 
| 
      
 200 
     | 
    
         
            +
                },
         
     | 
| 
      
 201 
     | 
    
         
            +
                "phone": {
         
     | 
| 
      
 202 
     | 
    
         
            +
                  "default": "Enter your phone number"
         
     | 
| 
      
 203 
     | 
    
         
            +
                },
         
     | 
| 
      
 204 
     | 
    
         
            +
                "int-phone-number": {
         
     | 
| 
      
 205 
     | 
    
         
            +
                  "required": "Enter an international phone number",
         
     | 
| 
      
 206 
     | 
    
         
            +
                  "internationalPhoneNumber": "Enter a valid international phone number"
         
     | 
| 
      
 207 
     | 
    
         
            +
                },
         
     | 
| 
      
 208 
     | 
    
         
            +
                "complaintDetails": {
         
     | 
| 
      
 209 
     | 
    
         
            +
                  "default": "Enter details about why you are making a complaint",
         
     | 
| 
      
 210 
     | 
    
         
            +
                  "maxlength": "Keep to the {{maxlength}} character limit"
         
     | 
| 
      
 211 
     | 
    
         
            +
                },
         
     | 
| 
      
 212 
     | 
    
         
            +
                "whatHappened": {
         
     | 
| 
      
 213 
     | 
    
         
            +
                  "default": "Enter details about what happened",
         
     | 
| 
      
 214 
     | 
    
         
            +
                  "maxword": "Keep to the {{maxword}} word limit"
         
     | 
| 
      
 215 
     | 
    
         
            +
                },
         
     | 
| 
      
 216 
     | 
    
         
            +
                "appealStages": {
         
     | 
| 
      
 217 
     | 
    
         
            +
                  "required": "Select an appeal stage from the list"
         
     | 
| 
      
 218 
     | 
    
         
            +
                }
         
     | 
| 
      
 219 
     | 
    
         
            +
              }
         
     | 
| 
      
 220 
     | 
    
         
            +
            }
         
     | 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
                border: 1px solid #ccc;
         
     | 
| 
       8 
8 
     | 
    
         
             
                width: 65%;
         
     | 
| 
       9 
9 
     | 
    
         
             
              }
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
       11 
11 
     | 
    
         
             
            .tt-suggestion {
         
     | 
| 
       12 
12 
     | 
    
         
             
              padding: 0.5em;
         
     | 
| 
       13 
13 
     | 
    
         | 
| 
         @@ -25,3 +25,117 @@ 
     | 
|
| 
       25 
25 
     | 
    
         
             
            .twitter-typeahead {
         
     | 
| 
       26 
26 
     | 
    
         
             
              width: 100%;
         
     | 
| 
       27 
27 
     | 
    
         
             
            }
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
            .hidden {
         
     | 
| 
      
 30 
     | 
    
         
            +
              display: none;
         
     | 
| 
      
 31 
     | 
    
         
            +
            }
         
     | 
| 
      
 32 
     | 
    
         
            +
             
     | 
| 
      
 33 
     | 
    
         
            +
            [role="dialog"] {
         
     | 
| 
      
 34 
     | 
    
         
            +
              box-sizing: border-box;
         
     | 
| 
      
 35 
     | 
    
         
            +
              padding: 15px;
         
     | 
| 
      
 36 
     | 
    
         
            +
              border: 1px solid #000;
         
     | 
| 
      
 37 
     | 
    
         
            +
              background-color: #fff;
         
     | 
| 
      
 38 
     | 
    
         
            +
              min-height: 100vh;
         
     | 
| 
      
 39 
     | 
    
         
            +
            }
         
     | 
| 
      
 40 
     | 
    
         
            +
             
     | 
| 
      
 41 
     | 
    
         
            +
            @media screen and (min-width: 640px) {
         
     | 
| 
      
 42 
     | 
    
         
            +
              [role="dialog"] {
         
     | 
| 
      
 43 
     | 
    
         
            +
                position: absolute;
         
     | 
| 
      
 44 
     | 
    
         
            +
                top: 25vh;
         
     | 
| 
      
 45 
     | 
    
         
            +
                left: 50vw; /* move to the middle of the screen (assumes relative parent is the body/viewport) */
         
     | 
| 
      
 46 
     | 
    
         
            +
                transform: translateX(
         
     | 
| 
      
 47 
     | 
    
         
            +
                    -50%
         
     | 
| 
      
 48 
     | 
    
         
            +
                ); /* move backwards 50% of this element's width */
         
     | 
| 
      
 49 
     | 
    
         
            +
                min-width: calc(640px - (15px * 2)); /* == breakpoint - left+right margin */
         
     | 
| 
      
 50 
     | 
    
         
            +
                min-height: auto;
         
     | 
| 
      
 51 
     | 
    
         
            +
                box-shadow: 0 19px 38px rgb(0 0 0 / 12%), 0 15px 12px rgb(0 0 0 / 22%);
         
     | 
| 
      
 52 
     | 
    
         
            +
              }
         
     | 
| 
      
 53 
     | 
    
         
            +
            }
         
     | 
| 
      
 54 
     | 
    
         
            +
             
     | 
| 
      
 55 
     | 
    
         
            +
            .dialog_form {
         
     | 
| 
      
 56 
     | 
    
         
            +
              margin: 15px;
         
     | 
| 
      
 57 
     | 
    
         
            +
            }
         
     | 
| 
      
 58 
     | 
    
         
            +
             
     | 
| 
      
 59 
     | 
    
         
            +
            .dialog_form .label_text {
         
     | 
| 
      
 60 
     | 
    
         
            +
              box-sizing: border-box;
         
     | 
| 
      
 61 
     | 
    
         
            +
              padding-right: 0.5em;
         
     | 
| 
      
 62 
     | 
    
         
            +
              display: inline-block;
         
     | 
| 
      
 63 
     | 
    
         
            +
              font-size: 16px;
         
     | 
| 
      
 64 
     | 
    
         
            +
              font-weight: bold;
         
     | 
| 
      
 65 
     | 
    
         
            +
              width: 30%;
         
     | 
| 
      
 66 
     | 
    
         
            +
              text-align: right;
         
     | 
| 
      
 67 
     | 
    
         
            +
            }
         
     | 
| 
      
 68 
     | 
    
         
            +
             
     | 
| 
      
 69 
     | 
    
         
            +
            .dialog_form .label_info {
         
     | 
| 
      
 70 
     | 
    
         
            +
              box-sizing: border-box;
         
     | 
| 
      
 71 
     | 
    
         
            +
              padding-right: 0.5em;
         
     | 
| 
      
 72 
     | 
    
         
            +
              font-size: 12px;
         
     | 
| 
      
 73 
     | 
    
         
            +
              width: 30%;
         
     | 
| 
      
 74 
     | 
    
         
            +
              text-align: right;
         
     | 
| 
      
 75 
     | 
    
         
            +
              display: inline-block;
         
     | 
| 
      
 76 
     | 
    
         
            +
            }
         
     | 
| 
      
 77 
     | 
    
         
            +
             
     | 
| 
      
 78 
     | 
    
         
            +
            .dialog_form_item {
         
     | 
| 
      
 79 
     | 
    
         
            +
              margin: 10px 0;
         
     | 
| 
      
 80 
     | 
    
         
            +
              font-size: 0;
         
     | 
| 
      
 81 
     | 
    
         
            +
            }
         
     | 
| 
      
 82 
     | 
    
         
            +
             
     | 
| 
      
 83 
     | 
    
         
            +
            .dialog_form_item .wide_input {
         
     | 
| 
      
 84 
     | 
    
         
            +
              box-sizing: border-box;
         
     | 
| 
      
 85 
     | 
    
         
            +
              max-width: 70%;
         
     | 
| 
      
 86 
     | 
    
         
            +
              width: 27em;
         
     | 
| 
      
 87 
     | 
    
         
            +
            }
         
     | 
| 
      
 88 
     | 
    
         
            +
             
     | 
| 
      
 89 
     | 
    
         
            +
            .dialog_form_actions {
         
     | 
| 
      
 90 
     | 
    
         
            +
              text-align: right;
         
     | 
| 
      
 91 
     | 
    
         
            +
              padding: 0 20px 20px;
         
     | 
| 
      
 92 
     | 
    
         
            +
            }
         
     | 
| 
      
 93 
     | 
    
         
            +
             
     | 
| 
      
 94 
     | 
    
         
            +
            .dialog_close_button {
         
     | 
| 
      
 95 
     | 
    
         
            +
              float: right;
         
     | 
| 
      
 96 
     | 
    
         
            +
              position: absolute;
         
     | 
| 
      
 97 
     | 
    
         
            +
              top: 10px;
         
     | 
| 
      
 98 
     | 
    
         
            +
              left: 92%;
         
     | 
| 
      
 99 
     | 
    
         
            +
              height: 25px;
         
     | 
| 
      
 100 
     | 
    
         
            +
            }
         
     | 
| 
      
 101 
     | 
    
         
            +
             
     | 
| 
      
 102 
     | 
    
         
            +
            .dialog_close_button img {
         
     | 
| 
      
 103 
     | 
    
         
            +
              border: 0;
         
     | 
| 
      
 104 
     | 
    
         
            +
            }
         
     | 
| 
      
 105 
     | 
    
         
            +
             
     | 
| 
      
 106 
     | 
    
         
            +
            .dialog_desc {
         
     | 
| 
      
 107 
     | 
    
         
            +
              padding: 10px 20px;
         
     | 
| 
      
 108 
     | 
    
         
            +
            }
         
     | 
| 
      
 109 
     | 
    
         
            +
             
     | 
| 
      
 110 
     | 
    
         
            +
            /* native <dialog> element uses the ::backdrop pseudo-element */
         
     | 
| 
      
 111 
     | 
    
         
            +
             
     | 
| 
      
 112 
     | 
    
         
            +
            /* dialog::backdrop, */
         
     | 
| 
      
 113 
     | 
    
         
            +
            .dialog-backdrop {
         
     | 
| 
      
 114 
     | 
    
         
            +
              display: none;
         
     | 
| 
      
 115 
     | 
    
         
            +
              position: fixed;
         
     | 
| 
      
 116 
     | 
    
         
            +
              overflow-y: auto;
         
     | 
| 
      
 117 
     | 
    
         
            +
              top: 0;
         
     | 
| 
      
 118 
     | 
    
         
            +
              right: 0;
         
     | 
| 
      
 119 
     | 
    
         
            +
              bottom: 0;
         
     | 
| 
      
 120 
     | 
    
         
            +
              left: 0;
         
     | 
| 
      
 121 
     | 
    
         
            +
              z-index: 1;
         
     | 
| 
      
 122 
     | 
    
         
            +
            }
         
     | 
| 
      
 123 
     | 
    
         
            +
             
     | 
| 
      
 124 
     | 
    
         
            +
            @media screen and (min-width: 640px) {
         
     | 
| 
      
 125 
     | 
    
         
            +
              .dialog-backdrop {
         
     | 
| 
      
 126 
     | 
    
         
            +
                background: rgb(0 0 0 / 30%);
         
     | 
| 
      
 127 
     | 
    
         
            +
              }
         
     | 
| 
      
 128 
     | 
    
         
            +
            }
         
     | 
| 
      
 129 
     | 
    
         
            +
             
     | 
| 
      
 130 
     | 
    
         
            +
            .dialog-backdrop.active {
         
     | 
| 
      
 131 
     | 
    
         
            +
              display: block;
         
     | 
| 
      
 132 
     | 
    
         
            +
            }
         
     | 
| 
      
 133 
     | 
    
         
            +
             
     | 
| 
      
 134 
     | 
    
         
            +
            .no-scroll {
         
     | 
| 
      
 135 
     | 
    
         
            +
              overflow-y: auto !important;
         
     | 
| 
      
 136 
     | 
    
         
            +
            }
         
     | 
| 
      
 137 
     | 
    
         
            +
             
     | 
| 
      
 138 
     | 
    
         
            +
            /* this is added to the body when a dialog is open */
         
     | 
| 
      
 139 
     | 
    
         
            +
            .has-dialog {
         
     | 
| 
      
 140 
     | 
    
         
            +
              overflow: hidden;
         
     | 
| 
      
 141 
     | 
    
         
            +
            }
         
     |