From f073009ce3c75a4d3118da63be4d589a8ab685a7 Mon Sep 17 00:00:00 2001 From: alexandragauss <“alexandra_gauss@uri.edu”> Date: Tue, 24 Oct 2023 11:22:57 -0400 Subject: [PATCH] Add inclusive access fee and note; hide form content --- css/map/style.built.css.map | 2 +- css/style.built.css | 2 +- inc/uri-tuition-calculator-display.php | 107 +++++++++++++------------ js/script.built.js | 2 +- src/js/script.js | 39 +++++++-- src/sass/main.scss | 11 +++ 6 files changed, 99 insertions(+), 64 deletions(-) diff --git a/css/map/style.built.css.map b/css/map/style.built.css.map index 10d6a9b..5b5f889 100644 --- a/css/map/style.built.css.map +++ b/css/map/style.built.css.map @@ -1 +1 @@ -{"version":3,"sources":["main.scss"],"names":[],"mappings":"AA+BW,uFAAA,CA0BX,OACI,WAAA,CACA,6EAdM,CAcN,qEAdM,CAiBV,cACI,eAAA,CAGJ,4FACQ,YAAA,CACA,aAAA,CACA,iBAAA,CACA,WAAA,CACA,6EA1BE,CA0BF,qEA1BE,CA2BF,WAAA,CACA,mCAvCO,CA0Cf,6CACI,YAAA,CAGJ,WACI,WAAA,CACA,eAAA,CAGA,gBACA,cAAA,CACA,yBAAA,CAIJ,0BACI,gBAAA,CACA,gBAAA,CAGJ,cACI,mCA/DW,CAgEd,eAAA,CACA,eAAA,CACA,oBAAA,CACA,wBAAA,CACA,UAxFU,CAyFV,sCAAA,CAAA,8BAAA,CACA,gBAAA,CACA,mBAAA,CACA,+BAAA,CAAA,uBAAA,CACA,WAAA,CACA,6EA/DS,CA+DT,qEA/DS,CAgEN,wBAtGM,CAuGN,YAAA,CACA,UAAA,CACA,eAAA,CAGA,0BACI,cAAA,CACA,kBA9GE,CA+GF,kCAAA,CAAA,0BAAA,CACA,2EAtEE,CAsEF,mEAtEE,CA0ET,QACG,YAAA,CAGJ,gBACI,QAAA,CACA,cAAA,CACA,kBAAA,CACA,eAAA,CACA,iBAAA,CAIJ,OACI,YAAA,CACA,YAAA,CACA,eAAA,CACA,gBAAA,CACA,iBAAA,CAGJ,WACI,oCAAA,CACA,aA7HM,CA8HN,WAAA,CACA,aAAA,CACA,eAAA,CAGA,iBACI,cAAA,CACA,aApIO,CAqIP,yBAAA,CAIR,IACI,gBAAA,CACA,mBAAA,CACA,cAAA,CACA,kBAAA,CAGJ,IACI,YAAA,CACA,mBAAA,CACA,cAAA,CAGJ,SACI,gBAAA,CAGJ,SACI,gBAAA,CACA,iBAAA,CAGJ,cACI,gBAAA,CACA,cAAA,CACA,eAAA,CACA,kBAAA,CACA,kBAAA,CACA,sBAAA,CACA,iBAAA,CAGJ,qIACI,sCAAA,CACA,eAAA,CACA,kBAAA,CAKJ,6BACI,qEACA,iBAAA,CAGA,gBACA,mBAAA,CAAA,CAMJ,4BACA,QACI,mBAAA,CAAA,oBAAA,CAAA,gBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,6BAAA,CAAA,4BAAA,CAAA,0BAAA,CAAA,0BAAA,CAAA,yBAAA,CAAA,sBAAA,CAAA,kBAAA,CAGJ,IACI,YAAA,CAAA","file":"../style.built.css","sourcesContent":["/* ==============================\n COLORS\n ============================== */\n\n $lightblue: #c0ddf2;\n $keaneyblue: #2277b3;\n $midblue: #30557e;\n $blue: #002147;\n $darkblue: #001228;\n \n $lightgold: #fefada;\n $midgold: #ffd453;\n $gold: #c4960c;\n \n $white: #ffffff;\n $lightgrey: #fafafa;\n $grey: #dddddd;\n $midgrey: #999999;\n $darkgrey: #555555;\n $black: #000000;\n \n $link: #005eff;\n $linkhover: #003287;\n \n $accentblue: #057fd4;\n\n\n/* ==============================\n FAWNTS\n ============================== */\n\n @import url(\"https://fonts.googleapis.com/css?family=Lato:400,900|Hind:400,600|Rubik:500\") all;\n\n $type-header: 'Lato', 'Hind', Arial, sans-serif;\n $type-sans: 'Hind', Arial, sans-serif;\n \n\n $maxtypewidth: 750px;\n\n\n/* ==============================\n BOX SHADOW LEVELS\n ============================== */\n\n// [x-offset y-offset blur-radius color]\n$level1: 0 .1rem .15rem rgba(0,0,0,0.1),\n 0 .1rem .3rem rgba(0,0,0,0.1);\n$level2: 0 .3rem 1rem rgba(0,0,0,0.1),\n 0 .3rem 3rem rgba(0,0,0,0.1);\n$level3: 0 .3rem .5rem rgba(0,0,0,0.2),\n 0 .3rem 2rem rgba(0,0,0,0.2);\n\n\n\n\n/* ======= STYLES ======= */\n\nselect {\n width: 10rem;\n box-shadow: $level1;\n}\n\n.select #resi{\n margin-bottom:0;\n}\n\n#courseNumber, #courseNumber2, #courseNumber3, #courseNumber4, #resi, #firstclass, #matriculating {\n outline: none;\n padding: 0.6rem;\n border-radius: 5px; \n border: none; \n box-shadow: $level1;\n margin: 1rem;\n font-family: $type-sans;\n }\n\n#courseoption2, #courseoption3, #courseoption4 {\n display: none;\n}\n\n.addCourse {\n border: none;\n font-size: 0.8rem;\n\n\n &hover {\n cursor: pointer;\n text-decoration: underline;\n }\n}\n\n#residency, #selectcourses {\n font-weight: bold;\n padding-left:1em;\n}\n\n#calc, #reload {\n font-family: $type-sans;\n\tfont-size: .8rem;\n\tfont-weight: 700;\n\tletter-spacing: .1rem;\n\ttext-transform: uppercase;\n\tcolor: $white;\n\ttransition: all .2s ease-in-out;\n\ttext-shadow: none;\n\tborder-radius: .2rem;\n\ttransform: translateY(0);\n\tborder: none;\n\tbox-shadow: $level1;\n background-color: $blue;\n padding: 1rem;\n width: 100%;\n max-width: 300px;\n\n\n &:hover {\n cursor: pointer;\n background: $blue;\n transform: translateY(-2px);\n box-shadow: $level3;\n }\n}\n\n #reload {\n display: none;\n }\n\n.calculations p {\n margin:0;\n font-size: 1rem;\n line-height: 2.5rem;\n max-width:400px;\n padding-left:1rem;\n}\n\n\n#total {\n display: none;\n outline:none;\n max-width: 400px;\n font-size: larger;\n padding-left:1rem;\n }\n\n#addCourse {\n background-color:rgba(255, 255, 255, 0);\n color: $link;\n border: none;\n padding: .6rem;\n font-size: .9rem;\n \n\n &:hover{\n cursor: pointer;\n color: $linkhover;\n text-decoration: underline;\n }\n\n}\n#q2 {\n padding-top: 40px;\n padding-bottom: 20px;\n font-size: 1rem;\n line-height: 1.2rem;\n}\n\n#q3 {\n display: none;\n padding-bottom: 20px;\n font-size: 1rem;\n}\n\n.courses {\n padding-top: 20px;\n}\n\n#buttons {\n padding-top: 20px;\n padding-left:1rem;\n}\n\np.yourCourses{\n font-weight: bold;\n font-size: 100%;\n max-width:400px;\n line-height:1.8rem;\n padding-top:2.5rem;\n padding-bottom:1.25rem;\n padding-left:1rem;\n}\n\n#registration-fee, #transcript-fee, #student-act-fee, #document-fee, #course-fee, #techFee, #instateTuition, #regionalTuition, #out-of-state{\n border-bottom: 1px solid rgba(0,0,0,0.1);\n max-width:300px;\n padding-left:1.5em;\n}\n\n\n\n@media (max-width: 1199.98px){ \n #residency, #selectcourses, #buttons, .tuition-calc-header, .yourcourses {\n padding-left:1rem;\n}\n\n .calculations p {\n padding-left:1.5rem;\n}\n\n\n}\n\n@media (max-width: 575.98px){ \n#q2, #q3{\n display: flex;\n flex-direction: row;\n}\n\n#q3 {\n display: none;\n}\n}"]} \ No newline at end of file +{"version":3,"sources":["main.scss"],"names":[],"mappings":"AA+BW,uFAAA,CA0BX,OACI,WAAA,CACA,6EAdM,CAcN,qEAdM,CAiBV,cACI,eAAA,CAGJ,4FACQ,YAAA,CACA,aAAA,CACA,iBAAA,CACA,WAAA,CACA,6EA1BE,CA0BF,qEA1BE,CA2BF,WAAA,CACA,mCAvCO,CA0Cf,6CACI,YAAA,CAGJ,WACI,WAAA,CACA,eAAA,CAGA,gBACA,cAAA,CACA,yBAAA,CAIJ,0BACI,gBAAA,CACA,gBAAA,CAGJ,cACI,mCA/DW,CAgEd,eAAA,CACA,eAAA,CACA,oBAAA,CACA,wBAAA,CACA,UAxFU,CAyFV,sCAAA,CAAA,8BAAA,CACA,gBAAA,CACA,mBAAA,CACA,+BAAA,CAAA,uBAAA,CACA,WAAA,CACA,6EA/DS,CA+DT,qEA/DS,CAgEN,wBAtGM,CAuGN,YAAA,CACA,UAAA,CACA,eAAA,CAGA,0BACI,cAAA,CACA,kBA9GE,CA+GF,kCAAA,CAAA,0BAAA,CACA,2EAtEE,CAsEF,mEAtEE,CA0ET,QACG,YAAA,CAGJ,gBACI,QAAA,CACA,cAAA,CACA,kBAAA,CACA,eAAA,CACA,iBAAA,CAIJ,OACI,YAAA,CACA,YAAA,CACA,eAAA,CACA,gBAAA,CACA,iBAAA,CAGJ,WACI,oCAAA,CACA,aA7HM,CA8HN,WAAA,CACA,aAAA,CACA,eAAA,CAGA,iBACI,cAAA,CACA,aApIO,CAqIP,yBAAA,CAIR,IACI,gBAAA,CACA,mBAAA,CACA,cAAA,CACA,kBAAA,CAGJ,IACI,YAAA,CACA,mBAAA,CACA,cAAA,CAGJ,SACI,gBAAA,CAGJ,SACI,gBAAA,CACA,iBAAA,CAGJ,cACI,gBAAA,CACA,cAAA,CACA,eAAA,CACA,kBAAA,CACA,kBAAA,CACA,sBAAA,CACA,iBAAA,CAGJ,qIACI,sCAAA,CACA,eAAA,CACA,kBAAA,CAGJ,aACI,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,iBAAA,CACA,eAAA,CACA,kBAAA,CACA,eAAA,CAMJ,6BACI,qEACA,iBAAA,CAGA,gBACA,mBAAA,CAAA,CAMJ,4BACA,QACI,mBAAA,CAAA,oBAAA,CAAA,gBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,6BAAA,CAAA,4BAAA,CAAA,0BAAA,CAAA,0BAAA,CAAA,yBAAA,CAAA,sBAAA,CAAA,kBAAA,CAGJ,IACI,YAAA,CAAA","file":"../style.built.css","sourcesContent":["/* ==============================\n COLORS\n ============================== */\n\n $lightblue: #c0ddf2;\n $keaneyblue: #2277b3;\n $midblue: #30557e;\n $blue: #002147;\n $darkblue: #001228;\n \n $lightgold: #fefada;\n $midgold: #ffd453;\n $gold: #c4960c;\n \n $white: #ffffff;\n $lightgrey: #fafafa;\n $grey: #dddddd;\n $midgrey: #999999;\n $darkgrey: #555555;\n $black: #000000;\n \n $link: #005eff;\n $linkhover: #003287;\n \n $accentblue: #057fd4;\n\n\n/* ==============================\n FAWNTS\n ============================== */\n\n @import url(\"https://fonts.googleapis.com/css?family=Lato:400,900|Hind:400,600|Rubik:500\") all;\n\n $type-header: 'Lato', 'Hind', Arial, sans-serif;\n $type-sans: 'Hind', Arial, sans-serif;\n \n\n $maxtypewidth: 750px;\n\n\n/* ==============================\n BOX SHADOW LEVELS\n ============================== */\n\n// [x-offset y-offset blur-radius color]\n$level1: 0 .1rem .15rem rgba(0,0,0,0.1),\n 0 .1rem .3rem rgba(0,0,0,0.1);\n$level2: 0 .3rem 1rem rgba(0,0,0,0.1),\n 0 .3rem 3rem rgba(0,0,0,0.1);\n$level3: 0 .3rem .5rem rgba(0,0,0,0.2),\n 0 .3rem 2rem rgba(0,0,0,0.2);\n\n\n\n\n/* ======= STYLES ======= */\n\nselect {\n width: 10rem;\n box-shadow: $level1;\n}\n\n.select #resi{\n margin-bottom:0;\n}\n\n#courseNumber, #courseNumber2, #courseNumber3, #courseNumber4, #resi, #firstclass, #matriculating {\n outline: none;\n padding: 0.6rem;\n border-radius: 5px; \n border: none; \n box-shadow: $level1;\n margin: 1rem;\n font-family: $type-sans;\n }\n\n#courseoption2, #courseoption3, #courseoption4 {\n display: none;\n}\n\n.addCourse {\n border: none;\n font-size: 0.8rem;\n\n\n &hover {\n cursor: pointer;\n text-decoration: underline;\n }\n}\n\n#residency, #selectcourses {\n font-weight: bold;\n padding-left:1em;\n}\n\n#calc, #reload {\n font-family: $type-sans;\n\tfont-size: .8rem;\n\tfont-weight: 700;\n\tletter-spacing: .1rem;\n\ttext-transform: uppercase;\n\tcolor: $white;\n\ttransition: all .2s ease-in-out;\n\ttext-shadow: none;\n\tborder-radius: .2rem;\n\ttransform: translateY(0);\n\tborder: none;\n\tbox-shadow: $level1;\n background-color: $blue;\n padding: 1rem;\n width: 100%;\n max-width: 300px;\n\n\n &:hover {\n cursor: pointer;\n background: $blue;\n transform: translateY(-2px);\n box-shadow: $level3;\n }\n}\n\n #reload {\n display: none;\n }\n\n.calculations p {\n margin:0;\n font-size: 1rem;\n line-height: 2.5rem;\n max-width:400px;\n padding-left:1rem;\n}\n\n\n#total {\n display: none;\n outline:none;\n max-width: 400px;\n font-size: larger;\n padding-left:1rem;\n }\n\n#addCourse {\n background-color:rgba(255, 255, 255, 0);\n color: $link;\n border: none;\n padding: .6rem;\n font-size: .9rem;\n \n\n &:hover{\n cursor: pointer;\n color: $linkhover;\n text-decoration: underline;\n }\n\n}\n#q2 {\n padding-top: 40px;\n padding-bottom: 20px;\n font-size: 1rem;\n line-height: 1.2rem;\n}\n\n#q3 {\n display: none;\n padding-bottom: 20px;\n font-size: 1rem;\n}\n\n.courses {\n padding-top: 20px;\n}\n\n#buttons {\n padding-top: 20px;\n padding-left:1rem;\n}\n\np.yourCourses{\n font-weight: bold;\n font-size: 100%;\n max-width:400px;\n line-height:1.8rem;\n padding-top:2.5rem;\n padding-bottom:1.25rem;\n padding-left:1rem;\n}\n\n#registration-fee, #transcript-fee, #student-act-fee, #document-fee, #course-fee, #techFee, #instateTuition, #regionalTuition, #out-of-state{\n border-bottom: 1px solid rgba(0,0,0,0.1);\n max-width:300px;\n padding-left:1.5em;\n}\n\n#access-note {\n display: none;\n padding-top:4.5rem;\n padding-bottom:1.25rem;\n padding-left:1rem;\n max-width: 800px;\n line-height: 1.3rem;\n font-size: .9rem;\n \n}\n\n\n\n@media (max-width: 1199.98px){ \n #residency, #selectcourses, #buttons, .tuition-calc-header, .yourcourses {\n padding-left:1rem;\n}\n\n .calculations p {\n padding-left:1.5rem;\n}\n\n\n}\n\n@media (max-width: 575.98px){ \n#q2, #q3{\n display: flex;\n flex-direction: row;\n}\n\n#q3 {\n display: none;\n}\n}"]} \ No newline at end of file diff --git a/css/style.built.css b/css/style.built.css index 892cb64..6d38c9f 100644 --- a/css/style.built.css +++ b/css/style.built.css @@ -1,2 +1,2 @@ -@import"https://fonts.googleapis.com/css?family=Lato:400,900|Hind:400,600|Rubik:500"all;select{width:10rem;-webkit-box-shadow:0 .1rem .15rem rgba(0,0,0,.1),0 .1rem .3rem rgba(0,0,0,.1);box-shadow:0 .1rem .15rem rgba(0,0,0,.1),0 .1rem .3rem rgba(0,0,0,.1)}.select #resi{margin-bottom:0}#courseNumber,#courseNumber2,#courseNumber3,#courseNumber4,#resi,#firstclass,#matriculating{outline:none;padding:.6rem;border-radius:5px;border:none;-webkit-box-shadow:0 .1rem .15rem rgba(0,0,0,.1),0 .1rem .3rem rgba(0,0,0,.1);box-shadow:0 .1rem .15rem rgba(0,0,0,.1),0 .1rem .3rem rgba(0,0,0,.1);margin:1rem;font-family:"Hind",Arial,sans-serif}#courseoption2,#courseoption3,#courseoption4{display:none}.addCourse{border:none;font-size:.8rem}.addCoursehover{cursor:pointer;text-decoration:underline}#residency,#selectcourses{font-weight:bold;padding-left:1em}#calc,#reload{font-family:"Hind",Arial,sans-serif;font-size:.8rem;font-weight:700;letter-spacing:.1rem;text-transform:uppercase;color:#fff;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;text-shadow:none;border-radius:.2rem;-webkit-transform:translateY(0);transform:translateY(0);border:none;-webkit-box-shadow:0 .1rem .15rem rgba(0,0,0,.1),0 .1rem .3rem rgba(0,0,0,.1);box-shadow:0 .1rem .15rem rgba(0,0,0,.1),0 .1rem .3rem rgba(0,0,0,.1);background-color:#002147;padding:1rem;width:100%;max-width:300px}#calc:hover,#reload:hover{cursor:pointer;background:#002147;-webkit-transform:translateY(-2px);transform:translateY(-2px);-webkit-box-shadow:0 .3rem .5rem rgba(0,0,0,.2),0 .3rem 2rem rgba(0,0,0,.2);box-shadow:0 .3rem .5rem rgba(0,0,0,.2),0 .3rem 2rem rgba(0,0,0,.2)}#reload{display:none}.calculations p{margin:0;font-size:1rem;line-height:2.5rem;max-width:400px;padding-left:1rem}#total{display:none;outline:none;max-width:400px;font-size:larger;padding-left:1rem}#addCourse{background-color:rgba(255,255,255,0);color:#005eff;border:none;padding:.6rem;font-size:.9rem}#addCourse:hover{cursor:pointer;color:#003287;text-decoration:underline}#q2{padding-top:40px;padding-bottom:20px;font-size:1rem;line-height:1.2rem}#q3{display:none;padding-bottom:20px;font-size:1rem}.courses{padding-top:20px}#buttons{padding-top:20px;padding-left:1rem}p.yourCourses{font-weight:bold;font-size:100%;max-width:400px;line-height:1.8rem;padding-top:2.5rem;padding-bottom:1.25rem;padding-left:1rem}#registration-fee,#transcript-fee,#student-act-fee,#document-fee,#course-fee,#techFee,#instateTuition,#regionalTuition,#out-of-state{border-bottom:1px solid rgba(0,0,0,.1);max-width:300px;padding-left:1.5em}@media(max-width: 1199.98px){#residency,#selectcourses,#buttons,.tuition-calc-header,.yourcourses{padding-left:1rem}.calculations p{padding-left:1.5rem}}@media(max-width: 575.98px){#q2,#q3{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row}#q3{display:none}} +@import"https://fonts.googleapis.com/css?family=Lato:400,900|Hind:400,600|Rubik:500"all;select{width:10rem;-webkit-box-shadow:0 .1rem .15rem rgba(0,0,0,.1),0 .1rem .3rem rgba(0,0,0,.1);box-shadow:0 .1rem .15rem rgba(0,0,0,.1),0 .1rem .3rem rgba(0,0,0,.1)}.select #resi{margin-bottom:0}#courseNumber,#courseNumber2,#courseNumber3,#courseNumber4,#resi,#firstclass,#matriculating{outline:none;padding:.6rem;border-radius:5px;border:none;-webkit-box-shadow:0 .1rem .15rem rgba(0,0,0,.1),0 .1rem .3rem rgba(0,0,0,.1);box-shadow:0 .1rem .15rem rgba(0,0,0,.1),0 .1rem .3rem rgba(0,0,0,.1);margin:1rem;font-family:"Hind",Arial,sans-serif}#courseoption2,#courseoption3,#courseoption4{display:none}.addCourse{border:none;font-size:.8rem}.addCoursehover{cursor:pointer;text-decoration:underline}#residency,#selectcourses{font-weight:bold;padding-left:1em}#calc,#reload{font-family:"Hind",Arial,sans-serif;font-size:.8rem;font-weight:700;letter-spacing:.1rem;text-transform:uppercase;color:#fff;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;text-shadow:none;border-radius:.2rem;-webkit-transform:translateY(0);transform:translateY(0);border:none;-webkit-box-shadow:0 .1rem .15rem rgba(0,0,0,.1),0 .1rem .3rem rgba(0,0,0,.1);box-shadow:0 .1rem .15rem rgba(0,0,0,.1),0 .1rem .3rem rgba(0,0,0,.1);background-color:#002147;padding:1rem;width:100%;max-width:300px}#calc:hover,#reload:hover{cursor:pointer;background:#002147;-webkit-transform:translateY(-2px);transform:translateY(-2px);-webkit-box-shadow:0 .3rem .5rem rgba(0,0,0,.2),0 .3rem 2rem rgba(0,0,0,.2);box-shadow:0 .3rem .5rem rgba(0,0,0,.2),0 .3rem 2rem rgba(0,0,0,.2)}#reload{display:none}.calculations p{margin:0;font-size:1rem;line-height:2.5rem;max-width:400px;padding-left:1rem}#total{display:none;outline:none;max-width:400px;font-size:larger;padding-left:1rem}#addCourse{background-color:rgba(255,255,255,0);color:#005eff;border:none;padding:.6rem;font-size:.9rem}#addCourse:hover{cursor:pointer;color:#003287;text-decoration:underline}#q2{padding-top:40px;padding-bottom:20px;font-size:1rem;line-height:1.2rem}#q3{display:none;padding-bottom:20px;font-size:1rem}.courses{padding-top:20px}#buttons{padding-top:20px;padding-left:1rem}p.yourCourses{font-weight:bold;font-size:100%;max-width:400px;line-height:1.8rem;padding-top:2.5rem;padding-bottom:1.25rem;padding-left:1rem}#registration-fee,#transcript-fee,#student-act-fee,#document-fee,#course-fee,#techFee,#instateTuition,#regionalTuition,#out-of-state{border-bottom:1px solid rgba(0,0,0,.1);max-width:300px;padding-left:1.5em}#access-note{display:none;padding-top:4.5rem;padding-bottom:1.25rem;padding-left:1rem;max-width:800px;line-height:1.3rem;font-size:.9rem}@media(max-width: 1199.98px){#residency,#selectcourses,#buttons,.tuition-calc-header,.yourcourses{padding-left:1rem}.calculations p{padding-left:1.5rem}}@media(max-width: 575.98px){#q2,#q3{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row}#q3{display:none}} /*# sourceMappingURL=map/style.built.css.map */ diff --git a/inc/uri-tuition-calculator-display.php b/inc/uri-tuition-calculator-display.php index b5711e5..7f780c9 100644 --- a/inc/uri-tuition-calculator-display.php +++ b/inc/uri-tuition-calculator-display.php @@ -1,4 +1,5 @@ -
-

- - -
- - - - -
-
- Courses -
- -
- -
- -
- -
- -
- -
- -
- - -
-
- - +
+

+ +
+ +
+ + + + +
+
+ Courses +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
- +
- + -
+
+ +
- + - +
- -
+ +

- +

@@ -82,13 +85,11 @@

+


-

+

+

*Inclusive Access is a course material affordability program designed by institutions and guided by the Department of Education to deliver digital learning resources to students at a significantly reduced cost on or before the first day of class.

- - - - diff --git a/js/script.built.js b/js/script.built.js index 476ca12..30ce107 100644 --- a/js/script.built.js +++ b/js/script.built.js @@ -1 +1 @@ -!function(){"use strict";function e(e){const t=e.data.map((({Course:e})=>e)),n=["courseNumber","courseNumber2","courseNumber3","courseNumber4"];let o="";t.map(((e,t)=>o+=``),{});for(let e=0;eSelect Courses"+o;document.getElementById("addCourse").addEventListener("click",(function(){"block"==document.getElementById("courseoption3").style.display&&(document.getElementById("courseoption4").style.display="block",document.getElementById("addCourse").style.display="none"),"block"==document.getElementById("courseoption2").style.display?document.getElementById("courseoption3").style.display="block":document.getElementById("courseoption2").style.display="block"})),"Summer"==term.text&&document.getElementById("q2").addEventListener("change",(function(){document.getElementById("q3").style.display="block"})),document.getElementById("calc").addEventListener("click",(function(){"disabled"==document.getElementById("resi").value?alert("Please select your residency status."):function(e){const t=e.data,n=[courseNumber.value,courseNumber2.value,courseNumber3.value,courseNumber4.value],o=[],u={event:"tuitionCalculatorSubmit",term:term.text.toLowerCase(),courses:n,residency:document.getElementById("resi").value,firstclass:document.getElementById("firstclass").checked,matriculating:document.getElementById("matriculating").checked};window.dataLayer=window.dataLayer||[],window.dataLayer.push(u);const d=n.filter(c);function c(e){return e.length>0}for(const e of n){const n=t.filter((function(t){return t.Course===e}));o.push(n)}let l=0,r=0,m=0,i=0,s=0,a=0,y=0,g=0,E=0;document.getElementById("firstclass").checked&&"Summer"==term.text&&(a=30,y=20,g=50);document.getElementById("firstclass").checked&&"JTerm"==term.text&&(g=50);document.getElementById("matriculating").checked&&(E=115);document.querySelector(".yourCourses").textContent="Estimated Costs for: "+d.join(" & ");for(let e=0;ee)),n=["courseNumber","courseNumber2","courseNumber3","courseNumber4"];let o="";t.map(((e,t)=>o+=``),{});for(let e=0;eSelect Courses"+o;document.getElementById("addCourse").addEventListener("click",(function(){"block"==document.getElementById("courseoption3").style.display&&(document.getElementById("courseoption4").style.display="block",document.getElementById("addCourse").style.display="none"),"block"==document.getElementById("courseoption2").style.display?document.getElementById("courseoption3").style.display="block":document.getElementById("courseoption2").style.display="block"})),"Summer"==term.text&&document.getElementById("q2").addEventListener("change",(function(){document.getElementById("q3").style.display="block"})),document.getElementById("calc").addEventListener("click",(function(){"disabled"==document.getElementById("resi").value?alert("Please select your residency status."):function(e){const t=e.data,n=[courseNumber.value,courseNumber2.value,courseNumber3.value,courseNumber4.value],o=[],c={event:"tuitionCalculatorSubmit",term:term.text.toLowerCase(),courses:n,residency:document.getElementById("resi").value,firstclass:document.getElementById("firstclass").checked,matriculating:document.getElementById("matriculating").checked};window.dataLayer=window.dataLayer||[],window.dataLayer.push(c),document.querySelector(".form-content").style.display="none";const u=n.filter(d);function d(e){return e.length>0}for(const e of n){const n=t.filter((function(t){return t.Course===e}));o.push(n)}let l=0,s=0,m=0,r=0,i=0,a=0,y=0,g=0,E=0,I=0;document.getElementById("firstclass").checked&&"Summer"==term.text&&(a=30,y=20,g=50);document.getElementById("firstclass").checked&&"JTerm"==term.text&&(g=50);document.getElementById("matriculating").checked&&(E=115);document.querySelector(".yourCourses").textContent="Estimated Costs for: "+u.join(" & ");for(let e=0;e