0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

20 Commits

Author SHA1 Message Date
Karl Hobley
b96be5aa35 Modeladmin scss cleanups (#2481)
* Hyphenate classname: result_list => result-list

* Fixed gulp config for compiling scss

Was compiling to modeladmin/index.css instead of wagtailmodeladmin.css which caused the styles to not load

* Nest scss rules

Makes the scss easier to read I think

* Let choose_parent_page.scss use an id selector

* Converted ids to classes

* scss style tweaks

* Allow choose_parent_page.scss to use id selector

We should definitely solve this. But need to get Drone working right now
2016-04-16 17:15:47 +01:00
Andy Babic
dcb67dcfdf Added wagtailmodeladmin to contrib with docs 2016-04-14 15:03:49 +01:00
mr-winter
c185e57347 output sass errors in terminal and prevent gulp watch from exiting 2016-03-03 10:07:45 +00:00
Josh Barr
14f02a0b50 Tooling for modern front-end components: React JS, ES6, and BEM CSS
Thanks to @justinvdm for the help

Merges: #2275
2016-02-25 13:32:48 +00:00
Aarni Koskela
6f18c5ea0f Fix static asset building on Windows
Normalize all paths to have only forward slashes before mangling them.
2016-01-19 13:14:05 +00:00
Dave Cranwell
88341b782b removed unnecessary whitelist of sass files to compile. sass knows not to compile partials, which leaves all the _other_ files which it should compile 2015-12-04 10:54:38 +00:00
Dave Cranwell
7bc1c2485a mixins which only do prefixing removed in favour of depending more on autoprefixer 2015-12-02 14:55:06 +00:00
Dave Cranwell
5d43512c38 fixing rebase confusion 2015-11-23 21:39:56 +00:00
Dave Cranwell
fc980bd103 updated npm packages. ongoing linting of scss files 2015-11-23 21:39:54 +00:00
Matt Westcott
ed84057b07 static path for wagtail.contrib.settings should be 'wagtailsettings' to avoid name clashes 2015-10-23 11:33:48 +01:00
Matt Westcott
42af5c10af Merge branch 'merge-settings' of https://github.com/takeflight/wagtail into takeflight-merge-settings 2015-10-23 10:31:27 +01:00
Tim Heap
5d81269548 Add site switcher to header in settings 2015-10-21 16:39:09 +11:00
Matt Westcott
98e9b24ca0 Remove useless empty page-editor.js from wagtailforms 2015-10-09 20:12:21 +01:00
Karl Hobley
b08b7628fb Missing newlines 2015-07-09 12:36:34 +01:00
Dave Cranwell
109f1d799b added new gulpfile directory with modularised tasks 2015-06-04 17:44:08 +01:00
Dave Cranwell
10894e78a8 removed old gulpfile.js 2015-06-04 17:43:27 +01:00
Tim Heap
4614526416 Move require() calls out of gulp tasks 2015-05-01 08:53:05 +10:00
Tim Heap
2af8fdf8b6 Build assest as part of watching them 2015-05-01 08:53:05 +10:00
Tim Heap
37816f68cf Move all static assets to static_src, compile to static
The fonts were also relocated out of the `scss/fonts` directory to their
own `fonts` directory.

All the `static` directories are now ignored, and are completely
generated from the compilation process.
2015-05-01 08:53:04 +10:00
Tim Heap
ddebafa119 Remove libsass dependency, precompile CSS for distribution
Depending on libsass for all Wagtail installations was causing issues
with various operating systems, dramatically increasing installation
times, and preventing front end development adopting modern practices.

libsass has been removed as a dependency. Sass files are compiled before
release as a dependency of the `sdist` setup command. Sass compilation
is done through `gulp`. People wishing to hack on the frontend assets
should now install wagtail locally, install the node dependencies, and
run `gulp`:

    $ pip install -e path/to/wagtail
    $ cd path/to/wagtail
    $ npm install
    $ npm start

All the templates and JS files have been updated to reference the new
compiled CSS files instead of the Sass files.

Precompiled CSS for jquery-ui and similar have been moved out of the
`scss/` directory to the `css/` directory.
2015-05-01 08:53:04 +10:00