dvla_internal_frontend_toolkit 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c42735b1b79eb92a87ca7241a6e9c20a0ac85558
4
- data.tar.gz: dba122e8a202ab54a7c1692a7db91dc9e5154e1f
3
+ metadata.gz: 4b04d6d642e6d1ac4c1d8a4daca4398648088e93
4
+ data.tar.gz: 96fcbfd9412c2f5c991fc7bfcf97eb9d70c81f29
5
5
  SHA512:
6
- metadata.gz: dc9d0e3d2d12917590b84a2ea522063b9fc51d9a2fa6b700ff55417e7cc1558d05482694b3a56aa0ee13d196cc904781e6709b3fe173bf254e0acace1da1ce31
7
- data.tar.gz: 95eeb09be0e1114ca16a9b8c13f70c3dc8739345c90bd7f31c44314640b0da10304618c56ef2b20906db6956549b862ff0f7e067ec624f226909db499a703ffd
6
+ metadata.gz: 4c9661c5043eb07111b846101731f256a836d02c3f0283f142af9865c6f284b83e45b4e3a5d1a20a9def420b53eb77c2d24a2f2f618f0dfb165aaecf2eac35c3
7
+ data.tar.gz: 4c41b357bb2d2368438aa2163a811c3a9c09528616d7a2029a45a04a4ca466d28b87a84789808a104d94b0a02b29cf39cfdc9e3d24ef18860ee4b67c86059da0
@@ -526,22 +526,28 @@ legend {
526
526
  }
527
527
  }
528
528
 
529
- .file-upload{
529
+ .file-upload {
530
530
  height: 120px;
531
531
  background-color: $grey-4;
532
532
  border: 2px dashed $grey-2;
533
533
  text-align: center;
534
534
  border-radius: 10px;
535
- &:before{
535
+ width: 100%;
536
+
537
+ &::-webkit-file-upload-button {
538
+ display: none;
539
+ }
540
+
541
+ &:before {
536
542
  display: block;
537
543
  content: 'Drag and drop';
538
544
  line-height: 22px;
539
545
  margin-top: 32px;
540
546
  font-size: 22px;
541
-
547
+ text-align: center;
542
548
  }
543
549
 
544
- &:after{
550
+ &:after {
545
551
  content: 'or choose a file to upload';
546
552
  display: block;
547
553
  line-height: 16px;
@@ -549,9 +555,17 @@ legend {
549
555
  text-decoration: underline;
550
556
  color: $link-colour;
551
557
  margin-top: 8px;
558
+ text-align: center;
559
+ }
560
+
561
+ &:focus{
562
+ -webkit-box-shadow: 0 0 0 3px $focus-colour;
563
+ -moz-box-shadow: 0 0 0 3px $focus-colour;
564
+ box-shadow: 0 0 0 3px $focus-colour;
565
+ outline: none;
552
566
  }
553
567
 
554
- &:hover{
568
+ &:hover {
555
569
  cursor: pointer;
556
570
  }
557
571
  }
@@ -1,3 +1,3 @@
1
1
  module DvlaInternalFrontendToolkit
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dvla_internal_frontend_toolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liam Betsworth