PluginProbe
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO / 1.4.22
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO v1.4.22
1.4.22 1.4.21 1.4.20 1.4.19 1.4.18 1.4.17 1.4.16 1.4.15 1.4.14 1.4.13 1.4.12 1.4.11 1.4.10 1.4.9 1.4.8 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4.0 1.3.54 1.3.53 All 185 releases
disco / backend / views / components / Analytics / components / layout / date-range / picker-classes.js

picker-classes.js in Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO 1.4.22, at backend/views/components/Analytics/components/layout/date-range/picker-classes.js

33 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 const PICKER_CLASSES = {
2 root: 'disco:p-0',
3 months: 'disco:flex disco:flex-col',
4 month: 'disco:flex disco:flex-col disco:gap-1',
5 month_caption:
6 'disco:relative disco:flex disco:h-7 disco:items-center disco:justify-center',
7 caption_label:
8 'disco:text-[11px] disco:font-semibold disco:text-[rgba(74,74,74,0.85)] disco:select-none',
9 nav: 'disco:absolute disco:inset-x-0 disco:top-0 disco:flex disco:items-center disco:justify-between',
10 button_previous:
11 'disco:flex disco:h-8 disco:w-8 disco:items-center disco:justify-center disco:rounded disco:text-[rgba(74,74,74,0.4)] disco:transition-colors disco:hover:text-[rgba(74,74,74,0.8)] disco:disabled:opacity-30 disco:z-10',
12 button_next:
13 'disco:flex disco:h-8 disco:w-8 disco:items-center disco:justify-center disco:rounded disco:text-[rgba(74,74,74,0.4)] disco:transition-colors disco:hover:text-[rgba(74,74,74,0.8)] disco:disabled:opacity-30 disco:z-10',
14 weekdays: 'disco:flex',
15 // explicit w/h so table columns don't auto-size wider than CELL
16 weekday:
17 'disco:flex disco:h-[26px] disco:w-[26px] disco:items-center disco:justify-center disco:select-none disco:text-[9px] disco:font-medium disco:text-[rgba(74,74,74,0.4)]',
18 weeks: 'disco:flex disco:flex-col',
19 week: 'disco:flex',
20 // td — explicit size keeps table columns at exactly CELL px
21 day: 'disco:flex disco:h-[26px] disco:w-[26px] disco:items-center disco:justify-center disco:p-0',
22 range_start: 'disco:rounded-l-full disco:bg-[rgba(8,200,137,0.12)]',
23 range_end: 'disco:rounded-r-full disco:bg-[rgba(8,200,137,0.12)]',
24 range_middle: 'disco:rounded-none disco:bg-[rgba(8,200,137,0.12)]',
25 today: '',
26 outside: '',
27 disabled: 'disco:opacity-30 disco:pointer-events-none',
28 hidden: 'disco:invisible',
29 selected: '',
30 };
31
32 export default PICKER_CLASSES;
33