Skip to content

Commit a67b4a8

Browse files
author
Blaine Gunn
committed
name change from acrobat > dc
1 parent 865886e commit a67b4a8

File tree

4 files changed

+72
-4
lines changed

4 files changed

+72
-4
lines changed

acrobat/blocks/verb-subfooters/verb-subfooters.css

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,68 @@
2020
position: initial !important;
2121

2222
}
23+
24+
.mobile-verb-footer .accordion-trigger {
25+
color: #747474;
26+
-ms-flex-align: center;
27+
-ms-flex-pack: start;
28+
align-items: center;
29+
-webkit-appearance: none;
30+
-moz-appearance: none;
31+
appearance: none;
32+
background-color: inherit;
33+
border: 0;
34+
box-sizing: border-box;
35+
cursor: pointer;
36+
display: -ms-flexbox;
37+
display: flex;
38+
font-family: inherit;
39+
font-size: 11px;
40+
font-weight: 500;
41+
justify-content: flex-start;
42+
letter-spacing: .0006em;
43+
line-height: 1.3;
44+
margin: 0;
45+
min-height: 39px;
46+
position: relative;
47+
text-align: start;
48+
text-overflow: ellipsis;
49+
text-transform: uppercase;
50+
width: 100%;
51+
padding: 0;
52+
}
53+
54+
55+
.mobile-verb-footer .accordion dt.is-open,
56+
.mobile-verb-footer .accordion dd.is-open,
57+
.mobile-verb-footer .accordion dt.has-focus,
58+
.mobile-verb-footer .accordion dd.has-focus {
59+
border-left: none;
60+
}
61+
62+
.mobile-verb-footer .accordion dt.is-open,
63+
.mobile-verb-footer .accordion dd.is-open {
64+
padding: 0;
65+
}
66+
67+
.mobile-verb-footer .accordion ul {
68+
padding-left: 20px;
69+
}
70+
71+
.mobile-verb-footer .accordion li {
72+
list-style-type: none;
73+
padding: 8px 0;
74+
}
75+
76+
.mobile-verb-footer .accordion li a {
77+
color: #000;
78+
}
79+
80+
.mobile-verb-footer picture {
81+
vertical-align: middle;
82+
padding-right: 10px;
83+
}
84+
85+
.mobile-verb-footer dd.is-open.has-focus {
86+
background-color: transparent;
87+
}

acrobat/blocks/verb-subfooters/verb-subfooters.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
export default function init(el) {
22
const mobileVerbFooter = document.querySelectorAll('.tablet');
33
const desktopVerbFooter = document.querySelectorAll('.verb-subfooter');
4-
if (mobileVerbFooter) {
4+
5+
console.log(mobileVerbFooter);
6+
if (mobileVerbFooter.length > 0) {
7+
console.log('sga');
58
mobileVerbFooter[0].parentElement.classList.add('mobile-verb-footer');
69
}
710

@@ -14,7 +17,7 @@ export default function init(el) {
1417
// });
1518
// });
1619

17-
if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
20+
if (mobileVerbFooter.length > 0 && /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
1821
// true for mobile device
1922
mobileVerbFooter[0].parentElement.classList.add('mobile-verb-footer-show');
2023
desktopVerbFooter[0].parentElement.classList.add('hide');

acrobat/styles/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
}
2727
.verb-subfooter ul {
2828
list-style-type: none;
29-
padding-left: 0;
29+
padding-left: 8px;
3030
}
3131
.verb-subfooter ul li {
3232
padding-top: 15px;

fstab.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
mountpoints:
2-
/: https://adobe.sharepoint.com/:f:/r/sites/adobecom/Shared%20Documents/acrobat
2+
/: https://adobe.sharepoint.com/:f:/r/sites/adobecom/Shared%20Documents/dc

0 commit comments

Comments
 (0)