|
26 | 26 | max-width: 100% !important;
|
27 | 27 | padding-left: 0 !important;
|
28 | 28 | padding-right: 0 !important;
|
| 29 | + .file { |
| 30 | + display: block; |
| 31 | + box-shadow: none; |
| 32 | + margin-bottom: 4px; |
| 33 | + background-color: #fafafa; |
| 34 | + padding: 30px; |
| 35 | + border: 1px solid var(--light-gray2); |
| 36 | + margin-bottom: 15px; |
| 37 | + padding-left: 0 !important; // Reset. |
| 38 | + background-image: none !important; |
| 39 | + box-shadow: $box-shadow; |
| 40 | + a { |
| 41 | + position: relative; |
| 42 | + display: flex; |
| 43 | + align-items: center; |
| 44 | + word-break: break-word; |
| 45 | + padding: 0 (30px + 30px + 5px) 0 30px; // Width of icon + left/right spacing + gutter. |
| 46 | + height: 88px; |
| 47 | + max-width: 100%; // Reset. |
| 48 | + font-weight: bold; |
| 49 | + &:hover, |
| 50 | + &:focus, |
| 51 | + &:visited { |
| 52 | + color: var(--primary); |
| 53 | + text-decoration: none; |
| 54 | + } |
| 55 | + &:after { |
| 56 | + display: inline-block; |
| 57 | + position: absolute; |
| 58 | + content: ""; |
| 59 | + top: 50%; |
| 60 | + right: 30px; |
| 61 | + margin-top: -15px; // Half the height. |
| 62 | + width: 30px; |
| 63 | + height: 30px; |
| 64 | + background-image: url("../images/download.svg"); |
| 65 | + background-repeat: no-repeat; |
| 66 | + background-size: contain; |
| 67 | + } |
| 68 | + } |
| 69 | + } |
29 | 70 |
|
30 | 71 | span {
|
31 | 72 | a{
|
|
37 | 78 | }
|
38 | 79 | }
|
39 | 80 |
|
40 |
| -.file { |
41 |
| - display: block; |
42 |
| - box-shadow: none; |
43 |
| - margin-bottom: 4px; |
44 |
| - background-color: #fafafa; |
45 |
| - padding: 30px; |
46 |
| - border: 1px solid var(--light-gray2); |
47 |
| - margin-bottom: 15px; |
48 |
| - padding-left: 0 !important; // Reset. |
49 |
| - background-image: none !important; |
50 |
| - box-shadow: $box-shadow; |
51 |
| - a { |
52 |
| - position: relative; |
53 |
| - display: flex; |
54 |
| - align-items: center; |
55 |
| - word-break: break-word; |
56 |
| - padding: 0 (30px + 30px + 5px) 0 30px; // Width of icon + left/right spacing + gutter. |
57 |
| - height: 88px; |
58 |
| - max-width: 100%; // Reset. |
59 |
| - font-weight: bold; |
60 |
| - &:hover, |
61 |
| - &:focus, |
62 |
| - &:visited { |
63 |
| - color: var(--primary); |
64 |
| - text-decoration: none; |
65 |
| - } |
66 |
| - &:after { |
67 |
| - display: inline-block; |
68 |
| - position: absolute; |
69 |
| - content: ""; |
70 |
| - top: 50%; |
71 |
| - right: 30px; |
72 |
| - margin-top: -15px; // Half the height. |
73 |
| - width: 30px; |
74 |
| - height: 30px; |
75 |
| - background-image: url("../images/download.svg"); |
76 |
| - background-repeat: no-repeat; |
77 |
| - background-size: contain; |
78 |
| - } |
79 |
| - } |
80 |
| -} |
81 | 81 |
|
82 | 82 | .field--name-field-os2web-m-bp-enclosures {
|
83 | 83 | span.file {
|
|
0 commit comments