@appcues/web-sdk 7.16.0 → 7.17.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/CHANGELOG.md +25 -0
- package/build/checklist.1abb4cabde29d8c941c5030c6c9e6556326c226f.css +1 -0
- package/build/{index.MoDAiKcs.js → index.BYadaR35.js} +3016 -2958
- package/build/{index.COmFqR_V.js → index.Dunwnb9Q.js} +13 -13
- package/build/{index.npm.CfzLoV--.js → index.npm.DbVSP1KB.js} +1 -1
- package/build/index.npm.js +1 -1
- package/build/{modal.a0b7e349e1a159607acbf9b5971768dff6aa9888.css → modal.1abb4cabde29d8c941c5030c6c9e6556326c226f.css} +1 -1
- package/build/{open-builder.C3kA6hYi.js → open-builder.CZd8R04x.js} +179 -178
- package/build/{satisfaction-survey.a0b7e349e1a159607acbf9b5971768dff6aa9888.css → satisfaction-survey.1abb4cabde29d8c941c5030c6c9e6556326c226f.css} +1 -1
- package/build/types.d.ts +1 -1
- package/build/types.d.ts.map +1 -1
- package/package.json +9 -6
- package/build/checklist.a0b7e349e1a159607acbf9b5971768dff6aa9888.css +0 -1
- /package/build/{container.a0b7e349e1a159607acbf9b5971768dff6aa9888.css → container.1abb4cabde29d8c941c5030c6c9e6556326c226f.css} +0 -0
- /package/build/{debugger.a0b7e349e1a159607acbf9b5971768dff6aa9888.css → debugger.1abb4cabde29d8c941c5030c6c9e6556326c226f.css} +0 -0
- /package/build/{modal-step-legacy-render.a0b7e349e1a159607acbf9b5971768dff6aa9888.css → modal-step-legacy-render.1abb4cabde29d8c941c5030c6c9e6556326c226f.css} +0 -0
- /package/build/{test-mode.a0b7e349e1a159607acbf9b5971768dff6aa9888.css → test-mode.1abb4cabde29d8c941c5030c6c9e6556326c226f.css} +0 -0
- /package/build/{tooltip.a0b7e349e1a159607acbf9b5971768dff6aa9888.css → tooltip.1abb4cabde29d8c941c5030c6c9e6556326c226f.css} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600";html{font-family:Source Sans Pro,Helvetica Neue,Helvetica,sans-serif}html *{box-sizing:border-box}a{cursor:pointer}html body{margin:0}@keyframes nps-enter{0%{opacity:0;transform:translateY(10px)}30%{opacity:0}to{opacity:1;transform:translateY(0)}}@keyframes nps-complete{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(10px) scale(0)}}.appcues-nps{text-align:center;position:fixed;bottom:0;box-shadow:0 0 30px #0000001a;margin-left:auto;margin-right:auto;width:75%;right:0;left:0;border-radius:5px 5px 0 0;padding-right:0;z-index:10000001}.nps-modal{padding-top:40px;text-align:center;width:100%;border-radius:5px 5px 0 0}.nps-modal.collapsed{height:0}.nps-modal.qualitative{height:225px}.ask-me-later{font-family:Source Sans Pro,Helvetica Neue,Helvetica,sans-serif;position:absolute;justify-content:center;align-items:center;display:flex;top:0;left:0;font-size:15px;padding:8px 16px 10px;border-top-left-radius:5px;border-bottom-right-radius:5px;background-color:#ccc2;min-width:130px}.ask-me-later:hover{background-color:#ccc5}.close-icon{display:flex;font-size:16px;padding-right:8px}.ask-me-later-text{display:flex}.back-to-nps{font-family:Source Sans Pro,Helvetica Neue,Helvetica,sans-serif;position:absolute;justify-content:center;align-items:center;display:flex;top:0;right:0;font-size:15px;padding:8px 16px 10px;border-top-right-radius:5px;border-bottom-left-radius:5px;background-color:#ccc2;min-width:130px}.back-to-nps:hover{background-color:#0003}.quantitative-question{font-family:Source Sans Pro,Helvetica Neue,Helvetica,sans-serif;font-size:18px;height:100%;width:100%;margin-left:auto;margin-right:auto;max-width:700px;overflow-y:auto;padding-bottom:12px;text-align:center}.qualitative-question{font-family:Source Sans Pro,Helvetica Neue,Helvetica,sans-serif;font-size:18px;height:100%;width:95%;margin-left:auto;margin-right:auto;max-width:600px;overflow-y:auto}.question-text{font-family:Source Sans Pro,Helvetica Neue,Helvetica,sans-serif;font-size:18px;padding:0 5px}.qualitative-question textarea{font-family:Source Sans Pro,Helvetica Neue,Helvetica,sans-serif;font-size:14px;height:90px;margin:8px 0 12px;width:100%;border-radius:3px;border:2px solid rgba(199,199,199,.3333333333);background-color:#c7c7c722;padding:.5rem}.nps-number-option{position:relative}.nps-number-input{position:absolute;opacity:0;margin-left:auto;margin-right:auto;left:0;right:0;height:100%;margin-top:0}.nps-number-input:focus+.nps-number-link{outline:#
|
|
1
|
+
@import"https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600";html{font-family:Source Sans Pro,Helvetica Neue,Helvetica,sans-serif}html *{box-sizing:border-box}a{cursor:pointer}html body{margin:0}@keyframes nps-enter{0%{opacity:0;transform:translateY(10px)}30%{opacity:0}to{opacity:1;transform:translateY(0)}}@keyframes nps-complete{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(10px) scale(0)}}.appcues-nps{text-align:center;position:fixed;bottom:0;box-shadow:0 0 30px #0000001a;margin-left:auto;margin-right:auto;width:75%;right:0;left:0;border-radius:5px 5px 0 0;padding-right:0;z-index:10000001}.nps-modal{padding-top:40px;text-align:center;width:100%;border-radius:5px 5px 0 0}.nps-modal.collapsed{height:0}.nps-modal.qualitative{height:225px}.ask-me-later{font-family:Source Sans Pro,Helvetica Neue,Helvetica,sans-serif;position:absolute;justify-content:center;align-items:center;display:flex;top:0;left:0;font-size:15px;padding:8px 16px 10px;border-top-left-radius:5px;border-bottom-right-radius:5px;background-color:#ccc2;min-width:130px}.ask-me-later:hover{background-color:#ccc5}.close-icon{display:flex;font-size:16px;padding-right:8px}.ask-me-later-text{display:flex}.back-to-nps{font-family:Source Sans Pro,Helvetica Neue,Helvetica,sans-serif;position:absolute;justify-content:center;align-items:center;display:flex;top:0;right:0;font-size:15px;padding:8px 16px 10px;border-top-right-radius:5px;border-bottom-left-radius:5px;background-color:#ccc2;min-width:130px}.back-to-nps:hover{background-color:#0003}.quantitative-question{font-family:Source Sans Pro,Helvetica Neue,Helvetica,sans-serif;font-size:18px;height:100%;width:100%;margin-left:auto;margin-right:auto;max-width:700px;overflow-y:auto;padding-bottom:12px;text-align:center}.qualitative-question{font-family:Source Sans Pro,Helvetica Neue,Helvetica,sans-serif;font-size:18px;height:100%;width:95%;margin-left:auto;margin-right:auto;max-width:600px;overflow-y:auto}.question-text{font-family:Source Sans Pro,Helvetica Neue,Helvetica,sans-serif;font-size:18px;padding:0 5px}.qualitative-question textarea{font-family:Source Sans Pro,Helvetica Neue,Helvetica,sans-serif;font-size:14px;height:90px;margin:8px 0 12px;width:100%;border-radius:3px;border:2px solid rgba(199,199,199,.3333333333);background-color:#c7c7c722;padding:.5rem}.nps-number-option{position:relative}.nps-number-input{position:absolute;opacity:0;margin-left:auto;margin-right:auto;left:0;right:0;height:100%;margin-top:0}.nps-number-input:focus+.nps-number-link{outline:#0000ee auto 1px}.nps-number-link{margin:auto 1px;padding:5px 0;border-radius:3px;font-weight:700;text-decoration:none;width:34px;height:33px;opacity:.9;transition:opacity .1s ease-out,transform .15s ease-out,box-shadow .15s ease-out;text-align:center;display:block;cursor:pointer}.nps-number-link:hover{background-color:#fff;opacity:1;box-shadow:0 4px #fff3;transform:translateY(-3px) scale(1.06)}.selected-nps{background-color:#fff}.nps-options{display:flex;justify-content:space-between;text-align:center;width:100%;max-width:500px;margin:1.5em auto 8px;border:none;padding:0}.buttons{display:flex;justify-content:space-between;align-items:center}.buttons a{text-decoration:none;padding:7px 14px;border-radius:3px;font-family:Source Sans Pro,Helvetica Neue,Helvetica,sans-serif;font-weight:600;font-size:15px;color:#fff;opacity:.9}.buttons a:hover{opacity:1}.appcues-powdered-by-wrapper{display:inline-block;width:200px}.buttons .appcues-powered-by-text{text-align:left;padding-bottom:2px}.buttons .appcues-powered-by-text a{padding:0;color:#bebebe;mix-blend-mode:luminosity;font-size:14px;font-weight:400;opacity:.5}.buttons .appcues-powered-by-text a span{margin-left:4px}.feedback-tab{bottom:0;right:0;margin:0;display:none;overflow:hidden}.feedback-tab.collapsed{display:block}.satisfaction-feedback{padding:8px;float:left;width:125px;height:40px;border-radius:5px 5px 0 0;text-align:center;box-shadow:0 0 1px #0003}.character-count{padding:12px;font-size:13px;font-family:Source Sans Pro,Helvetica Neue,Helvetica,sans-serif;display:inline-block}.numerator-character-count.disabled{font-weight:700}.confirmation-toast{margin:7px;padding-left:8px;padding-right:8px;height:25px;font-family:Source Sans Pro,Helvetica Neue,Helvetica,sans-serif;font-size:15px;line-height:25px;text-align:center;border-radius:5px;float:left;box-shadow:0 0 1px #0003;opacity:0;position:absolute;right:0}.feedback-link{text-decoration:none;margin:0;width:125px;height:40px;flex-grow:1;color:#fff;display:block}.frame-container{position:relative;margin:0 -4px;border:0px solid;padding-bottom:65%;height:0}.context-hints{max-width:520px;display:flex;justify-content:space-between;margin-left:auto;margin-right:auto;padding-bottom:10px}.not-likely-hint{text-align:left;padding-left:15px;padding-top:0;font-family:Source Sans Pro,Helvetica Neue,Helvetica,sans-serif;font-size:13px;flex-grow:0}.very-likely-hint{text-align:right;padding-right:15px;padding-top:0;font-family:Source Sans Pro,Helvetica Neue,Helvetica,sans-serif;font-size:13px;flex-grow:0}.submit-button{padding:8px 20px}.submit-button.disabled{pointer-events:none;cursor:default;opacity:.6}@media(max-width:1175px){.appcues-nps{border-radius:0;margin-left:0;margin-right:0;width:100%}}@media(max-width:670px){.not-likely-hint,.very-likely-hint{padding-top:0}.ask-me-later{font-size:12px;padding:8px;min-width:100px}.back-to-nps{min-height:36px;font-size:12px;padding:8px;min-width:100px}.confirmation-toast{display:none}}@media(max-width:500px){.appcues-nps{border-radius:0;margin-left:0;margin-right:0}.appcues-nps.qualitative{padding-top:40px;height:270px}.confirmation-toast{display:none}.nps-number-link{width:32px}.not-likely-hint{padding-left:5px}.very-likely-hint{padding-right:5px}}
|
package/build/types.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export interface AppcuesBundleSettings {
|
|
|
38
38
|
* Appcues.on('flow_completed', () => {});
|
|
39
39
|
* Appcues.on('all', () => {}); // Listen to everything
|
|
40
40
|
*/
|
|
41
|
-
export type AppcuesEventName = 'all' | typeof PUBLIC_ANALYTICS_EVENTS[number];
|
|
41
|
+
export type AppcuesEventName = 'all' | (typeof PUBLIC_ANALYTICS_EVENTS)[number];
|
|
42
42
|
/**
|
|
43
43
|
* Core Appcues SDK methods
|
|
44
44
|
*/
|
package/build/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/scripts/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,OAAO,EAAE,WAAW,CAAC;QACrB,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;KAC/C;CACF;AAGD,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,wBAAwB,EAAE,MAAM,CAAC;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,wBAAwB,EAAE,MAAM,CAAC;IACjC,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,gB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name": "@appcues/web-sdk",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.17.0",
|
|
4
4
|
"description": "The Appcues Javascript SDK",
|
|
5
5
|
"main": "build/index.npm.js",
|
|
6
6
|
"types": "build/index.npm.d.ts",
|
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
"flows",
|
|
17
17
|
"onboarding"
|
|
18
18
|
],
|
|
19
|
+
"engines": {
|
|
20
|
+
"node": ">=22",
|
|
21
|
+
"npm": ">=8"
|
|
22
|
+
},
|
|
19
23
|
"files": [
|
|
20
24
|
"build/**/**",
|
|
21
25
|
"./CHANGELOG.md",
|
|
@@ -47,7 +51,10 @@
|
|
|
47
51
|
"test:watch": "NODE_ENV=test NODE_OPTIONS='--no-deprecation' vitest watch",
|
|
48
52
|
"test:ui": "NODE_ENV=test NODE_OPTIONS='--no-deprecation' vitest --ui",
|
|
49
53
|
"test:coverage": "NODE_ENV=test NODE_OPTIONS='--no-deprecation' vitest run --coverage",
|
|
50
|
-
"test:ci": "NODE_ENV=test NODE_OPTIONS='--no-deprecation' vitest run --reporter=verbose --reporter=junit --outputFile=./test-results/junit-vitest.xml"
|
|
54
|
+
"test:ci": "NODE_ENV=test NODE_OPTIONS='--no-deprecation' vitest run --reporter=verbose --reporter=junit --outputFile=./test-results/junit-vitest.xml",
|
|
55
|
+
"lint": "eslint .",
|
|
56
|
+
"lint:ci": "eslint . --quiet",
|
|
57
|
+
"fix": "eslint . --fix"
|
|
51
58
|
},
|
|
52
59
|
"repository": {
|
|
53
60
|
"type": "git",
|
|
@@ -56,12 +63,10 @@
|
|
|
56
63
|
"author": "team@appcues.com",
|
|
57
64
|
"devDependencies": {
|
|
58
65
|
"@appcues/opscues": "^0.5.0",
|
|
59
|
-
"@appcues/stylecues": "^2.2.1",
|
|
60
66
|
"@aws-sdk/client-s3": "^3.958.0",
|
|
61
67
|
"@types/glob": "^8.1.0",
|
|
62
68
|
"@vitest/coverage-v8": "^4.0.16",
|
|
63
69
|
"@vitest/ui": "^4.0.16",
|
|
64
|
-
"bourbon": "^4.2.7",
|
|
65
70
|
"clone": "^2.1.2",
|
|
66
71
|
"concurrently": "^6.4.0",
|
|
67
72
|
"cross-env": "^10.1.0",
|
|
@@ -72,11 +77,9 @@
|
|
|
72
77
|
"jsdom": "^27.3.0",
|
|
73
78
|
"lodash-match-pattern": "^1.1.0",
|
|
74
79
|
"mock-raf": "^0.1.0",
|
|
75
|
-
"node-sass": "npm:sass@^1.54.0",
|
|
76
80
|
"redux-logger": "^3.0.6",
|
|
77
81
|
"rimraf": "^3.0.2",
|
|
78
82
|
"sanitize-html": "^2.3.3",
|
|
79
|
-
"sass-embedded": "^1.90.0",
|
|
80
83
|
"simulant": "^0.2.2",
|
|
81
84
|
"typescript": "^5.9.2",
|
|
82
85
|
"vite": "^7.3.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
code,pre{font-family:Menlo,Monaco,monospace,sans-serif}div,p,ul,ol,table,dl,blockquote,pre{font-size:14px;line-height:1.6em}a[href],a[data-step]{color:#15c;text-decoration:none;cursor:pointer}object,embed,video,img{max-width:100%;width:auto}video,img{height:auto}p,ul,ol,table,dl,figure,blockquote,pre{margin:0 0 15px;border:none;background:none;box-shadow:none}hr{margin-bottom:15px}blockquote{margin-left:1.6em!important;padding-left:0;color:#777;font-style:italic}ul,ol{padding-left:2em}ul ul,ol ol,ul ol,ol ul{margin:2px;padding:0 0 0 2em;border:none}dl dt{font-weight:700}dd{margin-left:1em}table{border-collapse:collapse;font-size:1em;width:100%}table td,table th{padding:5px;border:1px solid #ddd;vertical-align:top}table thead td,table th{font-weight:700;border-bottom-color:#888}code{background-color:#d8d7d7}pre{overflow:auto;padding:1em;border:1px solid #ddd;border-radius:3px;background:#f8f8f8;white-space:pre;font-size:90%;color:#888}hr{display:block;height:1px;border:0;border-top:1px solid #ccc}h1,h2,h3,h4,h5,h6{font-weight:700;color:#000;padding:0;background:none;text-rendering:optimizeLegibility;margin:0 0 .5em}h1,h2,h3,h4{line-height:1.3}h1{font-size:36px}h2{font-size:24px;margin-bottom:.7em}h3{font-size:21px}h4{font-size:18px}h5{font-size:16px}h6{font-size:12px;text-transform:uppercase}.sr-only{clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px;margin:-1px}.appcues-button{background-color:#ccc;cursor:pointer;padding:8px 18px;color:#fff;font-weight:700;display:inline-block;position:relative;-webkit-font-smoothing:auto;text-decoration:none;border-radius:3px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transition:background-color .2s ease-out,color .2s ease-out;-moz-transition:background-color .2s ease-out,color .2s ease-out;transition:background-color .2s ease-out,color .2s ease-out}.appcues-button:hover{text-decoration:none;color:#000;background-color:#dedede}.appcues-button.appcues-button-success{background-color:#5cb85c}.appcues-button.appcues-button-success:hover{background-color:#75c375;text-decoration:unset}.appcues-button.appcues-button-success.disabled{background-color:#eaf6ea}.appcues-button[data-step],.appcues-button[href]{color:#fff}body{margin:0;overflow:hidden}body *{font-size:16px;box-sizing:border-box;line-height:normal;font-family:Lato,Source Sans Pro,Helvetica,Arial,sans-serif}.checklist{display:-webkit-box;display:-moz-box;display:box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-moz-box-orient:vertical;box-orient:vertical;-webkit-box-direction:reverse;-moz-box-direction:reverse;box-direction:reverse;-webkit-flex-direction:column-reverse;-moz-flex-direction:column-reverse;flex-direction:column-reverse;-ms-flex-direction:column-reverse;-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start;-ms-justify-content:flex-start;-o-justify-content:flex-start;justify-content:flex-start;-ms-flex-pack:start;height:100%;z-index:2147483547}.checklist p{font-size:.925rem;line-height:1.4em;color:#555}.beacon{-webkit-align-self:flex-start;-moz-align-self:flex-start;align-self:flex-start;-ms-flex-item-align:start;position:relative;padding:11px 17px 11px 15px;margin:8px;border-radius:120px;cursor:pointer;display:inline-block;box-shadow:0 0 12px #00000040;white-space:nowrap;z-index:2;transition:background-color .25s ease-out;background-color:#0d2c6d;color:#fff}.beacon.right{-webkit-align-self:flex-end;-moz-align-self:flex-end;align-self:flex-end;-ms-flex-item-align:end}.beacon svg{margin-right:.5rem;display:inline-block;vertical-align:middle}.beacon .label{font-weight:700;display:inline-block;vertical-align:middle}.beacon .badge{right:-6px;top:-6px;width:20px;height:20px;position:absolute;background-color:#fff;box-shadow:0 0 5px #0003;color:#0d2c6d;border-radius:20px;font-size:14px;font-weight:800;display:flex;align-items:center;justify-content:center}.checklist-main{position:absolute;bottom:30px;width:340px;color:#222;background:#fff;border-radius:3px;transition:all .15s ease;opacity:0;margin:0 8px 15px;box-shadow:0 0 8px #00000026;pointer-events:none}.checklist-main.expanded{opacity:1;bottom:50px;pointer-events:auto}.checklist-main .checklist-header{padding:1.25rem 1.25rem .75rem;border-bottom:1px solid #eeeeee;cursor:default;color:#555}.checklist-main .checklist-header.checklist-congrats{position:relative;background-color:#eee;text-align:center}.checklist-main .checklist-header.checklist-congrats:hover .dismiss-link{color:#0d2c6d}.checklist-main .checklist-header.checklist-congrats .emoji{display:block;padding-bottom:15px}.checklist-main .checklist-header.checklist-congrats .dismiss-link{position:absolute;top:1.25rem;right:1.25rem;color:#999;font-style:italic;font-size:.875rem;cursor:pointer;background:transparent;border:none}.checklist-main .checklist-header.checklist-congrats h1{font-size:1.17em;font-weight:700;margin:.25rem 0 1em;color:#00d260}.checklist-main .checklist-header.checklist-congrats p{font-size:.875rem}.checklist-main .checklist-header .title{padding:0;margin:0;font-size:1.12rem}.checklist-main .checklist-header .desc{line-height:1.4em;font-size:.925rem;margin:1em 0}.checklist-main .checklist-header .progress-container{display:-webkit-box;display:-moz-box;display:box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex}.checklist-main .checklist-header .progress-container .completed-caption{-webkit-box-flex:0;-moz-box-flex:0;box-flex:0;-webkit-flex:0;-moz-flex:0;-ms-flex:0;flex:0;white-space:nowrap;font-weight:600;font-size:.875em;padding-right:12px}.checklist-main .checklist-header .progress-container .progress-bar{display:-webkit-box;display:-moz-box;display:box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;-webkit-flex:1;-moz-flex:1;-ms-flex:1;flex:1;background-color:#eee}.checklist-main .checklist-header .progress-container .progress-bar,.checklist-main .checklist-header .progress-container .progress-bar .progress-bar-complete{border-radius:20px}.checklist-main .checklist-header .progress-container .progress-bar .progress-bar-complete{background-color:#0d2c6d;border-top-right-radius:0;border-bottom-right-radius:0;transition:width .5s ease-out}.checklist-main .checklist-header .progress-container .progress-bar .progress-bar-complete.progress-bar-done{border-radius:20px}.checklist-main .checklist-header .minimize{position:absolute;top:1.25rem;right:1.25rem;color:#999;font-style:italic;font-size:.875rem;cursor:pointer}.checklist-main .checklist-header .minimize:hover{color:#474747}.checklist-main .checklist-body{position:relative}.checklist-main .checklist-body.show-confirm{min-height:120px}.checklist-main .checklist-body .dismiss-container{position:absolute;display:flex;flex-direction:column;top:0;align-items:center;height:100%;width:100%;background-color:#fff;color:#848484;overflow-y:auto}.checklist-main .checklist-body .dismiss-container .content-container{position:relative;width:100%;height:100%}.checklist-main .checklist-body .dismiss-container .content-container .dismiss-content{max-height:104px;top:50%;margin:0;width:100%}.checklist-main .checklist-body .dismiss-container .content-container .dismiss-content .dismiss-text{text-align:center;padding:8px 3.25rem}.checklist-main .checklist-body .dismiss-container .content-container .dismiss-content .button-container{display:flex;flex-direction:column;align-items:center;padding:4px 16px}.checklist-main .checklist-body .dismiss-container .content-container .dismiss-content .button-container .button-row{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;width:100%}.checklist-main .checklist-body .dismiss-container .content-container .dismiss-content .button-container .button-row .button-default{border-radius:4px;border-width:2px;border-style:solid;box-sizing:border-box;padding:5px 10px;text-align:center;font-weight:600;flex-grow:1;-webkit-font-smoothing:antialiased;background-color:#fff;-webkit-text-decoration:none;text-decoration:none;white-space:nowrap;cursor:pointer;z-index:0;transition:transform .25s;color:#fff;background-color:#848484;border-color:#848484;min-width:calc(50% - 8px);width:auto;margin:4px}.checklist-main .checklist-body .dismiss-container .content-container .dismiss-content .button-container .button-row .button-default:hover{border-color:#474747;background-color:#474747}.checklist-main .checklist-body .dismiss-container .content-container .dismiss-content .button-container .button-row .button-default.alt{color:#848484;background-color:#fff;border-color:#bbb}.checklist-main .checklist-body .dismiss-container .content-container .dismiss-content .button-container .button-row .button-default.alt:hover{border-color:#474747;color:#474747}.checklist-main .checklist-body .items{margin-top:.5rem;margin-bottom:0;padding:0}.checklist-main .checklist-body .item{padding:8px 1.25rem;list-style-type:none;color:#555;cursor:pointer}.checklist-main .checklist-body .item p{margin-bottom:0;width:240px}.checklist-main .checklist-body .item.completed a{color:#999;text-decoration:line-through}.checklist-main .checklist-body .item.completed .checkmark{flex-shrink:0;background-color:#00d260;border-color:#00d260}.checklist-main .checklist-body .item.completed .checkmark>svg{display:inline-block;font-size:inherit;height:1.86em;overflow:visible}.checklist-main .checklist-body .item.locked a{color:#eee}.checklist-main .checklist-body .item.locked .checkmark{border:2px solid #eeeeee}.checklist-main .checklist-body .item.locked .checkmark .sequential-label{color:#bbb}.checklist-main .checklist-body .item:hover.actionless{cursor:default}.checklist-main .checklist-body .item:hover:not(.actionless){background-color:#eee}.checklist-main .checklist-body .item:hover:not(.actionless):not(.completed){color:#0d2c6d}.checklist-main .checklist-body .item:hover:not(.actionless):not(.completed) a{color:#0d2c6d}.checklist-main .checklist-body .item:hover:not(.actionless):not(.completed) .checkmark{border-color:#0d2c6d}.checklist-main .checklist-body .item:hover:not(.actionless) a>svg{opacity:1}.checklist-main .checklist-body .item:hover:not(.actionless).locked{background-color:#fff;cursor:not-allowed}.checklist-main .checklist-body .item:hover:not(.actionless).locked a{color:#999}.checklist-main .checklist-body .item:hover:not(.actionless).locked a>svg{opacity:0}.checklist-main .checklist-body .item:hover:not(.actionless).locked .checkmark{border:2px solid #eeeeee}.checklist-main .checklist-body .item a{width:100%;display:flex;color:#555;text-decoration:none;outline:0;position:relative;align-items:center}.checklist-main .checklist-body .item a>svg{display:block;position:absolute;right:0;top:50%;margin-top:-9px;color:#039be5;transition:all .15s ease-out;opacity:0;backface-visibility:hidden}.checklist-main .checklist-body .item .checkmark{display:inline-block;margin-right:.75rem;vertical-align:middle;border:2px solid #555555;border-radius:100px;width:2rem;height:2rem;line-height:1.86rem;text-align:center;background-color:#fff;color:#fff;transition:all .25s ease-out;flex-shrink:0}.checklist-main .checklist-body .item .checkmark>span{display:none;line-height:1.86rem;position:relative;color:#555;bottom:1px}.checklist-main .checklist-body .item .checkmark>span.sequential-label{display:inline-block}.checklist-main .checklist-body .item .checkmark>svg{display:none}.checklist-main .checklist-footer{position:relative;height:100%;display:flex;align-items:flex-end;flex-direction:column;margin:4px 20px 4px 0}.checklist-main .checklist-footer .skip-link,.checklist-main .checklist-footer .powered-by-appcues{width:auto;font-size:.875em;color:#0006;cursor:pointer;font-style:italic;padding:0;margin:0;background:none;border:none}.checklist-main .powered-by-appcues:hover{color:#0d2c6d}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|