You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2018/07/27 10:03:51 UTC
[26/53] [partial] brooklyn-ui git commit: Update Brooklyn codebase to
build the newly donated UI
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/card/card.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/card/card.html b/new/ui-modules/utils/br-core/card/card.html
deleted file mode 100644
index 78090e0..0000000
--- a/new/ui-modules/utils/br-core/card/card.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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.
--->
-<div class="brooklyn-home-card" ng-class="{'center': center}" ng-transclude></div>
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/card/card.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/card/card.js b/new/ui-modules/utils/br-core/card/card.js
deleted file mode 100644
index fbe063d..0000000
--- a/new/ui-modules/utils/br-core/card/card.js
+++ /dev/null
@@ -1,159 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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.
- */
-import angular from 'angular';
-import angularBootstrap from 'angular-ui-bootstrap';
-import cardTemplate from './card.html';
-import cardContentTemplate from './card-content.html';
-import cardContentHeadlineTemplate from './card-content-headline.html';
-import cardContentSubheadTemplate from './card-content-subhead.html';
-import cardActionTemplate from './card-actions.html';
-
-const MODULE_NAME = 'core.card';
-
-/**
- * @ngdoc directive
- * @name brCard
- * @module brCore
- * @restrict E
- *
- * @description
- * HTML element use to display data as a card. There are few possibilities on how to use it, please see example.
- *
- * @param {boolean=} center Center card content.
- *
- * @example
- * ### Basic card with title and description
- * <example module="br.core">
- * <file name="index.html">
- * <br-card>
- * <br-card-content>
- * <br-card-content-headline>My title</br-card-content-headline>
- * <br-card-content-subhead>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus egestas metus in arcu interdum, vel rutrum felis ornare. Morbi eu purus sed libero viverra sollicitudin.</br-card-content-subhead>
- * </br-card-content>
- * </br-card>
- * </file>
- * </example>
- *
- * @example
- * ### Basic card without title
- * <example module="br.core">
- * <file name="index.html">
- * <br-card>
- * <br-card-content>
- * <br-card-content-subhead>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus egestas metus in arcu interdum, vel rutrum felis ornare. Morbi eu purus sed libero viverra sollicitudin.</br-card-content-subhead>
- * </br-card-content>
- * </br-card>
- * </file>
- * </example>
- *
- * @example
- * ### Basic card with action buttonssss
- * <example module="br.core">
- * <file name="index.html">
- * <br-card>
- * <br-card-content>
- * <br-card-content-headline>My title</br-card-content-headline>
- * <br-card-content-subhead>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus egestas metus in arcu interdum, vel rutrum felis ornare. Morbi eu purus sed libero viverra sollicitudin.</br-card-content-subhead>
- * </br-card-content>
- * <br-card-actions>
- * <br-button type="btn-default">Cancel</br-button>
- * <br-button type="btn-primary">Submit</br-button>
- * </br-card-actions>
- * </br-card>
- * </file>
- * </example>
- *
- * @example
- * ### Basic card centered
- * <example module="br.core">
- * <file name="index.html">
- * <br-card center="true">
- * <br-card-content>
- * <br-card-content-headline>My title</br-card-content-headline>
- * <br-card-content-subhead>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus egestas metus in arcu interdum, vel rutrum felis ornare. Morbi eu purus sed libero viverra sollicitudin.</br-card-content-subhead>
- * </br-card-content>
- * <br-card-actions>
- * <br-button type="btn-default">Cancel</br-button>
- * <br-button type="btn-primary">Submit</br-button>
- * </br-card-actions>
- * </br-card>
- * </file>
- * </example>
- */
-angular.module(MODULE_NAME, [angularBootstrap])
- .directive('brCard', brCard)
- .directive('brCardContent', brCardContent)
- .directive('brCardContentHeadline', brCardContentHeadline)
- .directive('brCardContentSubhead', brCardContentSubhead)
- .directive('brCardActions', brCardActions);
-
-
-export default MODULE_NAME;
-
-export function brCard() {
- return {
- restrict: 'E',
- scope: {
- center: '@'
- },
- transclude: true,
- template: cardTemplate,
- replace: true
- };
-}
-
-export function brCardContent() {
- return {
- require: '^brCard',
- restrict: 'E',
- transclude: true,
- template: cardContentTemplate,
- replace: true
- };
-}
-
-export function brCardContentHeadline() {
- return {
- require: '^br-card-content',
- restrict: 'E',
- transclude: true,
- template: cardContentHeadlineTemplate,
- replace: true
- };
-}
-
-export function brCardContentSubhead() {
- return {
- require: '^brCardContent',
- restrict: 'E',
- transclude: true,
- template: cardContentSubheadTemplate,
- replace: true
- };
-}
-
-export function brCardActions() {
- return {
- require: '^brCard',
- restrict: 'E',
- transclude: true,
- template: cardActionTemplate,
- replace: true
- };
-}
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/collapsible/collapsible.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/collapsible/collapsible.html b/new/ui-modules/utils/br-core/collapsible/collapsible.html
deleted file mode 100644
index f422437..0000000
--- a/new/ui-modules/utils/br-core/collapsible/collapsible.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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.
--->
-<uib-accordion ng-click="stopPropagationIfFromHeader($event);">
- <div uib-accordion-group is-open="stateWrapped.state">
- <uib-accordion-heading>
- <div style="display: flex; flex-flow: row nowrap;">
- <div style="flex-grow: 1;"><ng-transclude ng-transclude-slot="heading">{{ heading }}</ng-transclude></div>
- <div style="flex-grow: 0; margin-left: 12px;"><i ng-class="stateWrapped.state ? 'fa fa-chevron-up' : 'fa fa-chevron-down'"></i></div>
- </div>
- </uib-accordion-heading>
- <ng-transclude></ng-transclude>
- </div>
-</uib-accordion>
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/collapsible/collapsible.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/collapsible/collapsible.js b/new/ui-modules/utils/br-core/collapsible/collapsible.js
deleted file mode 100644
index 2138a82..0000000
--- a/new/ui-modules/utils/br-core/collapsible/collapsible.js
+++ /dev/null
@@ -1,111 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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.
- */
-import angular from 'angular';
-import angularBootstrap from 'angular-ui-bootstrap';
-import template from './collapsible.html';
-
-const MODULE_NAME = 'core.collapsible';
-
-/**
- * @ngdoc directive
- * @name brCollapsible
- * @module brCore
- * @restrict E
- *
- * @description
- * HTML block element that displays a collapsible panel,
- * wrapping bootstrap uib-accordion in Brooklyn-preferred styles including:
- * entire header panel clickable, chevrons pointing sensible directions, simpler syntax, colours.
- *
- * @param {string=} [heading] Text for the heading (attribute or element)
- * @param {boolean=} [state] Variable specifying whether the panel is expanded
- *
- * @example
- * ### Example using an attribute
- * <example module="br.core" expanding-example-200px="true">
- * <file name="index.html">
- * <br-collapsible heading="Heading as Attribute">
- * Content
- * </br-collapsible>
- * </file>
- * </example>
- *
- * @example
- * ### Example using an element to include HTML and state read/write
- * <example module="br.core" expanding-example-200px="true">
- * <file name="index.html">
- * <div ng-init="x = { open: true };">
- * <br-collapsible state="x.open">
- * <heading>Heading as <b>Element</b> <i>with HTML</i>
- * (<a ng-click="x.open = !x.open; $event.stopPropagation();">{{ x.open ? 'opened' : 'closed' }}</a>)</heading>
- * This panel starts opened.
- * It's now <a ng-click="x.open = !x.open;">{{ x.open ? 'opened' : 'closed' }}</a>.
- * </br-collapsible>
- * Panel above is <a ng-click="x.open = !x.open;">{{ x.open ? 'opened' : 'closed' }}</a>.
- * </div>
- * </file>
- * </example>
- */
-angular.module(MODULE_NAME, [angularBootstrap])
- .directive('brCollapsible', brCollapsible);
-
-export default MODULE_NAME;
-
-export function brCollapsible() {
- return {
- restrict: 'E',
- scope: { 'state': '=?', 'heading': '@?' },
- transclude: { 'heading': '?heading' },
- template: template,
- link: function($scope) {
- // hideous but almost perfect way to suppress the ugly focus on click but not on keypress
- // it flashes blur for a short while on click is all
- // cf http://stackoverflow.com/questions/19053181/how-to-remove-focus-around-buttons-on-click
- function stopPropagationIfInHeader($event, target, endpoint) {
- var targets = [];
- while (target.length && target !== endpoint) {
- targets.push(target[0]);
- if (target.hasClass("panel-title")) {
- // blur everything contained in us if the click was in the title
- for (let ti in targets) { targets[ti].blur(); }
- // these don't work to suppress focussing:
- // $event.stopPropagation();
- // $event.preventDefault();
- return;
- }
- target = target.parent();
- }
- };
- $scope.stopPropagationIfFromHeader = function($event) {
- if (/MouseEvent/.test($event.toString())) {
- stopPropagationIfInHeader($event, angular.element($event.target), angular.element($event.currentTarget));
- }
- };
-
- $scope.stateWrapped = { state: false };
- if (typeof $scope.state != 'undefined') {
- // Bi-di watching and wrapping required due to how underlying widget works
- // See https://github.com/angular-ui/bootstrap/issues/4656
- $scope.stateWrapped.state = $scope.state;
- $scope.$watch('stateWrapped.state', function(newStateWrapped) { $scope.state = newStateWrapped; });
- $scope.$watch('state', function(newState) { $scope.stateWrapped.state = newState; });
- }
- }
- };
-}
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/footer/footer-block-main.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/footer/footer-block-main.html b/new/ui-modules/utils/br-core/footer/footer-block-main.html
deleted file mode 100644
index 139ad02..0000000
--- a/new/ui-modules/utils/br-core/footer/footer-block-main.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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.
--->
-<div class="container footer">
- <div class="row">
- <div class="col-sm-12" ng-transclude></div>
- </div>
-</div>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/footer/footer-block-secondary.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/footer/footer-block-secondary.html b/new/ui-modules/utils/br-core/footer/footer-block-secondary.html
deleted file mode 100644
index 44a3fd3..0000000
--- a/new/ui-modules/utils/br-core/footer/footer-block-secondary.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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.
--->
-<div class="container-fluid">
- <div class="row footer second-footer">
- <div class="col-sm-12">
- <h4 ng-if="title">{{ title }}</h4>
- <ul ng-transclude></ul>
- </div>
- </div>
-</div>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/footer/footer.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/footer/footer.html b/new/ui-modules/utils/br-core/footer/footer.html
deleted file mode 100644
index e03be8b..0000000
--- a/new/ui-modules/utils/br-core/footer/footer.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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.
--->
-<footer ng-transclude></footer>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/footer/footer.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/footer/footer.js b/new/ui-modules/utils/br-core/footer/footer.js
deleted file mode 100644
index 2ead47f..0000000
--- a/new/ui-modules/utils/br-core/footer/footer.js
+++ /dev/null
@@ -1,169 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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.
- */
-import angular from 'angular';
-import angularBootstrap from 'angular-ui-bootstrap';
-import footerTemplate from './footer.html';
-import footerBlockMainTemplate from './footer-block-main.html';
-import footerBlockSecondaryTemplate from './footer-block-secondary.html';
-import linkItemTemplate from './../navbar/link-item.html';
-
-const MODULE_NAME = 'core.footer';
-
-/**
- * @ngdoc directive
- * @name brFooter
- * @module brCore
- * @restrict E
- *
- * @description
- * HTML block element that displays the main footer at the bottom of the page. The footer can be composed of a main and
- * secondary zone for text + links.
- *
- * @example
- * ### Basic footer with text
- * <example module="br.core">
- * <file name="index.html">
- * <br-footer>
- * <br-footer-block-main>
- * <h2>My app</h2>
- * <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris rutrum eros bibendum lectus aliquam, nec tempus elit iaculis. Praesent iaculis magna non posuere auctor.</p>
- * </br-footer-block-main>
- * </br-footer>
- * </file>
- * </example>
- *
- * @example
- * ### Footer with links
- * <example module="br.core">
- * <file name="index.html">
- * <br-footer>
- * <br-footer-block-secondary>
- * <br-footer-link-item link="http://github.com/apache" icon="fa-github"></br-footer-link-item>
- * <br-footer-link-item link="http://twitter.com/apache" icon="fa-twitter"></br-footer-link-item>
- * </br-footer-block-secondary>
- * </br-footer>
- * </file>
- * </example>
- *
- * @example
- * ### Full footer
- * <example module="br.core">
- * <file name="index.html">
- * <br-footer>
- * <br-footer-block-main>
- * <br-footer-copyright app-name="My awesome app" />
- * </br-footer-block-main>
- * <br-footer-block-secondary title="Social links">
- * <br-footer-link-item link="http://github.com/apache" icon="fa-github"></br-footer-link-item>
- * <br-footer-link-item link="http://twitter.com/apache" icon="fa-twitter"></br-footer-link-item>
- * </br-footer-block-secondary>
- * </br-footer>
- * </file>
- * </example>
- */
-angular.module(MODULE_NAME, [angularBootstrap])
- .directive('brFooter', brFooter)
- .directive('brFooterBlockMain', brFooterBlockMain)
- .directive('brFooterBlockSecondary', brFooterBlockSecondary)
- .directive('brFooterLinkItem', brFooterLinkItem);
-
-export default MODULE_NAME;
-
-/**
- * @ngdoc directive
- * @name brFooter
- * @module brCore
- * @scope
- * @restrict E
- *
- * @description
- * HTML block element that displays a footer for the given {@link #appName}.
- *
- * @param {string=} appName Application name to licensed. Will be displayed within the license text.
- *
- * @example
- * ### Basic example
- * <example module="br.core">
- * <file name="index.html">
- * <br-footer app-name="New great application" />
- * </file>
- * </example>
- */
-export function brFooter() {
- return {
- restrict: 'E',
- transclude: true,
- template: footerTemplate,
- replace: true
- };
-}
-
-export function brFooterBlockMain() {
- return {
- require: '^brFooter',
- restrict: 'E',
- transclude: true,
- template: footerBlockMainTemplate,
- replace: true,
- controller: function() {}
- };
-}
-
-export function brFooterBlockSecondary() {
- return {
- require: '^brFooter',
- restrict: 'E',
- scope: {
- title: '@'
- },
- transclude: true,
- template: footerBlockSecondaryTemplate,
- replace: true,
- controller: function() {}
- };
-}
-
-/**
- * @ngdoc directive
- * @name brFooterLinkItem
- * @module brCore
- * @restrict E
- *
- * @description
- * HTML block element that displays a link item within the {@link brFooter}. The link can be composed can have a custom
- * icon coming from [font-awesome](https://fortawesome.github.io/Font-Awesome/icons/).
- *
- * @param {string} link The URL to target upon a click on the this item.
- * @param {string=} icon the font-awesome class name corresponding to the icon to display.
- * @param {string=} cssClasses Extra css class(es) to add to the link.
- */
-export function brFooterLinkItem() {
- return {
- require: '^brFooterBlockSecondary',
- restrict: 'E',
- scope: {
- link: '@',
- icon: '@',
- cssClasses: '@'
- },
- transclude: true,
- template: linkItemTemplate,
- replace: true
- };
-}
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/header-hero/header-hero.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/header-hero/header-hero.html b/new/ui-modules/utils/br-core/header-hero/header-hero.html
deleted file mode 100644
index 954ff3a..0000000
--- a/new/ui-modules/utils/br-core/header-hero/header-hero.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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.
--->
-<div class="big-header full-width" ng-class="cssClasses">
- <ng-transclude></ng-transclude>
-
- <div class="jumbotron with-background-image" ng-style="headerStyle">
- <div class="align center-center">
- <h1 ng-if="title">{{title}}</h1>
- <p ng-if="text">{{text}}</p>
- </div>
- </div>
-</div>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/header-hero/header-hero.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/header-hero/header-hero.js b/new/ui-modules/utils/br-core/header-hero/header-hero.js
deleted file mode 100644
index 09307fe..0000000
--- a/new/ui-modules/utils/br-core/header-hero/header-hero.js
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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.
- */
-import angular from 'angular';
-import angularBootstrap from 'angular-ui-bootstrap';
-import template from './header-hero.html';
-
-const MODULE_NAME = 'core.header-hero';
-
-/**
- * @ngdoc directive
- * @name brHeaderHero
- * @module brCore
- * @scope
- * @restrict E
- *
- * @description
- * HTML block element that displays a hero header composed of a Brooklyn image in a background and customisable
- * {@link #title} and text in a foreground.
- *
- * @param {string=} title Title of the hero header block.
- * @param {string=} text Text under the title.
- * @param {string=} cssClasses Extra css class(es) to add to the header hero container.
-
- *
- * @example
- * ### Hero header with no text.
- * <example module="br.core">
- * <file name="index.html">
- * <br-header-hero />
- * </file>
- * </example>
- *
- * @example
- * ### Hero header with only headline.
- * <example module="br.core">
- * <file name="index.html">
- * <br-header-hero title="My application" />
- * </file>
- * </example>
- *
- * @example
- * ### Hero header with headline and text.
- * <example module="br.core">
- * <file name="index.html">
- * <br-header-hero title="My application" text="The text that complements the web app" />
- * </file>
- * </example>
- *
- * @example
- * ### Hero header with a navbar and logo.
- * *Note that the directive will automatically use the white version of the logo*
- * <example module="br.core">
- * <file name="index.html">
- * <br-header-hero title="My application" text="The text that complements the web app">
- * <br-navbar title="Acme Co" link="http://www.acme.com" logo="path/to/acme-logo.png">
- * <br-navbar-links-main>
- * <br-navbar-link-item link="#products">Products</br-navbar-link-item>
- * <br-navbar-link-item link="#testimonials">Testimonials</br-navbar-link-item>
- * <br-navbar-link-item link="#contact">Contact</br-navbar-link-item>
- * </br-navbar-links-main>
- * </br-navbar>
- * </br-header-hero>
- * </file>
- * </example>
- *
- */
-angular.module(MODULE_NAME, [angularBootstrap])
- .directive('brHeaderHero', brHeaderHero);
-
-export default MODULE_NAME;
-
-export function brHeaderHero() {
- return {
- restrict: 'E',
- scope: {
- title: '@',
- text: '@',
- headerStyle: '<',
- cssClasses: '@'
- },
- transclude: true,
- template: template,
- replace: true
- };
-}
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/img/ajax-loader.gif
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/img/ajax-loader.gif b/new/ui-modules/utils/br-core/img/ajax-loader.gif
deleted file mode 100755
index f2a1bc0..0000000
Binary files a/new/ui-modules/utils/br-core/img/ajax-loader.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/img/brooklyn_404.jpg
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/img/brooklyn_404.jpg b/new/ui-modules/utils/br-core/img/brooklyn_404.jpg
deleted file mode 100644
index e2bf974..0000000
Binary files a/new/ui-modules/utils/br-core/img/brooklyn_404.jpg and /dev/null differ
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/img/brooklyn_bridge.png
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/img/brooklyn_bridge.png b/new/ui-modules/utils/br-core/img/brooklyn_bridge.png
deleted file mode 100644
index b72a31a..0000000
Binary files a/new/ui-modules/utils/br-core/img/brooklyn_bridge.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/list/list.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/list/list.html b/new/ui-modules/utils/br-core/list/list.html
deleted file mode 100644
index da99d00..0000000
--- a/new/ui-modules/utils/br-core/list/list.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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.
--->
-<ul class="card-list-view" ng-transclude></ul>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/list/list.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/list/list.js b/new/ui-modules/utils/br-core/list/list.js
deleted file mode 100644
index fdd555d..0000000
--- a/new/ui-modules/utils/br-core/list/list.js
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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.
- */
-import angular from 'angular';
-import angularBootstrap from 'angular-ui-bootstrap';
-import template from './list.html';
-
-const MODULE_NAME = 'core.list';
-/**
- * @ngdoc directive
- * @name brList
- * @module brCore
- * @restrict E
- *
- * @description
- * HTML block element that wraps a list of items.
- *
- * @example
- * ### Basic list
- * <example module="br.core">
- * <file name="index.html">
- * <br-list>
- * <li>Item #1</li>
- * <li>Item #2</li>
- * <li>Item #3</li>
- * </br-list>
- * </file>
- * </example>
- *
- * @example
- * ### List with data coming from angular
- * <example module="myList">
- * <file name="index.html">
- * <div ng-controller="myListController">
- * <br-list>
- * <li ng-repeat="item in items">{{item}}</li>
- * </br-list>
- * </div>
- * </file>
- * <file name="script.js">
- * angular.module('myList', ['br.core'])
- * .controller('myListController', ['$scope', function($scope) {
- * $scope.items = [
- * 'item #1',
- * 'item #2',
- * 'item #3',
- * 'item #4'
- * ];
- * }]);
- * </file>
- * </example>
- */
-angular.module(MODULE_NAME, [angularBootstrap])
- .directive('brList', brList);
-
-export default MODULE_NAME;
-
-export function brList() {
- return {
- restrict: 'E',
- transclude: true,
- template: template,
- replace: true
- };
-}
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/navbar/link-item.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/navbar/link-item.html b/new/ui-modules/utils/br-core/navbar/link-item.html
deleted file mode 100644
index a67aa8f..0000000
--- a/new/ui-modules/utils/br-core/navbar/link-item.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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.
--->
-<li><a ng-href="{{link}}" ng-class="cssClasses"><i class="fa" ng-class="icon" ng-if="icon"></i><ng-transclude></ng-transclude></a></li>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/navbar/navbar-links-dropdown.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/navbar/navbar-links-dropdown.html b/new/ui-modules/utils/br-core/navbar/navbar-links-dropdown.html
deleted file mode 100644
index 504ea19..0000000
--- a/new/ui-modules/utils/br-core/navbar/navbar-links-dropdown.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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.
--->
-<li class="dropdown" uib-dropdown>
- <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" ng-class="cssClasses" uib-dropdown-toggle>{{label}} <span class="caret"></span></a>
- <ul class="dropdown-menu" uib-dropdown-menu ng-transclude></ul>
-</li>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/navbar/navbar-links-main.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/navbar/navbar-links-main.html b/new/ui-modules/utils/br-core/navbar/navbar-links-main.html
deleted file mode 100644
index 52e537b..0000000
--- a/new/ui-modules/utils/br-core/navbar/navbar-links-main.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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.
--->
-<ul class="nav navbar-nav navbar-right" ng-transclude></ul>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/navbar/navbar-links-secondary.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/navbar/navbar-links-secondary.html b/new/ui-modules/utils/br-core/navbar/navbar-links-secondary.html
deleted file mode 100644
index b232c08..0000000
--- a/new/ui-modules/utils/br-core/navbar/navbar-links-secondary.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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.
--->
-<ul class="nav navbar-nav navbar-right secondary-links" ng-transclude></ul>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/navbar/navbar.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/navbar/navbar.html b/new/ui-modules/utils/br-core/navbar/navbar.html
deleted file mode 100644
index fb3db11..0000000
--- a/new/ui-modules/utils/br-core/navbar/navbar.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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.
--->
-<nav class="navbar navbar-default" ng-class="[{'navbar-static-top': fixedOnTop}, cssClasses]">
- <div class="container-fluid">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#br-navbar-collapse-main" aria-expanded="false" ng-click="isCollapsed = !isCollapsed">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <div class="logo-space transparent" ng-if="title || logo">
- <a class="navbar-brand" ng-href="{{link}}">
- <img ng-src="{{logo}}" class="logo" />
- <span ng-if="title">{{title}}</span>
- </a>
- </div>
-
- </div>
-
- <div class="collapse navbar-collapse" id="br-navbar-collapse-main" ng-transclude uib-collapse="!isCollapsed"></div>
- </div>
-</nav>
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/navbar/navbar.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/navbar/navbar.js b/new/ui-modules/utils/br-core/navbar/navbar.js
deleted file mode 100644
index 291580d..0000000
--- a/new/ui-modules/utils/br-core/navbar/navbar.js
+++ /dev/null
@@ -1,237 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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.
- */
-import angular from 'angular';
-import angularBootstrap from 'angular-ui-bootstrap';
-import navbarTemplate from './navbar.html';
-import navbarLinkDropdownTemplate from './navbar-links-dropdown.html';
-import navbarLinkMainTemplate from './navbar-links-main.html';
-import navbarLinkSecondaryTemplate from './navbar-links-secondary.html';
-import linkItemTemplate from './link-item.html';
-
-const MODULE_NAME = 'core.navbar';
-
-/**
- * @ngdoc directive
- * @name brNavbar
- * @module brCore
- * @scope
- * @restrict E
- *
- * @description
- * HTML block element that displays the main navigation bar at the top of the page.
- *
- * @param {string=} title The app/website title. Will be displayed on the left of the navbar.
- * @param {string=} logo The logo URL. Will be displayed on the left of the navbar, before the {@link #title} if exists.
- * @param {string=} link The URL to target upon a click on the {@link #title}/{@link #logo}.
- * @param {boolean=} fixedOnTop Mark the navbar as "fixed" on top.
- * @param {string=} cssClasses Extra css class(es) to add to the global navbar container.
- *
- * @example
- * ### Basic navbar
- * <example module="br.core">
- * <file name="index.html">
- * <br-navbar title="Acme" link="http://www.acme.com" logo="path/to/logo.png"></br-navbar>
- * </file>
- * </example>
- *
- * @example
- * ### Navbar with main navigation links
- * <example module="br.core">
- * <file name="index.html">
- * <br-navbar title="Acme">
- * <br-navbar-links-main>
- * <br-navbar-link-item link="#products">Products</br-navbar-link-item>
- * <br-navbar-link-item link="#testimonials">Testimonials</br-navbar-link-item>
- * <br-navbar-link-item link="#contact">Contact</br-navbar-link-item>
- * </br-navbar-links-main>
- * </br-navbar>
- * </file>
- * </example>
- *
- * @example
- * ### Navbar with secondary navigation links
- * <example module="br.core">
- * <file name="index.html">
- * <br-navbar title="Acme">
- * <br-navbar-links-secondary>
- * <br-navbar-link-item link="http://github.com/apache" icon="fa-github"></br-navbar-link-item>
- * <br-navbar-link-item link="http://twitter.com/apache" icon="fa-twitter"></br-navbar-link-item>
- * </br-navbar-links-secondary>
- * </br-navbar>
- * </file>
- * </example>
- *
- * @example
- * ### Navbar with dropdown navigation links
- * <example module="br.core">
- * <file name="index.html">
- * <br-navbar title="Acme Corp">
- * <br-navbar-links-main>
- * <br-navbar-link-item link="#products">Products</br-navbar-link-item>
- * <br-navbar-link-item link="#testimonials">Testimonials</br-navbar-link-item>
- * <br-navbar-link-item link="#contact">Contact</br-navbar-link-item>
- * <br-navbar-links-dropdown label="Links">
- * <br-navbar-link-item link="http://github.com/apache">GitHub</br-navbar-link-item>
- * <br-navbar-link-item link="http://twitter.com/apache">Twitter</br-navbar-link-item>
- * </br-navbar-links-dropdown>
- * </br-navbar-links-main>
- * </br-navbar>
- * </file>
- * </example>
- *
- * @example
- * ### Navbar with angular loading bar
- * <example module="myNavbar">
- * <file name="index.html">
- * <div ng-controller="myController">
- * <br-navbar title="Acme Corp">
- * <br-navbar-links-secondary>
- * <br-navbar-link-item ng-click="startLoading()">Start loading</br-navbar-link-item>
- * <br-navbar-link-item ng-click="completeLoading()">Complete loading</br-navbar-link-item>
- * </br-navbar-links-secondary>
- * </br-navbar>
- * </div>
- * </file>
- * <file name="app.js">
- * angular.module('myNavbar', ['br.core'])
- * .controller('myController', function($scope, cfpLoadingBar) {
- * $scope.startLoading = function() {
- * cfpLoadingBar.start();
- * };
- * $scope.completeLoading = function () {
- * cfpLoadingBar.complete();
- * };
- * });
- * </file>
- * </example>
- */
-angular.module(MODULE_NAME, [angularBootstrap])
- .directive('brNavbar', brNavbar)
- .directive('brNavbarLinksMain', brNavbarLinksMain)
- .directive('brNavbarLinksSecondary', brNavbarLinksSecondary)
- .directive('brNavbarLinksDropdown', brNavbarLinksDropdown)
- .directive('brNavbarLinkItem', brNavbarLinkItem);
-
-export default MODULE_NAME;
-
-export function brNavbar() {
- return {
- restrict: 'E',
- scope: {
- title: '@',
- logo: '@',
- link: '@',
- fixedOnTop: '@',
- cssClasses: '@'
- },
- transclude: true,
- template: navbarTemplate,
- replace: true,
- };
-}
-
-export function brNavbarLinksMain() {
- return {
- require: '^brNavbar',
- restrict: 'E',
- transclude: true,
- template: navbarLinkMainTemplate,
- replace: true,
- controller: function() {}
- };
-}
-
-export function brNavbarLinksSecondary() {
- return {
- require: '^brNavbar',
- restrict: 'E',
- transclude: true,
- template: navbarLinkSecondaryTemplate,
- replace: true,
- controller: function() {}
- };
-}
-
-/**
- * @ngdoc directive
- * @name brNavbarLinksDropdown
- * @module brCore
- * @scope
- * @restrict E
- *
- * @description
- * HTML block element that displays a dropdown of {@link brNavbarLinkItem} within the {@link brNavbar}.
- *
- * @param {string} label The label of the dropdown.
- * @param {string=} cssClasses Extra css class(es) to add to the dropdown label.
- */
-export function brNavbarLinksDropdown() {
- return {
- require: ['?^brNavbarLinksMain', '?^brNavbarLinksSecondary'],
- restrict: 'E',
- scope: {
- label: '@',
- cssClasses: '@'
- },
- transclude: true,
- template: navbarLinkDropdownTemplate,
- replace: true,
- controller: function() {},
- link: function(scope, element, attrs, controllers) {
- if (controllers[0] == null && controllers[1] == null) {
- throw new Error('brNavbarLinksDropdown directive must be used within brNavbarLinksMain or brNavbarLinksSecondary');
- }
- }
- };
-}
-
-/**
- * @ngdoc directive
- * @name brNavbarLinkItem
- * @module brCore
- * @scope
- * @restrict E
- *
- * @description
- * HTML block element that displays a link item within the {@link brNavbar}. The link can be composed can have a custom
- * icon coming from [font-awesome](https://fortawesome.github.io/Font-Awesome/icons/).
- *
- * @param {string} link The URL to target upon a click on the this item.
- * @param {string=} icon the font-awesome class name corresponding to the icon to display.
- * @param {string=} cssClasses Extra css class(es) to add to link.
- */
-export function brNavbarLinkItem() {
- return {
- require: ['?^brNavbarLinksMain', '?^brNavbarLinksSecondary', '?^brNavbarLinksDropdown'],
- restrict: 'E',
- scope: {
- link: '@',
- icon: '@',
- cssClasses: '@'
- },
- transclude: true,
- template: linkItemTemplate,
- replace: true,
- link: function(scope, element, attrs, controllers) {
- if (controllers[0] == null && controllers[1] == null && controllers[2] == null) {
- throw new Error('brNavbarLinkItem directive must be used within brNavbarLinksMain, brNavbarLinksSecondary or brNavbarLinksDropdown');
- }
- }
- };
-}
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/snackbar/snackbar.html
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/snackbar/snackbar.html b/new/ui-modules/utils/br-core/snackbar/snackbar.html
deleted file mode 100644
index 35c31db..0000000
--- a/new/ui-modules/utils/br-core/snackbar/snackbar.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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.
--->
-<div class="snackbar">
- <div class="snackbar-message">{{message}}</div>
- <div class="snackbar-action" ng-if="hasAction()" ng-click="performAction()">{{action.label}}</div>
-</div>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/snackbar/snackbar.js
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/snackbar/snackbar.js b/new/ui-modules/utils/br-core/snackbar/snackbar.js
deleted file mode 100644
index a38c917..0000000
--- a/new/ui-modules/utils/br-core/snackbar/snackbar.js
+++ /dev/null
@@ -1,190 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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.
- */
-import angular from 'angular';
-import angularAnimate from 'angular-animate';
-import template from './snackbar.html';
-
-const MODULE_NAME = 'core.snackbar';
-const TEMPLATE_URL = 'templates/snackbar.html';
-
-/**
- * @ngdoc service
- * @name brSnackbar
- * @module brCore
- *
- * @description
- * The brSnackbar service expose a simple method to create snackbars within your apps. This service make use of the
- * `$animate` service by default
- *
- * @example
- * ### Simple snackbar examples
- * <example module="mySnackbar">
- * <file name="index.html">
- * <div ng-controller="myController" style="height: 500px">
- * <br-button on-click="createSnackBar('This is my small snackbar')">Small snackbar</br-button>
- * <br-button on-click="createSnackBar('This is my veeeeeery long snackbar with a lorem ipsum text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dui ex, iaculis in arcu in, placerat iaculis dui. Vivamus interdum nisl non dignissim pulvinar.')">Looooooong snackbar</br-button>
- * </div>
- * </file>
- * <file name="app.js">
- * angular.module('mySnackbar', ['br.core'])
- * .controller('myController', function($scope, brSnackbar) {
- * $scope.createSnackBar = function(message) {
- * brSnackbar.create(message);
- * }
- * });
- * </file>
- * </example>
- *
- * @example
- * ### Snackbar example with callback
- * <example module="mySnackbar">
- * <file name="index.html">
- * <div ng-controller="myController" style="height: 500px">
- * <br-button on-click="createSnackBar('This is my snackbar with a callback')">Snackbar with callback</br-button>
- * <div class="callbacks"></div>
- * </div>
- * </file>
- * <file name="app.js">
- * angular.module('mySnackbar', ['br.core'])
- * .controller('myController', function($scope, brSnackbar) {
- * var callbacks = angular.element(document.querySelector('.callbacks'));
- * $scope.createSnackBar = function(message) {
- * brSnackbar.create(message).then(function($element) {
- * callbacks.append('<p>Closed snackback with message: ' + angular.element($element[0].querySelector('.snackbar-message')).html() + '</p>');
- * });
- * }
- * });
- * </file>
- * </example>
- *
- * @example
- * ### Snackbar examples with action
- * <example module="mySnackbar">
- * <file name="index.html">
- * <div ng-controller="myController" style="height: 500px">
- * <br-button on-click="createSnackBar('This is my snackbar with an UNDO action', {label: 'undo', callback: callback})">Snackbar with UNDO action</br-button>
- * <br-button on-click="createSnackBar('This is my snackbar with another action', {label: 'Do that', callback: callback})">Snackbar with DO THAT action</br-button>
- * <div class="callbacks"></div>
- * </div>
- * </file>
- * <file name="app.js">
- * angular.module('mySnackbar', ['br.core'])
- * .controller('myController', function($scope, brSnackbar) {
- * var callbacks = angular.element(document.querySelector('.callbacks'));
- * $scope.createSnackBar = function(message, action) {
- * brSnackbar.create(message, action);
- * }
- *
- * $scope.callback = function($element) {
- * callbacks.append('<p>Clicked on action: ' + angular.element($element[0].querySelector('.snackbar-action')).html() + '</p>');
- * }
- * });
- * </file>
- * </example>
- */
-
-angular.module(MODULE_NAME, [angularAnimate])
- .factory('brSnackbar', ['$rootScope', '$document', '$compile', '$templateCache', '$animate', '$timeout', '$q', brSnackbar])
- .run(['$templateCache', snackbarRun]);
-
-export default MODULE_NAME;
-
-export function brSnackbar($rootScope, $document, $compile, $templateCache, $animate, $timeout, $q) {
- $rootScope.snackbars = [];
-
- $rootScope.$watchCollection('snackbars', function(newSnackbars, oldSnackbars) {
- if (newSnackbars.length > oldSnackbars.length) {
- // We added a snackbar
- if (newSnackbars.length === 1) {
- // That is the first one, let's display it
- displaySnackbar(newSnackbars[0]);
- }
- } else {
- // One snackbar down, check if there are still some to display
- if (newSnackbars.length > 0) {
- displaySnackbar(newSnackbars[0]);
- }
- }
- });
-
- function displaySnackbar(snackbar) {
- // Add the snackbar to the dom
- $animate.enter(snackbar.elm, $document.find('body'));
-
- // Remove the snackbar after the timeout
- snackbar.timeout = $timeout(function() {
- removeSnackbar(snackbar);
- }, 5000);
- }
-
- function removeSnackbar(snackbar) {
- $animate.leave(snackbar.elm).then(function() {
- snackbar.promise.resolve(snackbar.elm);
- $rootScope.snackbars.shift();
- });
- }
-
- return {
- /**
- * @ngdoc method
- * @name brSnackbar#create
- *
- * @description
- * Create a snackbar that will be display on the bottom left of the screen. When you create a new snackbar, it will return
- * a promise that will be resolve once this snackbar is dismissed. You can also add one action button that will trigger
- * a callback.
- *
- * The snackbars are not stacked but displayed one after the other, as per as the [material design guidelines](https://www.google.com/design/spec/components/snackbars-toasts.html#snackbars-toasts-usage)
- *
- * @param {string} message The snackbar message
- * @param {object} action An object containing the action `label` and `callback`. The callback function will take
- * the current `$element` object of the snackbar
- * @returns {promise} A promise that will be resolved once the snackbar is dismissed
- */
- create: function(message, action) {
- var scope = $rootScope.$new(true);
- scope.message = message;
- scope.action = angular.extend({}, action);
- scope.hasAction = function() {
- return !angular.isUndefined(scope.action.label) && !angular.isUndefined(scope.action.callback);
- };
- scope.performAction = function() {
- var snackbar = $rootScope.snackbars[0];
- scope.action.callback(snackbar.elm);
- $timeout.cancel(snackbar.timeout);
- removeSnackbar(snackbar);
- };
-
- var template = $templateCache.get(TEMPLATE_URL);
- var elm = angular.element($compile(template)(scope));
- var promise = $q.defer();
-
- $rootScope.snackbars.push({
- elm: elm,
- promise: promise
- });
-
- return promise.promise;
- }
- };
-}
-
-export function snackbarRun($templateCache) {
- $templateCache.put(TEMPLATE_URL, template);
-}
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/style/_components.less
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/style/_components.less b/new/ui-modules/utils/br-core/style/_components.less
deleted file mode 100644
index 86af1d0..0000000
--- a/new/ui-modules/utils/br-core/style/_components.less
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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.
- */
-//This file imports all other LESS components
-@import "avatar";
-@import "bigheader";
-@import "buttons";
-@import "cards";
-@import "collapsible";
-@import "data";
-@import "dropdown";
-@import "footer";
-@import "header";
-@import "headings";
-@import "input";
-@import "layout";
-@import "lists";
-@import "loading-bar";
-@import "mixins";
-@import "modals";
-@import "navbar";
-@import "page";
-@import "pagination";
-@import "snackbars";
-@import "tables";
-@import "tabs";
-@import "type";
-@import "variables";
-
-// Create the paletter based on the @brand-primary and @brand-accent (can be overridden afterward)
-.palette(@brand-primary, @brand-accent);
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/style/avatar.less
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/style/avatar.less b/new/ui-modules/utils/br-core/style/avatar.less
deleted file mode 100644
index 7295d58..0000000
--- a/new/ui-modules/utils/br-core/style/avatar.less
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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.
- */
-.avatar {
- .square(60px);
- border: 1px solid @primary-500;
- border-radius: 2px;
-}
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/style/bigheader.less
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/style/bigheader.less b/new/ui-modules/utils/br-core/style/bigheader.less
deleted file mode 100644
index 4fd2b53..0000000
--- a/new/ui-modules/utils/br-core/style/bigheader.less
+++ /dev/null
@@ -1,115 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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.
- */
-
-@jumbotron-background-image: url("@{br-core-path-img}/brooklyn_bridge.png");
-
-.jumbotron.with-background-image {
-
- height: 400px;
- min-height: 400px;
- max-height: 400px;
- max-width: 1160px;
- margin-left: auto;
- margin-right: auto;
-
- background-color: @brand-primary;
- background-image: @jumbotron-background-image;
- background-size: cover;
- background-repeat: no-repeat;
- background-position: 50% 0%;
-
- text-align: center;
-
- /* Flexbox align content center */
- display: flex;
- align-items: center;
- justify-content: center;
-
- border-radius: 0;
-
- .align.center-center {
- max-width: 100%;
- }
- h1 {
- text-shadow: rgba(0, 0, 0, 0.470588) 0px 2px 8px;
- color: white;
- font-size: 50px;
- font-weight: 400;
- line-height: 50px;
- margin-bottom: 20px;
- -webkit-font-smoothing: antialiased;
- }
-
- p {
- display: inline-block;
- color: white;
- font-size: 18px;
- font-style: italic;
- text-shadow: 0px 2px 8px rgba(0,0,0,0.47);
- letter-spacing: .01em;
- line-height: 24px;
-
- }
-}
-
-.big-header.full-width .jumbotron.with-background-image {
- max-width: 100%;
- background-color: @brand-primary;
- background-image: @jumbotron-background-image;
-
- h1 {
- text-shadow: rgba(0, 0, 0, 0.2) 0px 2px 8px;
- color: white;
- font-size: 50px;
- font-weight: 600;
- line-height: 50px;
- margin-bottom: 20px;
- -webkit-font-smoothing: antialiased;
- }
-
- p {
- display: inline-block;
- color: white;
- font-size: 18px;
- font-style: italic;
- text-shadow: 0px 2px 8px rgba(0,0,0,0.2);
- letter-spacing: .01em;
- line-height: 24px;
-
- }
-}
-
-.big-header.full-width.fourofour .jumbotron.with-background-image {
- background-image: url("@{br-core-path-img}/brooklyn_404.jpg");
- margin-top: -22px;
-
- h1 {
- font-size: 170px;
- //font-size: 275px;
- color: #FFFFFF;
- text-shadow: 4px 4px 0px rgba(58,84,138,0.28);
- margin-bottom: 60px;
- margin-top: 60px;
- }
-
- p {
- margin-bottom: 0px;
- }
-}
-
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/style/buttons.less
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/style/buttons.less b/new/ui-modules/utils/br-core/style/buttons.less
deleted file mode 100644
index 5758fde..0000000
--- a/new/ui-modules/utils/br-core/style/buttons.less
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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.
- */
-.btn-primary {
- border: none;
-}
-.btn-primary:hover,
-.btn-primary:focus {
- box-shadow: inset 0px -2px 0px rgba(0,0,0,0.4);
-}
-@btn-primary-border: @btn-primary-bg;
-
-
-// Danger and error appear as red
-.btn-accent {
- .button-variant(@btn-accent-color; @btn-accent-bg; @btn-accent-border);
-}
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/style/cards.less
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/style/cards.less b/new/ui-modules/utils/br-core/style/cards.less
deleted file mode 100644
index bfa53db..0000000
--- a/new/ui-modules/utils/br-core/style/cards.less
+++ /dev/null
@@ -1,133 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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.
- */
-/* Cards */
-
-@cards-bgcolor: white;
-@cards-bgcolor-hover: @list-bgcolor-hover;
-@cards-bgcolor-hover-border: mix(black, @list-bgcolor-hover, 20%);
-
-.brooklyn-home-card, .tab-content, .card {
- box-sizing: border-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-
- margin: 0px;
- margin-bottom: 20px;
-
- background-color: @cards-bgcolor;
- border-radius: 4px;
- border: 1px solid @card-border-color;
- box-shadow: 0px 1px fade(@cards-bgcolor, 20%);
-
- .title {
- padding: 24px 16px 16px;
- padding-bottom: 30px;
- }
-
- h2 {
- margin-top: 0;
- margin-bottom: 0;
- }
-
- .md-subhead {
- color: fade(@cards-bgcolor, 60%);
- padding-top: 12px; /* this one was in : md-card md-card-title md-card-title-text:only-child .md-subhead */
- }
-
- .card-actions {
- margin-left: auto;
- margin-right: 20px;
- margin-bottom: 20px;
-
- .btn + .btn { /* Add spacing when there is more than one button */
- margin-left: 15px;
- }
- }
-
-
- .card-title-bar {
-
- padding: 14px;
- background: @brand-primary;
-
-
- h2 {
- padding: 0;
- margin: 0;
- color: white;
- float: left;
- -webkit-font-smoothing: antialiased;
- }
-
- border-bottom: 1px solid #E1E1E1;
-
- }
-
-
- .tab-pane {
- padding: 20px;
- }
-
- /* Centered version */
- &.center {
- .title {
- text-align: center;
- padding-bottom: 20px;
- }
- .card-actions {
- margin-left: auto;
- margin-right: auto;
- margin-bottom: 30px;
- }
-
- }
-}
-
-a {
- .brooklyn-home-card {
- transition: background 0.3s, border 0.3s;
- }
- &:hover {
- text-decoration: none;
- .brooklyn-home-card {
- background-color: @cards-bgcolor-hover;
- border: 1px solid @cards-bgcolor-hover-border;
- }
- }
-}
-
-.card-with-list {
- overflow: hidden; /* So that list items don't ruin the rounded corners. (For example Blueprints repository: Browse) */
-}
-
-
-/* Make sure that cards that are side-by-side are the same height */
-.col-md-6 .brooklyn-home-card p.md-subhead {
- min-height: 52px;
-}
-
-
-.card.blueprint-information {
- padding: 15px;
- margin-top: 40px;
-}
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/style/collapsible.less
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/style/collapsible.less b/new/ui-modules/utils/br-core/style/collapsible.less
deleted file mode 100644
index f70381f..0000000
--- a/new/ui-modules/utils/br-core/style/collapsible.less
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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.
- */
-
-/* header link fill entire space so it's all clickable */
-.panel-title > a {
- display: block;
- padding: 10px 15px;
- margin: -10px -15px;
-}
-
-/* header link styling */
-.panel-title a {
- &:hover, &:focus { text-decoration: none; }
-}
-
-.panel-title > a,
-.panel-title > a:focus, {
- border-radius: 3px 3px 0 0;
- background: lighten(@primary-500, 55%);
- &:hover { background: lighten(@primary-500, 50%); }
-}
-
-/* no special styling for open panels -- but if we did:
-.panel-open > .panel-title {
- a,
- a:focus, {
- color: white;
- background: @primary-500;
- &:hover { background: lighten(@primary-500, 5%); }
- }
-}
-*/
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/style/data.less
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/style/data.less b/new/ui-modules/utils/br-core/style/data.less
deleted file mode 100644
index 02fbae0..0000000
--- a/new/ui-modules/utils/br-core/style/data.less
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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.
- */
-.data-card {
- padding-bottom: 20px;
- dl, h3, h4 {
- padding-left: 40px;
- }
-
- h3 {
- padding-left: 20px;
- border-bottom: 1px solid @card-border-color;
- padding-bottom: 15px;
- padding-top: 15px;
- margin-top:0;
- color: #A6AAB3;
- }
-
- h4 {
- padding-left: 30px;
- }
-
-
-
- h4 {
- font-weight:bold;
- color: black;
- margin-top: 10px;
- }
-
- dd {
- float: left;
- width: auto;
- color: grey;
- text-transform: uppercase;
- text-align: right;
- margin-right: 10px;
- font-size: 75%;
- vertical-align: bottom;
- letter-spacing: 1px;
- }
-
- dt, dd {
- line-height: 20px;
- margin-bottom: 10px;
- }
-
- dl {
- margin-bottom: 0px;
- }
-
- .value-type {
- font-family: monospace;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/style/dropdown.less
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/style/dropdown.less b/new/ui-modules/utils/br-core/style/dropdown.less
deleted file mode 100644
index 7411ef5..0000000
--- a/new/ui-modules/utils/br-core/style/dropdown.less
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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.
- */
-@dropdown-link-hover-bg: lighten(@primary-500, 55%);
-@dropdown-link-active-bg: @dropdown-link-hover-bg;
-@dropdown-link-active-color: black;
-
-.dropdown-menu {
- overflow-y: auto;
- overflow-x: hidden;
- width: 100%;
- max-height: 250px;
-
- padding-top: 0;
- padding-bottom: 0;
-
- li a {
- padding: 7px 20px;
- }
-
- .dropdown-item {
- // Icon
- .media-left {
- vertical-align: middle; // Making sure the Icons in dropdown lists are centered if they are less than 64px in height.
- img {
- width: auto; // Making sure the Icons in dropdown lists are in correct ratio and are contained within a square.
- height: auto;
- max-width: 64px;
- max-height: 64px;
- }
- }
-
- // First line of text
- .dropdown-item-heading {
- color: @primary-500;
- }
-
- // Second line of text
- .dropdown-item-subheading {
- font-size: 10px;
- color: @gray-light;
- }
- }
-
- ///////////////////////////////////////////////
- // Typeaheads
- // - or Dropdown lists who don't use the <a> tag
- li.uib-typeahead-match {
- padding: 5px 15px 5px 15px;
-
- &:not(:first-child) {
- border-top: 1px solid #E1E1E1;
- }
-
- &:hover,
- &:focus {
- background-color: @dropdown-link-hover-bg;
- }
- }
-
- li.uib-typeahead-match.active {
- background-color: @dropdown-link-hover-bg;
- &:not(:first-child) {
- border-top: 1px solid lighten(@primary-500, 65%);
- }
- }
-
- ///////////////////////////////////////////////
- // Typeaheads END
- ///////////////////////////////////////////////
-}
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/style/footer.less
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/style/footer.less b/new/ui-modules/utils/br-core/style/footer.less
deleted file mode 100644
index 9e1f5ca..0000000
--- a/new/ui-modules/utils/br-core/style/footer.less
+++ /dev/null
@@ -1,111 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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.
- */
-
-.footer {
- // background: white;
- // border-top: 1px solid @card-border-color;
-
- margin-top: 10px;
- text-align: center;
- padding-bottom: 30px;
- color: rgba(0,0,0,0.4);
- font-size: 12px;
-
- .row > div {
- padding-top: 30px;
- padding-left: 15px;
- }
- a {
- color: @primary-600;//rgb(0,120,110);
-
- }
-
- i {
- font-size: 16px;
- }
-
- p {
- font-size: 12px;
- margin-bottom: 2px;
- }
-
- ul {
- -webkit-padding-start: 0px;
- }
-
- li {
- list-style: none;
- a {
- color: #A8A8A8;
- line-height: 25px;
- }
- i {
- margin-right: 12px;
- }
- }
-
-}
-.footer img {
- margin-bottom: 10px;
-}
-
-.footer-logo {
- width: 200px;
- margin-bottom: 10px;
-}
-
-
-.cloud-footer-logo {
- width: 200px;
- margin-bottom: 10px;
-
- fill: green;
-}
-
-.second-footer {
- background: @primary-800;
- color: @primary-800;
- text-align: center;
- padding-top: 20px;
- padding-bottom: 20px;
- border-bottom: 4px solid @accent-500;
-
- h4 {
-
- font-size: 12px;
- font-weight: bold;
- text-transform: uppercase;
- margin-bottom: 20px;
-
- display: inline;
- color: white;
- padding-right: 20px;
- }
- ul {
- display: inline;
- }
- li { display: inline; padding: 5px;}
-
- a { color: white; }
-
- i { color: white; }
-
-}
-
-
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/style/header.less
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/style/header.less b/new/ui-modules/utils/br-core/style/header.less
deleted file mode 100644
index 025db0e..0000000
--- a/new/ui-modules/utils/br-core/style/header.less
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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.
- */
-.header {
- margin-bottom: 20px;
- -webkit-font-smoothing: antialiased; /* Use when the header background color is dark */
-}
-
-
-.github-link {
- &:hover,
- &:focus,
- &:active {
- text-decoration: none;
-
- .label.label-primary {
- background-color: darken(@label-primary-bg, 10%);
- }
- }
-
- .label.label-primary {
- font-weight: 300;
- font-size: 16px;
- position: relative;
- top: -6px;
- left: 10px;
-
-
- }
-}
-
-header .media:first-child {
- margin-top: 21px;
-}
-
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/style/headings.less
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/style/headings.less b/new/ui-modules/utils/br-core/style/headings.less
deleted file mode 100644
index 052bc25..0000000
--- a/new/ui-modules/utils/br-core/style/headings.less
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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.
- */
-/* "headlings.less" is probably not a good name, let's look at bootstraps conventions later. */
-
-h2 {
- font-size: 24px;
- font-weight: 400;
- line-height: 32px;
-}
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/47b46402/new/ui-modules/utils/br-core/style/input.less
----------------------------------------------------------------------
diff --git a/new/ui-modules/utils/br-core/style/input.less b/new/ui-modules/utils/br-core/style/input.less
deleted file mode 100644
index 91df355..0000000
--- a/new/ui-modules/utils/br-core/style/input.less
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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.
- */
-label[for=search] {
- display: none;
-}
-
-.action-area {
- .form-group {
- margin-bottom: 0px;
- }
-}
-
-.action-area {
- fieldset {
- width: 100%;
- }
-}
\ No newline at end of file