Skip to content
This repository was archived by the owner on Oct 29, 2018. It is now read-only.

Commit 730ccde

Browse files
author
Jan Henckens
committed
Genericons + search field
1 parent 8a363aa commit 730ccde

11 files changed

+1371
-31
lines changed

config.codekit

+41
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,22 @@
522522
"shouldRunBless": 0,
523523
"useLibsass": 0
524524
},
525+
"\/sass\/navigation\/_menus.scss": {
526+
"createSourceMap": 0,
527+
"debugStyle": 0,
528+
"decimalPrecision": 10,
529+
"fileType": 4,
530+
"ignore": 1,
531+
"ignoreWasSetByUser": 0,
532+
"inputAbbreviatedPath": "\/sass\/navigation\/_menus.scss",
533+
"outputAbbreviatedPath": "\/sass\/css\/_menus.css",
534+
"outputPathIsOutsideProject": 0,
535+
"outputPathIsSetByUser": 0,
536+
"outputStyle": 0,
537+
"shouldRunAutoprefixer": 0,
538+
"shouldRunBless": 0,
539+
"useLibsass": 0
540+
},
525541
"\/sass\/navigation\/_navigation.scss": {
526542
"createSourceMap": 0,
527543
"debugStyle": 0,
@@ -650,6 +666,22 @@
650666
"shouldRunBless": 0,
651667
"useLibsass": 0
652668
},
669+
"\/sass\/typography\/_genericons.scss": {
670+
"createSourceMap": 0,
671+
"debugStyle": 0,
672+
"decimalPrecision": 10,
673+
"fileType": 4,
674+
"ignore": 1,
675+
"ignoreWasSetByUser": 0,
676+
"inputAbbreviatedPath": "\/sass\/typography\/_genericons.scss",
677+
"outputAbbreviatedPath": "\/sass\/css\/_genericons.css",
678+
"outputPathIsOutsideProject": 0,
679+
"outputPathIsSetByUser": 0,
680+
"outputStyle": 0,
681+
"shouldRunAutoprefixer": 0,
682+
"shouldRunBless": 0,
683+
"useLibsass": 0
684+
},
653685
"\/sass\/typography\/_headings.scss": {
654686
"createSourceMap": 0,
655687
"debugStyle": 0,
@@ -766,6 +798,15 @@
766798
"outputPathIsOutsideProject": 0,
767799
"outputPathIsSetByUser": 0
768800
},
801+
"\/searchform.php": {
802+
"fileType": 8192,
803+
"ignore": 0,
804+
"ignoreWasSetByUser": 0,
805+
"inputAbbreviatedPath": "\/searchform.php",
806+
"outputAbbreviatedPath": "No Output Path",
807+
"outputPathIsOutsideProject": 0,
808+
"outputPathIsSetByUser": 0
809+
},
769810
"\/sidebar.php": {
770811
"fileType": 8192,
771812
"ignore": 0,

fonts/Genericons.eot

22.2 KB
Binary file not shown.

fonts/Genericons.svg

+543
Loading

fonts/Genericons.ttf

22 KB
Binary file not shown.

fonts/Genericons.woff

14 KB
Binary file not shown.

sass/forms/_fields.scss

+44-5
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,49 @@ textarea {
5454
}
5555

5656
form#main-search {
57+
font: normal 16px/1 'Genericons';
5758
margin-top: 15px;
58-
& input {
59-
width: 97%;
60-
border: 0;
61-
border-bottom: 1px solid $color__border;
59+
input {
60+
width: 75%;
61+
border: none;
6262
}
63-
}
63+
button#search-submit {
64+
color: darken($color__border, 15%);
65+
background: none;
66+
border: none;
67+
box-shadow: none;
68+
display: inline-block;
69+
margin-bottom: 0px;
70+
font: normal 16px/1 'Genericons';
71+
&::after {
72+
content: '\f400';
73+
}
74+
}
75+
}
76+
77+
.search-field::-webkit-input-placeholder {
78+
color: darken($color__border, 15%);
79+
opacity:1;
80+
}
81+
82+
.search-field:-moz-placeholder { /* Firefox 18- */
83+
color: darken($color__border, 15%);
84+
opacity:1;
85+
}
86+
87+
.search-field::-moz-placeholder { /* Firefox 19+ */
88+
color: darken($color__border, 15%);
89+
opacity:1;
90+
}
91+
92+
.search-field:-ms-input-placeholder {
93+
color: darken($color__border, 15%);
94+
opacity:1;
95+
}
96+
97+
98+
99+
100+
101+
102+

sass/typography/_genericons.scss

+213
Large diffs are not rendered by default.

sass/typography/_headings.scss

+6-18
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ h1, h2, h3, h4, h5, h6 {
22
clear: both;
33
}
44

5-
h1.site-title {
6-
@include font-size(3);
7-
@include gs-pad(d, padinfull);
8-
}
5+
h1 {@include font-size(3);}
6+
h1.site-title {@include font-size(3);}
7+
h2 {@include font-size(2.5);}
8+
h3 {@include font-size(2.2);}
9+
h4 {@include font-size(2);}
910

1011
h1.entry-title {
1112
@include font-size(3);
@@ -16,17 +17,4 @@ h1.entry-title {
1617
text-decoration: none;
1718
color: $color__link;
1819
}
19-
}
20-
21-
h1 {
22-
@include font-size(3);
23-
}
24-
h2 {
25-
@include font-size(2.5);
26-
}
27-
h3 {
28-
@include font-size(2.2);
29-
}
30-
h4 {
31-
@include font-size(2);
32-
}
20+
}

sass/typography/_typography.scss

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ textarea {
1111

1212
@import "headings";
1313

14-
@import "copy";
14+
@import "copy";
15+
16+
@import "genericons";

searchform.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<div class="site-search">
22
<form id="main-search" action="/" method="get">
33
<fieldset>
4-
<input type="search" name="s" id="search" value="<?php the_search_query(); ?>" placeholder="Search" />
4+
<input type="search" class="search-field" name="s" id="search" value="<?php the_search_query(); ?>" placeholder="Search" />
55
<input type="hidden" value="post" name="post_type" id="post_type" />
6-
<!-- <input type="image" alt="Search" src="<?php bloginfo( 'template_url' ); ?>/images/search.png" />
7-
--> </fieldset>
6+
<button type="submit" value="" id="search-submit" name="submit" class="submit">
7+
</fieldset>
88
</form>
9-
</div>
9+
</div><!-- .searchform -->

style.css

+517-3
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)