Skip to content

Commit b13a1fd

Browse files
Merge pull request #33 from woothemes/wp-api-v1-styles
Wp api v1 styles
2 parents fee6198 + 03e704d commit b13a1fd

File tree

9 files changed

+69
-130
lines changed

9 files changed

+69
-130
lines changed

Diff for: source/images/logo.png

1008 Bytes
Loading

Diff for: source/index.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ toc_footers:
1414
- <a href="https://github.com/woothemes/woocommerce/issues?labels=API&amp;page=1&amp;state=open">REST API Issues</a>
1515
- <a href="https://docs.woothemes.com/documentation/plugins/woocommerce/">WooCommerce Documentation</a>
1616
- <a href="https://github.com/woothemes/woocommerce">WooCommerce Repository</a>
17-
- <a href="https://github.com/tripit/slate">Documentation Powered by Slate</a>
1817

1918
includes:
2019
- wp-api-v1/introduction
@@ -36,5 +35,5 @@ includes:
3635
- wp-api-v1/webhooks
3736
- wp-api-v1/authentication-endpoint
3837

39-
search: true
38+
search: false
4039
---

Diff for: source/layouts/layout.erb

+3-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ under the License.
4848
</span>
4949
</a>
5050
<div class="tocify-wrapper">
51-
<%= image_tag "logo.png" %>
51+
<a href="#introduction" class="logo-wrapper">
52+
<%= image_tag "logo.png" %>
53+
</a>
5254
<% if language_tabs %>
5355
<div class="lang-selector">
5456
<% language_tabs.each do |lang| %>

Diff for: source/stylesheets/_syntax.scss.erb

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ under the License.
2222
color: #909090;
2323
}
2424

25-
.highlight, .highlight .w {
25+
.highlight code, .highlight .w {
2626
background-color: $code-bg;
27-
}
27+
}

Diff for: source/stylesheets/_variables.scss

+9-12
Original file line numberDiff line numberDiff line change
@@ -23,28 +23,27 @@ under the License.
2323

2424
// BACKGROUND COLORS
2525
////////////////////
26-
$nav-bg: #393939;
26+
$nav-bg: #f7f7f7;
2727
$examples-bg: #393939;
2828
$code-bg: #292929;
29-
$code-annotation-bg: #1c1c1c;
30-
$nav-subitem-bg: #262626;
31-
$nav-active-bg: #2467af;
29+
$nav-subitem-bg: #f7f7f7;
30+
$nav-active-bg: #9B5C8F;
3231
$lang-select-border: #000;
3332
$lang-select-bg: #222;
3433
$lang-select-active-bg: $examples-bg; // feel free to change this to blue or something
3534
$lang-select-pressed-bg: #111; // color of language tab bg when mouse is pressed
36-
$main-bg: #eaf2f6;
37-
$aside-notice-bg: #8fbcd4;
35+
$main-bg: #ffffff;
36+
$aside-notice-bg: #9B5C8F;
3837
$aside-warning-bg: #c97a7e;
3938
$aside-success-bg: #6ac174;
4039
$search-notice-bg: #c97a7e;
41-
$link-color: #255a8c;
40+
$link-color: #804877;
4241

4342

4443
// TEXT COLORS
4544
////////////////////
4645
$main-text: #333; // main content text color
47-
$nav-text: #fff;
46+
$nav-text: #3c3c3c;
4847
$nav-active-text: #fff;
4948
$lang-select-text: #fff; // color of unselected language tab text
5049
$lang-select-active-text: #fff; // color of selected language tab text
@@ -57,10 +56,8 @@ $nav-width: 230px; // width of the navbar
5756
$examples-width: 50%; // portion of the screen taken up by code examples
5857
$logo-margin: 20px; // margin between nav items and logo, ignored if search is active
5958
$main-padding: 28px; // padding to left and right of content & examples
60-
$nav-padding: 15px; // padding to left and right of navbar
59+
$nav-padding: 20px; // padding to left and right of navbar
6160
$nav-v-padding: 10px; // padding used vertically around search boxes and results
62-
$nav-indent: 10px; // extra padding for ToC subitems
63-
$code-annotation-padding: 13px; // padding inside code annotations
6461
$h1-margin-bottom: 21px; // padding under the largest header tags
6562
$tablet-width: 930px; // min width before reverting to tablet size
6663
$phone-width: $tablet-width - $nav-width; // min width before reverting to mobile size
@@ -87,7 +84,7 @@ $phone-width: $tablet-width - $nav-width; // min width before reverting to mobil
8784

8885
// OTHER
8986
////////////////////
90-
$nav-active-shadow: #000;
87+
$nav-active-shadow: #f7f7f7;
9188
$nav-footer-border-color: #666;
9289
$nav-embossed-border-top: #000;
9390
$nav-embossed-border-bottom: #939393;

0 commit comments

Comments
 (0)