diff --git a/app/angular/components/icons/close/index.html b/app/angular/components/icons/close/index.html new file mode 100644 index 00000000..f4d6b5c8 --- /dev/null +++ b/app/angular/components/icons/close/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/app/angular/components/icons/close/index.js b/app/angular/components/icons/close/index.js new file mode 100644 index 00000000..b252113e --- /dev/null +++ b/app/angular/components/icons/close/index.js @@ -0,0 +1,10 @@ +import angular from "angular"; +import template from "./index.html"; +import "./index.scss"; + +const iconClose = function () {}; + +export default angular.module("app.iconClose", []).component("iconClose", { + template, + controller: iconClose +}).name; diff --git a/app/angular/components/icons/close/index.scss b/app/angular/components/icons/close/index.scss new file mode 100644 index 00000000..b2954bda --- /dev/null +++ b/app/angular/components/icons/close/index.scss @@ -0,0 +1,10 @@ +icon-close { + position: relative; + display: inline-block; +} + +icon-close svg { + display: block; + position: relative; + top: 2px; +} \ No newline at end of file diff --git a/app/angular/components/whatsNewBanner/index.html b/app/angular/components/whatsNewBanner/index.html new file mode 100644 index 00000000..a3d5bec1 --- /dev/null +++ b/app/angular/components/whatsNewBanner/index.html @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/app/angular/components/whatsNewBanner/index.js b/app/angular/components/whatsNewBanner/index.js new file mode 100644 index 00000000..edc59466 --- /dev/null +++ b/app/angular/components/whatsNewBanner/index.js @@ -0,0 +1,15 @@ +import angular from "angular"; +import template from "./index.html"; +import "./index.scss"; +import iconClose from "../icons/close"; + +const bannerWhatsNew = function () {}; + +export default angular + .module("app.bannerWhatsNew", [ + iconClose + ]) + .component("bannerWhatsNew", { + template, + controller: bannerWhatsNew, +}).name; diff --git a/app/angular/components/whatsNewBanner/index.scss b/app/angular/components/whatsNewBanner/index.scss new file mode 100644 index 00000000..9b9ba270 --- /dev/null +++ b/app/angular/components/whatsNewBanner/index.scss @@ -0,0 +1,41 @@ +/////////////////////////////////////////////////////////////////////////////// +// banner-whats-new (Element) +/////////////////////////////////////////////////////////////////////////////// +banner-whats-new { + display: block; + margin-top: 24px; +} + +/////////////////////////////////////////////////////////////////////////////// +// .whats-new .alert +/////////////////////////////////////////////////////////////////////////////// +.whats-new .alert { + display: flex; + border: 1px solid #ddd; + margin: 12px 0; + align-items: center; + justify-content: space-between; +} + +/////////////////////////////////////////////////////////////////////////////// +// .dismiss-news +/////////////////////////////////////////////////////////////////////////////// +.dismiss-news { + padding: 3px 5px; + border: 1px solid transparent; + border-radius: 3px; + background-color: transparent; + text-align: center; +} + +.dismiss-news:hover { + border-color: #ddd; +} + +.dismiss-news path { + fill: #7b7b7b;; +} + +.dismiss-news:hover path { + fill: #000; +} \ No newline at end of file diff --git a/app/angular/workspace/workspace.html b/app/angular/workspace/workspace.html index 9d30ca9b..509cec66 100644 --- a/app/angular/workspace/workspace.html +++ b/app/angular/workspace/workspace.html @@ -16,22 +16,24 @@
- +