Skip to content

Commit bee1f87

Browse files
davetropeanorshriram
authored andcommitted
CSS Changes (istio#39)
* clean up mistaken merge with istio code repo * delete HEAD indicator left in scss files by mistake * more fixes for bad merge * more undo-ing
1 parent 324f336 commit bee1f87

File tree

15 files changed

+245
-129
lines changed

15 files changed

+245
-129
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
_site
2+
3+
# Eclipse artifacts
4+
.project
5+
.pydevproject
6+
*.iml
7+
.idea/

Gemfile.lock

Lines changed: 167 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -1,129 +1,203 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
RedCloth (4.2.9)
5-
activesupport (4.2.1)
4+
activesupport (4.2.7)
65
i18n (~> 0.7)
76
json (~> 1.7, >= 1.7.7)
87
minitest (~> 5.1)
98
thread_safe (~> 0.3, >= 0.3.4)
109
tzinfo (~> 1.1)
11-
blankslate (2.1.2.4)
12-
celluloid (0.16.0)
13-
timers (~> 4.0.0)
14-
classifier-reborn (2.0.3)
15-
fast-stemmer (~> 1.0)
10+
addressable (2.5.1)
11+
public_suffix (~> 2.0, >= 2.0.2)
1612
coffee-script (2.4.1)
1713
coffee-script-source
1814
execjs
19-
coffee-script-source (1.9.1.1)
20-
colorator (0.1)
21-
execjs (2.5.2)
22-
fast-stemmer (1.0.2)
23-
ffi (1.9.8)
24-
gemoji (2.1.0)
25-
github-pages (34)
26-
RedCloth (= 4.2.9)
27-
github-pages-health-check (~> 0.2)
28-
jekyll (= 2.4.0)
15+
coffee-script-source (1.12.2)
16+
colorator (1.1.0)
17+
ethon (0.10.1)
18+
ffi (>= 1.3.0)
19+
execjs (2.7.0)
20+
faraday (0.12.0.1)
21+
multipart-post (>= 1.2, < 3)
22+
ffi (1.9.18)
23+
forwardable-extended (2.6.0)
24+
gemoji (3.0.0)
25+
github-pages (134)
26+
activesupport (= 4.2.7)
27+
github-pages-health-check (= 1.3.3)
28+
jekyll (= 3.4.3)
29+
jekyll-avatar (= 0.4.2)
2930
jekyll-coffeescript (= 1.0.1)
30-
jekyll-mentions (= 0.2.1)
31-
jekyll-redirect-from (= 0.6.2)
32-
jekyll-sass-converter (= 1.2.0)
33-
jekyll-sitemap (= 0.8.1)
34-
jemoji (= 0.4.0)
35-
kramdown (= 1.5.0)
36-
liquid (= 2.6.1)
37-
maruku (= 0.7.0)
31+
jekyll-default-layout (= 0.1.4)
32+
jekyll-feed (= 0.9.2)
33+
jekyll-gist (= 1.4.0)
34+
jekyll-github-metadata (= 2.3.1)
35+
jekyll-mentions (= 1.2.0)
36+
jekyll-optional-front-matter (= 0.1.2)
37+
jekyll-paginate (= 1.1.0)
38+
jekyll-readme-index (= 0.1.0)
39+
jekyll-redirect-from (= 0.12.1)
40+
jekyll-relative-links (= 0.4.0)
41+
jekyll-sass-converter (= 1.5.0)
42+
jekyll-seo-tag (= 2.2.0)
43+
jekyll-sitemap (= 1.0.0)
44+
jekyll-swiss (= 0.4.0)
45+
jekyll-theme-architect (= 0.0.4)
46+
jekyll-theme-cayman (= 0.0.4)
47+
jekyll-theme-dinky (= 0.0.4)
48+
jekyll-theme-hacker (= 0.0.4)
49+
jekyll-theme-leap-day (= 0.0.4)
50+
jekyll-theme-merlot (= 0.0.4)
51+
jekyll-theme-midnight (= 0.0.4)
52+
jekyll-theme-minimal (= 0.0.4)
53+
jekyll-theme-modernist (= 0.0.4)
54+
jekyll-theme-primer (= 0.1.8)
55+
jekyll-theme-slate (= 0.0.4)
56+
jekyll-theme-tactile (= 0.0.4)
57+
jekyll-theme-time-machine (= 0.0.4)
58+
jekyll-titles-from-headings (= 0.1.5)
59+
jemoji (= 0.8.0)
60+
kramdown (= 1.13.2)
61+
liquid (= 3.0.6)
62+
listen (= 3.0.6)
3863
mercenary (~> 0.3)
39-
pygments.rb (= 0.6.1)
40-
rdiscount (= 2.1.7)
41-
redcarpet (= 3.1.2)
64+
minima (= 2.0.0)
65+
rouge (= 1.11.1)
4266
terminal-table (~> 1.4)
43-
github-pages-health-check (0.3.0)
44-
net-dns (~> 0.6)
45-
public_suffix (~> 1.4)
46-
hitimes (1.2.2)
47-
html-pipeline (1.9.0)
67+
github-pages-health-check (1.3.3)
68+
addressable (~> 2.3)
69+
net-dns (~> 0.8)
70+
octokit (~> 4.0)
71+
public_suffix (~> 2.0)
72+
typhoeus (~> 0.7)
73+
html-pipeline (2.5.0)
4874
activesupport (>= 2)
49-
nokogiri (~> 1.4)
50-
i18n (0.7.0)
51-
jekyll (2.4.0)
52-
classifier-reborn (~> 2.0)
53-
colorator (~> 0.1)
54-
jekyll-coffeescript (~> 1.0)
55-
jekyll-gist (~> 1.0)
56-
jekyll-paginate (~> 1.0)
75+
nokogiri (>= 1.4)
76+
i18n (0.8.1)
77+
jekyll (3.4.3)
78+
addressable (~> 2.4)
79+
colorator (~> 1.0)
5780
jekyll-sass-converter (~> 1.0)
5881
jekyll-watch (~> 1.1)
5982
kramdown (~> 1.3)
60-
liquid (~> 2.6.1)
83+
liquid (~> 3.0)
6184
mercenary (~> 0.3.3)
62-
pygments.rb (~> 0.6.0)
63-
redcarpet (~> 3.1)
85+
pathutil (~> 0.9)
86+
rouge (~> 1.7)
6487
safe_yaml (~> 1.0)
65-
toml (~> 0.1.0)
88+
jekyll-avatar (0.4.2)
89+
jekyll (~> 3.0)
6690
jekyll-coffeescript (1.0.1)
6791
coffee-script (~> 2.2)
68-
jekyll-gist (1.2.1)
69-
jekyll-mentions (0.2.1)
70-
html-pipeline (~> 1.9.0)
71-
jekyll (~> 2.0)
92+
jekyll-default-layout (0.1.4)
93+
jekyll (~> 3.0)
94+
jekyll-feed (0.9.2)
95+
jekyll (~> 3.3)
96+
jekyll-gist (1.4.0)
97+
octokit (~> 4.2)
98+
jekyll-github-metadata (2.3.1)
99+
jekyll (~> 3.1)
100+
octokit (~> 4.0, != 4.4.0)
101+
jekyll-include-cache (0.1.0)
102+
jekyll (~> 3.3)
103+
jekyll-mentions (1.2.0)
104+
activesupport (~> 4.0)
105+
html-pipeline (~> 2.3)
106+
jekyll (~> 3.0)
107+
jekyll-optional-front-matter (0.1.2)
108+
jekyll (~> 3.0)
72109
jekyll-paginate (1.1.0)
73-
jekyll-redirect-from (0.6.2)
74-
jekyll (~> 2.0)
75-
jekyll-sass-converter (1.2.0)
76-
sass (~> 3.2)
77-
jekyll-sitemap (0.8.1)
78-
jekyll-watch (1.2.1)
79-
listen (~> 2.7)
80-
jemoji (0.4.0)
81-
gemoji (~> 2.0)
82-
html-pipeline (~> 1.9)
83-
jekyll (~> 2.0)
84-
json (1.8.2)
85-
kramdown (1.5.0)
86-
liquid (2.6.1)
87-
listen (2.10.0)
88-
celluloid (~> 0.16.0)
110+
jekyll-readme-index (0.1.0)
111+
jekyll (~> 3.0)
112+
jekyll-redirect-from (0.12.1)
113+
jekyll (~> 3.3)
114+
jekyll-relative-links (0.4.0)
115+
jekyll (~> 3.3)
116+
jekyll-sass-converter (1.5.0)
117+
sass (~> 3.4)
118+
jekyll-seo-tag (2.2.0)
119+
jekyll (~> 3.3)
120+
jekyll-sitemap (1.0.0)
121+
jekyll (~> 3.3)
122+
jekyll-swiss (0.4.0)
123+
jekyll-theme-architect (0.0.4)
124+
jekyll (~> 3.3)
125+
jekyll-theme-cayman (0.0.4)
126+
jekyll (~> 3.3)
127+
jekyll-theme-dinky (0.0.4)
128+
jekyll (~> 3.3)
129+
jekyll-theme-hacker (0.0.4)
130+
jekyll (~> 3.3)
131+
jekyll-theme-leap-day (0.0.4)
132+
jekyll (~> 3.3)
133+
jekyll-theme-merlot (0.0.4)
134+
jekyll (~> 3.3)
135+
jekyll-theme-midnight (0.0.4)
136+
jekyll (~> 3.3)
137+
jekyll-theme-minimal (0.0.4)
138+
jekyll (~> 3.3)
139+
jekyll-theme-modernist (0.0.4)
140+
jekyll (~> 3.3)
141+
jekyll-theme-primer (0.1.8)
142+
jekyll (~> 3.3)
143+
jekyll-theme-slate (0.0.4)
144+
jekyll (~> 3.3)
145+
jekyll-theme-tactile (0.0.4)
146+
jekyll (~> 3.3)
147+
jekyll-theme-time-machine (0.0.4)
148+
jekyll (~> 3.3)
149+
jekyll-titles-from-headings (0.1.5)
150+
jekyll (~> 3.3)
151+
jekyll-watch (1.5.0)
152+
listen (~> 3.0, < 3.1)
153+
jemoji (0.8.0)
154+
activesupport (~> 4.0)
155+
gemoji (~> 3.0)
156+
html-pipeline (~> 2.2)
157+
jekyll (>= 3.0)
158+
json (1.8.6)
159+
kramdown (1.13.2)
160+
liquid (3.0.6)
161+
listen (3.0.6)
89162
rb-fsevent (>= 0.9.3)
90-
rb-inotify (>= 0.9)
91-
maruku (0.7.0)
92-
mercenary (0.3.5)
93-
mini_portile (0.6.2)
94-
minitest (5.6.1)
163+
rb-inotify (>= 0.9.7)
164+
mercenary (0.3.6)
165+
mini_portile2 (2.1.0)
166+
minima (2.0.0)
167+
minitest (5.10.1)
168+
multipart-post (2.0.0)
95169
net-dns (0.8.0)
96-
nokogiri (1.6.6.2)
97-
mini_portile (~> 0.6.0)
98-
parslet (1.5.0)
99-
blankslate (~> 2.0)
100-
posix-spawn (0.3.11)
101-
public_suffix (1.5.1)
102-
pygments.rb (0.6.1)
103-
posix-spawn (~> 0.3.6)
104-
yajl-ruby (~> 1.2.0)
105-
rb-fsevent (0.9.4)
106-
rb-inotify (0.9.5)
170+
nokogiri (1.6.8.1)
171+
mini_portile2 (~> 2.1.0)
172+
octokit (4.7.0)
173+
sawyer (~> 0.8.0, >= 0.5.3)
174+
pathutil (0.14.0)
175+
forwardable-extended (~> 2.6)
176+
public_suffix (2.0.5)
177+
rb-fsevent (0.9.8)
178+
rb-inotify (0.9.8)
107179
ffi (>= 0.5.0)
108-
rdiscount (2.1.7)
109-
redcarpet (3.1.2)
180+
rouge (1.11.1)
110181
safe_yaml (1.0.4)
111-
sass (3.4.13)
112-
terminal-table (1.4.5)
113-
thread_safe (0.3.5)
114-
timers (4.0.1)
115-
hitimes
116-
toml (0.1.2)
117-
parslet (~> 1.5.0)
118-
tzinfo (1.2.2)
182+
sass (3.4.23)
183+
sawyer (0.8.1)
184+
addressable (>= 2.3.5, < 2.6)
185+
faraday (~> 0.8, < 1.0)
186+
terminal-table (1.7.3)
187+
unicode-display_width (~> 1.1.1)
188+
thread_safe (0.3.6)
189+
typhoeus (0.8.0)
190+
ethon (>= 0.8.0)
191+
tzinfo (1.2.3)
119192
thread_safe (~> 0.1)
120-
yajl-ruby (1.2.1)
193+
unicode-display_width (1.1.3)
121194

122195
PLATFORMS
123196
ruby
124197

125198
DEPENDENCIES
126199
github-pages
200+
jekyll-include-cache (~> 0.1)
127201

128202
BUNDLED WITH
129-
1.10.5
203+
1.14.6

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@ see the Istio [contribution guidelines](https://github.com/istio/istio/blob/mast
99

1010
The website uses [Jekyll](http://jekyllrb.com/) templates and is hosted on GitHub Pages. Please make sure you are
1111
familiar with these before editing.
12+
13+
To run the site locally with Docker, use the following command:
14+
15+
```bash
16+
docker run --rm --label=jekyll --volume=$(pwd):/srv/jekyll -it -p 127.0.0.1:4000:4000 jekyll/jekyll jekyll serve
17+
```

_includes/doc-nav.html

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
<div class="container">
22
<div class="row">
3-
<div class="col-md-11 nofloat center-block">
4-
<ul class="col-sm-10 doc-nav">
5-
{% assign current = page.url | downcase | split: '/' %}
6-
<li class="tab docs-tab"><a href="{{ site.baseurl }}/docs/">Docs</a></li>
7-
<span class="doc-caret">></span>
8-
<li class="tab"><a href="{{ site.baseurl }}/docs/" {% if page.url == '/docs/' %}class='current'{% endif %}>Home</a></li>
9-
<li class="tab"><a href="{{ site.baseurl }}/docs/concepts" {% if current[2] == 'concepts' %}class='current'{% endif %}>Concepts</a></li>
10-
<li class="tab"><a href="{{ site.baseurl }}/docs/tasks" {% if current[2] == 'tasks' %}class='current'{% endif %}>Tasks</a></li>
11-
<!--
12-
<li class="tab"><a href="{{ site.baseurl }}/docs/tutorials" {% if current[2] == 'tutorials' %}class='current'{% endif %}>Tutorials</a></li>
13-
-->
14-
<li class="tab"><a href="{{ site.baseurl }}/docs/samples" {% if current[2] == 'samples' %}class='current'{% endif %}>Samples</a></li>
15-
<li class="tab"><a href="{{ site.baseurl }}/docs/reference" {% if current[2] == 'reference' %}class='current'{% endif %}>Reference</a></li>
3+
<div class="col-md-11 nofloat center-block" style="margin-top: 3px;">
4+
<ul class="col-sm-10 nav nav-tabs">
5+
{% assign active = page.url | downcase | split: '/' %}
6+
<li role="presentation" {% if page.url == '/docs/' %}class='active'{% endif %}><a href="{{ site.baseurl }}/docs/">Welcome</a></li>
7+
<li role="presentation" {% if active[2] == 'concepts' %}class='active'{% endif %}><a href="{{ site.baseurl }}/docs/concepts">Concepts</a></li>
8+
<li role="presentation" {% if active[2] == 'tasks' %}class='active'{% endif %}><a href="{{ site.baseurl }}/docs/tasks">Tasks</a></li>
9+
<li role="presentation" {% if active[2] == 'samples' %}class='active'{% endif %}><a href="{{ site.baseurl }}/docs/samples">Samples</a></li>
10+
<li role="presentation" {% if active[2] == 'reference' %}class='active'{% endif %}><a href="{{ site.baseurl }}/docs/reference">Reference</a></li>
1611
</ul>
1712
{% include contribute-links.html %}
1813
</div>

_includes/doc-side-home-nav.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
<ul class="doc-side-nav doc-side-nav-home">
22
{% assign current = page.url | downcase | split: '/' %}
3+
<li><h5 class="doc-side-nav-title">Welcome</h5></li>
34
</ul>

_includes/sticky-nav.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<div class="col-md-11 nofloat center-block">
55
<a class="col-xs-2" href="{{ site.baseurl }}/">
66
<img class="nav-logo" src="{{ site.baseurl }}/img/logo.png" alt="Istio">
7+
<span class="page-headline">Istio</span>
78
</a>
89

910
<div class="col-xs-2 col-xs-offset-8">

_layouts/docs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
{{ content }}
1919
</div>
2020

21-
<div id="toc" class="toc col-sm-2">
21+
<div id="toc" class="toc">
2222
</div>
2323
</div>
2424
</div>

_sass/base/_common.scss

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,24 @@
3333
border-left: 2px solid $light-gray;
3434
display: none !important;
3535
padding: 0;
36+
position: absolute;
37+
right: 45px;
38+
margin-top: 10px;
3639

3740
@media (min-width: 768px) {
3841
display: block !important;
42+
margin-left: 20px;
3943
}
4044

4145
ul {
4246
list-style-type: none !important;
4347
padding-left: 10px;
44-
font-size: 12px;
45-
font-weight: 500;
48+
font-size: 90%; //12px;
49+
//font-weight: 500;
4650

4751
ul {
48-
font-weight: 400;
49-
font-size: 11px;
52+
//font-weight: 400;
53+
font-size: 90%; //11px;
5054
}
5155

5256
a {

0 commit comments

Comments
 (0)