Proper images path for markers

This commit is contained in:
echarp 2016-05-22 00:39:12 +02:00
parent 23b16f387a
commit 3470ec2587
36 changed files with 186459 additions and 126 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,21 @@
(function() {
$(document).ready(function() {
return tinyMCE.init({
schema: 'html5',
menubar: false,
language: 'fr_FR',
selector: 'textarea.description',
content_css: '/assets/application-99aba05d4f4b6154b108e3700a9a23d7b51b4c2e2c105bfc6ae63c9096a7673c.css',
entity_encoding: 'raw',
add_unload_trigger: true,
browser_spellcheck: true,
toolbar: [' bold italic strikethrough | bullist numlist outdent indent | alignleft aligncenter alignright alignjustify | link image media insertdatetime charmap table | undo redo | searchreplace | code visualblocks preview fullscreen'],
plugins: 'lists, advlist, autolink, link, image, charmap, paste, print, preview, table, fullscreen, searchreplace, media, insertdatetime, visualblocks, visualchars, wordcount, contextmenu, code'
});
});
$(document).on('page:receive', function() {
return tinymce.remove();
});
}).call(this);

View File

@ -0,0 +1,21 @@
(function() {
$(document).ready(function() {
return tinyMCE.init({
schema: 'html5',
menubar: false,
language: 'fr_FR',
selector: 'textarea.description',
content_css: '/assets/application-d75ab3978be89f2612f0a6d34ebc36e5ff5906daaebebbf9d3e573ca27ad3421.css',
entity_encoding: 'raw',
add_unload_trigger: true,
browser_spellcheck: true,
toolbar: [' bold italic strikethrough | bullist numlist outdent indent | alignleft aligncenter alignright alignjustify | link image media insertdatetime charmap table | undo redo | searchreplace | code visualblocks preview fullscreen'],
plugins: 'lists, advlist, autolink, link, image, charmap, paste, print, preview, table, fullscreen, searchreplace, media, insertdatetime, visualblocks, visualchars, wordcount, contextmenu, code'
});
});
$(document).on('page:receive', function() {
return tinymce.remove();
});
}).call(this);

View File

@ -1,124 +0,0 @@
/*
Author: L. Voogdt
License: MIT
Version: 1.0
*/
/* Marker setup */
.awesome-marker {
background: url('markers-soft.png') no-repeat 0 0;
width: 35px;
height: 46px;
position:absolute;
left:0;
top:0;
display: block;
text-align: center;
}
.awesome-marker-shadow {
background: url('markers-shadow.png') no-repeat 0 0;
width: 36px;
height: 16px;
}
/* Retina displays */
@media (min--moz-device-pixel-ratio: 1.5),(-o-min-device-pixel-ratio: 3/2),
(-webkit-min-device-pixel-ratio: 1.5),(min-device-pixel-ratio: 1.5),(min-resolution: 1.5dppx) {
.awesome-marker {
background-image: url('markers-soft@2x.png');
background-size: 720px 46px;
}
.awesome-marker-shadow {
background-image: url('markers-shadow@2x.png');
background-size: 35px 16px;
}
}
.awesome-marker i {
color: #333;
margin-top: 10px;
display: inline-block;
font-size: 14px;
}
.awesome-marker .icon-white {
color: #fff;
}
/* Colors */
.awesome-marker-icon-red {
background-position: 0 0;
}
.awesome-marker-icon-darkred {
background-position: -180px 0;
}
.awesome-marker-icon-lightred {
background-position: -360px 0;
}
.awesome-marker-icon-orange {
background-position: -36px 0;
}
.awesome-marker-icon-beige {
background-position: -396px 0;
}
.awesome-marker-icon-green {
background-position: -72px 0;
}
.awesome-marker-icon-darkgreen {
background-position: -252px 0;
}
.awesome-marker-icon-lightgreen {
background-position: -432px 0;
}
.awesome-marker-icon-blue {
background-position: -108px 0;
}
.awesome-marker-icon-darkblue {
background-position: -216px 0;
}
.awesome-marker-icon-lightblue {
background-position: -468px 0;
}
.awesome-marker-icon-purple {
background-position: -144px 0;
}
.awesome-marker-icon-darkpurple {
background-position: -288px 0;
}
.awesome-marker-icon-pink {
background-position: -504px 0;
}
.awesome-marker-icon-cadetblue {
background-position: -324px 0;
}
.awesome-marker-icon-white {
background-position: -574px 0;
}
.awesome-marker-icon-gray {
background-position: -648px 0;
}
.awesome-marker-icon-lightgray {
background-position: -612px 0;
}
.awesome-marker-icon-black {
background-position: -682px 0;
}

View File

@ -0,0 +1,100 @@
/*
*Author: L. Voogdt
*License: MIT
*Version: 1.0
/* Marker setup
.awesome-marker
background: image-url('markers-soft.png') no-repeat 0 0
width: 35px
height: 46px
position: absolute
left: 0
top: 0
display: block
text-align: center
.awesome-marker-shadow
background: image-url('markers-shadow.png') no-repeat 0 0
width: 36px
height: 16px
/* Retina displays
@media (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3 / 2), (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx)
.awesome-marker
background-image: image-url('markers-soft@2x.png')
background-size: 720px 46px
.awesome-marker-shadow
background-image: image-url('markers-shadow@2x.png')
background-size: 35px 16px
.awesome-marker
i
color: #333
margin-top: 10px
display: inline-block
font-size: 14px
.icon-white
color: #fff
/* Colors
.awesome-marker-icon-red
background-position: 0 0
.awesome-marker-icon-darkred
background-position: -180px 0
.awesome-marker-icon-lightred
background-position: -360px 0
.awesome-marker-icon-orange
background-position: -36px 0
.awesome-marker-icon-beige
background-position: -396px 0
.awesome-marker-icon-green
background-position: -72px 0
.awesome-marker-icon-darkgreen
background-position: -252px 0
.awesome-marker-icon-lightgreen
background-position: -432px 0
.awesome-marker-icon-blue
background-position: -108px 0
.awesome-marker-icon-darkblue
background-position: -216px 0
.awesome-marker-icon-lightblue
background-position: -468px 0
.awesome-marker-icon-purple
background-position: -144px 0
.awesome-marker-icon-darkpurple
background-position: -288px 0
.awesome-marker-icon-pink
background-position: -504px 0
.awesome-marker-icon-cadetblue
background-position: -324px 0
.awesome-marker-icon-white
background-position: -574px 0
.awesome-marker-icon-gray
background-position: -648px 0
.awesome-marker-icon-lightgray
background-position: -612px 0
.awesome-marker-icon-black
background-position: -682px 0