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

Commit

Permalink
Merged in wwwredfish (pull request Laverna#1)
Browse files Browse the repository at this point in the history
Added notes search form
  • Loading branch information
wwwredfish committed Aug 11, 2013
2 parents 5eaa6f7 + 574a778 commit 45c64a4
Show file tree
Hide file tree
Showing 4 changed files with 156 additions and 12 deletions.
20 changes: 14 additions & 6 deletions app/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,33 @@
</li>
</ul>
</div>
<form class="form-inline search-form">
<span class="glyphicon glyphicon-search input-append"></span>
<input type="text" placeholder="Search" class="input-append search-input" />
<!--<span class="glyphicon glyphicon-off input-append"></span>-->
</form>
<div class="main">
<form class="form-inline">

</form>
<div class="list-group">
<a href="#" class="list-group-item active">
<h4 class="list-group-item-heading">List group item heading</h4>
<p class="clearfix list-group-item-text">
some text... . .. .. . .. .. . . ..
<span class="favourite pull-right glyphicon glyphicon-star-empty"></span>
<span class="favourite pull-right glyphicon glyphicon-star active"></span>
</p>
</a>
<a href="#" class="list-group-item">
<h4 class="list-group-item-heading">List group item heading</h4>
<p class="list-group-item-text">...</p>
<p class="clearfix list-group-item-text">
some text... . .. .. . .. .. . . ..
<span class="favourite pull-right glyphicon glyphicon-star active"></span>
</p>
</a>
<a href="#" class="list-group-item">
<h4 class="list-group-item-heading">List group item heading</h4>
<p class="list-group-item-text">...</p>
<p class="clearfix list-group-item-text">
some text... . .. .. . .. .. . . ..
<span class="favourite pull-right glyphicon glyphicon-star"></span>
</p>
</a>
</div>
</div>
Expand Down
50 changes: 48 additions & 2 deletions app/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -4600,7 +4600,7 @@ body,
padding-top: 8px;
padding-bottom: 8px;
border: 1px solid #e6e6e6;
border-radius: 5px;
border-radius: 0;
}
#sidebar .navbar .nav a.addlink {
color: #FFF;
Expand All @@ -4618,9 +4618,55 @@ body,
border-left: 5px solid #007366;
background: #00A693;
}
#sidebar .main .list-group .list-group-item.active .favourite.active {
color: #FFF;
}
#sidebar .main .list-group .list-group-item .favourite {
font-size: 22px;
margin-right: -5px;
color: #b3b3b3;
}
#sidebar .main .list-group .list-group-item .favourite.active {
color: #007366;
}
#sidebar .search-form {
padding-top: 10px;
padding-bottom: 10px;
}
#sidebar .search-form .row {
margin-right: 0;
width: 100%;
}
#sidebar .search-form .row .input-append input {
float: left;
width: 10%;
}
#sidebar .search-form span.glyphicon-search {
margin-left: 10px;
width: 3%;
color: #cccccc;
}
#sidebar .search-form span.glyphicon-search.active {
color: #101010;
}
#sidebar .search-form .search-input {
border-radius: 0;
border: 1px solid transparent;
box-shadow: none;
padding-top: 5px;
padding-left: 5px;
padding-bottom: 5px;
width: 80%;
}
#sidebar .search-form .search-input:focus {
box-shadow: none;
border: 1px solid #00A693;
}
#sidebar .search-form button {
padding: 5px;
}
#sidebar .search-form button span {
margin-left: 0;
}
#content {
padding-left: 0;
Expand All @@ -4637,7 +4683,7 @@ body,
padding-top: 8px;
padding-bottom: 8px;
border: 1px solid #e6e6e6;
border-radius: 5px;
border-radius: 0;
margin-left: 10px;
}
#content .main {
Expand Down
50 changes: 48 additions & 2 deletions app/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ body,
padding-top: 8px;
padding-bottom: 8px;
border: 1px solid #e6e6e6;
border-radius: 5px;
border-radius: 0;
}
#sidebar .navbar .nav a.addlink {
color: #FFF;
Expand All @@ -534,9 +534,55 @@ body,
border-left: 5px solid #007366;
background: #00A693;
}
#sidebar .main .list-group .list-group-item.active .favourite.active {
color: #FFF;
}
#sidebar .main .list-group .list-group-item .favourite {
font-size: 22px;
margin-right: -5px;
color: #b3b3b3;
}
#sidebar .main .list-group .list-group-item .favourite.active {
color: #007366;
}
#sidebar .search-form {
padding-top: 10px;
padding-bottom: 10px;
}
#sidebar .search-form .row {
margin-right: 0;
width: 100%;
}
#sidebar .search-form .row .input-append input {
float: left;
width: 10%;
}
#sidebar .search-form span.glyphicon-search {
margin-left: 10px;
width: 3%;
color: #cccccc;
}
#sidebar .search-form span.glyphicon-search.active {
color: #101010;
}
#sidebar .search-form .search-input {
border-radius: 0;
border: 1px solid transparent;
box-shadow: none;
padding-top: 5px;
padding-left: 5px;
padding-bottom: 5px;
width: 80%;
}
#sidebar .search-form .search-input:focus {
box-shadow: none;
border: 1px solid #00A693;
}
#sidebar .search-form button {
padding: 5px;
}
#sidebar .search-form button span {
margin-left: 0;
}
#content {
padding-left: 0;
Expand All @@ -553,7 +599,7 @@ body,
padding-top: 8px;
padding-bottom: 8px;
border: 1px solid #e6e6e6;
border-radius: 5px;
border-radius: 0;
margin-left: 10px;
}
#content .main {
Expand Down
48 changes: 46 additions & 2 deletions app/styles/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ html, body, #wrapper{
padding-top: 8px;
padding-bottom: 8px;
border: 1px solid darken(#FFF, 10%);
border-radius: 5px;
border-radius: 0;
}
a.addlink{
color: #FFF;
Expand All @@ -43,14 +43,58 @@ html, body, #wrapper{
border-color: #00A693;
border-left: 5px solid darken(#00A693, 10%);
background: #00A693;
.favourite.active{
color: #FFF;
}
;
}
.favourite{
font-size: 22px;
margin-right: -5px;
color: darken(#FFF, 30%);
&.active{
color: darken(#00A693, 10%);
}
}
}
}
}
.search-form{
padding-top: 10px;
padding-bottom: 10px;
.row{
margin-right: 0;
width: 100%;
.input-append input { float:left; width:10% }
}
span.glyphicon-search{
margin-left: 10px;
width: 3%;
color: darken(#FFF, 20%);
&.active{
color: #101010;
}
}
.search-input{
border-radius: 0;
border: 1px solid transparent;
box-shadow: none;
padding-top: 5px;
padding-left: 5px;
padding-bottom: 5px;
width: 80%;
&:focus{
box-shadow: none;
border: 1px solid #00A693;
}
}
button{
padding: 5px;
span{
margin-left: 0;
}
}
}
}
#content{
padding-left: 0;
Expand All @@ -67,7 +111,7 @@ html, body, #wrapper{
padding-top: 8px;
padding-bottom: 8px;
border: 1px solid darken(#FFF, 10%);
border-radius: 5px;
border-radius: 0;
margin-left: 10px;
}
}
Expand Down

0 comments on commit 45c64a4

Please sign in to comment.