[Frontend] Major reformatting of /licenses page

WTD-1036
Major additions to /licenses page
Apache license added;
Full licenses for each software component added;
Formatting and styles;
This commit is contained in:
Charles Hacskaylo 2015-04-15 17:40:12 -07:00
parent dbe27d2842
commit b6503489b9
14 changed files with 450 additions and 161 deletions

View File

@ -19,6 +19,14 @@
{
"key": "overlay-about",
"templateUrl": "templates/overlay-about.html"
},
{
"key": "license-apache",
"templateUrl": "templates/license-apache.html"
},
{
"key": "license-mit",
"templateUrl": "templates/license-mit.html"
}
],
"controllers": [

View File

@ -4,7 +4,7 @@
<div class="l-logo l-logo-app s-logo s-logo-openmctweb"></div>
</div>
<div class="l-content">
<div class="s-text l-content">
<h1 class="l-title s-title">OpenMCT Web</h1>
<div class="l-description s-description">
<p>Open MCT Web, Copyright &copy; 2009-2015, United States Government as represented by the Administrator of the National Aeronautics and Space Administration. All rights reserved.</p>

View File

@ -0,0 +1,178 @@
<!-- From http://www.apache.org/licenses/LICENSE-2.0 -->
<br>
<p>Version 2.0, January 2004</p>
<p><a href="http://www.apache.org/licenses/">http://www.apache.org/licenses/</a></p>
<h3>TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION</h3>
<p><strong><a name="definitions">1. Definitions</a></strong>.</p>
<p>"License" shall mean the terms and conditions for use, reproduction, and
distribution as defined by Sections 1 through 9 of this document.</p>
<p>"Licensor" shall mean the copyright owner or entity authorized by the
copyright owner that is granting the License.</p>
<p>"Legal Entity" shall mean the union of the acting entity and all other
entities that control, are controlled by, or are under common control with
that entity. For the purposes of this definition, "control" means (i) the
power, direct or indirect, to cause the direction or management of such
entity, whether by contract or otherwise, or (ii) ownership of fifty
percent (50%) or more of the outstanding shares, or (iii) beneficial
ownership of such entity.</p>
<p>"You" (or "Your") shall mean an individual or Legal Entity exercising
permissions granted by this License.</p>
<p>"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation source,
and configuration files.</p>
<p>"Object" form shall mean any form resulting from mechanical transformation
or translation of a Source form, including but not limited to compiled
object code, generated documentation, and conversions to other media types.</p>
<p>"Work" shall mean the work of authorship, whether in Source or Object form,
made available under the License, as indicated by a copyright notice that
is included in or attached to the work (an example is provided in the
Appendix below).</p>
<p>"Derivative Works" shall mean any work, whether in Source or Object form,
that is based on (or derived from) the Work and for which the editorial
revisions, annotations, elaborations, or other modifications represent, as
a whole, an original work of authorship. For the purposes of this License,
Derivative Works shall not include works that remain separable from, or
merely link (or bind by name) to the interfaces of, the Work and Derivative
Works thereof.</p>
<p>"Contribution" shall mean any work of authorship, including the original
version of the Work and any modifications or additions to that Work or
Derivative Works thereof, that is intentionally submitted to Licensor for
inclusion in the Work by the copyright owner or by an individual or Legal
Entity authorized to submit on behalf of the copyright owner. For the
purposes of this definition, "submitted" means any form of electronic,
verbal, or written communication sent to the Licensor or its
representatives, including but not limited to communication on electronic
mailing lists, source code control systems, and issue tracking systems that
are managed by, or on behalf of, the Licensor for the purpose of discussing
and improving the Work, but excluding communication that is conspicuously
marked or otherwise designated in writing by the copyright owner as "Not a
Contribution."</p>
<p>"Contributor" shall mean Licensor and any individual or Legal Entity on
behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.</p>
<p><strong><a name="copyright">2. Grant of Copyright License</a></strong>. Subject to the
terms and conditions of this License, each Contributor hereby grants to You
a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of, publicly
display, publicly perform, sublicense, and distribute the Work and such
Derivative Works in Source or Object form.</p>
<p><strong><a name="patent">3. Grant of Patent License</a></strong>. Subject to the terms
and conditions of this License, each Contributor hereby grants to You a
perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made, use,
offer to sell, sell, import, and otherwise transfer the Work, where such
license applies only to those patent claims licensable by such Contributor
that are necessarily infringed by their Contribution(s) alone or by
combination of their Contribution(s) with the Work to which such
Contribution(s) was submitted. If You institute patent litigation against
any entity (including a cross-claim or counterclaim in a lawsuit) alleging
that the Work or a Contribution incorporated within the Work constitutes
direct or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate as of the
date such litigation is filed.</p>
<p><strong><a name="redistribution">4. Redistribution</a></strong>. You may reproduce and
distribute copies of the Work or Derivative Works thereof in any medium,
with or without modifications, and in Source or Object form, provided that
You meet the following conditions:</p>
<ol style="list-style: lower-latin;">
<li>You must give any other recipients of the Work or Derivative Works a
copy of this License; and</li>
<li>You must cause any modified files to carry prominent notices stating
that You changed the files; and</li>
<li>You must retain, in the Source form of any Derivative Works that You
distribute, all copyright, patent, trademark, and attribution notices from
the Source form of the Work, excluding those notices that do not pertain to
any part of the Derivative Works; and</li>
<li>If the Work includes a "NOTICE" text file as part of its distribution,
then any Derivative Works that You distribute must include a readable copy
of the attribution notices contained within such NOTICE file, excluding
those notices that do not pertain to any part of the Derivative Works, in
at least one of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or documentation,
if provided along with the Derivative Works; or, within a display generated
by the Derivative Works, if and wherever such third-party notices normally
appear. The contents of the NOTICE file are for informational purposes only
and do not modify the License. You may add Your own attribution notices
within Derivative Works that You distribute, alongside or as an addendum to
the NOTICE text from the Work, provided that such additional attribution
notices cannot be construed as modifying the License.
<br>
<br>
You may add Your own copyright statement to Your modifications and may
provide additional or different license terms and conditions for use,
reproduction, or distribution of Your modifications, or for any such
Derivative Works as a whole, provided Your use, reproduction, and
distribution of the Work otherwise complies with the conditions stated in
this License.
</li>
</ol>
<p><strong><a name="contributions">5. Submission of Contributions</a></strong>. Unless You
explicitly state otherwise, any Contribution intentionally submitted for
inclusion in the Work by You to the Licensor shall be under the terms and
conditions of this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify the
terms of any separate license agreement you may have executed with Licensor
regarding such Contributions.</p>
<p><strong><a name="trademarks">6. Trademarks</a></strong>. This License does not grant
permission to use the trade names, trademarks, service marks, or product
names of the Licensor, except as required for reasonable and customary use
in describing the origin of the Work and reproducing the content of the
NOTICE file.</p>
<p><strong><a name="no-warranty">7. Disclaimer of Warranty</a></strong>. Unless required by
applicable law or agreed to in writing, Licensor provides the Work (and
each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including,
without limitation, any warranties or conditions of TITLE,
NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You
are solely responsible for determining the appropriateness of using or
redistributing the Work and assume any risks associated with Your exercise
of permissions under this License.</p>
<p><strong><a name="no-liability">8. Limitation of Liability</a></strong>. In no event and
under no legal theory, whether in tort (including negligence), contract, or
otherwise, unless required by applicable law (such as deliberate and
grossly negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a result
of this License or out of the use or inability to use the Work (including
but not limited to damages for loss of goodwill, work stoppage, computer
failure or malfunction, or any and all other commercial damages or losses),
even if such Contributor has been advised of the possibility of such
damages.</p>
<p><strong><a name="additional">9. Accepting Warranty or Additional Liability</a></strong>.
While redistributing the Work or Derivative Works thereof, You may choose
to offer, and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this License.
However, in accepting such obligations, You may act only on Your own behalf
and on Your sole responsibility, not on behalf of any other Contributor,
and only if You agree to indemnify, defend, and hold each Contributor
harmless for any liability incurred by, or claims asserted against, such
Contributor by reason of your accepting any such warranty or additional
liability.</p>
<h3>END OF TERMS AND CONDITIONS</h3>
<h3 id="apply">APPENDIX: How to apply the Apache License to your work</h3>
<p>To apply the Apache License to your work, attach the following boilerplate
notice, with the fields enclosed by brackets "[]" replaced with your own
identifying information. (Don't include the brackets!) The text should be
enclosed in the appropriate comment syntax for the file format. We also
recommend that a file or class name and description of purpose be included
on the same "printed page" as the copyright notice for easier
identification within third-party archives.</p>
<div class="codehilite"><pre>Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
</pre></div>

View File

@ -0,0 +1,3 @@
<p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
<p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>

View File

@ -1,33 +1,23 @@
<style>
.licenses { padding: 1em; }
.licenses th { font-weight: bold; padding: 0.5em; }
.licenses td { padding: 0.5em; }
</style>
<div ng-controller="LicenseController as lc" class="licenses">
<div ng-controller="LicenseController as lc" class="abs l-standalone s-text l-about l-licenses s-about s-licenses">
<h1>OpenMCT Web Licenses</h1>
<h2>Apache License</h2>
<mct-include key="'license-apache'"></mct-include>
<h2>Software Components Licenses</h2>
<p>This software includes components released under the following licenses:</p>
<div class="l-licenses-software">
<div class="l-license-software" ng-repeat="license in lc.licenses()">
<h3><a target="_blank" ng-href="{{license.website}}">{{license.name}}</a></h3>
<p>
This software includes components released under the following licenses.
<em>Version</em> {{license.version}}
<em>&nbsp;|&nbsp;Author</em> {{license.author}}
<em>&nbsp;|&nbsp;Description</em> {{license.description}}
</p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Version</th>
<th>Author</th>
<th>Description</th>
<th>License</th>
</tr>
</thead>
<tbody style="font-weight: normal;">
<tr ng-repeat="license in lc.licenses()">
<td><a ng-href="{{license.website}}">{{license.name}}</a></td>
<td>{{license.version}}</td>
<td>{{license.author}}</td>
<td>{{license.description}}</td>
<td><a ng-href="{{license.link}}">{{license.license}}</a></td>
</tr>
</tbody>
</table>
<em>License</em>
<div class="s-license-text">
<p ng-show="license.copyright.length > 0">{{license.copyright}}</p>
<mct-include key="license.license"></mct-include>
</div>
</div>
</div>
</div>

View File

@ -85,7 +85,7 @@
{
"key": "window",
"implementation": "windowing/NewWindowAction.js",
"description": "Open this object in a new window.",
"description": "Open this object in a new window",
"category": "view-control",
"depends": [ "$window" ],
"group": "windowing",
@ -104,7 +104,7 @@
"key": "items",
"name": "Items",
"glyph": "9",
"description": "Grid of available items.",
"description": "Grid of available items",
"templateUrl": "templates/items/items.html",
"uses": [ "composition" ],
"gestures": [ "drop" ],
@ -125,10 +125,11 @@
{
"name": "screenfull.js",
"version": "1.2.0",
"description": "Wrapper for cross-browser usage of fullscreen API.",
"description": "Wrapper for cross-browser usage of fullscreen API",
"author": "Sindre Sorhus",
"website": "https://github.com/sindresorhus/screenfull.js/",
"license": "MIT",
"copyright": "Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)",
"license": "license-mit",
"link": "https://github.com/sindresorhus/screenfull.js/blob/gh-pages/license"
},
{
@ -137,7 +138,8 @@
"description": "Unique identifer generation (code adapted.)",
"author": "Robert Kieffer",
"website": "https://github.com/broofa/node-uuid",
"license": "MIT",
"copyright": "",
"license": "license-mit",
"link": "http://opensource.org/licenses/MIT"
}
]

View File

@ -1,6 +1,6 @@
{
"name": "General UI elements",
"description": "General UI elements, meant to be reused across modes.",
"description": "General UI elements, meant to be reused across modes",
"resources": "res",
"extensions": {
"runs": [
@ -211,19 +211,21 @@
{
"name": "Modernizr",
"version": "2.6.2",
"description": "Browser/device capability finding.",
"description": "Browser/device capability finding",
"author": "Faruk Ateş",
"website": "http://modernizr.com",
"license": "MIT",
"copyright": "Copyright (c) 20092015",
"license": "license-mit",
"link": "http://modernizr.com/license/"
},
{
"name": "Normalize.css",
"version": "1.1.2",
"description": "Browser style normalization.",
"description": "Browser style normalization",
"author": "Nicolas Gallagher, Jonathan Neal",
"website": "http://necolas.github.io/normalize.css/",
"license": "MIT",
"copyright": "Copyright (c) Nicolas Gallagher and Jonathan Neal",
"license": "license-mit",
"link": "https://github.com/necolas/normalize.css/blob/master/LICENSE.md"
}
]

View File

@ -108,7 +108,6 @@ body, html {
/* line 20, ../sass/_global.scss */
em {
color: rgba(255, 255, 255, 0.2);
font-style: normal; }
/* line 25, ../sass/_global.scss */
@ -148,36 +147,45 @@ span {
width: auto; }
/* line 61, ../sass/_global.scss */
.code {
.code, .codehilite {
font-family: "Lucida Console", monospace;
font-size: 0.7em;
line-height: 150%;
white-space: pre; }
/* line 68, ../sass/_global.scss */
.codehilite {
background-color: rgba(255, 255, 255, 0.1);
padding: 1em; }
/* line 74, ../sass/_global.scss */
.align-right {
text-align: right; }
/* line 72, ../sass/_global.scss */
/* line 78, ../sass/_global.scss */
.centered {
text-align: center; }
/* line 76, ../sass/_global.scss */
/* line 82, ../sass/_global.scss */
.no-margin {
margin: 0; }
/* line 86, ../sass/_global.scss */
.colorKey {
color: #0099cc; }
/* line 80, ../sass/_global.scss */
/* line 90, ../sass/_global.scss */
.ds {
-webkit-box-shadow: rgba(0, 0, 0, 0.7) 0 4px 10px 2px;
-moz-box-shadow: rgba(0, 0, 0, 0.7) 0 4px 10px 2px;
box-shadow: rgba(0, 0, 0, 0.7) 0 4px 10px 2px; }
/* line 85, ../sass/_global.scss */
/* line 95, ../sass/_global.scss */
.hide,
.hidden {
display: none !important; }
/* line 89, ../sass/_global.scss */
/* line 99, ../sass/_global.scss */
.sep {
color: rgba(255, 255, 255, 0.2); }
@ -488,58 +496,24 @@ span {
.edit-mode .t-fixed-position .l-fixed-position-item:not(.s-selected):hover {
border: 1px dotted rgba(0, 153, 204, 0.5); }
/* line 3, ../sass/_about.scss */
.t-about {
line-height: 120%; }
/* line 7, ../sass/_about.scss */
.t-about .s-description,
.t-about .s-info {
font-size: 0.8em; }
/* line 10, ../sass/_about.scss */
.t-about .s-logo-holder {
background: url("../images/bg-about-openmctweb.jpg") no-repeat center;
background-size: cover; }
/* line 14, ../sass/_about.scss */
.t-about .s-logo {
background-position: center;
background-repeat: no-repeat;
background-size: contain; }
/* line 20, ../sass/_about.scss */
.t-about .s-logo-openmctweb {
background-image: url("../images/logo-openmctweb-shdw.svg"); }
/* line 23, ../sass/_about.scss */
.t-about .s-btn, .t-about .s-icon-btn {
line-height: 2em; }
/* line 27, ../sass/_about.scss */
.t-about a {
color: #84b3ff; }
/* line 31, ../sass/_about.scss */
.t-about h1, .t-about h2 {
color: #fff;
font-weight: normal !important; }
/* line 36, ../sass/_about.scss */
.t-about h2 {
border-top: 1px solid #4d4d4d;
margin-top: 2em;
padding-top: 1em; }
/* line 43, ../sass/_about.scss */
.t-about.l-about.abs, .btn-menu span.t-about.l-about.l-click-area {
/* line 5, ../sass/_about.scss */
.l-about.abs, .btn-menu span.l-about.l-click-area {
overflow: auto; }
/* line 48, ../sass/_about.scss */
.t-about .l-logo-holder {
/* line 10, ../sass/_about.scss */
.l-about .l-logo-holder {
position: relative;
height: 45%; }
/* line 51, ../sass/_about.scss */
.t-about .l-logo-holder .l-logo {
/* line 13, ../sass/_about.scss */
.l-about .l-logo-holder .l-logo {
position: absolute; }
/* line 54, ../sass/_about.scss */
.t-about .l-logo-holder .l-logo.l-logo-app {
/* line 16, ../sass/_about.scss */
.l-about .l-logo-holder .l-logo.l-logo-app {
top: 0;
right: 15%;
bottom: 0;
left: 15%; }
/* line 58, ../sass/_about.scss */
.t-about .l-logo-holder .l-logo.s-logo-nasa {
/* line 20, ../sass/_about.scss */
.l-about .l-logo-holder .l-logo.s-logo-nasa {
background-image: url("../images/logo-nasa.svg");
top: 10px;
right: auto;
@ -549,11 +523,75 @@ span {
height: auto;
padding-bottom: 5%;
padding-top: 5%; }
/* line 67, ../sass/_about.scss */
.t-about .l-content {
/* line 29, ../sass/_about.scss */
.l-about .l-content {
position: relative;
margin-top: 10px; }
/* line 36, ../sass/_about.scss */
.s-about {
line-height: 120%; }
/* line 40, ../sass/_about.scss */
.s-about a {
color: #84b3ff; }
/* line 47, ../sass/_about.scss */
.s-about .s-logo-holder {
background: url("../images/bg-about-openmctweb.jpg") no-repeat center;
background-size: cover; }
/* line 51, ../sass/_about.scss */
.s-about .s-logo {
background-position: center;
background-repeat: no-repeat;
background-size: contain; }
/* line 57, ../sass/_about.scss */
.s-about .s-logo-openmctweb {
background-image: url("../images/logo-openmctweb-shdw.svg"); }
/* line 60, ../sass/_about.scss */
.s-about .s-btn, .s-about .s-icon-btn {
line-height: 2em; }
/* line 64, ../sass/_about.scss */
.s-about .l-licenses-software .l-license-software {
border-top: 1px solid #4d4d4d;
padding: 0.5em 0; }
/* line 67, ../sass/_about.scss */
.s-about .l-licenses-software .l-license-software:first-child {
border-top: none; }
/* line 70, ../sass/_about.scss */
.s-about .l-licenses-software .l-license-software em {
color: #666666; }
/* line 77, ../sass/_about.scss */
.s-about .l-licenses-software .l-license-software h3 {
font-size: 1.25em; }
/* line 80, ../sass/_about.scss */
.s-about .l-licenses-software .l-license-software .s-license-text {
font-size: 0.9em; }
/* line 3, ../sass/_text.scss */
.abs.l-standalone, .btn-menu span.l-standalone.l-click-area {
padding: 5% 20%; }
/* line 8, ../sass/_text.scss */
.s-text {
font-size: 0.8em; }
/* line 10, ../sass/_text.scss */
.s-text ol, .s-text ul {
list-style: square;
margin-left: 1.5em; }
/* line 18, ../sass/_text.scss */
.s-text h1, .s-text h2, .s-text h3 {
color: #fff;
font-weight: normal !important;
margin-bottom: 1em; }
/* line 24, ../sass/_text.scss */
.s-text h2 {
border-top: 1px solid #4d4d4d;
font-size: 1.5em;
margin-top: 2em;
padding-top: 1em; }
/* line 31, ../sass/_text.scss */
.s-text h3 {
margin-top: 2em; }
/* line 1, ../sass/_badges.scss */
.badge {
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffd233), color-stop(100%, #ffc700));

View File

@ -1,46 +1,8 @@
// General About dialog styling
.t-about {
// Styling
line-height: 120%;
.s-description,
.s-info {
font-size: 0.8em;
}
.s-logo-holder {
background: url($dirImgs + "bg-about-openmctweb.jpg") no-repeat center; // For OpenMCT Web.
background-size: cover;
}
.s-logo {
// @include txtShdwLarge(); // text-shadow doesn't work for svg
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}
.s-logo-openmctweb {
background-image: url($dirImgs + 'logo-openmctweb-shdw.svg');
}
.s-btn {
line-height: 2em;
}
a {
color: #84b3ff;
}
h1, h2 {
color: #fff;
font-weight: normal !important;
}
h2 {
border-top: 1px solid $colorInteriorBorder;
margin-top: 2em;
padding-top: 1em;
}
.l-about {
// Layout
&.l-about.abs {
&.abs {
// top: 20px;
overflow: auto;
}
@ -71,3 +33,54 @@
}
}
.s-about {
// Styling
line-height: 120%;
a {
color: #84b3ff;
}
.s-description,
.s-info {
// font-size: 0.8em;
}
.s-logo-holder {
background: url($dirImgs + "bg-about-openmctweb.jpg") no-repeat center; // For OpenMCT Web.
background-size: cover;
}
.s-logo {
// @include txtShdwLarge(); // text-shadow doesn't work for svg
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}
.s-logo-openmctweb {
background-image: url($dirImgs + 'logo-openmctweb-shdw.svg');
}
.s-btn {
line-height: 2em;
}
.l-licenses-software {
.l-license-software {
border-top: 1px solid $colorInteriorBorder;
padding: 0.5em 0;
&:first-child {
border-top: none;
}
em {
color: darken($colorBodyFg, 20%);
// margin-left: 2em;
&:first-child {
// margin-left: 0;
}
}
h3 {
font-size: 1.25em;
}
.s-license-text {
font-size: 0.9em;
}
}
}
}

View File

@ -18,7 +18,7 @@ body, html {
}
em {
color: rgba(white, 0.2);
// color: rgba(white, 0.2); Removed this as a global setting
font-style: normal;
}
@ -65,6 +65,12 @@ span {
white-space: pre;
}
.codehilite {
@extend .code;
background-color: rgba(#fff, 0.1);
padding: 1em;
}
.align-right {
text-align: right;
}
@ -73,6 +79,10 @@ span {
text-align: center;
}
.no-margin {
margin: 0;
}
.colorKey {
color: $colorKey;
}

View File

@ -11,6 +11,7 @@
@import "user-environ/layout";
@import "fixed-position";
@import "about";
@import "text";
@import "badges";
@import "icons";
@import "lists/tabular";

View File

@ -0,0 +1,35 @@
// Styles for extended text copy
.abs.l-standalone {
$d: 20%;
padding: $d/4 $d;
}
.s-text {
font-size: 0.8em;
ol, ul {
list-style: square;
margin-left: 1.5em;
li {
}
}
h1, h2, h3 {
color: #fff;
font-weight: normal !important;
margin-bottom: 1em;
}
h2 {
border-top: 1px solid $colorInteriorBorder;
font-size: 1.5em;
margin-top: 2em;
padding-top: 1em;
}
h3 {
margin-top: 2em;
}
}

View File

@ -1,6 +1,6 @@
{
"name": "Open MCT Web Framework Component",
"description": "Framework layer for Open MCT Web; interprets bundle definitions and serves as an intermediary between Require and Angular.",
"description": "Framework layer for Open MCT Web; interprets bundle definitions and serves as an intermediary between Require and Angular",
"libraries": "lib",
"configuration": {
"paths": {
@ -17,57 +17,65 @@
{
"name": "Blanket.js",
"version": "1.1.5",
"description": "Code coverage measurement and reporting.",
"description": "Code coverage measurement and reporting",
"author": "Alex Seville",
"website": "http://blanketjs.org/",
"license": "MIT",
"copyright": "",
"license": "license-mit",
"link": "http://opensource.org/licenses/MIT"
},
{
"name": "Jasmine",
"version": "1.3.1",
"description": "Unit testing.",
"description": "Unit testing",
"author": "Pivotal Labs",
"website": "http://jasmine.github.io/",
"license": "MIT",
"copyright": "",
"license": "license-mit",
"link": "http://opensource.org/licenses/MIT"
},
{
"name": "RequireJS",
"version": "2.1.9",
"description": "Script loader.",
"description": "Script loader",
"author": "The Dojo Foundation",
"website": "http://requirejs.org/",
"license": "MIT",
"copyright": "Copyright (c) 2010-2015, The Dojo Foundation",
"license": "license-mit",
"link": "https://github.com/jrburke/requirejs/blob/master/LICENSE"
},
{
"name": "AngularJS",
"version": "1.2.26",
"description": "Client-side web application framework.",
"description": "Client-side web application framework",
"author": "Google",
"website": "http://angularjs.org/",
"license": "MIT",
"copyright": "Copyright (c) 2010-2015 Google, Inc. http://angularjs.org",
"license": "license-mit",
"link": "https://github.com/angular/angular.js/blob/master/LICENSE"
},
{
"name": "Angular-Route",
"version": "1.2.26",
"description": "Client-side view routing.",
"description": "Client-side view routing",
"author": "Google",
"website": "http://angularjs.org/",
"license": "MIT",
"copyright": "Copyright (c) 2010-2015 Google, Inc. http://angularjs.org",
"license": "license-mit",
"link": "https://github.com/angular/angular.js/blob/master/LICENSE"
},
{
"name": "ES6-Promise",
"version": "2.0.0",
"description": "Promise polyfill for pre-ECMAScript 6 browsers.",
"description": "Promise polyfill for pre-ECMAScript 6 browsers",
"author": "Yehuda Katz, Tom Dale, Stefan Penner and contributors",
"website": "https://github.com/jakearchibald/es6-promise",
"license": "MIT",
"copyright": "Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors",
"license": "license-mit",
"link": "https://github.com/jakearchibald/es6-promise/blob/master/LICENSE"
}
]
}
}

View File

@ -1,6 +1,6 @@
{
"name": "Data bundle",
"description": "Interfaces and infrastructure for real-time and historical data.",
"description": "Interfaces and infrastructure for real-time and historical data",
"configuration": {
"paths": {
"moment": "moment.min"
@ -50,9 +50,10 @@
"name": "Moment.js",
"version": "2.7.0",
"author": "Tim Wood, Iskren Chernev, Moment.js contributors",
"description": "Time/date parsing/formatting.",
"description": "Time/date parsing/formatting",
"website": "http://momentjs.com",
"license": "MIT",
"copyright": "Copyright (c) 2011-2014 Tim Wood, Iskren Chernev, Moment.js contributors",
"license": "license-mit",
"link": "https://raw.githubusercontent.com/moment/moment/develop/LICENSE"
}
]