mirror of
https://bitbucket.org/skobkin/chrome_point_plus.git
synced 2024-11-23 18:56:04 +00:00
Bower's Fancybox CSS fix.
This commit is contained in:
parent
27e97f138b
commit
8f9d880cb2
60
chrome_point_plus/css/fancybox/style.css
Normal file
60
chrome_point_plus/css/fancybox/style.css
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
/*
|
||||||
|
Created on : Jan 7, 2015, 8:58:42 AM
|
||||||
|
Author : skobkin
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Fancybox fix */
|
||||||
|
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
|
||||||
|
background-image: url('chrome-extension://__MSG_@@extension_id__/vendor/fancybox/source/fancybox_sprite.png');
|
||||||
|
}
|
||||||
|
|
||||||
|
#fancybox-loading div {
|
||||||
|
background: url('chrome-extension://__MSG_@@extension_id__/vendor/fancybox/source/fancybox_loading.gif') center center no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fancybox-nav {
|
||||||
|
background: transparent url('chrome-extension://__MSG_@@extension_id__/vendor/fancybox/source/blank.gif'); /* helps IE */
|
||||||
|
}
|
||||||
|
.fancybox-overlay {
|
||||||
|
background: url('chrome-extension://__MSG_@@extension_id__/vendor/fancybox/source/fancybox_overlay.png');
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
||||||
|
only screen and (min--moz-device-pixel-ratio: 1.5),
|
||||||
|
only screen and (min-device-pixel-ratio: 1.5) {
|
||||||
|
|
||||||
|
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
|
||||||
|
background-image: url('chrome-extension://__MSG_@@extension_id__/vendor/fancybox/source/fancybox_sprite@2x.png');
|
||||||
|
}
|
||||||
|
|
||||||
|
#fancybox-loading div {
|
||||||
|
background-image: url('chrome-extension://__MSG_@@extension_id__/vendor/fancybox/source/fancybox_loading@2x.gif');
|
||||||
|
}
|
||||||
|
}/* Fancybox fix */
|
||||||
|
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
|
||||||
|
background-image: url('chrome-extension://__MSG_@@extension_id__/vendor/fancybox/source/fancybox_sprite.png');
|
||||||
|
}
|
||||||
|
|
||||||
|
#fancybox-loading div {
|
||||||
|
background: url('chrome-extension://__MSG_@@extension_id__/vendor/fancybox/source/fancybox_loading.gif') center center no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fancybox-nav {
|
||||||
|
background: transparent url('chrome-extension://__MSG_@@extension_id__/vendor/fancybox/source/blank.gif'); /* helps IE */
|
||||||
|
}
|
||||||
|
.fancybox-overlay {
|
||||||
|
background: url('chrome-extension://__MSG_@@extension_id__/vendor/fancybox/source/fancybox_overlay.png');
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
||||||
|
only screen and (min--moz-device-pixel-ratio: 1.5),
|
||||||
|
only screen and (min-device-pixel-ratio: 1.5) {
|
||||||
|
|
||||||
|
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
|
||||||
|
background-image: url('chrome-extension://__MSG_@@extension_id__/vendor/fancybox/source/fancybox_sprite@2x.png');
|
||||||
|
}
|
||||||
|
|
||||||
|
#fancybox-loading div {
|
||||||
|
background-image: url('chrome-extension://__MSG_@@extension_id__/vendor/fancybox/source/fancybox_loading@2x.gif');
|
||||||
|
}
|
||||||
|
}
|
|
@ -163,34 +163,4 @@ div#markItUpText-input {
|
||||||
#comments .post:hover .nesting {
|
#comments .post:hover .nesting {
|
||||||
background-repeat: repeat-x;
|
background-repeat: repeat-x;
|
||||||
background-image: url('chrome-extension://__MSG_@@extension_id__/images/nesting-point.png');
|
background-image: url('chrome-extension://__MSG_@@extension_id__/images/nesting-point.png');
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Fancybox fix */
|
|
||||||
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
|
|
||||||
background-image: url('chrome-extension://__MSG_@@extension_id__/vendor/fancybox/source/fancybox_sprite.png');
|
|
||||||
}
|
|
||||||
|
|
||||||
#fancybox-loading div {
|
|
||||||
background: url('chrome-extension://__MSG_@@extension_id__/vendor/fancybox/source/fancybox_loading.gif') center center no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fancybox-nav {
|
|
||||||
background: transparent url('chrome-extension://__MSG_@@extension_id__/vendor/fancybox/source/chrome-extension://__MSG_@@extension_id__/vendor/fancybox/source/blank.gif'); /* helps IE */
|
|
||||||
}
|
|
||||||
.fancybox-overlay {
|
|
||||||
background: url('chrome-extension://__MSG_@@extension_id__/vendor/fancybox/source/chrome-extension://__MSG_@@extension_id__/vendor/fancybox/source/fancybox_overlay.png');
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
|
||||||
only screen and (min--moz-device-pixel-ratio: 1.5),
|
|
||||||
only screen and (min-device-pixel-ratio: 1.5) {
|
|
||||||
|
|
||||||
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
|
|
||||||
background-image: url('chrome-extension://__MSG_@@extension_id__/vendor/fancybox/source/chrome-extension://__MSG_@@extension_id__/vendor/fancybox/source/fancybox_sprite@2x.png');
|
|
||||||
}
|
|
||||||
|
|
||||||
#fancybox-loading div {
|
|
||||||
background-image: url('chrome-extension://__MSG_@@extension_id__/vendor/fancybox/source/chrome-extension://__MSG_@@extension_id__/vendor/fancybox/source/fancybox_loading@2x.gif');
|
|
||||||
}
|
|
||||||
}
|
}
|
|
@ -156,6 +156,11 @@ $(document).ready(function() {
|
||||||
type: 'injectCSSFile',
|
type: 'injectCSSFile',
|
||||||
file: 'vendor/fancybox/source/jquery.fancybox.css'
|
file: 'vendor/fancybox/source/jquery.fancybox.css'
|
||||||
});
|
});
|
||||||
|
// @todo message response callback processing
|
||||||
|
chrome.runtime.sendMessage({
|
||||||
|
type: 'injectCSSFile',
|
||||||
|
file: 'css/fancybox/style.css'
|
||||||
|
});
|
||||||
// JS
|
// JS
|
||||||
chrome.runtime.sendMessage(null, {
|
chrome.runtime.sendMessage(null, {
|
||||||
type: 'executeJSFiles',
|
type: 'executeJSFiles',
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
"web_accessible_resources": [
|
"web_accessible_resources": [
|
||||||
"images/*",
|
"images/*",
|
||||||
"includes/*",
|
"includes/*",
|
||||||
|
"vendor/*",
|
||||||
"manifest.json"
|
"manifest.json"
|
||||||
],
|
],
|
||||||
"background": {
|
"background": {
|
||||||
|
|
Loading…
Reference in a new issue