Jean-Baptiste Bellet
edc6ac801d
Use the right colors for the question mark icon tooltip in admin style v3
2023-09-11 15:44:08 +02:00
Jean-Baptiste Bellet
75751f07b8
Move question-mark-icon into admin_style_v3 context
2023-09-11 15:31:30 +02:00
Jean-Baptiste Bellet
34dab4003d
Create a mixin that include list of styles for trix editor + content
...
Will be used elsewhere (in shopfront in particular)
2023-09-04 15:46:54 +02:00
David Cook
7d6ba2d31f
Clean up unneeded override
2023-08-25 17:23:05 +10:00
David Cook
451513ad04
Markup labels as.. labels
...
This means you can click on the label name to select the field, and accessibility software can read the label name. I was motivated to do this so that we could update the spec to use label text rather than IDs. But it seems we can't do that with tom-select.
I've updated the styles for all form labels (in admin_style_v3 toggle) to match the design.
2023-08-25 17:19:46 +10:00
David Cook
b0e77df226
Style form actions area
2023-08-22 11:51:05 +10:00
David Cook
fccde964bf
Enable 'medium' style for reset buttons
2023-08-22 11:46:56 +10:00
David Cook
7bf79441c8
Update link colours to match new design
2023-08-22 11:40:58 +10:00
David Cook
3cc5d7ba1d
Copy form styles to v3
2023-08-22 11:40:58 +10:00
David Cook
37d1113e4c
Align row headers with input contents
...
Inputs add extra padding, so we add the same padding to the header. Using an opt-in class, because I think we won't want this on all columns.
2023-08-22 11:40:58 +10:00
Jean-Baptiste Bellet
117c373985
Add "remove-sign" icon before text in disruptive button
2023-08-18 09:46:57 +02:00
Jean-Baptiste Bellet
d27b2084ed
Do not underline text when it's a button
2023-08-18 09:46:56 +02:00
Jean-Baptiste Bellet
f5e7738c78
Introduce relaxed, regular and condensed button for specify height
2023-08-18 09:46:56 +02:00
Jean-Baptiste Bellet
fa4dda9976
Finally, remove disabled rule that is unused
...
We only display active link
2023-08-17 09:26:10 +02:00
Jean-Baptiste Bellet
394e964b91
Specify for element that have href attr: the ones we want to hover
2023-08-17 09:26:10 +02:00
Jean-Baptiste Bellet
e7d36ed772
Let link have the cursor: pointer by default, and specify only for current
2023-08-17 09:26:10 +02:00
Jean-Baptiste Bellet
2405dfdaa3
Refine and adjust position of icon in button
2023-08-17 09:26:10 +02:00
Jean-Baptiste Bellet
b1ea77e611
Remove white background from dots
2023-08-17 09:06:26 +02:00
Jean-Baptiste Bellet
c252de87b6
Specify cursor in order to not be text
2023-08-17 09:06:26 +02:00
Jean-Baptiste Bellet
5fc4f7bdaf
Design hover (like current)
2023-08-17 09:06:26 +02:00
Jean-Baptiste Bellet
9d8325c0d9
font weight to be 600
2023-08-17 09:06:26 +02:00
Jean-Baptiste Bellet
d914644c35
change not selected font color to $near-black, also for arrows
2023-08-17 09:06:26 +02:00
Jean-Baptiste Bellet
06af58e923
increase distance between arrows and numbers to be 36px
2023-08-17 09:06:26 +02:00
Jean-Baptiste Bellet
6e29dd95ef
Increase distance between numbers to be 8px
2023-08-17 09:06:26 +02:00
Jean-Baptiste Bellet
a2da3c2f61
Better management of margin/gap between each button with flex display
2023-08-17 09:06:26 +02:00
Jean-Baptiste Bellet
9396e75806
Increase padding top and padding bottom
2023-08-17 09:06:26 +02:00
Jean-Baptiste Bellet
200550588a
Be as clause as possible from native <select />
...
Still need to wrap/ellipsis selected item...
2023-08-15 08:36:50 +02:00
Jean-Baptiste Bellet
6fe069608c
Re-adjust tom-select to match admin v3 style
2023-08-15 08:36:50 +02:00
Jean-Baptiste Bellet
3b68674896
Remove new_products_page and all associated controller/components/
...
new_products_page` is dead, long live `admin_style_v3` !
2023-08-10 10:02:45 +02:00
David Cook
293e135a45
Move variables to one variables file
...
Note that color-tbl-border is not needed in the new admin_v3 styles.
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
01a9095121
Move some variables to the palette
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
9207724779
Copy legacy variables
...
I'd like to go through and remove these, but it will have to happen another day.
2023-08-03 09:47:44 +10:00
Jean-Baptiste Bellet
352cf2ff71
Import typography.scss for admin_v3
...
And do not apply `a` style to `.button` element.
ie.
```
a:not(.button)
```
2023-07-25 14:29:00 +02:00
Jean-Baptiste Bellet
b42dfb574b
Delete already imported (and modified) file
2023-07-19 14:58:40 +02:00
Jean-Baptiste Bellet
010f19cb83
Create a medium height button, and adjust #sort row
2023-07-19 14:58:39 +02:00
Jean-Baptiste Bellet
5a8a187f54
Add clear search button and action
2023-07-19 14:58:39 +02:00
Jean-Baptiste Bellet
904c7bfacf
Buttons design
...
Remove already defined `$border-radius`
Defined `app/webpacker/css/admin/globals/variables.scss`
Adjust height
2023-07-19 14:58:39 +02:00
Jean-Baptiste Bellet
9d52f0b20a
Loading spinner should be above content (filters, sort, ...)
2023-07-19 14:58:39 +02:00
Jean-Baptiste Bellet
643897abb2
Add search functionnality
2023-07-19 14:58:39 +02:00
Jean-Baptiste Bellet
47f21cb59e
Add pagination with pagy
...
For `admin_style_v3` use `<` and `>` for next and previous link
instead of `next` and `previous` string
Extract a mixin for a default box-shadow
Maybe this needs to be redefined. Let's see how next things goes.
When a table is followed by a pagination, remove its margin-bottom + border
Finally, design the pagination component
Add sorting/pagination module, on top of table
We use `cablea_ready.replace`, so need to add `#products-content` id
Use a `pagy` partial with reflex action, instead of the legacy one
- revert the legacy one to its previous state
- in reflex, fetch product with page attribute, 1 by default
Move `pagy` into `admin/shared/v3/` to be reusable
+ use fontawesome icons for next and previous page
Remove useless line
2023-07-19 14:58:39 +02:00
Jean-Baptiste Bellet
69cff85577
Change color to EFF1F2
2023-07-19 14:58:39 +02:00
Jean-Baptiste Bellet
9b92c25879
Add a section for specific rules for both admin-menu and sub-menu
...
+ change height for border bottom on selected/hovered menu
2023-07-19 14:58:39 +02:00
Jean-Baptiste Bellet
9762819aa8
Use the right color
2023-07-19 14:58:39 +02:00
Jean-Baptiste Bellet
1f3d41972f
Add same padding than #admin-menu,#sub-menu li a in order to align
...
content (header, navigation, content) on both left and right
2023-07-19 14:58:39 +02:00
Jean-Baptiste Bellet
2892301336
Factorize menu and submenu into same definition
...
as they are the same, expect the font-size
2023-07-19 14:58:39 +02:00
Jean-Baptiste Bellet
24c045a09c
Reduce padding
2023-07-19 14:58:39 +02:00
Jean-Baptiste Bellet
a8088ae231
Create a pseudo element to add a line under the menu item
...
- Increase top menu underline height to 3px
- reduce underline width to same width of label
2023-07-19 14:58:39 +02:00
David Cook
f280881126
Style tables with relaxed and condensed rows
...
* attempt with shadows, but they are between every row: http://jsfiddle.net/d872e3nb/
* another attempt at applying styles to tbody groups http://jsfiddle.net/sb38cLdu/
2023-06-28 09:59:57 +10:00