Browse Source

Updates to new themed elements

pull/636/head
jlukic 10 years ago
parent
commit
8d7da990d5
5 changed files with 21 additions and 5 deletions
  1. 6
      server/documents/elements/divider.html.eco
  2. 8
      server/documents/elements/header.html.eco
  3. 3
      server/documents/elements/icon.html.eco
  4. 7
      server/documents/elements/input.html.eco
  5. 2
      server/partials/header.html.eco

6
server/documents/elements/divider.html.eco

@ -4,10 +4,14 @@ css : 'divider'
title : 'Divider'
description : 'A divider visually segments content into separate groups'
type : 'UI Element'
element : 'divider'
elementType : 'element'
themes : ['default']
---
<%- @partial('header') %>
<link rel="stylesheet/less" type="text/css" href="/build/less/elements/divider.less" />
<div class="main container">
<div class="peek">

8
server/documents/elements/header.html.eco

@ -4,16 +4,20 @@ css : 'header'
title : 'Header'
description : 'Headers provide a short summary of content'
type : 'UI Element'
element : 'header'
elementType : 'element'
themes : ['default', 'bookish']
---
<%- @partial('header') %>
<link rel="stylesheet/less" type="text/css" href="/build/less/elements/header.less" />
<div class="main container">
<div class="peek">
<div class="ui vertical pointing secondary menu">
<a class="active item">Types</a>
<a class="item">States</a>
<a class="item">States</a>
<a class="item">Variations</a>
</div>
</div>

3
server/documents/elements/icon.html.eco

@ -4,6 +4,9 @@ css : 'icon'
title : 'Icon'
description : 'An icon is a glyph used to represent another concept more simply'
type : 'UI Element'
element : 'icon'
elementType : 'element'
---
<%- @partial('header') %>

7
server/documents/elements/input.html.eco

@ -4,9 +4,14 @@ css : 'input'
title : 'Input'
description : 'Inputs allow a user to enter information'
type : 'UI Element'
element : 'input'
elementType : 'element'
themes : ['default']
---
<%- @partial('header') %>
<link rel="stylesheet/less" type="text/css" href="/build/less/elements/input.less" />
<div class="main container">
@ -114,7 +119,7 @@ type : 'UI Element'
<div class="ui icon button"><i class="search icon"></i></div>
</div>
</div>
<div class="example">
<h4 class="ui header">Transparent</h4>
<p>A transparent input has no background</p>

2
server/partials/header.html.eco

@ -33,11 +33,11 @@
<% end %>
</div>
</div>
<% end %>
<div class="ui primary button">
Download
<i class="download icon"></i>
</div>
<% end %>
</div>
<div class="advertisement">
<% unless 'development' in @getEnvironments(): %>

Loading…
Cancel
Save