mirror of
https://github.com/paradoxxxzero/butterfly.git
synced 2026-05-26 07:08:08 +00:00
Apply uri-root-path change to coffee/sass scripts and regenerate.
This commit is contained in:
@@ -23,7 +23,7 @@ $weights: (ExtraLight 100) (Light 300) (Regular 400) (Medium 500) (Semibold 600)
|
||||
|
||||
@font-face
|
||||
font-family: "SourceCodePro"
|
||||
src: url("/static/fonts/SourceCodePro-#{$weight_name}.otf") format("woff")
|
||||
src: url("fonts/SourceCodePro-#{$weight_name}.otf") format("woff")
|
||||
font-weight: nth($weight, 2)
|
||||
|
||||
body
|
||||
|
||||
2
butterfly/static/ext.min.js
vendored
2
butterfly/static/ext.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -70,37 +70,37 @@
|
||||
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
@font-face {
|
||||
font-family: "SourceCodePro";
|
||||
src: url("/static/fonts/SourceCodePro-ExtraLight.otf") format("woff");
|
||||
src: url("fonts/SourceCodePro-ExtraLight.otf") format("woff");
|
||||
font-weight: 100; }
|
||||
|
||||
@font-face {
|
||||
font-family: "SourceCodePro";
|
||||
src: url("/static/fonts/SourceCodePro-Light.otf") format("woff");
|
||||
src: url("fonts/SourceCodePro-Light.otf") format("woff");
|
||||
font-weight: 300; }
|
||||
|
||||
@font-face {
|
||||
font-family: "SourceCodePro";
|
||||
src: url("/static/fonts/SourceCodePro-Regular.otf") format("woff");
|
||||
src: url("fonts/SourceCodePro-Regular.otf") format("woff");
|
||||
font-weight: 400; }
|
||||
|
||||
@font-face {
|
||||
font-family: "SourceCodePro";
|
||||
src: url("/static/fonts/SourceCodePro-Medium.otf") format("woff");
|
||||
src: url("fonts/SourceCodePro-Medium.otf") format("woff");
|
||||
font-weight: 500; }
|
||||
|
||||
@font-face {
|
||||
font-family: "SourceCodePro";
|
||||
src: url("/static/fonts/SourceCodePro-Semibold.otf") format("woff");
|
||||
src: url("fonts/SourceCodePro-Semibold.otf") format("woff");
|
||||
font-weight: 600; }
|
||||
|
||||
@font-face {
|
||||
font-family: "SourceCodePro";
|
||||
src: url("/static/fonts/SourceCodePro-Bold.otf") format("woff");
|
||||
src: url("fonts/SourceCodePro-Bold.otf") format("woff");
|
||||
font-weight: 700; }
|
||||
|
||||
@font-face {
|
||||
font-family: "SourceCodePro";
|
||||
src: url("/static/fonts/SourceCodePro-Black.otf") format("woff");
|
||||
src: url("fonts/SourceCodePro-Black.otf") format("woff");
|
||||
font-weight: 900; }
|
||||
|
||||
body {
|
||||
|
||||
@@ -24,11 +24,12 @@
|
||||
wsUrl = 'ws://';
|
||||
}
|
||||
rootPath = document.body.getAttribute('data-root-path');
|
||||
rootPath = rootPath.replace(/^\/+|\/+$/g, '');
|
||||
if (rootPath.length) {
|
||||
rootPath = "/" + rootPath;
|
||||
}
|
||||
wsUrl += document.location.host + rootPath;
|
||||
path = location.pathname;
|
||||
path = '/';
|
||||
if (path.indexOf('/session') < 0) {
|
||||
path += "session/" + (document.body.getAttribute('data-session-token'));
|
||||
}
|
||||
|
||||
6
butterfly/static/main.min.js
vendored
6
butterfly/static/main.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user