forked from ppfun/pixelplanet
expose templateLoader to window,
fix styles
This commit is contained in:
parent
99f07115b3
commit
1e8927d93c
|
@ -2,7 +2,8 @@
|
||||||
* sends events via window.pixelPlanetEvents to potential
|
* sends events via window.pixelPlanetEvents to potential
|
||||||
* Extensions and Userscripts
|
* Extensions and Userscripts
|
||||||
* Also check out ui/PixelTransferController.js, which sends received
|
* Also check out ui/PixelTransferController.js, which sends received
|
||||||
* pixels to a window.registerPixelUpdates callback
|
* pixels to a window.registerPixelUpdates callback
|
||||||
|
* And check ui/templateLoader.js,which is also at window.templateLoader
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -134,11 +134,11 @@ h3, h4 {
|
||||||
background-color: hsla(216, 4%, 74%, .3);
|
background-color: hsla(216, 4%, 74%, .3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.modalinfo {
|
.modalinfo, .tmpitm-desc span {
|
||||||
color: #ddd;
|
color: #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modalcvtext {
|
.modalcvtext, .tmpitm-desc {
|
||||||
color: hsla(220, 100%, 95.3%, 0.6);
|
color: hsla(220, 100%, 95.3%, 0.6);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -189,13 +189,13 @@ tr:nth-child(odd) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.modalinfo {
|
.modalinfo, .tmpitm-desc span {
|
||||||
color: #c9abab;
|
color: #c9abab;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: 500, bold;
|
font-weight: 500, bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modalcvtext {
|
.modalcvtext, .tmpitm-desc {
|
||||||
color: #e2e2e2;
|
color: #e2e2e2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -139,11 +139,11 @@ h3, h4 {
|
||||||
background-color: hsla(216, 4%, 74%, .3);
|
background-color: hsla(216, 4%, 74%, .3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.modalinfo {
|
.modalinfo, .tmpitm-desc span {
|
||||||
color: #ddd;
|
color: #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modalcvtext {
|
.modalcvtext, .tmpitm-desc {
|
||||||
color: hsla(220, 100%, 95.3%, 0.6);
|
color: hsla(220, 100%, 95.3%, 0.6);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -117,11 +117,11 @@ h3, h4 {
|
||||||
background-color: #404040;
|
background-color: #404040;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modalinfo {
|
.modalinfo, .tmpitm-desc span {
|
||||||
color: #ddd;
|
color: #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modalcvtext {
|
.modalcvtext, .tmpitm-desc {
|
||||||
color: hsla(220, 100%, 95.3%, 0.6);
|
color: hsla(220, 100%, 95.3%, 0.6);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -292,5 +292,6 @@ class TemplateLoader {
|
||||||
}
|
}
|
||||||
|
|
||||||
const templateLoader = new TemplateLoader();
|
const templateLoader = new TemplateLoader();
|
||||||
|
window.templateLoader = templateLoader;
|
||||||
|
|
||||||
export default templateLoader;
|
export default templateLoader;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user