Browse Source

Add missing override for card

pull/993/head
jlukic 11 years ago
parent
commit
f84e97d5e6
2 changed files with 25 additions and 13 deletions
  1. 4
      build/less/themes/packages/basic/views/card.overrides
  2. 34
      server/documents/views/card.html.eco

4
build/less/themes/packages/basic/views/card.overrides

@ -0,0 +1,4 @@
/*******************************
Overrides
*******************************/

34
server/documents/views/card.html.eco

@ -299,33 +299,41 @@ themes : ['Default', 'Basic']
<h4 class="ui header">Stackable</h4> <h4 class="ui header">Stackable</h4>
<div class="ui ignored info message">Resize your browser to a smaller size to see the cards stack after reaching mobile breakpoints</div> <div class="ui ignored info message">Resize your browser to a smaller size to see the cards stack after reaching mobile breakpoints</div>
<p>An item view can have its cards take the full width when below a browser resolution threshold to allow for content to display properly at small sizes</p> <p>An item view can have its cards take the full width when below a browser resolution threshold to allow for content to display properly at small sizes</p>
<div class="ui stackable cards">
<div class="ui four stackable cards">
<div class="card"> <div class="card">
<div class="image"> <div class="image">
<img src="/images/demo/highres5.jpg">
<a class="like ui corner label">
<i class="like icon"></i>
</a>
<img src="/images/demo/highres4.jpg">
</div> </div>
<div class="content"> <div class="content">
<div class="header">Cute Dog</div> <div class="header">Cute Dog</div>
<div class="description">This dog has some things going for it. Its pretty cute and looks like it'd be fun to cuddle up with.</div> <div class="description">This dog has some things going for it. Its pretty cute and looks like it'd be fun to cuddle up with.</div>
<div class="extra content">
11 Votes
</div>
</div> </div>
</div> </div>
<div class="card"> <div class="card">
<div class="image"> <div class="image">
<img src="/images/demo/highres6.jpg">
<img src="/images/demo/highres5.jpg">
</div> </div>
<div class="content"> <div class="content">
<div class="header">Faithful Dog</div> <div class="header">Faithful Dog</div>
<div class="meta">5 days ago</div>
<div class="description">Sometimes its more important to have a dog you know you can trust. But not every dog is trustworthy, you can tell by looking at its smile.</div> <div class="description">Sometimes its more important to have a dog you know you can trust. But not every dog is trustworthy, you can tell by looking at its smile.</div>
<div class="extra content">
11 Votes
</div>
</div>
</div>
<div class="card">
<div class="image">
<img src="/images/demo/highres3.jpg">
</div>
<div class="content">
<div class="header">Silly Dog</div>
<div class="description">Silly dogs can be quite fun to have as companions. You never know what kind of ridiculous thing they will do.</div>
</div>
</div>
<div class="card">
<div class="image">
<img src="/images/demo/highres2.jpg">
</div>
<div class="content">
<div class="header">Happy Dog</div>
<div class="description">Happy dogs are pretty interesting if you are an unhappy person.</div>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save