qpp-style 9.16.2 → 9.16.5
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/components/Infotip/InfotipIcon.jsx +3 -3
- package/components/SideNav/UI/SideNavUI.jsx +7 -3
- package/dist/browser.js +1 -1
- package/dist/browser.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/index.js.LICENSE.txt +1 -1
- package/dist/react/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/components/_text.scss +102 -102
- package/styles/qppds/components/_gov-banner.scss +1 -1
- package/styles/qppds/components/_pagination.scss +7 -7
- package/styles/qppds/settings/_functions.scss +1 -1
- package/styles/third-party/legacy-bootstrap/_forms.scss +1 -1
- package/styles/third-party/legacy-bootstrap/_navbar.scss +2 -2
- package/styles/third-party/legacy-bootstrap/_variables.scss +2 -2
- package/styles/third-party/legacy-bootstrap/mixins/_grid-framework.scss +6 -6
- package/styles/third-party/legacy-bootstrap/mixins/_grid.scss +21 -21
- package/styles/third-party/legacy-bootstrap/mixins/_nav-divider.scss +1 -1
- package/styles/third-party/legacy-bootstrap/mixins/_nav-vertical-align.scss +2 -2
- package/test/components/Infotip.test.js +1 -1
- package/coverage/clover.xml +0 -1287
- package/coverage/coverage-final.json +0 -70
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -87
- package/coverage/lcov-report/components/Accordion/index.html +0 -116
- package/coverage/lcov-report/components/Accordion/index.jsx.html +0 -364
- package/coverage/lcov-report/components/Error/Collapsible.jsx.html +0 -349
- package/coverage/lcov-report/components/Error/ErrorUI.jsx.html +0 -178
- package/coverage/lcov-report/components/Error/index.html +0 -131
- package/coverage/lcov-report/components/Footer/FooterUI.jsx.html +0 -880
- package/coverage/lcov-report/components/Footer/LegacyFooterUI.jsx.html +0 -667
- package/coverage/lcov-report/components/Footer/SocialLinks.jsx.html +0 -265
- package/coverage/lcov-report/components/Footer/Subscribe.jsx.html +0 -187
- package/coverage/lcov-report/components/Footer/index.html +0 -161
- package/coverage/lcov-report/components/Infotip/Infotip.jsx.html +0 -310
- package/coverage/lcov-report/components/Infotip/InfotipIcon.jsx.html +0 -208
- package/coverage/lcov-report/components/Infotip/index.html +0 -146
- package/coverage/lcov-report/components/Infotip/index.js.html +0 -94
- package/coverage/lcov-report/components/Modal/LegacyModal.jsx.html +0 -301
- package/coverage/lcov-report/components/Modal/Modal.jsx.html +0 -505
- package/coverage/lcov-report/components/Modal/index.html +0 -146
- package/coverage/lcov-report/components/Modal/index.jsx.html +0 -151
- package/coverage/lcov-report/components/SanitizedContent/index.html +0 -116
- package/coverage/lcov-report/components/SanitizedContent/index.jsx.html +0 -685
- package/coverage/lcov-report/components/SessionDialogUI.jsx.html +0 -868
- package/coverage/lcov-report/components/SideNav/AnimationGroup/AnimationGroup.jsx.html +0 -166
- package/coverage/lcov-report/components/SideNav/AnimationGroup/index.html +0 -116
- package/coverage/lcov-report/components/SideNav/Chart/ScoreChart.jsx.html +0 -889
- package/coverage/lcov-report/components/SideNav/Chart/index.html +0 -131
- package/coverage/lcov-report/components/SideNav/Chart/index.js.html +0 -94
- package/coverage/lcov-report/components/SideNav/Content/LevelOneContent.jsx.html +0 -709
- package/coverage/lcov-report/components/SideNav/Content/LevelTwoContent.jsx.html +0 -733
- package/coverage/lcov-report/components/SideNav/Content/index.html +0 -146
- package/coverage/lcov-report/components/SideNav/Content/index.js.html +0 -97
- package/coverage/lcov-report/components/SideNav/Details/IndividualDetails.jsx.html +0 -139
- package/coverage/lcov-report/components/SideNav/Details/PracticeDetails.jsx.html +0 -220
- package/coverage/lcov-report/components/SideNav/Details/index.html +0 -146
- package/coverage/lcov-report/components/SideNav/Details/index.js.html +0 -97
- package/coverage/lcov-report/components/SideNav/Links/CmsSwitchLink.jsx.html +0 -208
- package/coverage/lcov-report/components/SideNav/Links/NavItemInline.jsx.html +0 -247
- package/coverage/lcov-report/components/SideNav/Links/NavLinkContainer.jsx.html +0 -199
- package/coverage/lcov-report/components/SideNav/Links/NavLinkDrawer.jsx.html +0 -832
- package/coverage/lcov-report/components/SideNav/Links/NavLinkInline.jsx.html +0 -406
- package/coverage/lcov-report/components/SideNav/Links/NavLinkToggle.jsx.html +0 -187
- package/coverage/lcov-report/components/SideNav/Links/index.html +0 -206
- package/coverage/lcov-report/components/SideNav/Links/index.js.html +0 -124
- package/coverage/lcov-report/components/SideNav/UI/SideNavUI.jsx.html +0 -1084
- package/coverage/lcov-report/components/SideNav/UI/index.html +0 -131
- package/coverage/lcov-report/components/SideNav/UI/index.js.html +0 -94
- package/coverage/lcov-report/components/SideNav/helpers.js.html +0 -238
- package/coverage/lcov-report/components/SideNav/index.html +0 -116
- package/coverage/lcov-report/components/Tooltip/Tooltip.jsx.html +0 -349
- package/coverage/lcov-report/components/Tooltip/index.html +0 -146
- package/coverage/lcov-report/components/Tooltip/index.js.html +0 -94
- package/coverage/lcov-report/components/Tooltip/position.js.html +0 -289
- package/coverage/lcov-report/components/hooks/index.html +0 -116
- package/coverage/lcov-report/components/hooks/useGetConfig.js.html +0 -307
- package/coverage/lcov-report/components/index.html +0 -116
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +0 -461
- package/coverage/lcov-report/lib/Chevron.jsx.html +0 -181
- package/coverage/lcov-report/lib/SvgComponents.jsx.html +0 -1702
- package/coverage/lcov-report/lib/index.html +0 -146
- package/coverage/lcov-report/lib/svg-definitions.svg.html +0 -460
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/react/components/Accordion/index.html +0 -116
- package/coverage/lcov-report/react/components/Accordion/index.jsx.html +0 -364
- package/coverage/lcov-report/react/components/Button/index.html +0 -116
- package/coverage/lcov-report/react/components/Button/index.js.html +0 -355
- package/coverage/lcov-report/react/components/Error/Collapsible.jsx.html +0 -349
- package/coverage/lcov-report/react/components/Error/ErrorUI.jsx.html +0 -178
- package/coverage/lcov-report/react/components/Error/error.js.html +0 -163
- package/coverage/lcov-report/react/components/Error/index.html +0 -146
- package/coverage/lcov-report/react/components/Footer/FooterUI.jsx.html +0 -880
- package/coverage/lcov-report/react/components/Footer/LegacyFooterUI.jsx.html +0 -667
- package/coverage/lcov-report/react/components/Footer/SocialLinks.jsx.html +0 -265
- package/coverage/lcov-report/react/components/Footer/Subscribe.jsx.html +0 -187
- package/coverage/lcov-report/react/components/Footer/footer.js.html +0 -175
- package/coverage/lcov-report/react/components/Footer/index.html +0 -176
- package/coverage/lcov-report/react/components/GovBanner/index.html +0 -116
- package/coverage/lcov-report/react/components/GovBanner/index.js.html +0 -409
- package/coverage/lcov-report/react/components/Header/HeaderAccountMenu.jsx.html +0 -592
- package/coverage/lcov-report/react/components/Header/HeaderCancel.jsx.html +0 -133
- package/coverage/lcov-report/react/components/Header/HeaderContainer.jsx.html +0 -280
- package/coverage/lcov-report/react/components/Header/HeaderLogo.jsx.html +0 -211
- package/coverage/lcov-report/react/components/Header/HeaderMenuButton.js.html +0 -235
- package/coverage/lcov-report/react/components/Header/HeaderMenuItem.jsx.html +0 -781
- package/coverage/lcov-report/react/components/Header/HeaderMenuLink.js.html +0 -235
- package/coverage/lcov-report/react/components/Header/HeaderMenuSignOutButton.js.html +0 -271
- package/coverage/lcov-report/react/components/Header/HeaderMobileButton.js.html +0 -196
- package/coverage/lcov-report/react/components/Header/HeaderUI.jsx.html +0 -586
- package/coverage/lcov-report/react/components/Header/HelpIcon.jsx.html +0 -181
- package/coverage/lcov-report/react/components/Header/ImpersonatorBanner.jsx.html +0 -331
- package/coverage/lcov-report/react/components/Header/NavigationButtonIcon.jsx.html +0 -166
- package/coverage/lcov-report/react/components/Header/header.js.html +0 -205
- package/coverage/lcov-report/react/components/Header/hooks.js.html +0 -241
- package/coverage/lcov-report/react/components/Header/index.html +0 -341
- package/coverage/lcov-report/react/components/Header/utag-helpers.js.html +0 -112
- package/coverage/lcov-report/react/components/Infotip/Infotip.jsx.html +0 -310
- package/coverage/lcov-report/react/components/Infotip/InfotipIcon.jsx.html +0 -208
- package/coverage/lcov-report/react/components/Infotip/index.html +0 -146
- package/coverage/lcov-report/react/components/Infotip/index.js.html +0 -94
- package/coverage/lcov-report/react/components/Modal/LegacyModal.jsx.html +0 -301
- package/coverage/lcov-report/react/components/Modal/Modal.jsx.html +0 -505
- package/coverage/lcov-report/react/components/Modal/index.html +0 -146
- package/coverage/lcov-report/react/components/Modal/index.jsx.html +0 -151
- package/coverage/lcov-report/react/components/NotificationBanner/index.html +0 -116
- package/coverage/lcov-report/react/components/NotificationBanner/index.js.html +0 -880
- package/coverage/lcov-report/react/components/SanitizedContent/index.html +0 -116
- package/coverage/lcov-report/react/components/SanitizedContent/index.jsx.html +0 -685
- package/coverage/lcov-report/react/components/SessionDialog/index.html +0 -116
- package/coverage/lcov-report/react/components/SessionDialog/sessionDialog.js.html +0 -163
- package/coverage/lcov-report/react/components/SessionDialogUI.jsx.html +0 -868
- package/coverage/lcov-report/react/components/SideNav/AnimationGroup/AnimationGroup.jsx.html +0 -166
- package/coverage/lcov-report/react/components/SideNav/AnimationGroup/index.html +0 -116
- package/coverage/lcov-report/react/components/SideNav/Chart/ScoreChart.jsx.html +0 -889
- package/coverage/lcov-report/react/components/SideNav/Chart/index.html +0 -131
- package/coverage/lcov-report/react/components/SideNav/Chart/index.js.html +0 -94
- package/coverage/lcov-report/react/components/SideNav/Content/LevelOneContent.jsx.html +0 -709
- package/coverage/lcov-report/react/components/SideNav/Content/LevelTwoContent.jsx.html +0 -733
- package/coverage/lcov-report/react/components/SideNav/Content/index.html +0 -146
- package/coverage/lcov-report/react/components/SideNav/Content/index.js.html +0 -97
- package/coverage/lcov-report/react/components/SideNav/Details/IndividualDetails.jsx.html +0 -139
- package/coverage/lcov-report/react/components/SideNav/Details/PracticeDetails.jsx.html +0 -220
- package/coverage/lcov-report/react/components/SideNav/Details/index.html +0 -146
- package/coverage/lcov-report/react/components/SideNav/Details/index.js.html +0 -97
- package/coverage/lcov-report/react/components/SideNav/Links/CmsSwitchLink.jsx.html +0 -208
- package/coverage/lcov-report/react/components/SideNav/Links/NavItemInline.jsx.html +0 -247
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkContainer.jsx.html +0 -199
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkDrawer.jsx.html +0 -832
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkInline.jsx.html +0 -406
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkToggle.jsx.html +0 -187
- package/coverage/lcov-report/react/components/SideNav/Links/index.html +0 -206
- package/coverage/lcov-report/react/components/SideNav/Links/index.js.html +0 -124
- package/coverage/lcov-report/react/components/SideNav/UI/SideNavUI.jsx.html +0 -1084
- package/coverage/lcov-report/react/components/SideNav/UI/index.html +0 -131
- package/coverage/lcov-report/react/components/SideNav/UI/index.js.html +0 -94
- package/coverage/lcov-report/react/components/SideNav/helpers.js.html +0 -238
- package/coverage/lcov-report/react/components/SideNav/index.html +0 -131
- package/coverage/lcov-report/react/components/SideNav/index.js.html +0 -244
- package/coverage/lcov-report/react/components/Tooltip/Tooltip.jsx.html +0 -349
- package/coverage/lcov-report/react/components/Tooltip/index.html +0 -146
- package/coverage/lcov-report/react/components/Tooltip/index.js.html +0 -94
- package/coverage/lcov-report/react/components/Tooltip/position.js.html +0 -289
- package/coverage/lcov-report/react/components/hooks/index.html +0 -116
- package/coverage/lcov-report/react/components/hooks/useGetConfig.js.html +0 -307
- package/coverage/lcov-report/react/components/index.html +0 -116
- package/coverage/lcov-report/react/index.html +0 -116
- package/coverage/lcov-report/react/index.js.html +0 -178
- package/coverage/lcov-report/react/lib/Chevron.jsx.html +0 -181
- package/coverage/lcov-report/react/lib/SvgComponents.jsx.html +0 -1702
- package/coverage/lcov-report/react/lib/index.html +0 -146
- package/coverage/lcov-report/react/lib/svg-definitions.svg.html +0 -460
- package/coverage/lcov-report/react/session/index.html +0 -161
- package/coverage/lcov-report/react/session/index.js.html +0 -100
- package/coverage/lcov-report/react/session/logout.js.html +0 -307
- package/coverage/lcov-report/react/session/refresh.js.html +0 -232
- package/coverage/lcov-report/react/session/ttl.js.html +0 -196
- package/coverage/lcov-report/session/index.html +0 -161
- package/coverage/lcov-report/session/index.js.html +0 -100
- package/coverage/lcov-report/session/logout.js.html +0 -298
- package/coverage/lcov-report/session/refresh.js.html +0 -232
- package/coverage/lcov-report/session/ttl.js.html +0 -196
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -196
- package/coverage/lcov.info +0 -2908
- package/styles/components/_footer.scss +0 -593
- package/styles/components/_header.scss +0 -890
- package/styles/components/_sidebar.scss +0 -8
- package/styles/components/sidebar/_animations.scss +0 -38
- package/styles/components/sidebar/_cms.scss +0 -61
- package/styles/components/sidebar/_details.scss +0 -58
- package/styles/components/sidebar/_links.scss +0 -415
- package/styles/components/sidebar/_sidebar-animation.scss +0 -121
- package/styles/components/sidebar/_sidebar-tooltip.scss +0 -33
- package/styles/components/sidebar/_sidebar.scss +0 -141
- package/styles/components/sidebar/project-specific/_wi.scss +0 -42
package/package.json
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
/* Base Styles */
|
|
2
2
|
|
|
3
3
|
html {
|
|
4
|
-
|
|
4
|
+
font-size: $font-size-base;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
body {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
color: $text-color;
|
|
9
|
+
font-family: $font-family-base;
|
|
10
|
+
font-size: $font-size-base * 1.125;
|
|
11
|
+
font-weight: 400;
|
|
12
|
+
line-height: 1.7;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
::-moz-selection {
|
|
16
|
-
|
|
16
|
+
background: $text-selection-color;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
::selection {
|
|
20
|
-
|
|
20
|
+
background: $text-selection-color;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
p {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
24
|
+
margin-bottom: 30px;
|
|
25
|
+
|
|
26
|
+
&.lead {
|
|
27
|
+
color: $lead-color;
|
|
28
|
+
font-size: 1.5rem;
|
|
29
|
+
font-weight: 400;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
& ~ ul,
|
|
33
|
+
& ~ ol {
|
|
34
|
+
margin-bottom: 30px;
|
|
35
|
+
margin-top: -25px;
|
|
36
|
+
}
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
a {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
color: $link-color;
|
|
41
|
+
text-decoration: $link-decoration;
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
&:hover {
|
|
44
|
+
color: $link-hover-color;
|
|
45
|
+
text-decoration: $link-hover-decoration;
|
|
46
|
+
}
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
strong {
|
|
50
|
-
|
|
50
|
+
font-weight: 500;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
small {
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
font-size: 1rem;
|
|
55
|
+
line-height: 1.5;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
hr {
|
|
59
|
-
|
|
59
|
+
margin-bottom: 35px;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
#panel {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
section:first-of-type {
|
|
64
|
+
margin-top: 2rem;
|
|
65
|
+
}
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
/* Header Styles */
|
|
@@ -70,81 +70,81 @@ hr {
|
|
|
70
70
|
$default-font-size: 16;
|
|
71
71
|
|
|
72
72
|
h1 {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
73
|
+
.subtitle {
|
|
74
|
+
font-size: 18px; // Fallback in pixels
|
|
75
|
+
font-size: calc(18 / $default-font-size) + rem;
|
|
76
|
+
font-weight: $rubik-regular;
|
|
77
|
+
|
|
78
|
+
@include breakpoint(xs) {
|
|
79
|
+
font-size: 16px; // Fallback in pixels
|
|
80
|
+
font-size: calc(16 / $default-font-size) + rem;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
@for $i from 1 through length($headings) {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
86
|
+
$heading: nth($headings, $i);
|
|
87
|
+
|
|
88
|
+
h#{$i},
|
|
89
|
+
.h#{$i} {
|
|
90
|
+
color: $headings-color;
|
|
91
|
+
font-weight: nth($heading, 5);
|
|
92
|
+
margin-bottom: 10px;
|
|
93
|
+
|
|
94
|
+
@include breakpoint(xs) {
|
|
95
|
+
font-size: nth($heading, 2) + px; // Fallback in pixels
|
|
96
|
+
font-size: calc(nth($heading, 2) / $default-font-size) + rem;
|
|
97
|
+
line-height: nth($heading, 4) + px;
|
|
98
|
+
}
|
|
99
|
+
@include breakpoint(sm) {
|
|
100
|
+
font-size: nth($heading, 2) + px; // Fallback in pixels
|
|
101
|
+
font-size: calc(nth($heading, 2) / $default-font-size) + rem;
|
|
102
|
+
line-height: nth($heading, 4) + px;
|
|
103
|
+
}
|
|
104
|
+
@include breakpoint(md) {
|
|
105
|
+
font-size: nth($heading, 1) + px; // Fallback in pixels
|
|
106
|
+
font-size: calc(nth($heading, 1) / $default-font-size) + rem;
|
|
107
|
+
line-height: nth($heading, 3) + px;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.content-page h1 {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
113
|
+
.subtitle {
|
|
114
|
+
font-size: 24px; // Fallback in pixels
|
|
115
|
+
font-size: calc(24 / $default-font-size) + rem;
|
|
116
|
+
font-weight: $rubik-light;
|
|
117
|
+
|
|
118
|
+
@include breakpoint(xs) {
|
|
119
|
+
font-size: 20px; // Fallback in pixels
|
|
120
|
+
font-size: calc(20 / $default-font-size) + rem;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
@for $i from 1 through length($content-headings) {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
126
|
+
$heading: nth($content-headings, $i);
|
|
127
|
+
|
|
128
|
+
.content-page h#{$i},
|
|
129
|
+
.content-page .h#{$i} {
|
|
130
|
+
color: $headings-color-content;
|
|
131
|
+
font-size: nth($heading, 1) + px; // Fallback in pixels
|
|
132
|
+
font-size: calc(nth($heading, 1) / $default-font-size) + rem;
|
|
133
|
+
font-weight: nth($heading, 4);
|
|
134
|
+
line-height: 1.2;
|
|
135
|
+
margin-bottom: 10px;
|
|
136
|
+
text-transform: nth($heading, 5);
|
|
137
|
+
@include breakpoint(xs) {
|
|
138
|
+
font-size: nth($heading, 3) + px; // Fallback in pixels
|
|
139
|
+
font-size: calc(nth($heading, 3) / $default-font-size) + rem;
|
|
140
|
+
}
|
|
141
|
+
@include breakpoint(sm) {
|
|
142
|
+
font-size: nth($heading, 2) + px; // Fallback in pixels
|
|
143
|
+
font-size: calc(nth($heading, 2) / $default-font-size) + rem;
|
|
144
|
+
}
|
|
145
|
+
@include breakpoint(md) {
|
|
146
|
+
font-size: nth($heading, 1) + px; // Fallback in pixels
|
|
147
|
+
font-size: calc(nth($heading, 1) / $default-font-size) + rem;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
150
|
}
|
|
@@ -79,7 +79,7 @@ $gov-banner-button-text-hover-color: #1a4480;
|
|
|
79
79
|
.qpp-c-gov-banner__lock-image {
|
|
80
80
|
$lock-h: 64; // unitless height of svg
|
|
81
81
|
$lock-w: 52; // unitless width of svg
|
|
82
|
-
$lock-aspect: $lock-w / $lock-h;
|
|
82
|
+
$lock-aspect: calc($lock-w / $lock-h);
|
|
83
83
|
$icon-height: 1.5ex; // height of the lock icon; use ex for resilience
|
|
84
84
|
|
|
85
85
|
height: $icon-height;
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
height: $spacing-40;
|
|
72
72
|
justify-content: center;
|
|
73
73
|
line-height: 1;
|
|
74
|
-
margin-left: $spacing-8 / 2;
|
|
75
|
-
margin-right: $spacing-8 / 2;
|
|
74
|
+
margin-left: calc($spacing-8 / 2);
|
|
75
|
+
margin-right: calc($spacing-8 / 2);
|
|
76
76
|
min-width: $spacing-40;
|
|
77
77
|
max-width: $spacing-40;
|
|
78
78
|
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
|
|
177
177
|
.qpp-c-pagination__previous {
|
|
178
178
|
@include at-media(sm) {
|
|
179
|
-
margin-right: $spacing-40 / 2;
|
|
179
|
+
margin-right: calc($spacing-40 / 2);
|
|
180
180
|
}
|
|
181
181
|
border: rem(1px) solid transparent;
|
|
182
182
|
svg {
|
|
@@ -188,21 +188,21 @@
|
|
|
188
188
|
.qpp-c-pagination button.qpp-c-pagination__previous {
|
|
189
189
|
&:focus {
|
|
190
190
|
border: rem(1px) solid $blue-70;
|
|
191
|
-
margin-right: $spacing-40 / 2;
|
|
191
|
+
margin-right: calc($spacing-40 / 2);
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
.qpp-c-pagination__item a.qpp-c-pagination__previous {
|
|
196
196
|
&:focus {
|
|
197
197
|
border: rem(1px) solid $blue-70;
|
|
198
|
-
margin-right: ($spacing-40 / 2);
|
|
198
|
+
margin-right: calc($spacing-40 / 2);
|
|
199
199
|
margin-left: 0;
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
.qpp-c-pagination__next {
|
|
204
204
|
@include at-media(sm) {
|
|
205
|
-
margin-left: $spacing-40 / 2;
|
|
205
|
+
margin-left: calc($spacing-40 / 2);
|
|
206
206
|
}
|
|
207
207
|
border: rem(1px) solid transparent;
|
|
208
208
|
svg {
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
.qpp-c-pagination__item a.qpp-c-pagination__next {
|
|
222
222
|
&:focus {
|
|
223
223
|
border: rem(1px) solid $blue-70;
|
|
224
|
-
margin-left: $spacing-40 / 2;
|
|
224
|
+
margin-left: calc($spacing-40 / 2);
|
|
225
225
|
margin-right: 0;
|
|
226
226
|
}
|
|
227
227
|
}
|
|
@@ -505,6 +505,6 @@ textarea.form-control {
|
|
|
505
505
|
// Reposition the icon because it's now within a grid column and columns have
|
|
506
506
|
// `position: relative;` on them. Also accounts for the grid gutter padding.
|
|
507
507
|
.has-feedback .form-control-feedback {
|
|
508
|
-
right: floor(($grid-gutter-width / 2));
|
|
508
|
+
right: floor(calc($grid-gutter-width / 2));
|
|
509
509
|
}
|
|
510
510
|
}
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
// Builds on top of the `.nav` components with its own modifier class to make
|
|
215
215
|
// the nav the full height of the horizontal nav (above 768px).
|
|
216
216
|
.navbar-nav {
|
|
217
|
-
margin: ($navbar-padding-vertical / 2) (-$navbar-padding-horizontal);
|
|
217
|
+
margin: calc($navbar-padding-vertical / 2) (-$navbar-padding-horizontal);
|
|
218
218
|
|
|
219
219
|
> li > a {
|
|
220
220
|
padding-top: 10px;
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
}
|
|
319
319
|
|
|
320
320
|
&.btn-xs {
|
|
321
|
-
@include navbar-vertical-align(
|
|
321
|
+
@include navbar-vertical-align(22px);
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
|
|
@@ -363,8 +363,8 @@ $container-lg: $container-large-desktop !default;
|
|
|
363
363
|
$navbar-height: 50px !default;
|
|
364
364
|
$navbar-margin-bottom: $line-height-computed !default;
|
|
365
365
|
$navbar-border-radius: $border-radius-base !default;
|
|
366
|
-
$navbar-padding-horizontal: floor(($grid-gutter-width / 2)) !default;
|
|
367
|
-
$navbar-padding-vertical: (
|
|
366
|
+
$navbar-padding-horizontal: floor(calc($grid-gutter-width / 2)) !default;
|
|
367
|
+
$navbar-padding-vertical: calc(
|
|
368
368
|
($navbar-height - $line-height-computed) / 2
|
|
369
369
|
) !default;
|
|
370
370
|
$navbar-collapse-max-height: 340px !default;
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
// Prevent columns from collapsing when empty
|
|
17
17
|
min-height: 1px;
|
|
18
18
|
// Inner gutter via padding
|
|
19
|
-
padding-left: ceil(($grid-gutter-width / 2));
|
|
20
|
-
padding-right: floor(($grid-gutter-width / 2));
|
|
19
|
+
padding-left: ceil(calc($grid-gutter-width / 2));
|
|
20
|
+
padding-right: floor(calc($grid-gutter-width / 2));
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
@mixin calc-grid-column($index, $class, $type) {
|
|
35
35
|
@if ($type == width) and ($index > 0) {
|
|
36
36
|
.col-#{$class}-#{$index} {
|
|
37
|
-
width: percentage(($index / $grid-columns));
|
|
37
|
+
width: percentage(calc($index / $grid-columns));
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
@if ($type == push) and ($index > 0) {
|
|
42
42
|
.col-#{$class}-push-#{$index} {
|
|
43
|
-
left: percentage(($index / $grid-columns));
|
|
43
|
+
left: percentage(calc($index / $grid-columns));
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
|
|
53
53
|
@if ($type == pull) and ($index > 0) {
|
|
54
54
|
.col-#{$class}-pull-#{$index} {
|
|
55
|
-
right: percentage(($index / $grid-columns));
|
|
55
|
+
right: percentage(calc($index / $grid-columns));
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
@if ($type == offset) {
|
|
66
66
|
.col-#{$class}-offset-#{$index} {
|
|
67
|
-
margin-left: percentage(($index / $grid-columns));
|
|
67
|
+
margin-left: percentage(calc($index / $grid-columns));
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
// Generate semantic grid columns with these mixins.
|
|
4
4
|
// Creates a wrapper for a series of columns
|
|
5
5
|
@mixin make-row($gutter: $grid-gutter-width) {
|
|
6
|
-
margin-right: floor(($gutter / -2));
|
|
7
|
-
margin-left: ceil(($gutter / -2));
|
|
6
|
+
margin-right: floor(calc($gutter / -2));
|
|
7
|
+
margin-left: ceil(calc($gutter / -2));
|
|
8
8
|
@include clearfix;
|
|
9
9
|
}
|
|
10
10
|
|
|
@@ -14,44 +14,44 @@
|
|
|
14
14
|
float: left;
|
|
15
15
|
width: percentage(($columns / $grid-columns));
|
|
16
16
|
min-height: 1px;
|
|
17
|
-
padding-right: ($gutter / 2);
|
|
18
|
-
padding-left: ($gutter / 2);
|
|
17
|
+
padding-right: calc($gutter / 2);
|
|
18
|
+
padding-left: calc($gutter / 2);
|
|
19
19
|
}
|
|
20
20
|
@mixin make-xs-column-offset($columns) {
|
|
21
|
-
margin-left: percentage(($columns / $grid-columns));
|
|
21
|
+
margin-left: percentage(calc($columns / $grid-columns));
|
|
22
22
|
}
|
|
23
23
|
@mixin make-xs-column-push($columns) {
|
|
24
|
-
left: percentage(($columns / $grid-columns));
|
|
24
|
+
left: percentage(calc($columns / $grid-columns));
|
|
25
25
|
}
|
|
26
26
|
@mixin make-xs-column-pull($columns) {
|
|
27
|
-
right: percentage(($columns / $grid-columns));
|
|
27
|
+
right: percentage(calc($columns / $grid-columns));
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
// Generate the small columns
|
|
31
31
|
@mixin make-sm-column($columns, $gutter: $grid-gutter-width) {
|
|
32
32
|
position: relative;
|
|
33
33
|
min-height: 1px;
|
|
34
|
-
padding-right: ($gutter / 2);
|
|
35
|
-
padding-left: ($gutter / 2);
|
|
34
|
+
padding-right: calc($gutter / 2);
|
|
35
|
+
padding-left: calc($gutter / 2);
|
|
36
36
|
|
|
37
37
|
@media (min-width: $screen-sm-min) {
|
|
38
38
|
float: left;
|
|
39
|
-
width: percentage(($columns / $grid-columns));
|
|
39
|
+
width: percentage(calc($columns / $grid-columns));
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
@mixin make-sm-column-offset($columns) {
|
|
43
43
|
@media (min-width: $screen-sm-min) {
|
|
44
|
-
margin-left: percentage(($columns / $grid-columns));
|
|
44
|
+
margin-left: percentage(calc($columns / $grid-columns));
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
@mixin make-sm-column-push($columns) {
|
|
48
48
|
@media (min-width: $screen-sm-min) {
|
|
49
|
-
left: percentage(($columns / $grid-columns));
|
|
49
|
+
left: percentage(calc($columns / $grid-columns));
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
@mixin make-sm-column-pull($columns) {
|
|
53
53
|
@media (min-width: $screen-sm-min) {
|
|
54
|
-
right: percentage(($columns / $grid-columns));
|
|
54
|
+
right: percentage(calc($columns / $grid-columns));
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -59,27 +59,27 @@
|
|
|
59
59
|
@mixin make-md-column($columns, $gutter: $grid-gutter-width) {
|
|
60
60
|
position: relative;
|
|
61
61
|
min-height: 1px;
|
|
62
|
-
padding-right: ($gutter / 2);
|
|
63
|
-
padding-left: ($gutter / 2);
|
|
62
|
+
padding-right: calc($gutter / 2);
|
|
63
|
+
padding-left: calc($gutter / 2);
|
|
64
64
|
|
|
65
65
|
@media (min-width: $screen-md-min) {
|
|
66
66
|
float: left;
|
|
67
|
-
width: percentage(($columns / $grid-columns));
|
|
67
|
+
width: percentage(calc($columns / $grid-columns));
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
@mixin make-md-column-offset($columns) {
|
|
71
71
|
@media (min-width: $screen-md-min) {
|
|
72
|
-
margin-left: percentage(($columns / $grid-columns));
|
|
72
|
+
margin-left: percentage(calc($columns / $grid-columns));
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
@mixin make-md-column-push($columns) {
|
|
76
76
|
@media (min-width: $screen-md-min) {
|
|
77
|
-
left: percentage(($columns / $grid-columns));
|
|
77
|
+
left: percentage(calc($columns / $grid-columns));
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
@mixin make-md-column-pull($columns) {
|
|
81
81
|
@media (min-width: $screen-md-min) {
|
|
82
|
-
right: percentage(($columns / $grid-columns));
|
|
82
|
+
right: percentage(calc($columns / $grid-columns));
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
@mixin make-lg-column($columns, $gutter: $grid-gutter-width) {
|
|
88
88
|
position: relative;
|
|
89
89
|
min-height: 1px;
|
|
90
|
-
padding-right: ($gutter / 2);
|
|
91
|
-
padding-left: ($gutter / 2);
|
|
90
|
+
padding-right: calc($gutter / 2);
|
|
91
|
+
padding-left: calc($gutter / 2);
|
|
92
92
|
|
|
93
93
|
@media (min-width: $screen-lg-min) {
|
|
94
94
|
float: left;
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
// Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin.
|
|
5
5
|
|
|
6
6
|
@mixin navbar-vertical-align($element-height) {
|
|
7
|
-
margin-top: (($navbar-height - $element-height) / 2);
|
|
8
|
-
margin-bottom: (($navbar-height - $element-height) / 2);
|
|
7
|
+
margin-top: calc(($navbar-height - $element-height) / 2);
|
|
8
|
+
margin-bottom: calc(($navbar-height - $element-height) / 2);
|
|
9
9
|
}
|
|
@@ -32,7 +32,7 @@ describe('Infotip', () => {
|
|
|
32
32
|
});
|
|
33
33
|
const paths = container.querySelectorAll('path');
|
|
34
34
|
expect(paths[1].getAttribute('fill')).to.equal('#FFF');
|
|
35
|
-
expect(paths[2].getAttribute('fill')).to.equal('#
|
|
35
|
+
expect(paths[2].getAttribute('fill')).to.equal('#0073C8');
|
|
36
36
|
});
|
|
37
37
|
|
|
38
38
|
it('overrides "touchstart" events for button', () => {
|