-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from Lombiq/issue/SNOW-10
SNOW-10: "Layers and Zones" recipe and SCSS mixin improvement.
- Loading branch information
Showing
6 changed files
with
121 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
{ | ||
"name": "Lombiq.BaseTheme.LayersAndZones", | ||
"displayName": "Lombiq Orchard Core Base Theme - Layers and Zones", | ||
"description": "Adds the zones rendered by the base theme to the Layers feature's Widgets menu. Also adds common layers.", | ||
"author": "Lombiq Technologies", | ||
"website": "https://github.com/Lombiq/Orchard-Base-Theme", | ||
"version": "1.0", | ||
"categories": [ "settings", "layers", "zones" ], | ||
"tags": [], | ||
|
||
"steps": [ | ||
{ | ||
"name": "Layers", | ||
"Layers": [ | ||
{ | ||
"Name": "Anonymous", | ||
"Rule": null, | ||
"Description": "The widgets in this layer are displayed for anonymous users.", | ||
"LayerRule": { | ||
"Conditions": [ | ||
{ | ||
"$type": "OrchardCore.Rules.Models.IsAnonymousCondition, OrchardCore.Rules", | ||
"Name": "IsAnonymousCondition", | ||
"ConditionId": "4bnbwg5g0t90qs2t2ktnaenkmh" | ||
} | ||
], | ||
"Name": null, | ||
"ConditionId": "483njpvbtakje0ht041trsgmwm" | ||
} | ||
}, | ||
{ | ||
"Name": "Authenticated", | ||
"Rule": null, | ||
"Description": "The widgets in this layer are displayed for authenticated users.", | ||
"LayerRule": { | ||
"Conditions": [ | ||
{ | ||
"$type": "OrchardCore.Rules.Models.IsAuthenticatedCondition, OrchardCore.Rules", | ||
"Name": "IsAuthenticatedCondition", | ||
"ConditionId": "4ca3yeypsr57hxsq4swj4xj95e" | ||
} | ||
], | ||
"Name": null, | ||
"ConditionId": "4ec27g5as3fp61861vaw8t5kmq" | ||
} | ||
}, | ||
{ | ||
"Name": "Always", | ||
"Rule": null, | ||
"Description": "The widgets in this layer are displayed on any page of this site.", | ||
"LayerRule": { | ||
"Conditions": [ | ||
{ | ||
"$type": "OrchardCore.Rules.Models.BooleanCondition, OrchardCore.Rules", | ||
"Value": true, | ||
"Name": "BooleanCondition", | ||
"ConditionId": "4w4vmrmz9mf0hv3a7v9qpm72xg" | ||
} | ||
], | ||
"Name": null, | ||
"ConditionId": "4jrrhmb4a1pmv4whx5rvyh14na" | ||
} | ||
}, | ||
{ | ||
"Name": "Homepage", | ||
"Rule": null, | ||
"Description": "The widgets in this layer are only displayed on the homepage.", | ||
"LayerRule": { | ||
"Conditions": [ | ||
{ | ||
"$type": "OrchardCore.Rules.Models.HomepageCondition, OrchardCore.Rules", | ||
"Value": true, | ||
"Name": "HomepageCondition", | ||
"ConditionId": "4fs2pce845jm867cvzf0cpw856" | ||
} | ||
], | ||
"Name": null, | ||
"ConditionId": "4rdf2ykd6qx8s3ey03gg8hmv4h" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Settings", | ||
"LayerSettings": { | ||
"Zones": [ | ||
"Header", | ||
"Navigation", | ||
"BeforeMain", | ||
"Featured", | ||
"AsideFirst", | ||
"Messages", | ||
"BeforeContent", | ||
"Content", | ||
"AfterContent", | ||
"AsideSecond", | ||
"AfterMain", | ||
"Footer" | ||
] | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters