Merge branch 'lars-search' into 'master'

Lars search

See merge request !36
This commit was merged in pull request #40.
This commit is contained in:
Marijn Jansen
2017-01-13 11:20:20 +01:00
4 changed files with 40 additions and 15 deletions

View File

@@ -25,19 +25,11 @@ header {
padding-left: 48px; padding-left: 48px;
} }
#header-search input[type="text"] {
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
#header-search input[type="submit"] { #header-search input {
background: none; border: none;
color: white;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
} }
header div { header div {
display: inline-block; display: inline-block;
} }

View File

@@ -1,3 +1,12 @@
.search-form input { .search-output {
border-bottom: #845663 solid 1px; width: calc(50% - 48px);
display: inline-flex;
}
.search-output:nth-child(n) {
display: inline-block;
}
#search-friends-output {
margin-right: 10px;
} }

View File

@@ -4,8 +4,13 @@
</div> </div>
<div id="header-search"> <div id="header-search">
<form action="search.php" method="get"> <form action="search.php" method="get">
<input name="search" type="text" placeholder="zoek naar van alles" /> <input name="search"
<input type="submit" value="Zoek"/> type="text"
placeholder="Zoek naar wat je wil"
required
/>
<input type="submit"
value="Zoek"/>
</form> </form>
</div> </div>
<div class="right profile-menu"> <div class="right profile-menu">

File diff suppressed because one or more lines are too long