diff --git a/lib/common-components/Tabs/tabs.css b/lib/common-components/Tabs/tabs.css new file mode 100644 index 00000000..57f2c472 --- /dev/null +++ b/lib/common-components/Tabs/tabs.css @@ -0,0 +1,20 @@ +ul { + display: block; + margin: 0; + padding: 10px 0px 0 0; +} + +li { + list-style: none; + margin: 0; + display: inline-block; + padding: 5px 15px; + background-color: #8F1B1B; + border-left: 1px solid #771D1D; + border-bottom: 2px solid transparent; + cursor: pointer; +} + +li.active { + border-bottom: 2px solid red; +} diff --git a/lib/common-components/Tabs/tabs.js b/lib/common-components/Tabs/tabs.js new file mode 100644 index 00000000..e9d27e81 --- /dev/null +++ b/lib/common-components/Tabs/tabs.js @@ -0,0 +1,61 @@ +'use strict'; + +import {Component, View, CORE_DIRECTIVES} from 'angular2/angular2'; + +@Component({ + selector: 'tabs' +}) +@View({ + template: ` +