Permalink
Browse files

Mosaic: long titles

  • Loading branch information...
1 parent 50cf170 commit 57f82324b838eddfe41f8798a5610794b21e76f0 @conchan conchan committed Apr 13, 2012
Showing with 15 additions and 8 deletions.
  1. +10 −8 app/View/Entries/view.ctp
  2. +2 −0 app/webroot/css/styles-content.css
  3. +3 −0 app/webroot/css/styles-content.scss
View
@@ -20,14 +20,16 @@ function limit_words($str, $word_limit) {
<!-- start of page content -->
<section class="entryMast">
<h1 class="entryTitle <?php echo $entry['Category']['category'];?>"><?php echo $entry['Entry']['name']; ?></h1>
- <ul class="catBar">
- <li class="category project"><a href="#" data-filter=".project">Projects</a></li>
- <li class="category person"><a href="#" data-filter=".person">People</a></li>
- <li class="category organization"><a href="#" data-filter=".organization">Organizations</a></li>
- <li class="category event"><a href="#" data-filter=".event">Events</a></li>
- <li class="editEntry"><a href="/entries/edit/<?php echo $entry['Entry']['slug']; ?>">Edit Entry</a></li>
- <div class="cf"></div>
- </ul>
+ <div class="catBarContainer">
+ <ul class="catBar">
+ <li class="category project"><a href="#" data-filter=".project">Projects</a></li>
+ <li class="category person"><a href="#" data-filter=".person">People</a></li>
+ <li class="category organization"><a href="#" data-filter=".organization">Organizations</a></li>
+ <li class="category event"><a href="#" data-filter=".event">Events</a></li>
+ <li class="editEntry"><a href="/entries/edit/<?php echo $entry['Entry']['slug']; ?>">Edit Entry</a></li>
+ <div class="cf"></div>
+ </ul>
+ </div>
</section>
<section class="tagLists">
<div class='' style='display:none;'>
@@ -69,6 +69,8 @@
padding: 0; }
.entryMast .entryTitle {
cursor: pointer; }
+ .entryMast .catBarContainer {
+ background: black; }
ul.catBar {
background-color: #0f0f0f;
@@ -18,6 +18,9 @@
.entryTitle {
cursor: pointer;
}
+ .catBarContainer {
+ background:black;
+ }
}

0 comments on commit 57f8232

Please sign in to comment.