Simulate active page button style
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 8,
|
"bottomRow": 8,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "{{appsmith.theme.colors.backgroundColor}}",
|
"buttonColor": "{{appsmith.page.name === 'Sales - Capacity Planning' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [
|
||||||
|
|||||||
@@ -3,10 +3,14 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 12,
|
"bottomRow": 12,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "#ffffff",
|
"buttonColor": "{{appsmith.page.name === 'Sales - Units Shipped' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [],
|
"dynamicBindingPathList": [
|
||||||
|
{
|
||||||
|
"key": "buttonColor"
|
||||||
|
}
|
||||||
|
],
|
||||||
"dynamicTriggerPathList": [
|
"dynamicTriggerPathList": [
|
||||||
{
|
{
|
||||||
"key": "onClick"
|
"key": "onClick"
|
||||||
|
|||||||
@@ -3,10 +3,14 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 16,
|
"bottomRow": 16,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "#ffffff",
|
"buttonColor": "{{appsmith.page.name === 'Sales - Units Ordered' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [],
|
"dynamicBindingPathList": [
|
||||||
|
{
|
||||||
|
"key": "buttonColor"
|
||||||
|
}
|
||||||
|
],
|
||||||
"dynamicTriggerPathList": [
|
"dynamicTriggerPathList": [
|
||||||
{
|
{
|
||||||
"key": "onClick"
|
"key": "onClick"
|
||||||
|
|||||||
@@ -3,10 +3,14 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 8,
|
"bottomRow": 8,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "#ffffff",
|
"buttonColor": "{{appsmith.page.name === 'Sales - Capacity Planning' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}",
|
||||||
"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.backgroundColor}}",
|
"buttonColor": "{{appsmith.page.name === 'Sales - Units Shipped' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 16,
|
"bottomRow": 16,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "{{appsmith.theme.colors.backgroundColor}}",
|
"buttonColor": "{{appsmith.page.name === 'Sales - Units Ordered' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [
|
||||||
|
|||||||
@@ -3,10 +3,14 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 8,
|
"bottomRow": 8,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "#ffffff",
|
"buttonColor": "{{appsmith.page.name === 'Sales - Capacity Planning' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}",
|
||||||
"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.backgroundColor}}",
|
"buttonColor": "{{appsmith.page.name === 'Sales - Units Shipped' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"borderRadius": "0.375rem",
|
"borderRadius": "0.375rem",
|
||||||
"bottomRow": 16,
|
"bottomRow": 16,
|
||||||
"boxShadow": "none",
|
"boxShadow": "none",
|
||||||
"buttonColor": "{{appsmith.theme.colors.backgroundColor}}",
|
"buttonColor": "{{appsmith.page.name === 'Sales - Units Ordered' ? appsmith.theme.colors.primaryColor : appsmith.theme.colors.backgroundColor}}",
|
||||||
"buttonVariant": "PRIMARY",
|
"buttonVariant": "PRIMARY",
|
||||||
"disabledWhenInvalid": false,
|
"disabledWhenInvalid": false,
|
||||||
"dynamicBindingPathList": [
|
"dynamicBindingPathList": [
|
||||||
|
|||||||
Reference in New Issue
Block a user