Simulate active page button style
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# Navigation updates
|
# Navigation updates
|
||||||
|
|
||||||
- Added the **Units Ordered** nav button beneath **Units Shipped** on every Sales canvas so the new sales dashboard route is reachable from Capacity Planning, Units Ordered, and Units Shipped.
|
- Added the **Units Ordered** nav button beneath **Units Shipped** on every Sales canvas so the new sales dashboard route is reachable from Capacity Planning, Units Ordered, and Units Shipped.
|
||||||
- Each page now hardcodes the appropriate nav button to `appsmith.theme.colors.primaryColor` and keeps the others at `appsmith.theme.colors.backgroundColor`, guaranteeing only the current canvas renders with the darker highlight without referencing `appsmith.page`.
|
- Each page now hardcodes the highlighted button to `appsmith.theme.colors.backgroundColor` (what used to be the default background) and keeps the inactive buttons at `#ffffff`, so the active canvas still renders distinctly without referencing `appsmith.page`.
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 8,
|
"bottomRow": 8,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
|
"buttonColor": "{{appsmith.theme.colors.backgroundColor}}",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [
|
||||||
|
|||||||
@@ -3,14 +3,10 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 12,
|
"bottomRow": 12,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "{{appsmith.theme.colors.backgroundColor}}",
|
"buttonColor": "#ffffff",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [],
|
||||||
{
|
|
||||||
"key": "buttonColor"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"dynamicTriggerPathList": [
|
"dynamicTriggerPathList": [
|
||||||
{
|
{
|
||||||
"key": "onClick"
|
"key": "onClick"
|
||||||
|
|||||||
@@ -3,14 +3,10 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 16,
|
"bottomRow": 16,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "{{appsmith.theme.colors.backgroundColor}}",
|
"buttonColor": "#ffffff",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [],
|
||||||
{
|
|
||||||
"key": "buttonColor"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"dynamicTriggerPathList": [
|
"dynamicTriggerPathList": [
|
||||||
{
|
{
|
||||||
"key": "onClick"
|
"key": "onClick"
|
||||||
|
|||||||
@@ -3,14 +3,10 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 8,
|
"bottomRow": 8,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "{{appsmith.theme.colors.backgroundColor}}",
|
"buttonColor": "#ffffff",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [],
|
||||||
{
|
|
||||||
"key": "buttonColor"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"dynamicTriggerPathList": [
|
"dynamicTriggerPathList": [
|
||||||
{
|
{
|
||||||
"key": "onClick"
|
"key": "onClick"
|
||||||
|
|||||||
@@ -3,14 +3,10 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 12,
|
"bottomRow": 12,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "{{appsmith.theme.colors.backgroundColor}}",
|
"buttonColor": "#ffffff",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [],
|
||||||
{
|
|
||||||
"key": "buttonColor"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"dynamicTriggerPathList": [
|
"dynamicTriggerPathList": [
|
||||||
{
|
{
|
||||||
"key": "onClick"
|
"key": "onClick"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 16,
|
"bottomRow": 16,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
|
"buttonColor": "{{appsmith.theme.colors.backgroundColor}}",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [
|
||||||
|
|||||||
@@ -3,14 +3,10 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 8,
|
"bottomRow": 8,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "{{appsmith.theme.colors.backgroundColor}}",
|
"buttonColor": "#ffffff",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [],
|
||||||
{
|
|
||||||
"key": "buttonColor"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"dynamicTriggerPathList": [
|
"dynamicTriggerPathList": [
|
||||||
{
|
{
|
||||||
"key": "onClick"
|
"key": "onClick"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 12,
|
"bottomRow": 12,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
|
"buttonColor": "{{appsmith.theme.colors.backgroundColor}}",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [
|
||||||
|
|||||||
@@ -3,14 +3,10 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 16,
|
"bottomRow": 16,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "{{appsmith.theme.colors.backgroundColor}}",
|
"buttonColor": "#ffffff",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [],
|
||||||
{
|
|
||||||
"key": "buttonColor"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"dynamicTriggerPathList": [
|
"dynamicTriggerPathList": [
|
||||||
{
|
{
|
||||||
"key": "onClick"
|
"key": "onClick"
|
||||||
|
|||||||
Reference in New Issue
Block a user