1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 21:20:24 +02:00

Major CSS revamp

- Get rid of Bootstrap (except we still rely on some JS)
- Use BEM class names
- Rework variables/theme config
- Fix various bugs, including some on mobile

The CSS is still not ideal – it needs to be cleaned up some more. But
that can be a focus for after beta.
This commit is contained in:
Toby Zerner
2015-07-17 14:47:49 +09:30
parent 0b685b1036
commit 2aa9c2e746
206 changed files with 4337 additions and 8830 deletions

View File

@@ -28,14 +28,18 @@
<script>
var app;
System.import('flarum/app').then(function(module) {
app = module.default;
app.preload = {
data: {!! json_encode($data) !!},
document: {!! json_encode($document) !!},
session: {!! json_encode($session) !!}
};
initLocale(app);
app.boot();
try {
app = module.default;
app.preload = {
data: {!! json_encode($data) !!},
document: {!! json_encode($document) !!},
session: {!! json_encode($session) !!}
};
initLocale(app);
app.boot();
} catch (e) {
document.write('<div class="container">Something went wrong.</div>');
}
});
</script>