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
// ---- | |
// libsass (v3.1.0) | |
// ---- | |
$ends: 4, 6, 8, 12; | |
$gutterSize: 2%; | |
@each $end in $ends { | |
@for $i from 1 through $end { | |
$single--column: (100 - (($end - 1)*$gutterSize )) / $end; | |
.col-#{$i}-#{$end} { |
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
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage | |
@using Archetype.Models; | |
@using Archetype.Extensions; | |
@{ | |
Layout = null; | |
} | |
//use case #1 - Covers a single Archetype | |
@foreach (var fieldset in Model.Content.GetPropertyValue<ArchetypeModel>("a1")) | |
{ |
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
/* Mobile / General Styles | |
--- | |
Code up general styles and mobile styles, use media queries to adapt to larger displays. | |
Things for this section: Reset, Typography, Baseline grid, etc. Convenience methods for image-replacement, hiding, clearing etc. | |
*/ | |
/* Desktop and iPad/Tablet specific styles. */ |
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
@inherits PartialViewMacroPage | |
@using Umbraco.Cms.Web | |
@using Umbraco.Cms.Web.Macros | |
@using Umbraco.Framework | |
@{ | |
//Output an image from the media picker | |
//Property alias of mediaPicker |
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
Given this XML: | |
<NewsItem id="1140" parentID="1139" level="3" writerID="0" creatorID="0" nodeType="1137" template="1138" sortOrder="1" createDate="2011-08-10T13:46:53" updateDate="2011-08-25T16:51:18" nodeName="Test newsitem" urlName="test-newsitem" writerName="admin" creatorName="admin" path="-1,1051,1139,1140" isDoc=""> | |
<categories><![CDATA[allergy]]></categories> | |
<introText><![CDATA[Minime vero, inquit ille, consentit. Quod si ita se habeat, non possit beatam praestare vitam sapientia.]]></introText> | |
<bodyText><![CDATA[ | |
<p>Ipsum.</p> | |
]]></bodyText> | |
<imageUpload>/media/2209/tulips.jpg</imageUpload> | |
<imageCrop> |