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;
}
#header-search input[type="text"] {
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
#header-search input[type="submit"] {
background: none;
color: white;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
#header-search input {
border: none;
}
header div {
display: inline-block;
}

View File

@@ -1,3 +1,12 @@
.search-form input {
border-bottom: #845663 solid 1px;
.search-output {
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 id="header-search">
<form action="search.php" method="get">
<input name="search" type="text" placeholder="zoek naar van alles" />
<input type="submit" value="Zoek"/>
<input name="search"
type="text"
placeholder="Zoek naar wat je wil"
required
/>
<input type="submit"
value="Zoek"/>
</form>
</div>
<div class="right profile-menu">

File diff suppressed because one or more lines are too long