A Pen by Daniel Koch on CodePen.
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
{namespace flux=FluidTYPO3\Flux\ViewHelpers} | |
{namespace v=FluidTYPO3\Vhs\ViewHelpers} | |
<f:layout name="Content" /> | |
<f:section name="Configuration"> | |
<f:if condition="{columns} < 1"> | |
<v:variable.set name="columns" value="1"></v:variable.set> | |
</f:if> |
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
{namespace fed=Tx_Fed_ViewHelpers} | |
{namespace flux=Tx_Flux_ViewHelpers} | |
{namespace v=Tx_Vhs_ViewHelpers} | |
<f:layout name="FCE" /> | |
<f:section name="Configuration"> | |
<f:if condition="{columns} < 1"> | |
<fed:data.var name="columns" type="integer">1</fed:data.var> | |
</f:if> |
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
<f:section name="Main"> | |
<f:for each="{content}" as="itemSectionObject" key="key" iteration="iteration"> | |
<v:variable.set name="?" /> | |
<v:variable.set name="?" /> | |
<fed:data.var name="objectType" value="{fed:data.func(func: 'key', arguments: {0: itemSectionObject})}" /> | |
<fed:data.var name="object" value="{fed:data.func(func: 'array_pop', arguments: {0: itemSectionObject})}" /> | |
<v:switch value="{objectType}"> | |
<v:case case="content1" break="TRUE"> |
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
<!DOCTYPE html><head> | |
<title>Untitled</title> | |
</head> | |
<body> | |
<p>Content</p> | |
</body> | |
</html> |
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
/** | |
* css gradient for triangle shaped arrow (SO) | |
* http://stackoverflow.com/questions/12431596/css-gradient-for-triangle-shaped-arrow | |
*/ | |
.rectangle { | |
float: left; | |
position: relative; | |
height: 80px; | |
width: 240px; | |
border: solid 1px #ccc; |
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
function() {}; |