David Rodríguez
852e7fa81e
Fix all existing prettier issues
2025-10-22 15:30:36 +02:00
Ahmed Ejaz
1426b6eeb7
Remove legacy admin styles in favor of v3 styling
...
Completes migration to the new admin v3 styling system by:
- Removing conditional stylesheet inclusion in admin head
- Deleting all legacy admin style files and components
- Making admin-style-v3 the default and only stylesheet
This change reduces maintenance overhead and simplifies the admin styling codebase by removing the old styling system that was being conditionally loaded based on feature flags.
2025-07-27 07:02:53 +05:00
Cillian O'Ruanaidh
a6d3909e95
Replace text-angular editor with trix editor in fields for shop messages and about fields for enterprises and enterprise groups
2024-08-09 10:37:23 +01:00
David Cook
e516e7f335
Tweak checkbox dropdown styles
...
Use the new design for checkboxes and fix alignment.
Removes redesigned-input, which is a small regression on the old design, but I think it's acceptable bcause we're going to shut it down soon.
2024-06-12 14:58:09 +10:00
David Cook
0b4013dd11
Add dismiss button to flashes
...
And updating the secondary button style to ensure it's always white background
2023-12-06 10:12:17 +11:00
Jean-Baptiste Bellet
beba709827
Move buttons/input stuff into related file
...
And adjust design for v3 style
2023-09-15 10:47:44 +02:00
Jean-Baptiste Bellet
e3359dd240
Move text-angular rules into its own file
2023-09-15 10:47:44 +02:00
David Cook
0aa4c144b9
Rename disabled button variable
...
TIL that underscores and dashes are treated the same in SCSS variables.
2023-08-03 09:49:29 +10:00
David Cook
9610281ed3
Rename variables
2023-08-03 09:49:29 +10:00
David Cook
b46e6c462d
Rename table border variable
...
There are other vars named brd, but I think border is clearer and doesn't need to be abreviated here.
2023-08-03 09:49:29 +10:00
David Cook
c4a335548a
Rename warning color variable
...
To match the others in the variables file.
Also `warning-orange` was unused.
2023-08-03 09:49:29 +10:00
David Cook
bf9cd09462
Remove dependence on darkswarm variables
...
There were all sorts of dependencies hiding in there, and it was overwriting some of the admin variables. Better to keep things separate and simple.
I discovered that there was one legitimate reason for importing them though: for styling the trix editor. I can't think of a good way to safely import them without affecting the other variables, so I just hardcoded the colours for now.
2023-08-03 09:47:44 +10:00
David Cook
828df3ed82
Consistently use red in forms
...
Errors and required fields now use the colour from the palette. The error messages in the old design are a bit darker now, but I think it's clearer. And it makes the new design look way better.
Also snuck in a tiny padding tweak.
2023-08-03 09:47:44 +10:00
Filipe
748cdaaa52
Merge pull request #10963 from jibees/10956-orders-page-uncaught-error-missing-target-element-tooltip-for-tooltip-controller
...
Admin, Orders list: add tooltip on Edit action icon + capitalize tooltip (instead of uppercasing)
2023-06-27 09:58:34 +01:00
Jean-Baptiste Bellet
7ce3c3f447
Overide a text-transform: uppercase to capitalize
...
Inherit comes from `app/webpacker/css/admin/components/buttons.scss`
2023-06-22 14:15:43 +02:00
Jean-Baptiste Bellet
7d9018c590
Instead of overriding css rules, prefer to not select rules for trix buttons
2023-06-21 15:01:14 +02:00
David Cook
08dc3e3cbe
Prettify more admin css
...
yarn prettier --write
2023-06-07 14:23:02 +02:00
Filipe
12159edaca
Merge pull request #10833 from Matt-Yorkley/order-angular
...
Remove Angular from admin orders index page
2023-06-01 13:57:39 +01:00
Matt-Yorkley
1128fd9c02
Visual tweak to ship/capture buttons and success feedback
2023-06-01 12:13:12 +01:00
David Cook
60ec24b92b
Use variables for spree-blue
...
Aka 'Havelock Blue', which is going to be changing.
2023-05-26 15:11:23 +10:00
Matt-Yorkley
be1ed2bbcf
Update tomselect multiselect styling
2023-05-21 00:15:32 +01:00
Matt-Yorkley
d64a9afece
Replace angular ofn-with-tip directive on capture/ship buttons
2023-05-21 00:15:32 +01:00
Matt-Yorkley
71c4f2a5be
Update styling on multiselect tabs for tom-select
2023-05-21 00:15:32 +01:00
Matt-Yorkley
048df6230b
Remove angular from admin orders index page
2023-05-21 00:15:32 +01:00
David Cook
3ec659d82b
Revert pull #10025
...
[WIP 🚧 ] Admin, behind feature toggle admin_style_v2: adjust some colors
This reverts commits 60f0a58508ce77666fa96c73d76dc0620f23daaf~1..09bcc772ff089f911a56bb
2023-05-09 21:26:47 +10:00
David Cook
e11518938f
Prettify admin components scss
...
Largely whitespace, but some other updates too, including uppercase colour codes and standardising numbers.
Best viewed with whitespace ignored.
2023-05-03 12:10:58 +10:00
Matt-Yorkley
b9431cd121
Remove data-hook attributes
2023-04-28 13:03:13 +01:00
Jean-Baptiste Bellet
76357789a3
Avoid line break between state wording and its little colored circle
2023-04-20 09:09:29 +02:00
David Cook
29b9777a96
Replace deprecated sass division operator
...
https://sass-lang.com/documentation/breaking-changes/slash-div
> Sass currently treats / as a division operation in some contexts and a separator in others. This makes it difficult for Sass users to tell what any given / will mean, and makes it hard to work with new CSS features that use / as a separator.
There's a handy migrator:
npm install -g sass-migrator
sass-migrator division **/*.scss
And it cleverly avoids the need for the ugly division method in most cases.
2023-04-14 17:59:01 +10:00
David Cook
283dd84ad6
Add expected whitespace
...
The migrator refused to proceed until I fixed this.
2023-04-14 17:56:24 +10:00
Jean-Baptiste Bellet
9997fe26fc
Small adjustments to make it usable in admin section
2023-01-03 10:32:11 +01:00
Jean-Baptiste Bellet
09bcc772ff
Remove useless line
...
Co-Authored-By: David Cook <david@redcliffs.net >
2022-11-21 09:49:06 +01:00
Jean-Baptiste Bellet
14a258c661
Attempt: externalize ofn-drop-down-v2 selector
...
+ add class `redesigned-checkbox` on `input`
Move `input.redesigned-input` definition outside dropdown definition
--> more generic
2022-10-12 09:28:50 +02:00
Jean-Baptiste Bellet
73f55ae776
Implements daterangepicker for /admin/orders
...
+ update specs as well
2022-10-08 16:36:26 +02:00
Filipe
4b279d28dd
Merge pull request #9262 from cillian/order-cycle-shipping-methods
...
Let people customise which shipping methods are available to customers on order cycles
2022-09-30 14:36:37 +01:00
Cillian O'Ruanaidh
855ec1a708
Add new 'Checkout options' step to the edit order cycle form so people can attach shipping methods
2022-09-30 13:13:39 +01:00
Ashwini Seshadri
edee5c693b
Changed new subscription dialog to use tom-select from select2
...
fixed z-index, text-alignment in the dropdown menu to left in new subscription modal, replaced click_link with page.find().click in subscription specs, removed href in subscription index
2022-09-28 10:47:39 +02:00
binarygit
b76d9045ce
Replace power-tip in enterprises/edit/<name>/contact with floatingUI
2022-08-24 13:31:45 +05:45
Jean-Baptiste Bellet
8d66f33230
per_page control can now be set on the right of the page
2022-06-28 18:12:20 +02:00
Sebastian Castro
1ff98a1d8a
Reports: Improve UI
2022-05-12 16:54:12 +02:00
Matt-Yorkley
7181694401
Include the little search icon for dropdowns with a search box
2022-04-05 18:56:52 +01:00
Matt-Yorkley
09bd7126d8
Replace/remove a custom select2 Angular directive
2022-04-05 18:56:51 +01:00
Matt-Yorkley
fedfeb6dd3
Add dropdown "primary" style with blue instead of white
2022-04-05 18:56:51 +01:00
Matt-Yorkley
5e3e8c32c3
Create a simple Stimulus controller and add basic styling
2022-04-05 18:56:51 +01:00
Sebastian Castro
115dfe445b
loading-message: make them all look the same in admin
...
use font awesome spinner instead of an image
2022-01-11 21:55:07 +01:00
Sebastian Castro
0eb97f1cdc
loading-popup: improve style
2022-01-11 21:55:07 +01:00
Matt-Yorkley
01f25cbd13
Move more assets after rebase
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
6ee6fc733d
Remove duplicated imports
2021-12-27 17:45:06 +00:00
Matt-Yorkley
8dfc30438b
Move CSS to Webpacker
2021-12-27 17:45:05 +00:00