@myuw-web-components/myuw-app-styles
Advanced tools
Comparing version 1.3.3 to 1.3.4
@@ -19,3 +19,3 @@ (function () { | ||
var defaultAppThemeTpl = "<style> :root {\n /* Main MyUW Theme Variables */\n\n --myuw-primary-bg: #c5050c;\n --myuw-primary-color: #fff;\n\n --myuw-accent-bg: #0479a8;\n --myuw-accent-color: #fff;\n\n --myuw-page-bg: #f7f7f7;\n --myuw-page-color: #494949;\n\n --myuw-dark: #646569;\n --myuw-darker: #282728;\n\n --myuw-font: 'Roboto', Arial, sans-serif;\n --myuw-app-bar-font: 'Roboto', Arial, sans-serif;\n\n --myuw-link-color: #0479a8;\n\n --myuw-search-border: none;\n\n --myuw-bar-button-bg: transparent;\n --myuw-bar-button-hover: rgba(0,0,0,0.12);\n\n /* Profile/navigation menu item color */\n --myuw-menu-color: rgba(0,0,0,0.87);\n }\n\n /* Duplicate :host styles for search to allow polyfills to work */\n myuw-search {\n display: flex;\n flex: auto;\n border: var(--myuw-search-border, none);\n border-radius: 5px;\n }\n\n /* White theme variables */\n body.uw-madison-white-theme {\n --myuw-primary-bg: #fff;\n --myuw-primary-color: #c5050c;\n\n --myuw-accent-bg: #fff;\n --myuw-accent-color: #0479a8;\n\n --myuw-search-border: 1px solid rgba(0,0,0,0.5);\n\n --myuw-bar-button-bg: #fb686d;\n }\n\n @media (max-width: 600px) {\n body.uw-madison-white-theme myuw-search {\n border: none;\n }\n }\n\n /* Parkside theme variables */\n body.uwParkside-theme {\n --myuw-primary-bg: #026937;\n --myuw-accent-bg: #72a84f;\n --myuw-link-color: #026937;\n }\n\n /* Platteville theme variables */\n body.uwPlatteville-theme {\n --myuw-primary-bg: #076bb3;\n --myuw-accent-bg: #fe7311;\n --myuw-link-color: #076bb3;\n }\n\n /* RiverFalls theme variables */\n body.uwRiverFalls-theme {\n --myuw-primary-bg: #be0f34;\n --myuw-accent-bg: #c5c5c6;\n --myuw-link-color: #be0f34;\n }\n\n /* StevensPoint theme variables */\n body.uwStevensPoint-theme {\n --myuw-primary-bg: #623f99;\n --myuw-accent-bg: #ffc82e;\n --myuw-link-color: #623f99;\n }\n\n /* Milwaukee theme variables */\n body.uwMilwaukee-theme {\n --myuw-primary-bg: #000;\n --myuw-accent-bg: #fec425;\n --myuw-link-color: #000;\n }\n\n /* Whitewater theme variables */\n body.uwWhitewater-theme {\n --myuw-primary-bg: #422D5C;\n --myuw-accent-bg: #e0ddbe;\n --myuw-link-color: #422D5C;\n }\n\n /* Stout theme variables */\n body.uwStout-theme {\n --myuw-primary-bg: #004990;\n --myuw-accent-bg: #f59f1d;\n --myuw-link-color: #004990;\n }\n\n /* Oshkosh theme variables */\n body.uwOshkosh-theme {\n --myuw-primary-bg: #000;\n --myuw-accent-bg: #fec425;\n --myuw-link-color: #000;\n }\n\n /* GreenBay theme variables */\n body.uwGreenBay-theme {\n --myuw-primary-bg: #0f5640;\n --myuw-accent-bg: #009999;\n --myuw-link-color: #0f5640;\n }\n\n /* LaCrosse theme variables */\n body.uwLaCrosse-theme {\n --myuw-primary-bg: #730019;\n --myuw-accent-bg: #7fa9ae;\n --myuw-link-color: #730019;\n }\n\n /* Superior theme variables */\n body.uwSuperior-theme {\n --myuw-primary-bg: #000;\n --myuw-accent-bg: #ffd046;\n --myuw-link-color: #000;\n }\n\n /* EauClaire theme variables */\n body.uwEauClaire-theme {\n --myuw-primary-bg: #2b3e85;\n --myuw-accent-bg: #edac1a;\n --myuw-link-color: #2b3e85;\n }\n\n /* Extension theme variables */\n body.uwExtension-theme {\n --myuw-primary-bg:#0C4C92 ;\n --myuw-accent-bg: #e8e6cf;\n --myuw-link-color: #0C4C92;\n }\n\n /* UW Colleges theme variables */\n body.uwColleges-theme {\n --myuw-primary-bg: #B42C2E;\n --myuw-accent-bg: #c2b59d;\n --myuw-link-color: #B42C2E;\n }\n\n /* UW System theme variables */\n body.uwSystem-theme {\n --myuw-primary-bg: #780026;\n --myuw-accent-bg: #658ED5;\n --myuw-link-color: #780026;\n } </style> "; | ||
var defaultAppThemeTpl = "<style> :root {\n /* Main MyUW Theme Variables */\n\n --myuw-primary-bg: #c5050c;\n --myuw-primary-color: #fff;\n\n --myuw-accent-bg: #0479a8;\n --myuw-accent-color: #fff;\n\n --myuw-page-bg: #f7f7f7;\n --myuw-page-color: #494949;\n\n --myuw-dark: #646569;\n --myuw-darker: #282728;\n\n --myuw-font: 'Roboto', Arial, sans-serif;\n --myuw-app-bar-font: 'Roboto', Arial, sans-serif;\n\n --myuw-link-color: #0479a8;\n\n --myuw-search-border: none;\n\n --myuw-bar-button-bg: transparent;\n --myuw-bar-button-hover: rgba(0,0,0,0.12);\n\n /* Profile/navigation menu item color */\n --myuw-menu-color: rgba(0,0,0,0.87);\n }\n\n /* Duplicate :host styles for search to allow polyfills to work */\n myuw-search {\n display: flex;\n flex: auto;\n border: var(--myuw-search-border, none);\n border-radius: 5px;\n }\n\n /* White theme variables */\n body.uw-madison-white-theme {\n --myuw-primary-bg: #fff;\n --myuw-primary-color: #c5050c;\n\n --myuw-accent-bg: #fff;\n --myuw-accent-color: #0479a8;\n\n --myuw-search-border: 1px solid rgba(0,0,0,0.5);\n\n --myuw-bar-button-bg: #fb686d;\n }\n\n @media (max-width: 600px) {\n body.uw-madison-white-theme myuw-search {\n border: none;\n }\n }\n\n /* Parkside theme variables */\n body.uwParkside {\n --myuw-primary-bg: #026937;\n --myuw-accent-bg: #72a84f;\n --myuw-link-color: #026937;\n }\n\n /* Platteville theme variables */\n body.uwPlatteville {\n --myuw-primary-bg: #076bb3;\n --myuw-accent-bg: #fe7311;\n --myuw-link-color: #076bb3;\n }\n\n /* RiverFalls theme variables */\n body.uwRiverFalls {\n --myuw-primary-bg: #be0f34;\n --myuw-accent-bg: #c5c5c6;\n --myuw-link-color: #be0f34;\n }\n\n /* StevensPoint theme variables */\n body.uwStevensPoint {\n --myuw-primary-bg: #623f99;\n --myuw-accent-bg: #ffc82e;\n --myuw-link-color: #623f99;\n }\n\n /* Milwaukee theme variables */\n body.uwMilwaukee {\n --myuw-primary-bg: #000;\n --myuw-accent-bg: #fec425;\n --myuw-link-color: #000;\n }\n\n /* Whitewater theme variables */\n body.uwWhitewater {\n --myuw-primary-bg: #422D5C;\n --myuw-accent-bg: #e0ddbe;\n --myuw-link-color: #422D5C;\n }\n\n /* Stout theme variables */\n body.uwStout {\n --myuw-primary-bg: #004990;\n --myuw-accent-bg: #f59f1d;\n --myuw-link-color: #004990;\n }\n\n /* Oshkosh theme variables */\n body.uwOshkosh {\n --myuw-primary-bg: #000;\n --myuw-accent-bg: #fec425;\n --myuw-link-color: #000;\n }\n\n /* GreenBay theme variables */\n body.uwGreenBay {\n --myuw-primary-bg: #0f5640;\n --myuw-accent-bg: #009999;\n --myuw-link-color: #0f5640;\n }\n\n /* LaCrosse theme variables */\n body.uwLaCrosse {\n --myuw-primary-bg: #730019;\n --myuw-accent-bg: #7fa9ae;\n --myuw-link-color: #730019;\n }\n\n /* Superior theme variables */\n body.uwSuperior {\n --myuw-primary-bg: #000;\n --myuw-accent-bg: #ffd046;\n --myuw-link-color: #000;\n }\n\n /* EauClaire theme variables */\n body.uwEauClaire {\n --myuw-primary-bg: #2b3e85;\n --myuw-accent-bg: #edac1a;\n --myuw-link-color: #2b3e85;\n }\n\n /* Extension theme variables */\n body.uwExtension {\n --myuw-primary-bg:#0C4C92 ;\n --myuw-accent-bg: #e8e6cf;\n --myuw-link-color: #0C4C92;\n }\n\n /* UW Colleges theme variables */\n body.uwColleges {\n --myuw-primary-bg: #B42C2E;\n --myuw-accent-bg: #c2b59d;\n --myuw-link-color: #B42C2E;\n }\n\n /* UW System theme variables */\n body.uwSystem {\n --myuw-primary-bg: #780026;\n --myuw-accent-bg: #658ED5;\n --myuw-link-color: #780026;\n } </style> "; | ||
@@ -22,0 +22,0 @@ var fontsTpl = "<link href=\"https://fonts.googleapis.com/css?family=Roboto:400,500,700\" rel=\"stylesheet\"> <link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\"> "; |
@@ -1,1 +0,1 @@ | ||
!(function(){"use strict";var e,n=((function(e){!(function(){function n(e,n){document.addEventListener?e.addEventListener("scroll",n,!1):e.attachEvent("scroll",n)}function t(e){this.a=document.createElement("div"),this.a.setAttribute("aria-hidden","true"),this.a.appendChild(document.createTextNode(e)),this.b=document.createElement("span"),this.c=document.createElement("span"),this.h=document.createElement("span"),this.f=document.createElement("span"),this.g=-1,this.b.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.c.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.f.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.h.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.b.appendChild(this.h),this.c.appendChild(this.f),this.a.appendChild(this.b),this.a.appendChild(this.c)}function o(e,n){e.a.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+n+";"}function i(e){var n=e.a.offsetWidth,t=n+100;return e.f.style.width=t+"px",e.c.scrollLeft=t,e.b.scrollLeft=e.b.scrollWidth+100,e.g!==n&&(e.g=n,!0)}function a(e,t){function o(){var e=a;i(e)&&e.a.parentNode&&t(e.g)}var a=e;n(e.b,o),n(e.c,o),i(e)}function r(e,n){var t=n||{};this.family=e,this.style=t.style||"normal",this.weight=t.weight||"normal",this.stretch=t.stretch||"normal"}var s=null,l=null,m=null,c=null;function u(){return null===c&&(c=!!document.fonts),c}function d(e,n){return[e.style,e.weight,(function(){if(null===m){var e=document.createElement("div");try{e.style.font="condensed 100px sans-serif"}catch(e){}m=""!==e.style.font}return m})()?e.stretch:"","100px",n].join(" ")}r.prototype.load=function(e,n){var i=this,r=e||"BESbswy",m=0,c=n||3e3,y=(new Date).getTime();return new Promise(function(e,n){if(u()&&!(function(){if(null===l)if(u()&&/Apple/.test(window.navigator.vendor)){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent);l=!!e&&603>parseInt(e[1],10)}else l=!1;return l})()){var h=new Promise(function(e,n){!(function t(){(new Date).getTime()-y>=c?n(Error(c+"ms timeout exceeded")):document.fonts.load(d(i,'"'+i.family+'"'),r).then(function(n){1<=n.length?e():setTimeout(t,25)},n)})()}),w=new Promise(function(e,n){m=setTimeout(function(){n(Error(c+"ms timeout exceeded"))},c)});Promise.race([w,h]).then(function(){clearTimeout(m),e(i)},n)}else!(function(e){document.body?e():document.addEventListener?document.addEventListener("DOMContentLoaded",function n(){document.removeEventListener("DOMContentLoaded",n),e()}):document.attachEvent("onreadystatechange",function n(){"interactive"!=document.readyState&&"complete"!=document.readyState||(document.detachEvent("onreadystatechange",n),e())})})(function(){function l(){var n;(n=-1!=f&&-1!=b||-1!=f&&-1!=p||-1!=b&&-1!=p)&&((n=f!=b&&f!=p&&b!=p)||(null===s&&(n=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),s=!!n&&(536>parseInt(n[1],10)||536===parseInt(n[1],10)&&11>=parseInt(n[2],10))),n=s&&(f==g&&b==g&&p==g||f==v&&b==v&&p==v||f==x&&b==x&&p==x)),n=!n),n&&(k.parentNode&&k.parentNode.removeChild(k),clearTimeout(m),e(i))}var u=new t(r),h=new t(r),w=new t(r),f=-1,b=-1,p=-1,g=-1,v=-1,x=-1,k=document.createElement("div");k.dir="ltr",o(u,d(i,"sans-serif")),o(h,d(i,"serif")),o(w,d(i,"monospace")),k.appendChild(u.a),k.appendChild(h.a),k.appendChild(w.a),document.body.appendChild(k),g=u.a.offsetWidth,v=h.a.offsetWidth,x=w.a.offsetWidth,(function e(){if((new Date).getTime()-y>=c)k.parentNode&&k.parentNode.removeChild(k),n(Error(c+"ms timeout exceeded"));else{var t=document.hidden;!0!==t&&void 0!==t||(f=u.a.offsetWidth,b=h.a.offsetWidth,p=w.a.offsetWidth,l()),m=setTimeout(e,50)}})(),a(u,function(e){f=e,l()}),o(u,d(i,'"'+i.family+'",sans-serif')),a(h,function(e){b=e,l()}),o(h,d(i,'"'+i.family+'",serif')),a(w,function(e){p=e,l()}),o(w,d(i,'"'+i.family+'",monospace'))})})},e.exports=r})()})(e={exports:{}},e.exports),e.exports),t=document.createElement("template");t.setAttribute("style","display: none;"),t.innerHTML='<link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700" rel="stylesheet"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> ';var o=document.createElement("template");o.innerHTML="<style> :root {\n /* Main MyUW Theme Variables */\n\n --myuw-primary-bg: #c5050c;\n --myuw-primary-color: #fff;\n\n --myuw-accent-bg: #0479a8;\n --myuw-accent-color: #fff;\n\n --myuw-page-bg: #f7f7f7;\n --myuw-page-color: #494949;\n\n --myuw-dark: #646569;\n --myuw-darker: #282728;\n\n --myuw-font: 'Roboto', Arial, sans-serif;\n --myuw-app-bar-font: 'Roboto', Arial, sans-serif;\n\n --myuw-link-color: #0479a8;\n\n --myuw-search-border: none;\n\n --myuw-bar-button-bg: transparent;\n --myuw-bar-button-hover: rgba(0,0,0,0.12);\n\n /* Profile/navigation menu item color */\n --myuw-menu-color: rgba(0,0,0,0.87);\n }\n\n /* Duplicate :host styles for search to allow polyfills to work */\n myuw-search {\n display: flex;\n flex: auto;\n border: var(--myuw-search-border, none);\n border-radius: 5px;\n }\n\n /* White theme variables */\n body.uw-madison-white-theme {\n --myuw-primary-bg: #fff;\n --myuw-primary-color: #c5050c;\n\n --myuw-accent-bg: #fff;\n --myuw-accent-color: #0479a8;\n\n --myuw-search-border: 1px solid rgba(0,0,0,0.5);\n\n --myuw-bar-button-bg: #fb686d;\n }\n\n @media (max-width: 600px) {\n body.uw-madison-white-theme myuw-search {\n border: none;\n }\n }\n\n /* Parkside theme variables */\n body.uwParkside-theme {\n --myuw-primary-bg: #026937;\n --myuw-accent-bg: #72a84f;\n --myuw-link-color: #026937;\n }\n\n /* Platteville theme variables */\n body.uwPlatteville-theme {\n --myuw-primary-bg: #076bb3;\n --myuw-accent-bg: #fe7311;\n --myuw-link-color: #076bb3;\n }\n\n /* RiverFalls theme variables */\n body.uwRiverFalls-theme {\n --myuw-primary-bg: #be0f34;\n --myuw-accent-bg: #c5c5c6;\n --myuw-link-color: #be0f34;\n }\n\n /* StevensPoint theme variables */\n body.uwStevensPoint-theme {\n --myuw-primary-bg: #623f99;\n --myuw-accent-bg: #ffc82e;\n --myuw-link-color: #623f99;\n }\n\n /* Milwaukee theme variables */\n body.uwMilwaukee-theme {\n --myuw-primary-bg: #000;\n --myuw-accent-bg: #fec425;\n --myuw-link-color: #000;\n }\n\n /* Whitewater theme variables */\n body.uwWhitewater-theme {\n --myuw-primary-bg: #422D5C;\n --myuw-accent-bg: #e0ddbe;\n --myuw-link-color: #422D5C;\n }\n\n /* Stout theme variables */\n body.uwStout-theme {\n --myuw-primary-bg: #004990;\n --myuw-accent-bg: #f59f1d;\n --myuw-link-color: #004990;\n }\n\n /* Oshkosh theme variables */\n body.uwOshkosh-theme {\n --myuw-primary-bg: #000;\n --myuw-accent-bg: #fec425;\n --myuw-link-color: #000;\n }\n\n /* GreenBay theme variables */\n body.uwGreenBay-theme {\n --myuw-primary-bg: #0f5640;\n --myuw-accent-bg: #009999;\n --myuw-link-color: #0f5640;\n }\n\n /* LaCrosse theme variables */\n body.uwLaCrosse-theme {\n --myuw-primary-bg: #730019;\n --myuw-accent-bg: #7fa9ae;\n --myuw-link-color: #730019;\n }\n\n /* Superior theme variables */\n body.uwSuperior-theme {\n --myuw-primary-bg: #000;\n --myuw-accent-bg: #ffd046;\n --myuw-link-color: #000;\n }\n\n /* EauClaire theme variables */\n body.uwEauClaire-theme {\n --myuw-primary-bg: #2b3e85;\n --myuw-accent-bg: #edac1a;\n --myuw-link-color: #2b3e85;\n }\n\n /* Extension theme variables */\n body.uwExtension-theme {\n --myuw-primary-bg:#0C4C92 ;\n --myuw-accent-bg: #e8e6cf;\n --myuw-link-color: #0C4C92;\n }\n\n /* UW Colleges theme variables */\n body.uwColleges-theme {\n --myuw-primary-bg: #B42C2E;\n --myuw-accent-bg: #c2b59d;\n --myuw-link-color: #B42C2E;\n }\n\n /* UW System theme variables */\n body.uwSystem-theme {\n --myuw-primary-bg: #780026;\n --myuw-accent-bg: #658ED5;\n --myuw-link-color: #780026;\n } </style> ",document.head.appendChild(t.content),document.head.appendChild(o.content),new n("Roboto",{}).load().then(function(e){document.body.setAttribute("myuw-font-loaded",!0)}).catch(function(e){throw document.body.setAttribute("myuw-font-loaded",!0),new Error(e)})})(); | ||
!(function(){"use strict";var e,n=((function(e){!(function(){function n(e,n){document.addEventListener?e.addEventListener("scroll",n,!1):e.attachEvent("scroll",n)}function t(e){this.a=document.createElement("div"),this.a.setAttribute("aria-hidden","true"),this.a.appendChild(document.createTextNode(e)),this.b=document.createElement("span"),this.c=document.createElement("span"),this.h=document.createElement("span"),this.f=document.createElement("span"),this.g=-1,this.b.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.c.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.f.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.h.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.b.appendChild(this.h),this.c.appendChild(this.f),this.a.appendChild(this.b),this.a.appendChild(this.c)}function o(e,n){e.a.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+n+";"}function i(e){var n=e.a.offsetWidth,t=n+100;return e.f.style.width=t+"px",e.c.scrollLeft=t,e.b.scrollLeft=e.b.scrollWidth+100,e.g!==n&&(e.g=n,!0)}function a(e,t){function o(){var e=a;i(e)&&e.a.parentNode&&t(e.g)}var a=e;n(e.b,o),n(e.c,o),i(e)}function r(e,n){var t=n||{};this.family=e,this.style=t.style||"normal",this.weight=t.weight||"normal",this.stretch=t.stretch||"normal"}var s=null,l=null,c=null,m=null;function u(){return null===m&&(m=!!document.fonts),m}function d(e,n){return[e.style,e.weight,(function(){if(null===c){var e=document.createElement("div");try{e.style.font="condensed 100px sans-serif"}catch(e){}c=""!==e.style.font}return c})()?e.stretch:"","100px",n].join(" ")}r.prototype.load=function(e,n){var i=this,r=e||"BESbswy",c=0,m=n||3e3,y=(new Date).getTime();return new Promise(function(e,n){if(u()&&!(function(){if(null===l)if(u()&&/Apple/.test(window.navigator.vendor)){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent);l=!!e&&603>parseInt(e[1],10)}else l=!1;return l})()){var h=new Promise(function(e,n){!(function t(){(new Date).getTime()-y>=m?n(Error(m+"ms timeout exceeded")):document.fonts.load(d(i,'"'+i.family+'"'),r).then(function(n){1<=n.length?e():setTimeout(t,25)},n)})()}),w=new Promise(function(e,n){c=setTimeout(function(){n(Error(m+"ms timeout exceeded"))},m)});Promise.race([w,h]).then(function(){clearTimeout(c),e(i)},n)}else!(function(e){document.body?e():document.addEventListener?document.addEventListener("DOMContentLoaded",function n(){document.removeEventListener("DOMContentLoaded",n),e()}):document.attachEvent("onreadystatechange",function n(){"interactive"!=document.readyState&&"complete"!=document.readyState||(document.detachEvent("onreadystatechange",n),e())})})(function(){function l(){var n;(n=-1!=f&&-1!=b||-1!=f&&-1!=p||-1!=b&&-1!=p)&&((n=f!=b&&f!=p&&b!=p)||(null===s&&(n=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),s=!!n&&(536>parseInt(n[1],10)||536===parseInt(n[1],10)&&11>=parseInt(n[2],10))),n=s&&(f==g&&b==g&&p==g||f==v&&b==v&&p==v||f==x&&b==x&&p==x)),n=!n),n&&(k.parentNode&&k.parentNode.removeChild(k),clearTimeout(c),e(i))}var u=new t(r),h=new t(r),w=new t(r),f=-1,b=-1,p=-1,g=-1,v=-1,x=-1,k=document.createElement("div");k.dir="ltr",o(u,d(i,"sans-serif")),o(h,d(i,"serif")),o(w,d(i,"monospace")),k.appendChild(u.a),k.appendChild(h.a),k.appendChild(w.a),document.body.appendChild(k),g=u.a.offsetWidth,v=h.a.offsetWidth,x=w.a.offsetWidth,(function e(){if((new Date).getTime()-y>=m)k.parentNode&&k.parentNode.removeChild(k),n(Error(m+"ms timeout exceeded"));else{var t=document.hidden;!0!==t&&void 0!==t||(f=u.a.offsetWidth,b=h.a.offsetWidth,p=w.a.offsetWidth,l()),c=setTimeout(e,50)}})(),a(u,function(e){f=e,l()}),o(u,d(i,'"'+i.family+'",sans-serif')),a(h,function(e){b=e,l()}),o(h,d(i,'"'+i.family+'",serif')),a(w,function(e){p=e,l()}),o(w,d(i,'"'+i.family+'",monospace'))})})},e.exports=r})()})(e={exports:{}},e.exports),e.exports),t=document.createElement("template");t.setAttribute("style","display: none;"),t.innerHTML='<link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700" rel="stylesheet"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> ';var o=document.createElement("template");o.innerHTML="<style> :root {\n /* Main MyUW Theme Variables */\n\n --myuw-primary-bg: #c5050c;\n --myuw-primary-color: #fff;\n\n --myuw-accent-bg: #0479a8;\n --myuw-accent-color: #fff;\n\n --myuw-page-bg: #f7f7f7;\n --myuw-page-color: #494949;\n\n --myuw-dark: #646569;\n --myuw-darker: #282728;\n\n --myuw-font: 'Roboto', Arial, sans-serif;\n --myuw-app-bar-font: 'Roboto', Arial, sans-serif;\n\n --myuw-link-color: #0479a8;\n\n --myuw-search-border: none;\n\n --myuw-bar-button-bg: transparent;\n --myuw-bar-button-hover: rgba(0,0,0,0.12);\n\n /* Profile/navigation menu item color */\n --myuw-menu-color: rgba(0,0,0,0.87);\n }\n\n /* Duplicate :host styles for search to allow polyfills to work */\n myuw-search {\n display: flex;\n flex: auto;\n border: var(--myuw-search-border, none);\n border-radius: 5px;\n }\n\n /* White theme variables */\n body.uw-madison-white-theme {\n --myuw-primary-bg: #fff;\n --myuw-primary-color: #c5050c;\n\n --myuw-accent-bg: #fff;\n --myuw-accent-color: #0479a8;\n\n --myuw-search-border: 1px solid rgba(0,0,0,0.5);\n\n --myuw-bar-button-bg: #fb686d;\n }\n\n @media (max-width: 600px) {\n body.uw-madison-white-theme myuw-search {\n border: none;\n }\n }\n\n /* Parkside theme variables */\n body.uwParkside {\n --myuw-primary-bg: #026937;\n --myuw-accent-bg: #72a84f;\n --myuw-link-color: #026937;\n }\n\n /* Platteville theme variables */\n body.uwPlatteville {\n --myuw-primary-bg: #076bb3;\n --myuw-accent-bg: #fe7311;\n --myuw-link-color: #076bb3;\n }\n\n /* RiverFalls theme variables */\n body.uwRiverFalls {\n --myuw-primary-bg: #be0f34;\n --myuw-accent-bg: #c5c5c6;\n --myuw-link-color: #be0f34;\n }\n\n /* StevensPoint theme variables */\n body.uwStevensPoint {\n --myuw-primary-bg: #623f99;\n --myuw-accent-bg: #ffc82e;\n --myuw-link-color: #623f99;\n }\n\n /* Milwaukee theme variables */\n body.uwMilwaukee {\n --myuw-primary-bg: #000;\n --myuw-accent-bg: #fec425;\n --myuw-link-color: #000;\n }\n\n /* Whitewater theme variables */\n body.uwWhitewater {\n --myuw-primary-bg: #422D5C;\n --myuw-accent-bg: #e0ddbe;\n --myuw-link-color: #422D5C;\n }\n\n /* Stout theme variables */\n body.uwStout {\n --myuw-primary-bg: #004990;\n --myuw-accent-bg: #f59f1d;\n --myuw-link-color: #004990;\n }\n\n /* Oshkosh theme variables */\n body.uwOshkosh {\n --myuw-primary-bg: #000;\n --myuw-accent-bg: #fec425;\n --myuw-link-color: #000;\n }\n\n /* GreenBay theme variables */\n body.uwGreenBay {\n --myuw-primary-bg: #0f5640;\n --myuw-accent-bg: #009999;\n --myuw-link-color: #0f5640;\n }\n\n /* LaCrosse theme variables */\n body.uwLaCrosse {\n --myuw-primary-bg: #730019;\n --myuw-accent-bg: #7fa9ae;\n --myuw-link-color: #730019;\n }\n\n /* Superior theme variables */\n body.uwSuperior {\n --myuw-primary-bg: #000;\n --myuw-accent-bg: #ffd046;\n --myuw-link-color: #000;\n }\n\n /* EauClaire theme variables */\n body.uwEauClaire {\n --myuw-primary-bg: #2b3e85;\n --myuw-accent-bg: #edac1a;\n --myuw-link-color: #2b3e85;\n }\n\n /* Extension theme variables */\n body.uwExtension {\n --myuw-primary-bg:#0C4C92 ;\n --myuw-accent-bg: #e8e6cf;\n --myuw-link-color: #0C4C92;\n }\n\n /* UW Colleges theme variables */\n body.uwColleges {\n --myuw-primary-bg: #B42C2E;\n --myuw-accent-bg: #c2b59d;\n --myuw-link-color: #B42C2E;\n }\n\n /* UW System theme variables */\n body.uwSystem {\n --myuw-primary-bg: #780026;\n --myuw-accent-bg: #658ED5;\n --myuw-link-color: #780026;\n } </style> ",document.head.appendChild(t.content),document.head.appendChild(o.content),new n("Roboto",{}).load().then(function(e){document.body.setAttribute("myuw-font-loaded",!0)}).catch(function(e){throw document.body.setAttribute("myuw-font-loaded",!0),new Error(e)})})(); |
{ | ||
"name": "@myuw-web-components/myuw-app-styles", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"description": "This HTML import contains custom CSS properties that are consumed by other components in the myuw-web-components space.", | ||
@@ -5,0 +5,0 @@ "module": "dist/myuw-app-styles.min.mjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50071
174