Skip to content

Commit f2e2166

Browse files
committed
Working on find
1 parent a160305 commit f2e2166

File tree

2 files changed

+20
-14
lines changed

2 files changed

+20
-14
lines changed

OpenNote/openNote/partials/searchPartial.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,30 @@
22
<div class="titleBar">Search in Home</div>
33
<div id="search" class="box big search">
44
<form>
5-
<p>
5+
<div class="form-group">
66
<label>In</label>
7-
<select>
7+
<select class="form-control">
88
<option>All</option>
99
<option>Notes</option>
1010
<option>Folders</option>
1111
</select>
12-
</p>
13-
<p>
12+
</div>
13+
<div class="form-group">
1414
<label>Fields</label>
15-
<select>
15+
<select class="form-control">
1616
<option>All</option>
1717
<option>Title</option>
1818
<option>Body</option>
1919
</select>
20-
</p>
21-
<p>
20+
</div>
21+
<div class="form-group">
2222
<label>For</label>
23-
<input type="text"/>
24-
</p>
23+
<input type="text" class="form-control"/>
24+
</div>
2525

26-
<p>
27-
<input type="submit" value="Search" class="customButton" ng-click=""/>
28-
</p>
26+
<div class="form-group">
27+
<input type="submit" value="Search" class="form-control customButton" ng-click=""/>
28+
</div>
2929
</form>
3030
</div>
3131
</div>

OpenNote/openNote/style/invert/style.less

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,18 @@ body{
3535
margin-top: 15px;
3636
}
3737

38-
select{
38+
.form-control, .form-control:focus, select{
3939
background-color: transparent;
4040
border-width: 1px;
4141
border-radius: 4px;
4242
border-style: solid;
4343
border-color: @loginInputColor;
44+
box-shadow:none;
45+
color: inherit;
46+
}
47+
48+
.form-control.customButton{
49+
font-weight: bold;
4450
}
4551

4652
#update{/*Update span style*/
@@ -110,7 +116,7 @@ input:focus, select:focus, textarea:focus, button:focus {
110116
border-radius:4px;/*round the corners*/
111117
}
112118

113-
a.customButton, a.customButton.folder{
119+
a.customButton, a.customButton.folder {
114120
line-height: 3ex !important;
115121
display: inline !important;
116122
color: @primaryTextColor;

0 commit comments

Comments
 (0)