mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Move to imgstore-b, change body bg
This commit is contained in:
parent
0642e17aa8
commit
df5aef363b
@ -1,9 +1,5 @@
|
|||||||
body {
|
body {
|
||||||
background: radial-gradient(circle, #000, #373737);
|
background: #1D1D1D;
|
||||||
/* 16/06/2013 : -webkit still needed for
|
|
||||||
safari, safari mobile and android browser and chrome for android
|
|
||||||
cf http://caniuse.com/css-gradients */
|
|
||||||
background: -webkit-radial-gradient(circle, #000, #373737);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Browser fixes */
|
/* Browser fixes */
|
||||||
|
@ -21,16 +21,8 @@ var Constants = {
|
|||||||
DEFAULT_PEN_COLOR : '#000000',
|
DEFAULT_PEN_COLOR : '#000000',
|
||||||
TRANSPARENT_COLOR : 'rgba(0, 0, 0, 0)',
|
TRANSPARENT_COLOR : 'rgba(0, 0, 0, 0)',
|
||||||
|
|
||||||
OVERLAY_ONION_SKIN : 'onion-skin',
|
|
||||||
OVERLAY_LAYER_PREVIEW : 'layer-preview',
|
|
||||||
OVERLAY_DISABLED : 'no-overlay',
|
|
||||||
|
|
||||||
NO_PALETTE_ID : '__no-palette',
|
|
||||||
CURRENT_COLORS_PALETTE_ID : '__current-colors',
|
CURRENT_COLORS_PALETTE_ID : '__current-colors',
|
||||||
|
|
||||||
// Used for Spectrum input
|
|
||||||
PREFERRED_COLOR_FORMAT : 'rgb',
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Fake semi-transparent color used to highlight transparent
|
* Fake semi-transparent color used to highlight transparent
|
||||||
* strokes and rectangles:
|
* strokes and rectangles:
|
||||||
@ -43,22 +35,6 @@ var Constants = {
|
|||||||
*/
|
*/
|
||||||
TOOL_TARGET_HIGHLIGHT_COLOR: 'rgba(255, 255, 255, 0.2)',
|
TOOL_TARGET_HIGHLIGHT_COLOR: 'rgba(255, 255, 255, 0.2)',
|
||||||
|
|
||||||
/*
|
|
||||||
* Default entry point for piskel web service:
|
|
||||||
*/
|
|
||||||
STATIC : {
|
|
||||||
URL : {
|
|
||||||
SAVE : 'http://3.piskel-app.appspot.com/store',
|
|
||||||
GET : 'http://3.piskel-app.appspot.com/get'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
APPENGINE : {
|
|
||||||
URL : {
|
|
||||||
SAVE : 'save'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
IMAGE_SERVICE_UPLOAD_URL : 'http://piskel-imgstore-a.appspot.com/__/upload',
|
|
||||||
IMAGE_SERVICE_GET_URL : 'http://piskel-imgstore-a.appspot.com/img/',
|
|
||||||
|
|
||||||
ZOOMED_OUT_BACKGROUND_COLOR : '#A0A0A0',
|
ZOOMED_OUT_BACKGROUND_COLOR : '#A0A0A0',
|
||||||
|
|
||||||
@ -71,5 +47,10 @@ var Constants = {
|
|||||||
EMPTY_FUNCTION : function () {},
|
EMPTY_FUNCTION : function () {},
|
||||||
|
|
||||||
// TESTS
|
// TESTS
|
||||||
DRAWING_TEST_FOLDER : 'drawing'
|
DRAWING_TEST_FOLDER : 'drawing',
|
||||||
|
|
||||||
|
// SERVICE URLS
|
||||||
|
APPENGINE_SAVE_URL : 'save',
|
||||||
|
IMAGE_SERVICE_UPLOAD_URL : 'http://piskel-imgstore-b.appspot.com/__/upload',
|
||||||
|
IMAGE_SERVICE_GET_URL : 'http://piskel-imgstore-b.appspot.com/img/'
|
||||||
};
|
};
|
@ -35,6 +35,6 @@
|
|||||||
callbacks.after();
|
callbacks.after();
|
||||||
};
|
};
|
||||||
|
|
||||||
pskl.utils.Xhr.post(Constants.APPENGINE.URL.SAVE, data, success, error);
|
pskl.utils.Xhr.post(Constants.APPENGINE_SAVE_URL, data, success, error);
|
||||||
};
|
};
|
||||||
})();
|
})();
|
Loading…
x
Reference in New Issue
Block a user