diff --git a/docs/app/css/style.css b/docs/app/css/style.css index dd1760cb831..94cb8da8511 100644 --- a/docs/app/css/style.css +++ b/docs/app/css/style.css @@ -19,7 +19,7 @@ table { border-spacing: 0; border-radius: 2px; overflow: hidden; - border: 1px solid #eee; + border: 1px solid rgba(238, 238, 238, 0.47); } /*************** @@ -637,14 +637,20 @@ ul.buckets li a:focus md-icon { color: #888; } +code.api-type { + font-weight: bold; +} + .api-params-content ul { padding-left: 4px; } -ul.methods > li { +ul.methods > li#id { margin-bottom: 48px; } ul.methods .method-function-syntax { + + color: rgb(63, 81, 181); font-weight: normal; font-size: 1.6rem; margin: 0; @@ -652,6 +658,22 @@ ul.methods .method-function-syntax { -webkit-margin-after: 0; } +ul.methods .method-param-table, .api-param-table { + border: 1px solid rgba(238, 238, 238, 0.47); + border-radius: 9px; + overflow: hidden; +} + +.api-param-table > table, +.method-param-table > table { + border-bottom: none; + margin-bottom : 0px; +} + +.api-param-section { + margin-top: 40px; +} + h3 .method-function-syntax { display: inline-block; padding: 8px 16px; @@ -729,6 +751,7 @@ ul.methods { } ul.methods > li { margin: 0; + margin-bottom: 20px; } ul.methods > li:first-child > *:first-child { padding-top: 0; @@ -778,3 +801,19 @@ docs-demo .doc-demo-content { color: #202020 !important; z-index: 3; } + +header.api-profile-header { + color: rgb(63, 81, 181); + font-weight: bold; +} + +.api-profile-description ol li { + padding-bottom: 8px; +} + +.image_caption { + padding-left: 30%; + font-size: .7em; + margin-top: -15px; + display: block; +} diff --git a/docs/config/template/ngdoc/api/api.template.html b/docs/config/template/ngdoc/api/api.template.html index 7c6711276bb..8ae6ae6fb99 100644 --- a/docs/config/template/ngdoc/api/api.template.html +++ b/docs/config/template/ngdoc/api/api.template.html @@ -4,7 +4,7 @@ {% block header %}
-

{{menu.currentPage|humanizeDoc}}

+

<{{menu.currentPage|humanizeDoc}} />

{% block related_components %}{% endblock %}
diff --git a/docs/config/template/ngdoc/lib/methods.template.html b/docs/config/template/ngdoc/lib/methods.template.html index 9b536c80e03..465efd576c7 100644 --- a/docs/config/template/ngdoc/lib/methods.template.html +++ b/docs/config/template/ngdoc/lib/methods.template.html @@ -1,6 +1,7 @@ {%- if doc.methods %}

Methods

+
diff --git a/docs/config/template/ngdoc/lib/params.template.html b/docs/config/template/ngdoc/lib/params.template.html index f5f423984eb..2e27af4be51 100644 --- a/docs/config/template/ngdoc/lib/params.template.html +++ b/docs/config/template/ngdoc/lib/params.template.html @@ -1,12 +1,16 @@ {%- if doc.params %} -

- {% if doc.paramType %} - {$ doc.paramType $} - {% elif doc.docType == 'directive' %} - Attributes - {% else %} - Arguments - {% endif %} -

- {$ paramTable(doc.params) $} +
+

+ {% if doc.paramType %} + {$ doc.paramType $} + {% elif doc.docType == 'directive' %} + Attributes + {% else %} + Arguments + {% endif %} +

+
+ {$ paramTable(doc.params) $} +
+
{%- endif -%} diff --git a/docs/config/template/ngdoc/lib/returns.template.html b/docs/config/template/ngdoc/lib/returns.template.html index 7721fb45ba0..65065387c91 100644 --- a/docs/config/template/ngdoc/lib/returns.template.html +++ b/docs/config/template/ngdoc/lib/returns.template.html @@ -1,3 +1,5 @@ {% if doc.returns -%} -{$ returnTable(doc.returns) $} +
+ {$ returnTable(doc.returns) $} +
{%- endif %} diff --git a/src/components/button/button.js b/src/components/button/button.js index 4986dcd478d..44f5bdf6cd9 100644 --- a/src/components/button/button.js +++ b/src/components/button/button.js @@ -20,10 +20,8 @@ angular * `` is a button directive with optional ink ripples (default enabled). * * If you supply a `href` or `ng-href` attribute, it will become an `` element. Otherwise, it will - * become a `