A new start
This commit is contained in:
commit
43ef8b6b4f
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*.css
|
||||||
|
error.txt
|
15
dev.js
Normal file
15
dev.js
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// read text from URL location
|
||||||
|
var request = new XMLHttpRequest();
|
||||||
|
request.open('GET', 'https://jhodges.co.uk/dev/error.txt', true);
|
||||||
|
request.send(null);
|
||||||
|
request.onreadystatechange = function () {
|
||||||
|
if (request.readyState === 4 && request.status === 200) {
|
||||||
|
var type = request.getResponseHeader('Content-Type');
|
||||||
|
if (type.indexOf("text") !== 1) {
|
||||||
|
str=request.responseText.trim();
|
||||||
|
if(str){
|
||||||
|
alert(str);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
42
dev.less
Normal file
42
dev.less
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
/*
|
||||||
|
*{
|
||||||
|
border: 1px solid black;
|
||||||
|
}
|
||||||
|
.ves-container{
|
||||||
|
.row-level-1{
|
||||||
|
border: 1px solid blue;
|
||||||
|
}
|
||||||
|
.col-inner{
|
||||||
|
border: 1px solid yellow;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*****/
|
||||||
|
|
||||||
|
body::before {
|
||||||
|
content: 'Development Server';
|
||||||
|
background: #f00;
|
||||||
|
padding: 5px 10px;
|
||||||
|
display: block;
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
color: white;
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: bold;
|
||||||
|
z-index: 9999;
|
||||||
|
}
|
||||||
|
|
||||||
|
#product-fancybox-gallery{
|
||||||
|
display: flex;
|
||||||
|
margin: -1vw;
|
||||||
|
a{
|
||||||
|
padding: 1vw;
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
img{
|
||||||
|
width: 100%;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user