Commit b84b45b0 authored by Alexander Yakovlev's avatar Alexander Yakovlev

Salet 2.0 / Bootstrap 4 update

parent 4687bb6e
......@@ -26,7 +26,7 @@ $.getJSON('game/procgen/'+i18n.lang+'.json', (data) ->
$.holdReady( false )
)
salet.init = () ->
$(document).on("init", () ->
salet.character.lastBeat = () ->
return salet.progress.sequence.length - salet.character.beat
salet.character.newBeat = () ->
......@@ -38,6 +38,7 @@ salet.init = () ->
audio.currentTime = 0
audio.volume = 1.0
audio.play()
)
$(document).ready(() ->
window.addEventListener('popstate', (event) ->
......
......@@ -9,8 +9,8 @@ $btn-bg: grey;
$btn-color: lighten($btn-bg, 50%);
$secondary-bg: #F1EED9;
$brand-primary: lighten($body-color, 20%);
$brand-danger: darken($body-bg, 30%);
$primary: lighten($body-color, 20%);
$danger: darken($body-bg, 30%);
$waycolor: $link-color;
$text_background: $body-bg; // can be btn-bg
......
......@@ -2,9 +2,9 @@
@import "mixins";
@import "variables";
// Bootstrap v4 stripped core
@import "../node_modules/bootstrap/scss/variables";
@import "../node_modules/bootstrap/scss/functions";
@import "../node_modules/bootstrap/scss/mixins";
@import "../node_modules/bootstrap/scss/normalize";
@import "../node_modules/bootstrap/scss/variables";
@import "../node_modules/bootstrap/scss/print";
@import "../node_modules/bootstrap/scss/reboot";
@import "../node_modules/bootstrap/scss/type";
......@@ -13,8 +13,7 @@
@import "../node_modules/bootstrap/scss/buttons";
@import "../node_modules/bootstrap/scss/nav";
@import "../node_modules/bootstrap/scss/responsive-embed";
@import "../node_modules/bootstrap/scss/utilities";
@import "../node_modules/bootstrap/scss/navbar";
body {
overflow-y: scroll;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment