Skip to content
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.

Commit

Permalink
Theme adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbarlow committed Apr 9, 2019
1 parent 133015f commit 209f07f
Show file tree
Hide file tree
Showing 47 changed files with 309 additions and 765 deletions.
Binary file modified .vs/U8StarterKit/v15/.suo
Binary file not shown.
26 changes: 19 additions & 7 deletions U8StarterKit.Front/dist/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -6981,6 +6981,17 @@ label.panel-block {
.hero-banner.has-background-light .icon, .hero-banner.has-background-white .icon {
color: #00d1b2; }

.hero-footer.has-background-info .block, .hero-footer.has-background-info .title, .hero-footer.has-background-info .subtitle, .hero-footer.has-background-info strong, .hero-footer.has-background-info p, .hero-footer.has-background-primary .block, .hero-footer.has-background-primary .title, .hero-footer.has-background-primary .subtitle, .hero-footer.has-background-primary strong, .hero-footer.has-background-primary p, .hero-footer.has-background-dark .block, .hero-footer.has-background-dark .title, .hero-footer.has-background-dark .subtitle, .hero-footer.has-background-dark strong, .hero-footer.has-background-dark p, .footer.has-background-info .block, .footer.has-background-info .title, .footer.has-background-info .subtitle, .footer.has-background-info strong, .footer.has-background-info p, .footer.has-background-primary .block, .footer.has-background-primary .title, .footer.has-background-primary .subtitle, .footer.has-background-primary strong, .footer.has-background-primary p, .footer.has-background-dark .block, .footer.has-background-dark .title, .footer.has-background-dark .subtitle, .footer.has-background-dark strong, .footer.has-background-dark p {
color: white; }

.hero-footer.has-background-info .button, .hero-footer.has-background-primary .button, .hero-footer.has-background-dark .button, .footer.has-background-info .button, .footer.has-background-primary .button, .footer.has-background-dark .button {
border-color: white;
color: white; }

.hero-footer.has-background-light .button, .hero-footer.has-background-white .button, .hero-footer.has-background-grey-lighter .button, .footer.has-background-light .button, .footer.has-background-white .button, .footer.has-background-grey-lighter .button {
border-color: #454547;
color: #454547; }

.subtitle {
color: #454547; }

Expand Down Expand Up @@ -7050,10 +7061,11 @@ label.panel-block {
overflow: hidden;
padding-top: 56.25%;
position: relative; }
.iframe-container .iframe-container iframe {
border: 0;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%; }

.iframe-container iframe {
border: 0;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%; }
28 changes: 23 additions & 5 deletions U8StarterKit.Front/src/scss/u8starterkit.scss
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,33 @@
}
}



// HERO FOOTER
.hero-footer, .footer {
&.has-background-info,
&.has-background-primary,
&.has-background-dark {
.block , .title, .subtitle, strong, p{
color: $white;
}
.button {
border-color: $white;
color: $white;
}
}
&.has-background-light,
&.has-background-white,
&.has-background-grey-lighter {
.button {
border-color: $dark;
color: $dark;
}
}
}

.subtitle {
color: $grey-darker;
}


// Section Background
.section {
&.has-background-info {
Expand Down Expand Up @@ -186,7 +205,7 @@
overflow: hidden;
padding-top: 56.25%;
position: relative;

}
.iframe-container iframe {
border: 0;
height: 100%;
Expand All @@ -195,4 +214,3 @@
top: 0;
width: 100%;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,26 @@

namespace U8StarterKit.Web.Models.Umbraco
{
/// <summary>Feature Element</summary>
[PublishedModel("featureElement")]
public partial class FeatureElement : PublishedElementModel
/// <summary>Banner Strip</summary>
[PublishedModel("bannerStripSection")]
public partial class BannerStripSection : PublishedElementModel, IColourSettingsComposition
{
// helpers
#pragma warning disable 0109 // new is redundant
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.0.4")]
public new const string ModelTypeAlias = "featureElement";
public new const string ModelTypeAlias = "bannerStripSection";
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.0.4")]
public new const PublishedItemType ModelItemType = PublishedItemType.Content;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.0.4")]
public new static PublishedContentType GetModelContentType()
=> PublishedModelUtility.GetModelContentType(ModelItemType, ModelTypeAlias);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.0.4")]
public static PublishedPropertyType GetModelPropertyType<TValue>(Expression<Func<FeatureElement, TValue>> selector)
public static PublishedPropertyType GetModelPropertyType<TValue>(Expression<Func<BannerStripSection, TValue>> selector)
=> PublishedModelUtility.GetModelPropertyType(GetModelContentType(), selector);
#pragma warning restore 0109

// ctor
public FeatureElement(IPublishedElement content)
public BannerStripSection(IPublishedElement content)
: base(content)
{ }

Expand All @@ -65,5 +65,12 @@ public FeatureElement(IPublishedElement content)
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.0.4")]
[ImplementPropertyType("title")]
public string Title => this.Value<string>("title");

///<summary>
/// Background Color
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.0.4")]
[ImplementPropertyType("backgroundColor")]
public global::Umbraco.Core.PropertyEditors.ValueConverters.ColorPickerValueConverter.PickedColor BackgroundColor => ColourSettingsComposition.GetBackgroundColor(this);
}
}
2 changes: 1 addition & 1 deletion U8StarterKit.Web/Models/Umbraco/Builder.generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
//------------------------------------------------------------------------------

// Umbraco ModelsBuilder
// 2019-04-09T13:31:49Z
// 2019-04-09T16:33:49Z
16 changes: 1 addition & 15 deletions U8StarterKit.Web/Models/Umbraco/Home.generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace U8StarterKit.Web.Models.Umbraco
{
/// <summary>Home</summary>
[PublishedModel("home")]
public partial class Home : PublishedContentModel, IContentSection, IFooterSection, ISidebarSection
public partial class Home : PublishedContentModel, IContentSection, IFooterSection
{
// helpers
#pragma warning disable 0109 // new is redundant
Expand Down Expand Up @@ -86,19 +86,5 @@ public Home(IPublishedContent content)
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.0.4")]
[ImplementPropertyType("nestedFooter")]
public IEnumerable<IPublishedElement> NestedFooter => FooterSection.GetNestedFooter(this);

///<summary>
/// hideSidebar: Sidebar hidden, content is full width.
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.0.4")]
[ImplementPropertyType("hideSidebar")]
public bool HideSidebar => SidebarSection.GetHideSidebar(this);

///<summary>
/// Sidebar Nested Content
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.0.4")]
[ImplementPropertyType("nestedSideBar")]
public IEnumerable<IPublishedElement> NestedSideBar => SidebarSection.GetNestedSideBar(this);
}
}
27 changes: 3 additions & 24 deletions U8StarterKit.Web/Models/Umbraco/SidebarSection.generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,9 @@

namespace U8StarterKit.Web.Models.Umbraco
{
// Mixin Content Type with alias "sidebarSection"
/// <summary>Sidebar Section</summary>
public partial interface ISidebarSection : IPublishedContent
{
/// <summary>hideSidebar</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.0.4")]
bool HideSidebar { get; }

/// <summary>Sidebar Nested Content</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.0.4")]
IEnumerable<IPublishedElement> NestedSideBar { get; }
}

/// <summary>Sidebar Section</summary>
[PublishedModel("sidebarSection")]
public partial class SidebarSection : PublishedContentModel, ISidebarSection
public partial class SidebarSection : PublishedContentModel
{
// helpers
#pragma warning disable 0109 // new is redundant
Expand Down Expand Up @@ -63,21 +50,13 @@ public SidebarSection(IPublishedContent content)
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.0.4")]
[ImplementPropertyType("hideSidebar")]
public bool HideSidebar => GetHideSidebar(this);

/// <summary>Static getter for hideSidebar</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.0.4")]
public static bool GetHideSidebar(ISidebarSection that) => that.Value<bool>("hideSidebar");
public bool HideSidebar => this.Value<bool>("hideSidebar");

///<summary>
/// Sidebar Nested Content
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.0.4")]
[ImplementPropertyType("nestedSideBar")]
public IEnumerable<IPublishedElement> NestedSideBar => GetNestedSideBar(this);

/// <summary>Static getter for Sidebar Nested Content</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.0.4")]
public static IEnumerable<IPublishedElement> GetNestedSideBar(ISidebarSection that) => that.Value<IEnumerable<IPublishedElement>>("nestedSideBar");
public IEnumerable<IPublishedElement> NestedSideBar => this.Value<IEnumerable<IPublishedElement>>("nestedSideBar");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,26 @@

namespace U8StarterKit.Web.Models.Umbraco
{
/// <summary>Single Line Element</summary>
[PublishedModel("singleLineElement")]
public partial class SingleLineElement : PublishedElementModel
/// <summary>Single Line</summary>
[PublishedModel("singleLineSection")]
public partial class SingleLineSection : PublishedElementModel, IColourSettingsComposition
{
// helpers
#pragma warning disable 0109 // new is redundant
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.0.4")]
public new const string ModelTypeAlias = "singleLineElement";
public new const string ModelTypeAlias = "singleLineSection";
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.0.4")]
public new const PublishedItemType ModelItemType = PublishedItemType.Content;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.0.4")]
public new static PublishedContentType GetModelContentType()
=> PublishedModelUtility.GetModelContentType(ModelItemType, ModelTypeAlias);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.0.4")]
public static PublishedPropertyType GetModelPropertyType<TValue>(Expression<Func<SingleLineElement, TValue>> selector)
public static PublishedPropertyType GetModelPropertyType<TValue>(Expression<Func<SingleLineSection, TValue>> selector)
=> PublishedModelUtility.GetModelPropertyType(GetModelContentType(), selector);
#pragma warning restore 0109

// ctor
public SingleLineElement(IPublishedElement content)
public SingleLineSection(IPublishedElement content)
: base(content)
{ }

Expand All @@ -51,5 +51,12 @@ public SingleLineElement(IPublishedElement content)
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.0.4")]
[ImplementPropertyType("text")]
public IHtmlString Text => this.Value<IHtmlString>("text");

///<summary>
/// Background Color
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.0.4")]
[ImplementPropertyType("backgroundColor")]
public global::Umbraco.Core.PropertyEditors.ValueConverters.ColorPickerValueConverter.PickedColor BackgroundColor => ColourSettingsComposition.GetBackgroundColor(this);
}
}
17 changes: 8 additions & 9 deletions U8StarterKit.Web/U8StarterKit.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,9 @@
<Compile Include="Models\Umbraco\BannerSection.generated.cs">
<DependentUpon>Builder.cs</DependentUpon>
</Compile>
<Compile Include="Models\Umbraco\BannerStripSection.generated.cs">
<DependentUpon>Builder.cs</DependentUpon>
</Compile>
<Compile Include="Models\Umbraco\Blog.generated.cs">
<DependentUpon>Builder.cs</DependentUpon>
</Compile>
Expand All @@ -551,9 +554,9 @@
<LastGenOutput>Builder.generated.cs</LastGenOutput>
</Compile>
<Compile Include="Models\Umbraco\Builder.generated.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Builder.cs</DependentUpon>
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
</Compile>
<Compile Include="Models\Umbraco\CallToActionSection.generated.cs">
<DependentUpon>Builder.cs</DependentUpon>
Expand All @@ -579,9 +582,6 @@
<Compile Include="Models\Umbraco\ContentSection.generated.cs">
<DependentUpon>Builder.cs</DependentUpon>
</Compile>
<Compile Include="Models\Umbraco\FeatureElement.generated.cs">
<DependentUpon>Builder.cs</DependentUpon>
</Compile>
<Compile Include="Models\Umbraco\File.generated.cs">
<DependentUpon>Builder.cs</DependentUpon>
</Compile>
Expand Down Expand Up @@ -648,7 +648,7 @@
<Compile Include="Models\Umbraco\SignUpFormSection.generated.cs">
<DependentUpon>Builder.cs</DependentUpon>
</Compile>
<Compile Include="Models\Umbraco\SingleLineElement.generated.cs">
<Compile Include="Models\Umbraco\SingleLineSection.generated.cs">
<DependentUpon>Builder.cs</DependentUpon>
</Compile>
<Compile Include="Models\Umbraco\TitleComponent.generated.cs">
Expand Down Expand Up @@ -700,16 +700,15 @@
<Content Include="Views\Partials\HomeHero.cshtml" />
<Content Include="Views\Partials\Grid\Bulma-Fluid-Home.cshtml" />
<Content Include="Views\Partials\NavSection.cshtml" />
<Content Include="Views\Partials\Footer.cshtml" />
<Content Include="Views\Partials\Renderers\RenderElements.cshtml" />
<Content Include="Views\Partials\Nested\Section\BannerSection.cshtml" />
<Content Include="Views\Partials\Blogs.cshtml" />
<Content Include="Views\Partials\Nested\Section\SignUpFormSection.cshtml" />
<Content Include="Views\Partials\Elements\PanelElement.cshtml" />
<Content Include="Views\Partials\Nested\Section\ProductListSection.cshtml" />
<Content Include="Views\Partials\Nested\Item\BlogItem.cshtml" />
<Content Include="Views\Partials\Elements\FeatureElement.cshtml" />
<Content Include="Views\Partials\Elements\SingleLineElement.cshtml" />
<Content Include="Views\Partials\Nested\Section\BannerStripSection.cshtml" />
<Content Include="Views\Partials\Nested\Section\SingleLineSection.cshtml" />
<Content Include="Views\Partials\Nested\Item\ProductItem.cshtml" />
<Content Include="Views\Partials\Nested\Section\PeopleListSection.cshtml" />
<Content Include="Views\Partials\Renderers\RenderSections.cshtml" />
Expand Down
4 changes: 2 additions & 2 deletions U8StarterKit.Web/Views/Blog.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
ItemsToShow = 4
};
}
@Html.Partial("~/Views/Partials/SectionHeader.cshtml", new U8StarterKit.Web.Models.Umbraco.HeaderSection(Model))
<section class="section has-spacing section-gray">
@Html.Partial("~/Views/Partials/SectionHeader.cshtml", new HeaderSection(Model))
<section class="section">
<div class="container">
@Html.Partial("~/Views/Partials/Blogs.cshtml", blog)
</div>
Expand Down
22 changes: 0 additions & 22 deletions U8StarterKit.Web/Views/MacroPartials/FeaturedProducts.cshtml

This file was deleted.

Loading

0 comments on commit 209f07f

Please sign in to comment.