Commit b19e46d092fdeac949a4bf4ee0419ce1f5b50498

Authored by trainee
1 parent db16e260
Exists in master

add search input

src/app/dashboard/dashboard.component.html
... ... @@ -19,9 +19,11 @@
19 19 <div class="caption">
20 20 <h1 class="icon-bubble font-green-sharp">
21 21 <span class="caption-subject font-green-sharp sbold font"> Active</span>
22   -
23   - <input type="text" placeholder="Search.." >
24   -
  22 + <div class="input-icon right">
  23 + <i class="icon-magnifier">
  24 + </i>
  25 + <input type="text" placeholder="Search.." class="form-control sbold font">
  26 + </div>
25 27 </h1>
26 28 <hr>
27 29 </div>
... ...
src/app/dashboard/dashboard.component.scss
... ... @@ -23,14 +23,15 @@
23 23 padding: 30px;
24 24 }
25 25  
26   -.radius {
27   - width: 60%;
28   - height: 25px;
29   - margin: 0 auto;
30   - border: 1px solid black;
31   - border-radius: 10px
  26 +.form-control {
  27 + outline: 0 !important;
32 28 }
33 29  
34 30 .font {
35 31 font-family: "Open Sans",sans-serif;
36 32 }
  33 +
  34 +.position {
  35 + position: absolute;
  36 + right: 15px;
  37 +}
... ...