Commit Graph

28 Commits

Author SHA1 Message Date
Jesse Palmer
ffb0d710be docs(app): adds hr 2014-12-24 21:39:28 -05:00
Palmer
1e2b57de58 docs(app): replaces font px w/ % 2014-12-15 23:26:46 -05:00
Palmer
704e61e963 docs(app): updates typography 2014-12-15 22:52:23 -05:00
Jesse Palmer
6b69860f11 Merge pull request #10396 from joshkurz/materialize
docs(app): adding a mobile first breadcrumb solution
2014-12-10 21:11:21 -05:00
Josh Kurz
3a4febb16d docs(app): adding a mobile first breadcrumb solution
Signed-off-by: Josh Kurz <jkurz25@gmail.com>
2014-12-10 02:33:50 -05:00
Palmer
a113fc555c docs(app): fixes tabbing 2014-12-09 19:53:24 -05:00
Palmer
0c7b25869f docs(app): matches anchor tags to bootstrap 2014-12-09 19:50:51 -05:00
Georgios Kalpakas
1ce45472eb docs(app): fix styling of left sidenav, add FontAwesome
Since the structure was a little different than the prototype,
classes/styles where not applied correctly to the links in the left
sidenav. This commit fixes the issue.

I also added FontAwesome, in order to be able to display icons until the
Material Design icon-font is released. Since this is a temporary meassure,
I didn't added as a bower dependency; just added a `font-awesome` folder
in assets and added `font-awesome/css/font-awesome.css` to the stylesheets
of each deployment (under `docs/config/services/deployments/`.
2014-12-08 20:40:42 -05:00
Georgios Kalpakas
68d490ee86 docs(app): refactor the Docs App based on the MD prototype
I incorporated the prototype detailed in https://github.com/gkalpak/angular.js/issues/3.

Things that are different from the prototype (besides using actual data):

 * The left sidenav (toc) is not styled properly (or even readably).
 * The subheaders in the left sidenav are not "stickying" properly (only `ng` becomes sticky).
 * Icons are missing (since we are not using FontAwesome). E.g. search-fab, toc-toggle, results
 * In the right sidenav (search) there are some unwanted horizontal scrollbars.
   (This section probably needs rethinking anyway.)
 * I have implemented a `responsiveMenu` directive to show the options in the header-menus
   (Learn/Develop/Discuss). The purpose is to show the options in a "dropdown-ish" menu on larger
   screens and using a BottomSheet on smaller. At the moment a BottomSheet is used on every
   screen-size.

Notes:

 - Still no version-picker and breadcrumbs (I have left the original implementation of those two
   commented out).
 - I have replaced the previous docs.css with a new one containing the style of the prototype.
   I have renamed the old one to `docs_old.css` and left it there temporarily for quick reference.
   We need to clean up this and the rest of the old CSS files.
 - The main content area is totally unstyled and needs some love (a lot actually).

I have also "sprinkled" the code with a few more TODOs/FIXMEs.

(For more details on known issues and missing features take a look at
 https://github.com/gkalpak/angular.js/issues/3)
2014-12-08 20:40:41 -05:00
Kent C. Dodds
f30163e63a docs(nav): highlight current nav-index-listing
Color the current nav-index-listing item dark red
to make it easier to know where you are.

Closes #9970
Closes #9974
2014-11-15 11:30:23 +01:00
Peter Bacon Darwin
ace40d5526 chore(docs): refactor the docs app search for better bootup time
This commit refactors how the search index is built. The docsSearch service
is now defined by a provider, which returns a different implementation of
the service depending upon whether the current browser supports WebWorkers
or now.

* **WebWorker supported**: The index is then built and stored in a new worker.
The service posts and receives messages to and from this worker to make
queries on the search index.

* **WebWorker no supported**: The index is built locally but with a 500ms
delay so that the initial page can render before the browser is blocked as
the index is built.

Also the way that the current app is identified has been modified so we can
slim down the js data files (pages-data.js) to again improve startup time.

Closes #9204
Closes #9203
2014-09-23 18:58:45 +01:00
Sercan Eraslan
4c5c762378 docs(navigation): side navigation footer overlap problem fix
Closes #8923
2014-09-19 19:26:06 +01:00
thorn0
73157b0a0b docs(docs.css): improve comma spacing in TOC on mobile 2014-09-03 13:57:49 -07:00
Peter Bacon Darwin
1fcbb69f50 chore(docs/css): add margin between ul and p elements
Bootstrap CSS was removing the margin after ul elements if they were
descendents of other ul elements. But if the ul was followed by a p
then this looked terrible.

Related to #5953
2014-07-03 12:50:57 +01:00
Adam Bradley
b64c709808 docs(css): remove Firefox select element drop-down icon
In firefox the version picker's dropdown icon from the default `select` element
is still showing. This CSS forces FF to hide the ugly default.

Closes #6878
2014-05-21 21:33:56 +01:00
Narretz
c2c9d524b9 chore(docs): fix layout between 769px and 991px
Left nav and main content were tucked slightly under the version picker / breadcrumb navbar

Closes #6474
Closes #7079
2014-05-16 13:09:21 +01:00
Peter Bacon Darwin
8e404c4dc1 docs(directives): remove line numbers from code blocks 2014-04-29 12:33:20 +01:00
Peter Bacon Darwin
14a2142484 docs(css): ensure all type-hints have a background color
If the type of a type-hint was not recognized, say a "Promise", then
the background color was left as white.  Given that the default
foreground color is also white, this meant that such type-hints were
invisible.

Closes #6934
2014-04-01 12:00:37 +01:00
Adam Bradley
fa844f64cb docs(css): Add background to .type-hint-domelement
`.type-hint-domelement` does not have a background color assigned to it.
DOM element type hints are now proudly displayed with CadetBlue.
2014-03-25 14:27:40 -07:00
Sekib Omazic
df6d34c52b docs(css): RegExp doesn't have .type-hint-regexp class
type-hint-regexp gets a nice color

closes #6596
2014-03-17 16:05:40 -07:00
Gias Kay Lee
ee07b502a2 docs(css): Fix word breaks issue in <pre>
Closes #6586
2014-03-17 15:08:53 -07:00
Matias Niemelä
0f13f24ad2 chore(docs): ensure the "Improve this doc" button is clickable
Closes #6631
2014-03-10 15:09:25 -04:00
Matias Niemelä
39bae62f53 chore(docs): fix header wrapping for tablet devices 2014-02-20 10:37:03 -05:00
Matias Niemelä
0b6ba9c940 chore(docs): make the layout fully responsive
Closes #6308
2014-02-19 17:22:54 -05:00
Matias Niemelä
7c8a1bfbac docs(design): footer and spacing fixes added to the layout 2014-02-16 19:44:44 -05:00
Matias Niemelä
713c8e629d docs(design): ui-fixes for examples, layout and API components 2014-02-17 00:20:26 +00:00
Peter Bacon Darwin
f5575782c4 docs(docs.css): add initial type-hint styles 2014-02-16 19:03:44 +00:00
Peter Bacon Darwin
389d4879da chore(doc-gen): new docs
chore(doc-gen): implement dgeni
2014-02-16 19:03:41 +00:00