@internetarchive/ia-topnav 2.1.0-alpha-webdev8170.0 → 2.1.0
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/dist/index.js.map +1 -1
- package/dist/src/models.js.map +1 -1
- package/dist/src/styles/base.js +45 -45
- package/dist/src/styles/base.js.map +1 -1
- package/dist/src/styles/dropdown-menu.js +169 -169
- package/dist/src/styles/dropdown-menu.js.map +1 -1
- package/dist/src/styles/ia-topnav.js +82 -82
- package/dist/src/styles/ia-topnav.js.map +1 -1
- package/dist/src/styles/login-button.js +87 -87
- package/dist/src/styles/login-button.js.map +1 -1
- package/dist/src/styles/media-button.js +153 -153
- package/dist/src/styles/media-button.js.map +1 -1
- package/dist/src/styles/media-menu.js +63 -63
- package/dist/src/styles/media-menu.js.map +1 -1
- package/dist/src/styles/media-slider.js +78 -78
- package/dist/src/styles/media-slider.js.map +1 -1
- package/dist/src/styles/media-subnav.js +152 -152
- package/dist/src/styles/media-subnav.js.map +1 -1
- package/dist/src/styles/primary-nav.js +353 -353
- package/dist/src/styles/primary-nav.js.map +1 -1
- package/dist/src/styles/save-page-form.js +51 -51
- package/dist/src/styles/save-page-form.js.map +1 -1
- package/dist/src/styles/wayback-search.js +45 -45
- package/dist/src/styles/wayback-search.js.map +1 -1
- package/dist/src/styles/wayback-slider.js +26 -26
- package/dist/src/styles/wayback-slider.js.map +1 -1
- package/index.ts +3 -3
- package/package.json +1 -1
- package/src/models.ts +68 -68
- package/src/styles/base.ts +49 -49
- package/src/styles/dropdown-menu.ts +173 -173
- package/src/styles/ia-topnav.ts +86 -86
- package/src/styles/login-button.ts +91 -91
- package/src/styles/media-button.ts +157 -157
- package/src/styles/media-menu.ts +67 -67
- package/src/styles/media-slider.ts +82 -82
- package/src/styles/media-subnav.ts +160 -160
- package/src/styles/primary-nav.ts +357 -357
- package/src/styles/save-page-form.ts +55 -55
- package/src/styles/wayback-search.ts +49 -49
- package/src/styles/wayback-slider.ts +34 -34
|
@@ -1,82 +1,82 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
2
|
import { TOPNAV_MOBILE_BREAKPOINT } from '../models';
|
|
3
|
-
export default css `
|
|
4
|
-
.media-slider-container {
|
|
5
|
-
position: relative;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.overflow-clip {
|
|
9
|
-
display: none;
|
|
10
|
-
position: absolute;
|
|
11
|
-
top: 0;
|
|
12
|
-
right: 0;
|
|
13
|
-
left: 0;
|
|
14
|
-
height: 0;
|
|
15
|
-
overflow: hidden;
|
|
16
|
-
transition: height 0.2s ease;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.information-menu {
|
|
20
|
-
position: absolute;
|
|
21
|
-
top: 0;
|
|
22
|
-
right: 0;
|
|
23
|
-
left: 0;
|
|
24
|
-
padding: 0;
|
|
25
|
-
height: 31.9rem;
|
|
26
|
-
overflow-x: hidden;
|
|
27
|
-
font-size: 1.4rem;
|
|
28
|
-
background: var(--mediaSliderBg);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.open {
|
|
32
|
-
display: block;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.hidden {
|
|
36
|
-
display: none;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.info-box {
|
|
40
|
-
padding: 1rem;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@media (max-width: ${TOPNAV_MOBILE_BREAKPOINT - 1}px) {
|
|
44
|
-
.overflow-clip.open {
|
|
45
|
-
display: block;
|
|
46
|
-
height: 35.8rem;
|
|
47
|
-
left: 4rem;
|
|
48
|
-
top: 0;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
@media (min-width: ${TOPNAV_MOBILE_BREAKPOINT}px) {
|
|
53
|
-
.overflow-clip {
|
|
54
|
-
display: block;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.information-menu {
|
|
58
|
-
left: 0;
|
|
59
|
-
z-index: 3;
|
|
60
|
-
height: auto;
|
|
61
|
-
min-height: 21rem;
|
|
62
|
-
background: var(--mediaSliderDesktopBg);
|
|
63
|
-
transform: translate(0, -100%);
|
|
64
|
-
transition: transform 0.2s ease;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.overflow-clip.open {
|
|
68
|
-
height: 22rem;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.information-menu.open {
|
|
72
|
-
transform: translate(0, 0);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.info-box {
|
|
76
|
-
max-width: 100rem;
|
|
77
|
-
padding: 1.5rem 0;
|
|
78
|
-
margin: 0 auto;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
3
|
+
export default css `
|
|
4
|
+
.media-slider-container {
|
|
5
|
+
position: relative;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.overflow-clip {
|
|
9
|
+
display: none;
|
|
10
|
+
position: absolute;
|
|
11
|
+
top: 0;
|
|
12
|
+
right: 0;
|
|
13
|
+
left: 0;
|
|
14
|
+
height: 0;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
transition: height 0.2s ease;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.information-menu {
|
|
20
|
+
position: absolute;
|
|
21
|
+
top: 0;
|
|
22
|
+
right: 0;
|
|
23
|
+
left: 0;
|
|
24
|
+
padding: 0;
|
|
25
|
+
height: 31.9rem;
|
|
26
|
+
overflow-x: hidden;
|
|
27
|
+
font-size: 1.4rem;
|
|
28
|
+
background: var(--mediaSliderBg);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.open {
|
|
32
|
+
display: block;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.hidden {
|
|
36
|
+
display: none;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.info-box {
|
|
40
|
+
padding: 1rem;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@media (max-width: ${TOPNAV_MOBILE_BREAKPOINT - 1}px) {
|
|
44
|
+
.overflow-clip.open {
|
|
45
|
+
display: block;
|
|
46
|
+
height: 35.8rem;
|
|
47
|
+
left: 4rem;
|
|
48
|
+
top: 0;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@media (min-width: ${TOPNAV_MOBILE_BREAKPOINT}px) {
|
|
53
|
+
.overflow-clip {
|
|
54
|
+
display: block;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.information-menu {
|
|
58
|
+
left: 0;
|
|
59
|
+
z-index: 3;
|
|
60
|
+
height: auto;
|
|
61
|
+
min-height: 21rem;
|
|
62
|
+
background: var(--mediaSliderDesktopBg);
|
|
63
|
+
transform: translate(0, -100%);
|
|
64
|
+
transition: transform 0.2s ease;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.overflow-clip.open {
|
|
68
|
+
height: 22rem;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.information-menu.open {
|
|
72
|
+
transform: translate(0, 0);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.info-box {
|
|
76
|
+
max-width: 100rem;
|
|
77
|
+
padding: 1.5rem 0;
|
|
78
|
+
margin: 0 auto;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
81
|
`;
|
|
82
82
|
//# sourceMappingURL=media-slider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-slider.js","sourceRoot":"","sources":["../../../src/styles/media-slider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAErD,eAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAwCK,wBAAwB,GAAG,CAAC;;;;;;;;;uBAS5B,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6B9C,CAAC","sourcesContent":["import { css } from 'lit';\nimport { TOPNAV_MOBILE_BREAKPOINT } from '../models';\n\nexport default css`\n .media-slider-container {\n position: relative;\n }\n\n .overflow-clip {\n display: none;\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n height: 0;\n overflow: hidden;\n transition: height 0.2s ease;\n }\n\n .information-menu {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n padding: 0;\n height: 31.9rem;\n overflow-x: hidden;\n font-size: 1.4rem;\n background: var(--mediaSliderBg);\n }\n\n .open {\n display: block;\n }\n\n .hidden {\n display: none;\n }\n\n .info-box {\n padding: 1rem;\n }\n\n @media (max-width: ${TOPNAV_MOBILE_BREAKPOINT - 1}px) {\n .overflow-clip.open {\n display: block;\n height: 35.8rem;\n left: 4rem;\n top: 0;\n }\n }\n\n @media (min-width: ${TOPNAV_MOBILE_BREAKPOINT}px) {\n .overflow-clip {\n display: block;\n }\n\n .information-menu {\n left: 0;\n z-index: 3;\n height: auto;\n min-height: 21rem;\n background: var(--mediaSliderDesktopBg);\n transform: translate(0, -100%);\n transition: transform 0.2s ease;\n }\n\n .overflow-clip.open {\n height: 22rem;\n }\n\n .information-menu.open {\n transform: translate(0, 0);\n }\n\n .info-box {\n max-width: 100rem;\n padding: 1.5rem 0;\n margin: 0 auto;\n }\n }\n`;\n"]}
|
|
1
|
+
{"version":3,"file":"media-slider.js","sourceRoot":"","sources":["../../../src/styles/media-slider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAErD,eAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAwCK,wBAAwB,GAAG,CAAC;;;;;;;;;uBAS5B,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6B9C,CAAC","sourcesContent":["import { css } from 'lit';\r\nimport { TOPNAV_MOBILE_BREAKPOINT } from '../models';\r\n\r\nexport default css`\r\n .media-slider-container {\r\n position: relative;\r\n }\r\n\r\n .overflow-clip {\r\n display: none;\r\n position: absolute;\r\n top: 0;\r\n right: 0;\r\n left: 0;\r\n height: 0;\r\n overflow: hidden;\r\n transition: height 0.2s ease;\r\n }\r\n\r\n .information-menu {\r\n position: absolute;\r\n top: 0;\r\n right: 0;\r\n left: 0;\r\n padding: 0;\r\n height: 31.9rem;\r\n overflow-x: hidden;\r\n font-size: 1.4rem;\r\n background: var(--mediaSliderBg);\r\n }\r\n\r\n .open {\r\n display: block;\r\n }\r\n\r\n .hidden {\r\n display: none;\r\n }\r\n\r\n .info-box {\r\n padding: 1rem;\r\n }\r\n\r\n @media (max-width: ${TOPNAV_MOBILE_BREAKPOINT - 1}px) {\r\n .overflow-clip.open {\r\n display: block;\r\n height: 35.8rem;\r\n left: 4rem;\r\n top: 0;\r\n }\r\n }\r\n\r\n @media (min-width: ${TOPNAV_MOBILE_BREAKPOINT}px) {\r\n .overflow-clip {\r\n display: block;\r\n }\r\n\r\n .information-menu {\r\n left: 0;\r\n z-index: 3;\r\n height: auto;\r\n min-height: 21rem;\r\n background: var(--mediaSliderDesktopBg);\r\n transform: translate(0, -100%);\r\n transition: transform 0.2s ease;\r\n }\r\n\r\n .overflow-clip.open {\r\n height: 22rem;\r\n }\r\n\r\n .information-menu.open {\r\n transform: translate(0, 0);\r\n }\r\n\r\n .info-box {\r\n max-width: 100rem;\r\n padding: 1.5rem 0;\r\n margin: 0 auto;\r\n }\r\n }\r\n`;\r\n"]}
|
|
@@ -3,158 +3,158 @@ import { TOPNAV_MOBILE_BREAKPOINT } from '../models';
|
|
|
3
3
|
import { subnavListCSS } from './base';
|
|
4
4
|
export default [
|
|
5
5
|
subnavListCSS,
|
|
6
|
-
css `
|
|
7
|
-
img {
|
|
8
|
-
display: block;
|
|
9
|
-
width: 90px;
|
|
10
|
-
height: 90px;
|
|
11
|
-
margin: 0 auto 1rem auto;
|
|
12
|
-
border-radius: 45px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
h3 {
|
|
16
|
-
margin-top: 0;
|
|
17
|
-
font-size: 1.8rem;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.icon-links {
|
|
21
|
-
display: -webkit-box;
|
|
22
|
-
display: -ms-flexbox;
|
|
23
|
-
display: flex;
|
|
24
|
-
-webkit-box-pack: space-evenly;
|
|
25
|
-
-ms-flex-pack: space-evenly;
|
|
26
|
-
justify-content: space-evenly;
|
|
27
|
-
text-align: center;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.icon-links a {
|
|
31
|
-
display: inline-block;
|
|
32
|
-
width: 12rem;
|
|
33
|
-
margin-bottom: 1.5rem;
|
|
34
|
-
overflow: hidden;
|
|
35
|
-
white-space: nowrap;
|
|
36
|
-
text-align: center;
|
|
37
|
-
text-overflow: ellipsis;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.icon-links a + a {
|
|
41
|
-
margin-left: 2rem;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.featured h4 {
|
|
45
|
-
display: none;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@media (min-width: ${TOPNAV_MOBILE_BREAKPOINT}px) {
|
|
49
|
-
:host {
|
|
50
|
-
display: -ms-grid;
|
|
51
|
-
display: grid;
|
|
52
|
-
-ms-grid-columns: 40% 20% 40%;
|
|
53
|
-
grid-template-columns: 40% 20% 40%;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.wayback-search {
|
|
57
|
-
-ms-grid-column: 1;
|
|
58
|
-
-ms-grid-column-span: 3;
|
|
59
|
-
grid-column: 1 / 4;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
h3 {
|
|
63
|
-
display: none;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.icon-links {
|
|
67
|
-
-ms-grid-column: 1;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.icon-links a {
|
|
71
|
-
padding-top: 3.5rem;
|
|
72
|
-
max-width: 16rem;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.links {
|
|
76
|
-
padding: 0 1.5rem;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.featured {
|
|
80
|
-
-ms-grid-column: 2;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.featured h4 {
|
|
84
|
-
display: block;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.top {
|
|
88
|
-
-ms-grid-column: 3;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.top ul {
|
|
92
|
-
display: -ms-grid;
|
|
93
|
-
display: grid;
|
|
94
|
-
-ms-grid-columns: 50% 3rem 50%;
|
|
95
|
-
grid-template-columns: 50% 50%;
|
|
96
|
-
-ms-grid-rows: (auto) [7];
|
|
97
|
-
grid-template-rows: repeat(7, auto);
|
|
98
|
-
grid-column-gap: 3rem;
|
|
99
|
-
grid-auto-flow: column;
|
|
100
|
-
}
|
|
101
|
-
.top ul > *:nth-child(1) {
|
|
102
|
-
-ms-grid-row: 1;
|
|
103
|
-
-ms-grid-column: 1;
|
|
104
|
-
}
|
|
105
|
-
.top ul > *:nth-child(2) {
|
|
106
|
-
-ms-grid-row: 2;
|
|
107
|
-
-ms-grid-column: 1;
|
|
108
|
-
}
|
|
109
|
-
.top ul > *:nth-child(3) {
|
|
110
|
-
-ms-grid-row: 3;
|
|
111
|
-
-ms-grid-column: 1;
|
|
112
|
-
}
|
|
113
|
-
.top ul > *:nth-child(4) {
|
|
114
|
-
-ms-grid-row: 4;
|
|
115
|
-
-ms-grid-column: 1;
|
|
116
|
-
}
|
|
117
|
-
.top ul > *:nth-child(5) {
|
|
118
|
-
-ms-grid-row: 5;
|
|
119
|
-
-ms-grid-column: 1;
|
|
120
|
-
}
|
|
121
|
-
.top ul > *:nth-child(6) {
|
|
122
|
-
-ms-grid-row: 6;
|
|
123
|
-
-ms-grid-column: 1;
|
|
124
|
-
}
|
|
125
|
-
.top ul > *:nth-child(7) {
|
|
126
|
-
-ms-grid-row: 7;
|
|
127
|
-
-ms-grid-column: 1;
|
|
128
|
-
}
|
|
129
|
-
.top ul > *:nth-child(8) {
|
|
130
|
-
-ms-grid-row: 1;
|
|
131
|
-
-ms-grid-column: 3;
|
|
132
|
-
}
|
|
133
|
-
.top ul > *:nth-child(9) {
|
|
134
|
-
-ms-grid-row: 2;
|
|
135
|
-
-ms-grid-column: 3;
|
|
136
|
-
}
|
|
137
|
-
.top ul > *:nth-child(10) {
|
|
138
|
-
-ms-grid-row: 3;
|
|
139
|
-
-ms-grid-column: 3;
|
|
140
|
-
}
|
|
141
|
-
.top ul > *:nth-child(11) {
|
|
142
|
-
-ms-grid-row: 4;
|
|
143
|
-
-ms-grid-column: 3;
|
|
144
|
-
}
|
|
145
|
-
.top ul > *:nth-child(12) {
|
|
146
|
-
-ms-grid-row: 5;
|
|
147
|
-
-ms-grid-column: 3;
|
|
148
|
-
}
|
|
149
|
-
.top ul > *:nth-child(13) {
|
|
150
|
-
-ms-grid-row: 6;
|
|
151
|
-
-ms-grid-column: 3;
|
|
152
|
-
}
|
|
153
|
-
.top ul > *:nth-child(14) {
|
|
154
|
-
-ms-grid-row: 7;
|
|
155
|
-
-ms-grid-column: 3;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
6
|
+
css `
|
|
7
|
+
img {
|
|
8
|
+
display: block;
|
|
9
|
+
width: 90px;
|
|
10
|
+
height: 90px;
|
|
11
|
+
margin: 0 auto 1rem auto;
|
|
12
|
+
border-radius: 45px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
h3 {
|
|
16
|
+
margin-top: 0;
|
|
17
|
+
font-size: 1.8rem;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.icon-links {
|
|
21
|
+
display: -webkit-box;
|
|
22
|
+
display: -ms-flexbox;
|
|
23
|
+
display: flex;
|
|
24
|
+
-webkit-box-pack: space-evenly;
|
|
25
|
+
-ms-flex-pack: space-evenly;
|
|
26
|
+
justify-content: space-evenly;
|
|
27
|
+
text-align: center;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.icon-links a {
|
|
31
|
+
display: inline-block;
|
|
32
|
+
width: 12rem;
|
|
33
|
+
margin-bottom: 1.5rem;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
white-space: nowrap;
|
|
36
|
+
text-align: center;
|
|
37
|
+
text-overflow: ellipsis;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.icon-links a + a {
|
|
41
|
+
margin-left: 2rem;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.featured h4 {
|
|
45
|
+
display: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@media (min-width: ${TOPNAV_MOBILE_BREAKPOINT}px) {
|
|
49
|
+
:host {
|
|
50
|
+
display: -ms-grid;
|
|
51
|
+
display: grid;
|
|
52
|
+
-ms-grid-columns: 40% 20% 40%;
|
|
53
|
+
grid-template-columns: 40% 20% 40%;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.wayback-search {
|
|
57
|
+
-ms-grid-column: 1;
|
|
58
|
+
-ms-grid-column-span: 3;
|
|
59
|
+
grid-column: 1 / 4;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
h3 {
|
|
63
|
+
display: none;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.icon-links {
|
|
67
|
+
-ms-grid-column: 1;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.icon-links a {
|
|
71
|
+
padding-top: 3.5rem;
|
|
72
|
+
max-width: 16rem;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.links {
|
|
76
|
+
padding: 0 1.5rem;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.featured {
|
|
80
|
+
-ms-grid-column: 2;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.featured h4 {
|
|
84
|
+
display: block;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.top {
|
|
88
|
+
-ms-grid-column: 3;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.top ul {
|
|
92
|
+
display: -ms-grid;
|
|
93
|
+
display: grid;
|
|
94
|
+
-ms-grid-columns: 50% 3rem 50%;
|
|
95
|
+
grid-template-columns: 50% 50%;
|
|
96
|
+
-ms-grid-rows: (auto) [7];
|
|
97
|
+
grid-template-rows: repeat(7, auto);
|
|
98
|
+
grid-column-gap: 3rem;
|
|
99
|
+
grid-auto-flow: column;
|
|
100
|
+
}
|
|
101
|
+
.top ul > *:nth-child(1) {
|
|
102
|
+
-ms-grid-row: 1;
|
|
103
|
+
-ms-grid-column: 1;
|
|
104
|
+
}
|
|
105
|
+
.top ul > *:nth-child(2) {
|
|
106
|
+
-ms-grid-row: 2;
|
|
107
|
+
-ms-grid-column: 1;
|
|
108
|
+
}
|
|
109
|
+
.top ul > *:nth-child(3) {
|
|
110
|
+
-ms-grid-row: 3;
|
|
111
|
+
-ms-grid-column: 1;
|
|
112
|
+
}
|
|
113
|
+
.top ul > *:nth-child(4) {
|
|
114
|
+
-ms-grid-row: 4;
|
|
115
|
+
-ms-grid-column: 1;
|
|
116
|
+
}
|
|
117
|
+
.top ul > *:nth-child(5) {
|
|
118
|
+
-ms-grid-row: 5;
|
|
119
|
+
-ms-grid-column: 1;
|
|
120
|
+
}
|
|
121
|
+
.top ul > *:nth-child(6) {
|
|
122
|
+
-ms-grid-row: 6;
|
|
123
|
+
-ms-grid-column: 1;
|
|
124
|
+
}
|
|
125
|
+
.top ul > *:nth-child(7) {
|
|
126
|
+
-ms-grid-row: 7;
|
|
127
|
+
-ms-grid-column: 1;
|
|
128
|
+
}
|
|
129
|
+
.top ul > *:nth-child(8) {
|
|
130
|
+
-ms-grid-row: 1;
|
|
131
|
+
-ms-grid-column: 3;
|
|
132
|
+
}
|
|
133
|
+
.top ul > *:nth-child(9) {
|
|
134
|
+
-ms-grid-row: 2;
|
|
135
|
+
-ms-grid-column: 3;
|
|
136
|
+
}
|
|
137
|
+
.top ul > *:nth-child(10) {
|
|
138
|
+
-ms-grid-row: 3;
|
|
139
|
+
-ms-grid-column: 3;
|
|
140
|
+
}
|
|
141
|
+
.top ul > *:nth-child(11) {
|
|
142
|
+
-ms-grid-row: 4;
|
|
143
|
+
-ms-grid-column: 3;
|
|
144
|
+
}
|
|
145
|
+
.top ul > *:nth-child(12) {
|
|
146
|
+
-ms-grid-row: 5;
|
|
147
|
+
-ms-grid-column: 3;
|
|
148
|
+
}
|
|
149
|
+
.top ul > *:nth-child(13) {
|
|
150
|
+
-ms-grid-row: 6;
|
|
151
|
+
-ms-grid-column: 3;
|
|
152
|
+
}
|
|
153
|
+
.top ul > *:nth-child(14) {
|
|
154
|
+
-ms-grid-row: 7;
|
|
155
|
+
-ms-grid-column: 3;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
158
|
`,
|
|
159
159
|
];
|
|
160
160
|
//# sourceMappingURL=media-subnav.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-subnav.js","sourceRoot":"","sources":["../../../src/styles/media-subnav.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,eAAe;IACb,aAAa;IACb,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA0CoB,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8G9C;CACF,CAAC","sourcesContent":["import { css } from 'lit';\nimport { TOPNAV_MOBILE_BREAKPOINT } from '../models';\nimport { subnavListCSS } from './base';\n\nexport default [\n subnavListCSS,\n css`\n img {\n display: block;\n width: 90px;\n height: 90px;\n margin: 0 auto 1rem auto;\n border-radius: 45px;\n }\n\n h3 {\n margin-top: 0;\n font-size: 1.8rem;\n }\n\n .icon-links {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: space-evenly;\n -ms-flex-pack: space-evenly;\n justify-content: space-evenly;\n text-align: center;\n }\n\n .icon-links a {\n display: inline-block;\n width: 12rem;\n margin-bottom: 1.5rem;\n overflow: hidden;\n white-space: nowrap;\n text-align: center;\n text-overflow: ellipsis;\n }\n\n .icon-links a + a {\n margin-left: 2rem;\n }\n\n .featured h4 {\n display: none;\n }\n\n @media (min-width: ${TOPNAV_MOBILE_BREAKPOINT}px) {\n :host {\n display: -ms-grid;\n display: grid;\n -ms-grid-columns: 40% 20% 40%;\n grid-template-columns: 40% 20% 40%;\n }\n\n .wayback-search {\n -ms-grid-column: 1;\n -ms-grid-column-span: 3;\n grid-column: 1 / 4;\n }\n\n h3 {\n display: none;\n }\n\n .icon-links {\n -ms-grid-column: 1;\n }\n\n .icon-links a {\n padding-top: 3.5rem;\n max-width: 16rem;\n }\n\n .links {\n padding: 0 1.5rem;\n }\n\n .featured {\n -ms-grid-column: 2;\n }\n\n .featured h4 {\n display: block;\n }\n\n .top {\n -ms-grid-column: 3;\n }\n\n .top ul {\n display: -ms-grid;\n display: grid;\n -ms-grid-columns: 50% 3rem 50%;\n grid-template-columns: 50% 50%;\n -ms-grid-rows: (auto) [7];\n grid-template-rows: repeat(7, auto);\n grid-column-gap: 3rem;\n grid-auto-flow: column;\n }\n .top ul > *:nth-child(1) {\n -ms-grid-row: 1;\n -ms-grid-column: 1;\n }\n .top ul > *:nth-child(2) {\n -ms-grid-row: 2;\n -ms-grid-column: 1;\n }\n .top ul > *:nth-child(3) {\n -ms-grid-row: 3;\n -ms-grid-column: 1;\n }\n .top ul > *:nth-child(4) {\n -ms-grid-row: 4;\n -ms-grid-column: 1;\n }\n .top ul > *:nth-child(5) {\n -ms-grid-row: 5;\n -ms-grid-column: 1;\n }\n .top ul > *:nth-child(6) {\n -ms-grid-row: 6;\n -ms-grid-column: 1;\n }\n .top ul > *:nth-child(7) {\n -ms-grid-row: 7;\n -ms-grid-column: 1;\n }\n .top ul > *:nth-child(8) {\n -ms-grid-row: 1;\n -ms-grid-column: 3;\n }\n .top ul > *:nth-child(9) {\n -ms-grid-row: 2;\n -ms-grid-column: 3;\n }\n .top ul > *:nth-child(10) {\n -ms-grid-row: 3;\n -ms-grid-column: 3;\n }\n .top ul > *:nth-child(11) {\n -ms-grid-row: 4;\n -ms-grid-column: 3;\n }\n .top ul > *:nth-child(12) {\n -ms-grid-row: 5;\n -ms-grid-column: 3;\n }\n .top ul > *:nth-child(13) {\n -ms-grid-row: 6;\n -ms-grid-column: 3;\n }\n .top ul > *:nth-child(14) {\n -ms-grid-row: 7;\n -ms-grid-column: 3;\n }\n }\n `,\n];\n"]}
|
|
1
|
+
{"version":3,"file":"media-subnav.js","sourceRoot":"","sources":["../../../src/styles/media-subnav.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,eAAe;IACb,aAAa;IACb,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA0CoB,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8G9C;CACF,CAAC","sourcesContent":["import { css } from 'lit';\r\nimport { TOPNAV_MOBILE_BREAKPOINT } from '../models';\r\nimport { subnavListCSS } from './base';\r\n\r\nexport default [\r\n subnavListCSS,\r\n css`\r\n img {\r\n display: block;\r\n width: 90px;\r\n height: 90px;\r\n margin: 0 auto 1rem auto;\r\n border-radius: 45px;\r\n }\r\n\r\n h3 {\r\n margin-top: 0;\r\n font-size: 1.8rem;\r\n }\r\n\r\n .icon-links {\r\n display: -webkit-box;\r\n display: -ms-flexbox;\r\n display: flex;\r\n -webkit-box-pack: space-evenly;\r\n -ms-flex-pack: space-evenly;\r\n justify-content: space-evenly;\r\n text-align: center;\r\n }\r\n\r\n .icon-links a {\r\n display: inline-block;\r\n width: 12rem;\r\n margin-bottom: 1.5rem;\r\n overflow: hidden;\r\n white-space: nowrap;\r\n text-align: center;\r\n text-overflow: ellipsis;\r\n }\r\n\r\n .icon-links a + a {\r\n margin-left: 2rem;\r\n }\r\n\r\n .featured h4 {\r\n display: none;\r\n }\r\n\r\n @media (min-width: ${TOPNAV_MOBILE_BREAKPOINT}px) {\r\n :host {\r\n display: -ms-grid;\r\n display: grid;\r\n -ms-grid-columns: 40% 20% 40%;\r\n grid-template-columns: 40% 20% 40%;\r\n }\r\n\r\n .wayback-search {\r\n -ms-grid-column: 1;\r\n -ms-grid-column-span: 3;\r\n grid-column: 1 / 4;\r\n }\r\n\r\n h3 {\r\n display: none;\r\n }\r\n\r\n .icon-links {\r\n -ms-grid-column: 1;\r\n }\r\n\r\n .icon-links a {\r\n padding-top: 3.5rem;\r\n max-width: 16rem;\r\n }\r\n\r\n .links {\r\n padding: 0 1.5rem;\r\n }\r\n\r\n .featured {\r\n -ms-grid-column: 2;\r\n }\r\n\r\n .featured h4 {\r\n display: block;\r\n }\r\n\r\n .top {\r\n -ms-grid-column: 3;\r\n }\r\n\r\n .top ul {\r\n display: -ms-grid;\r\n display: grid;\r\n -ms-grid-columns: 50% 3rem 50%;\r\n grid-template-columns: 50% 50%;\r\n -ms-grid-rows: (auto) [7];\r\n grid-template-rows: repeat(7, auto);\r\n grid-column-gap: 3rem;\r\n grid-auto-flow: column;\r\n }\r\n .top ul > *:nth-child(1) {\r\n -ms-grid-row: 1;\r\n -ms-grid-column: 1;\r\n }\r\n .top ul > *:nth-child(2) {\r\n -ms-grid-row: 2;\r\n -ms-grid-column: 1;\r\n }\r\n .top ul > *:nth-child(3) {\r\n -ms-grid-row: 3;\r\n -ms-grid-column: 1;\r\n }\r\n .top ul > *:nth-child(4) {\r\n -ms-grid-row: 4;\r\n -ms-grid-column: 1;\r\n }\r\n .top ul > *:nth-child(5) {\r\n -ms-grid-row: 5;\r\n -ms-grid-column: 1;\r\n }\r\n .top ul > *:nth-child(6) {\r\n -ms-grid-row: 6;\r\n -ms-grid-column: 1;\r\n }\r\n .top ul > *:nth-child(7) {\r\n -ms-grid-row: 7;\r\n -ms-grid-column: 1;\r\n }\r\n .top ul > *:nth-child(8) {\r\n -ms-grid-row: 1;\r\n -ms-grid-column: 3;\r\n }\r\n .top ul > *:nth-child(9) {\r\n -ms-grid-row: 2;\r\n -ms-grid-column: 3;\r\n }\r\n .top ul > *:nth-child(10) {\r\n -ms-grid-row: 3;\r\n -ms-grid-column: 3;\r\n }\r\n .top ul > *:nth-child(11) {\r\n -ms-grid-row: 4;\r\n -ms-grid-column: 3;\r\n }\r\n .top ul > *:nth-child(12) {\r\n -ms-grid-row: 5;\r\n -ms-grid-column: 3;\r\n }\r\n .top ul > *:nth-child(13) {\r\n -ms-grid-row: 6;\r\n -ms-grid-column: 3;\r\n }\r\n .top ul > *:nth-child(14) {\r\n -ms-grid-row: 7;\r\n -ms-grid-column: 3;\r\n }\r\n }\r\n `,\r\n];\r\n"]}
|