Skip to content

Commit 2b9855e

Browse files
Merge pull request #113 from erundle/docsCSS
Fixing documentation css
2 parents f0532e9 + 42f9cbe commit 2b9855e

File tree

3 files changed

+44
-60
lines changed

3 files changed

+44
-60
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ module.exports = function (grunt) {
125125
html5Mode: false,
126126
template: 'grunt-ngdocs-index.tmpl',
127127
styles: ['lib/patternfly/dist/css/patternfly.css', 'lib/patternfly/dist/css/patternfly-additions.css',
128-
'dist/styles/angular-patternfly.css', 'misc/demo.css', 'misc/pf-docs.css']
128+
'dist/styles/angular-patternfly.css', 'misc/ng-docs.css', 'misc/examples.css']
129129
},
130130

131131
all: ['src/**/*.js']

misc/demo.css renamed to misc/examples.css

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,3 @@
1-
/* Docs overrides */
2-
.navbar img {
3-
height: 35px;
4-
width: 57px;
5-
margin-top: 8px;
6-
margin-right: 0px;
7-
}
8-
9-
.navbar-inverse .navbar-brand {
10-
color: #fff;
11-
padding: 15px 20px 15px 0;
12-
text-transform: uppercase;
13-
}
14-
15-
.breadcrumb li > * {
16-
float: none;
17-
margin: 0;
18-
}
19-
20-
.form-search .module .guide {
21-
padding-top: 6px;
22-
}
23-
24-
.form-search > ul.nav > li.section {
25-
min-height: 23px;
26-
}
27-
28-
.docs-search {
29-
margin: 10px 0;
30-
padding: 4px 0 4px 20px;
31-
background: #fff;
32-
border: 1px solid #bbb;
33-
vertical-align: middle;
34-
}
35-
36-
.docs-search > .search-query {
37-
font-size: 14px;
38-
border: 0;
39-
width: 80%;
40-
color: #555;
41-
}
42-
43-
.docs-search > .search-icon {
44-
font-size: 15px;
45-
margin-right: 10px;
46-
}
47-
48-
.docs-search > .search-query:focus {
49-
outline:0;
50-
}
51-
52-
.type-hint-function {
53-
background-color: #003399;
54-
}
55-
561
/* Demo CSS */
572
.pf-transclude-example div {
583
border: 1px solid #337ab7;

misc/pf-docs.css renamed to misc/ng-docs.css

Lines changed: 43 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ img.AngularJS-small {
55

66
/* this is here to avoid the display=block shuffling of ngShow */
77
.breadcrumb li > * {
8-
float:left;
9-
margin:0 2px 0 0;
8+
float: none;
9+
margin: 0;
1010
}
1111

1212
.breadcrumb {
@@ -16,14 +16,23 @@ img.AngularJS-small {
1616
}
1717

1818
.navbar img {
19-
max-height: 40px;
2019
padding-right: 20px;
20+
height: 35px;
21+
width: 57px;
22+
margin-top: 8px;
23+
margin-right: 0px;
2124
}
2225

2326
.navbar img+.brand {
2427
padding: 10px 20px 10px 10px;
2528
}
2629

30+
.navbar-inverse .navbar-brand {
31+
color: #fff;
32+
padding: 15px 20px 15px 0;
33+
text-transform: uppercase;
34+
}
35+
2736
.clear-navbar {
2837
margin-top: 60px;
2938
}
@@ -78,7 +87,7 @@ img.AngularJS-small {
7887

7988
.form-search > ul.nav > li.section {
8089
background-color: #ebebeb;
81-
min-height: 14px;
90+
min-height: 23px;
8291
}
8392

8493
.form-search > ul.nav > li.first {
@@ -130,6 +139,32 @@ img.AngularJS-small {
130139

131140
.form-search .module .guide {
132141
line-height: 20px;
142+
padding-top: 6px;
143+
}
144+
145+
146+
.docs-search {
147+
margin: 10px 0;
148+
padding: 4px 0 4px 20px;
149+
background: #fff;
150+
border: 1px solid #bbb;
151+
vertical-align: middle;
152+
}
153+
154+
.docs-search > .search-query {
155+
font-size: 14px;
156+
border: 0;
157+
width: 80%;
158+
color: #555;
159+
}
160+
161+
.docs-search > .search-icon {
162+
font-size: 15px;
163+
margin-right: 10px;
164+
}
165+
166+
.docs-search > .search-query:focus {
167+
outline:0;
133168
}
134169

135170
.match > a, .nav > .match > a:hover {
@@ -294,3 +329,7 @@ ul.events > li > h3 {
294329
.type-hint-number {
295330
background:rgb(189, 63, 66);
296331
}
332+
333+
.type-hint-function {
334+
background-color: #003399;
335+
}

0 commit comments

Comments
 (0)