David Cook
968a224da6
Move vertical ellipsis menu to a ViewComponent
...
Javascript hasn't been moved in, as we don't seem to be set up for that yet.
We could make it smarter, and pass in an array of parameters to build the links (as in _order_links.html.haml). But why make it complicated if we don't need to?
2023-11-24 16:23:18 +11:00
David Cook
2bd2bea7b7
Remove need for class
...
Generally, I would say that style rules should have a BEM-style class name, but in this case it's terribly convenient to support a tags directly.
2023-11-24 16:14:28 +11:00
David Cook
f9fc1657a8
Grey out disabled button
...
It looks like the disabled-bg colour was being used for pagination, but I can't see where. This way we should be able to apply the styles more consistently in the future.
2023-11-03 17:28:20 +11:00
Jean-Baptiste Bellet
c76bc07f7f
Creates a vertical-ellipsis-menu component
2023-09-19 15:32:50 +02:00
Jean-Baptiste Bellet
02bbd9a9ba
Adjust colors and height for sidebar-item component
2023-09-15 11:05:59 +02:00
Jean-Baptiste Bellet
657f4d95d7
move sidebar-item into admin v3 context
2023-09-15 11:02:45 +02:00
Jean-Baptiste Bellet
fe81900639
Update select2.scss
2023-09-15 10:47:44 +02:00
Jean-Baptiste Bellet
ae04063643
Create and adjust big button
2023-09-15 10:47:44 +02:00
Jean-Baptiste Bellet
62465b9bbc
Move components/actions into admin_v3 context
2023-09-15 10:47:44 +02:00
Jean-Baptiste Bellet
8ae68b15a0
Adjust select2 multiple choices colors
2023-09-15 10:47:44 +02: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
371e064f82
Adjust padding left right size for text-angular component in v3 context
2023-09-15 10:47:44 +02:00
Jean-Baptiste Bellet
6a771ad09c
Move text-angular component rules to admin_style_v3 context
2023-09-15 10:47:44 +02:00
Jean-Baptiste Bellet
351fe1b430
Date / date range (flatpickr) colors customization
2023-09-15 10:47:44 +02:00
Jean-Baptiste Bellet
4b3688f878
Move date picker into admin_v3 context
2023-09-15 10:47:43 +02:00
Jean-Baptiste Bellet
2fd5390374
Design background color of dropdown component
2023-09-15 10:47:43 +02:00
Jean-Baptiste Bellet
3cfd4cdc9b
No need to have light in v3
2023-09-15 10:47:43 +02:00
Jean-Baptiste Bellet
0d410d27ae
No more green but $red (which is almost orange btw) for navigation
2023-09-15 10:47:43 +02:00
Jean-Baptiste Bellet
e434f7112a
Add sidebar to admin_v3 context
2023-09-15 10:47:43 +02:00
Jean-Baptiste Bellet
8b0fc875da
Use the same arrow
2023-09-15 10:47:43 +02:00
Jean-Baptiste Bellet
b355d8beb3
Change colors for dropdown components
...
It's a bit annoying: we do have several "selector" components.
- built-in select
- dropdown directive
- select2 component
- tom-select component
Each has its own design, and having common design a loooong time job ;)
2023-09-15 10:47:43 +02:00
Jean-Baptiste Bellet
db4d6c8010
Don't need to change background color hovering
2023-09-15 10:47:43 +02:00
Jean-Baptiste Bellet
b0e6062bec
Create a arrowDown mixin in order to display arrow for select compoentns
2023-09-15 10:47:43 +02:00
Jean-Baptiste Bellet
aacdeac1e5
Move dropdown into admin_v3 context
2023-09-15 10:47:43 +02:00
Jean-Baptiste Bellet
99d0b3f092
Prefer to use color-btn-hover-bg var instead of color-10
...
The variable name is easier to understand.
2023-09-15 10:47:43 +02:00
Jean-Baptiste Bellet
6ee48a04fc
Remove file admin/plugins/select2 for adminV3 and copy content into
...
already used file: `components/select2`
2023-09-15 10:47:43 +02:00
Jean-Baptiste Bellet
5df211137e
Tweak stimulus pagination (used on orders) to be up to date
2023-09-15 10:47:43 +02:00
Jean-Baptiste Bellet
98f9303c99
Tweak colors, size, ... for select2 to looks like tom-select
...
One day, we'll remplace select2 by tom-select
2023-09-15 10:47:43 +02:00
Jean-Baptiste Bellet
3a67f5c9d7
Integrate select2 to admin_v3
2023-09-15 10:47:43 +02: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
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
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