Matt-Yorkley
eb224ec033
Move new CSS file after rebase
2021-12-27 17:45:06 +00:00
Matt-Yorkley
09b9c3d4d0
Fix postcss-loader config
...
The configuration keys have some issues across different versions of postcss
2021-12-27 17:45:06 +00:00
Matt-Yorkley
afd381cbad
Require fonts explicitly
2021-12-27 17:45:06 +00:00
Matt-Yorkley
297e2f1b38
Update webpacker css config
2021-12-27 17:45:06 +00:00
Matt-Yorkley
469c4e69e0
Update broken variable reference
...
The previous font variable is only present in admin css
2021-12-27 17:45:06 +00:00
Matt-Yorkley
959c89a3ec
Move new image
2021-12-27 17:45:06 +00:00
Matt-Yorkley
8a34e8e762
Move new scss files
2021-12-27 17:45:06 +00:00
Matt-Yorkley
9afc002286
Refactor use of image files in specs
2021-12-27 17:45:06 +00:00
Matt-Yorkley
c198dc0fca
Stub CSS request in invoice specs
2021-12-27 17:45:06 +00:00
Matt-Yorkley
1ff75ee642
Update preloaded font path
2021-12-27 17:45:06 +00:00
Matt-Yorkley
19fc4993d5
Delete unused Spree logo
2021-12-27 17:45:06 +00:00
Matt-Yorkley
aa6a4925ac
Update default images paths for logos
2021-12-27 17:45:06 +00:00
Matt-Yorkley
16c6155b14
Use old image tag in Angular template files
...
Angular templates apparently don't work with Webpacker... :/
2021-12-27 17:45:06 +00:00
Matt-Yorkley
9e6082f0cf
Use old image tag for non-compiled images
2021-12-27 17:45:06 +00:00
Matt-Yorkley
63f6567637
Use new image path when uploading files in specs
2021-12-27 17:45:06 +00:00
Matt-Yorkley
f2fc100b5f
Replace #image_path helper calls with #image_pack_path
2021-12-27 17:45:06 +00:00
Matt-Yorkley
3c9d461f5f
Provide #image_pack_path helper method
2021-12-27 17:45:06 +00:00
Matt-Yorkley
2888d75cd3
Replace #image_tag helper calls with #image_pack_tag
2021-12-27 17:45:06 +00:00
Matt-Yorkley
12f51febd3
Enable Webpack compiling for all images
2021-12-27 17:45:06 +00:00
Matt-Yorkley
31276ff3f5
Remove images and fonts from app/assets
2021-12-27 17:45:06 +00:00
Matt-Yorkley
a11aebb2ca
Update stylesheets loaded with wicked-pdf to use Webpack
...
Luckily wicked-pdf already has a corresponding helper method.
2021-12-27 17:45:06 +00:00
Matt-Yorkley
90956c9d10
Switch mail CSS to Webpacker
2021-12-27 17:45:06 +00:00
Matt-Yorkley
250f0c0a65
Bring in missing select2 image
...
This missing image was previously ignored, but now causes a compile error when not found.
2021-12-27 17:45:06 +00:00
Matt-Yorkley
a55c38c842
Fix image paths in vendored select2 stylesheet
2021-12-27 17:45:06 +00:00
Matt-Yorkley
0e4d77a1bc
Move current select2-rails gem stylesheet to /vendor
...
This version isn't available via npm and we can't load it from the gem any more as we move to Webpack assets.
As a side note: I think we'll need to replace Select2 soon anyway, so we can delete this once we've done that.
2021-12-27 17:45:06 +00:00
Matt-Yorkley
80be57a777
Install select2 via yarn and import CSS from node_modules
2021-12-27 17:45:06 +00:00
Matt-Yorkley
74bed15f7f
Fix crazy issue with @extend on icons
...
This one line of code was crashing asset compilation... :/
2021-12-27 17:45:06 +00:00
Matt-Yorkley
a38d495bef
Update admin css image paths
2021-12-27 17:45:06 +00:00
Matt-Yorkley
2ac3cda2f4
Deal with deprecated @extend syntax
...
Errors:
```
SassError: SassError: compound selectors may no longer be extended.
Consider `@extend a, :hover` instead.
See http://bit.ly/ExtendCompound for details.
```
2021-12-27 17:45:06 +00:00
Matt-Yorkley
2992439706
Include shared variables
2021-12-27 17:45:06 +00:00
Matt-Yorkley
df9f9c1c3b
Replace glob imports
...
Apparently glob imports aren't a thing in modern sass... *shrugs*
2021-12-27 17:45:06 +00:00
Matt-Yorkley
5bc02d1e74
Fix admin font paths and loading
2021-12-27 17:45:06 +00:00
Matt-Yorkley
6ee6fc733d
Remove duplicated imports
2021-12-27 17:45:06 +00:00
Matt-Yorkley
28f9f4245d
Fix deprecated syntax using @extend with :before
...
This is no longer valid scss
2021-12-27 17:45:06 +00:00
Matt-Yorkley
6f06205eed
Switch admin CSS to webpack
2021-12-27 17:45:06 +00:00
Matt-Yorkley
ba583dcf39
Install jquery-ui via yarn
...
We can delete the gem once the Javascript part has been handled
2021-12-27 17:45:06 +00:00
Matt-Yorkley
9d18f318ac
Remove Sprockets includes in admin scss
2021-12-27 17:45:06 +00:00
Matt-Yorkley
b33ac49442
Update vendor import paths
2021-12-27 17:45:06 +00:00
Matt-Yorkley
05ac7e6798
Comment out leaflet image paths
...
These images don't exist anywhere. They were silently ignored before.
2021-12-27 17:45:06 +00:00
Matt-Yorkley
0057dbcb89
Remove Sprockets require statements
2021-12-27 17:45:06 +00:00
Matt-Yorkley
bab60f4944
Drop foundation-rails gem
2021-12-27 17:45:06 +00:00
Matt-Yorkley
2e194ac312
Switch to npm-based Foundation javascript
2021-12-27 17:45:06 +00:00
Matt-Yorkley
54929ab6ed
Drop foundation-icons gem
...
It looks like we don't actually use these icons anywhere...
2021-12-27 17:45:06 +00:00
Matt-Yorkley
ec2213d2f0
Reduce duplicate import statements
...
It looks ike these CSS rules are actually being re-imported multiple times, which is bloating the output.
2021-12-27 17:45:06 +00:00
Matt-Yorkley
825aeeae04
Migrate images and update assets
2021-12-27 17:45:06 +00:00
Matt-Yorkley
cb27081425
Install Foundation 5.5.2 via yarn
2021-12-27 17:45:05 +00:00
Matt-Yorkley
8dfc30438b
Move CSS to Webpacker
2021-12-27 17:45:05 +00:00
Transifex-Openfoodnetwork
6a312b8cca
Updating translations for config/locales/it.yml
2021-12-28 03:49:53 +11:00
Matt-Yorkley
f0f5a1a2da
Allow methods which skip validations in Rubocop
...
There are plenty of places where we use methods which skip validations for perfectly good reasons...
2021-12-27 16:36:45 +00:00
Matt-Yorkley
aaf5d1ba38
Patch CanCan deprecated keyword arguments
...
Solves an issue with use of deprecated positional args. The version of CanCan which fixes this is not currently compatible with OFN...
2021-12-27 16:27:04 +00:00