mirror of
https://github.com/flarum/core.git
synced 2025-08-05 16:07:34 +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:
@@ -1,26 +1,30 @@
|
||||
var gulp = require('flarum-gulp');
|
||||
|
||||
var nodeDir = 'node_modules';
|
||||
var bowerDir = '../bower_components';
|
||||
|
||||
gulp({
|
||||
files: [
|
||||
'node_modules/babel-core/external-helpers.js',
|
||||
'../bower_components/es6-promise-polyfill/promise.js',
|
||||
'../bower_components/es6-micro-loader/dist/system-polyfill.js',
|
||||
nodeDir + '/babel-core/external-helpers.js',
|
||||
|
||||
'../bower_components/mithril/mithril.js',
|
||||
'../bower_components/jquery/dist/jquery.js',
|
||||
'../bower_components/jquery.hotkeys/jquery.hotkeys.js',
|
||||
'../bower_components/color-thief/js/color-thief.js',
|
||||
'../bower_components/moment/moment.js',
|
||||
bowerDir + '/es6-promise-polyfill/promise.js',
|
||||
bowerDir + '/es6-micro-loader/dist/system-polyfill.js',
|
||||
|
||||
'../bower_components/bootstrap/js/affix.js',
|
||||
'../bower_components/bootstrap/js/dropdown.js',
|
||||
'../bower_components/bootstrap/js/modal.js',
|
||||
'../bower_components/bootstrap/js/tooltip.js',
|
||||
'../bower_components/bootstrap/js/transition.js',
|
||||
bowerDir + '/mithril/mithril.js',
|
||||
bowerDir + '/jquery/dist/jquery.js',
|
||||
bowerDir + '/jquery.hotkeys/jquery.hotkeys.js',
|
||||
bowerDir + '/color-thief/js/color-thief.js',
|
||||
bowerDir + '/moment/moment.js',
|
||||
|
||||
'../bower_components/spin.js/spin.js',
|
||||
'../bower_components/spin.js/jquery.spin.js',
|
||||
'../bower_components/fastclick/lib/fastclick.js'
|
||||
bowerDir + '/bootstrap/js/affix.js',
|
||||
bowerDir + '/bootstrap/js/dropdown.js',
|
||||
bowerDir + '/bootstrap/js/modal.js',
|
||||
bowerDir + '/bootstrap/js/tooltip.js',
|
||||
bowerDir + '/bootstrap/js/transition.js',
|
||||
|
||||
bowerDir + '/spin.js/spin.js',
|
||||
bowerDir + '/spin.js/jquery.spin.js',
|
||||
bowerDir + '/fastclick/lib/fastclick.js'
|
||||
],
|
||||
moduleFiles: [
|
||||
'src/**/*.js',
|
||||
|
Reference in New Issue
Block a user