Skip to content

Commit 2a8db7b

Browse files
Merge pull request #128 from thobhanifreddy/development
improved search button styling
2 parents 0354ce4 + 2dd4447 commit 2a8db7b

File tree

2 files changed

+19
-14
lines changed

2 files changed

+19
-14
lines changed

views/css/other-landing.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ header div.phrase-p2{
1818
width: 100%;
1919
}
2020
form{
21-
margin-left: 6vw;
21+
margin-top: 4px;
2222
}
2323
form input.form-control{
2424
height: 21px;
@@ -100,4 +100,12 @@ form input.form-control{
100100
}.body-text{
101101
font-size: 1rem !important;
102102
}
103+
#search-btn {
104+
background-color: blanchedalmond !important;
105+
border-color: blanchedalmond !important;
106+
height: 29px;
107+
}
103108

109+
#search-input {
110+
height: 29px;
111+
}

views/other-landing.ejs

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,7 @@
1414
<!-- Material Design Bootstrap -->
1515
<link href="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.5.4/css/mdb.min.css" rel="stylesheet">
1616
<!-- Your custom styles (optional) -->
17-
<link href="css/other-landing.css" rel="stylesheet">
18-
19-
<style>
20-
.ch{
21-
22-
},
23-
.ch2{
24-
25-
}
26-
</style>
17+
<link href="../../css/other-landing.css" type="text/css" rel="stylesheet">
2718
</head>
2819
<body>
2920
<!-- Start your project here-->
@@ -46,9 +37,15 @@
4637
<!-- Links -->
4738
<ul class="navbar-nav mr-auto">
4839
<li class="nav-item active">
49-
<form class="form-inline active-cyan-4 flex-center">
50-
<input class="form-control form-control-sm mr-3" type="text" aria-label="Search">
51-
<button type="submit" class="fa font-weight-bold btn-search">Search</button>
40+
<form class="form-inline">
41+
<div class="input-group col-12 pl-0">
42+
<input type="text" id="search-input" class="form-control form-control-lg py-2 border-right-0 border" placeholder="Search">
43+
<span class="input-group-append">
44+
<button id="search-btn" class="btn-outline border-left-0 border" type="button">
45+
<i class="fa fa-search"></i>
46+
</button>
47+
</span>
48+
</div>
5249
</form>
5350
</li>
5451
<li class="nav-item ">

0 commit comments

Comments
 (0)