Skip to content

Commit eb0b533

Browse files
committed
De-duplicate styles for lists
We had styles in _app_memorandum_of_understanding and _app_lists that were very similar, this commit de-duplicates the code. We use `govuk-spacing(4)` rather than 20px for the padding, as govuk-spacing(4) the same dimension for desktop viewports but also responsive for smaller viewports, this also matches what is in [_lists.scss in govuk-frontend][1]. [1]: https://github.com/alphagov/govuk-frontend/blob/5e14495c40ec61112d069da3e61c168e1ce40012/packages/govuk-frontend/src/govuk/core/_lists.scss
1 parent f04baf2 commit eb0b533

File tree

3 files changed

+14
-29
lines changed

3 files changed

+14
-29
lines changed

app/frontend/entrypoints/application.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ $govuk-new-typography-scale: true;
77
@import "../styles/app_filter";
88
@import "../styles/app_form_states";
99
@import "../styles/app_lists";
10-
@import "../styles/app_memorandum_of_understanding";
1110
@import "../styles/app_preview_area";
1211
@import "../styles/app_select_options";
1312
@import "../styles/app_summary_card";

app/frontend/styles/_app_memorandum_of_understanding.scss

Lines changed: 0 additions & 14 deletions
This file was deleted.

app/views/mou_signatures/_mou_version_current.html.erb

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@
295295
<li>
296296
<p>Your organisation as a Data Controller is responsible for ensuring that:</p>
297297

298-
<ol class="govuk-list app-list--alpha">
298+
<ol class="govuk-list app-list--lower-alpha">
299299
<li>
300300
<p>it is permitted by Law to transfer Personal Data to GDS as its data processor;</p>
301301
</li>
@@ -342,7 +342,7 @@
342342
organisation, include:
343343
</p>
344344

345-
<ol class="govuk-list app-list--alpha">
345+
<ol class="govuk-list app-list--lower-alpha">
346346
<li>
347347
<p>a systematic description of the envisaged Processing operations and the purpose of the Processing;</p>
348348
</li>
@@ -363,7 +363,7 @@
363363
<li>
364364
<p>GDS shall, in relation to the GOV.UK Forms User Personal Data:</p>
365365

366-
<ol class="govuk-list app-list--alpha">
366+
<ol class="govuk-list app-list--lower-alpha">
367367
<li>
368368
<p>
369369
process that Personal Data only in accordance with the Schedule of Processing, Personal Data and Data Subjects (Annex D) unless
@@ -378,7 +378,7 @@
378378
Protective Measures), having taken account of the:
379379
</p>
380380

381-
<ol class="govuk-list app-list--roman">
381+
<ol class="govuk-list app-list--lower-roman">
382382
<li>
383383
<p>nature of the data to be protected;</p>
384384
</li>
@@ -398,7 +398,7 @@
398398
<li>
399399
<p>GDS shall ensure that:</p>
400400

401-
<ol class="govuk-list app-list--alpha">
401+
<ol class="govuk-list app-list--lower-alpha">
402402
<li>
403403
<p>
404404
Processor Personnel do not Process Personal Data except in accordance with this MOU (and in particular the Schedule of Processing,
@@ -411,7 +411,7 @@
411411
Data and ensure that they:
412412
</p>
413413

414-
<ol class="govuk-list app-list--roman">
414+
<ol class="govuk-list app-list--lower-roman">
415415
<li>
416416
<p>are aware of and comply with the GDS duties under this paragraph;</p>
417417
</li>
@@ -435,7 +435,7 @@
435435
United Kingdom unless either:
436436
</p>
437437

438-
<ol class="govuk-list app-list--roman">
438+
<ol class="govuk-list app-list--lower-roman">
439439
<li>
440440
<p>the transfer is in accordance with Article 45 of the UK GDPR or section 17A of DPA 2018; or</p>
441441
</li>
@@ -477,7 +477,7 @@
477477
either:
478478
</p>
479479

480-
<ol class="govuk-list app-list--roman">
480+
<ol class="govuk-list app-list--lower-roman">
481481
<li>
482482
<p>the transfer is in accordance with Article 45 of the EU GDPR; or</p>
483483
</li>
@@ -503,7 +503,7 @@
503503
any Personal Data that is transferred; and
504504
</p>
505505

506-
<ol class="govuk-list app-list--alpha">
506+
<ol class="govuk-list app-list--lower-alpha">
507507
<li>
508508
<p>
509509
GDS complies with any reasonable instructions notified to it in advance by your organisation with respect to the
@@ -530,7 +530,7 @@
530530
obligations under applicable Data Protection Legislation) if it:
531531
</p>
532532

533-
<ol class="govuk-list app-list--alpha">
533+
<ol class="govuk-list app-list--lower-alpha">
534534
<li>
535535
<p>receives a Data Subject Request (or purported Data Subject Request);</p>
536536
</li>
@@ -567,7 +567,7 @@
567567
the timescales reasonably required by your organisation) including by promptly providing:
568568
</p>
569569

570-
<ol class="govuk-list app-list--alpha">
570+
<ol class="govuk-list app-list--lower-alpha">
571571
<li>
572572
<p>your organisation with full details and copies of the complaint, communication or request;</p>
573573
</li>
@@ -611,7 +611,7 @@
611611
always that:
612612
</p>
613613

614-
<ol class="govuk-list app-list--alpha">
614+
<ol class="govuk-list app-list--lower-alpha">
615615
<li>
616616
<p>
617617
your organisation gives GDS a minimum of 30 calendar days’ written notice of its intention to audit (other than in the event of a
@@ -666,7 +666,7 @@
666666
GDS must:
667667
</p>
668668

669-
<ol class="govuk-list app-list--alpha">
669+
<ol class="govuk-list app-list--lower-alpha">
670670
<li>
671671
<p>have undertaken an information security assessment of the Sub-Processor to ensure compliance with all aspects of this MOU;</p>
672672
</li>
@@ -710,7 +710,7 @@
710710
particular GDS agrees that it shall:
711711
</p>
712712

713-
<ol class="govuk-list app-list--alpha">
713+
<ol class="govuk-list app-list--lower-alpha">
714714
<li>
715715
<p>process the GOV.UK Forms User and Filler Personal Data only as set out in this MOU;</p>
716716
</li>

0 commit comments

Comments
 (0)