diff --git a/app/components/home/home.html b/app/components/home/home.html index 659459c..f225a4e 100644 --- a/app/components/home/home.html +++ b/app/components/home/home.html @@ -2,10 +2,10 @@
- +
{{homeCtrl.diamondCount | number: 0}}
-
+
Rate: {{homeCtrl.diamondRate | number: 1}}
@@ -20,7 +20,7 @@
- +
diff --git a/app/components/home/home.scss b/app/components/home/home.scss index ccc2b14..8111894 100644 --- a/app/components/home/home.scss +++ b/app/components/home/home.scss @@ -259,6 +259,7 @@ .diamondIcon { position: relative; top: -2px; + color: #5cbcff; } .diamondCount { diff --git a/app/components/leftPanel/leftPanel.controller.js b/app/components/leftPanel/leftPanel.controller.js index e6053f9..8ad8632 100644 --- a/app/components/leftPanel/leftPanel.controller.js +++ b/app/components/leftPanel/leftPanel.controller.js @@ -46,13 +46,13 @@ export default class LeftPanelController { }, data: { "type": animal.code } }; - - this.fetch(req).then(function(response){ - alert(response); - - }, function(){ - alert('error'); - }); + // + // this.fetch(req).then(function(response){ + // alert(response); + // + // }, function(){ + // alert('error'); + // }); // fetch({ // method: 'POST', // url: 'http://hackntu-nodered.mybluemix.net/start-talking' diff --git a/app/components/leftPanel/leftPanel.html b/app/components/leftPanel/leftPanel.html index 1ab5af1..838235f 100644 --- a/app/components/leftPanel/leftPanel.html +++ b/app/components/leftPanel/leftPanel.html @@ -8,57 +8,75 @@ {{item.name}}

{{item.name}}

--> -
-
-
-
-
-
-
- {{animal.name}} +
+
+
-
- : 0 - : 10 - : 20 +
+
+ {{animal.name}} +
+
+ + + 0 + + + + 10 + + + + 20 + +
diff --git a/app/components/leftPanel/leftPanel.scss b/app/components/leftPanel/leftPanel.scss index ed4cc94..d34a32b 100644 --- a/app/components/leftPanel/leftPanel.scss +++ b/app/components/leftPanel/leftPanel.scss @@ -7,14 +7,12 @@ margin: auto; } -.panelTitle { - display: flex; - padding: 30px 0; - background-color: #183a5d; - position: absolute; - top: 0; - width: 100%; -} +// defined in rightPanel.scss +// .panelTitle { +// display: flex; +// background-color: #183a5d; +// height: 80px; +// } .leftPanelImageWrap { width: 75px; @@ -24,7 +22,8 @@ background-repeat: no-repeat !important; margin: auto 10px; border-radius: 75px; - border: 2px solid; + border: 2px solid $text-white; + background-position: center; } .leftPhotoName { @@ -41,7 +40,8 @@ } .leftPhotoWrap .header { - font-size: 20px; + font-size: 18px; + color: $text-white; } .leftPhotoWrap .attribute { @@ -73,3 +73,24 @@ .zooImg { width: 100px !important; } + +.left-attr-column { + margin-right: 8px; +} + +.left-attr-number { + color: $text-gray; +} + +#upgradeModal.modal { + .upgrade-modal-header { + background-color: #183a5d; + color: $text-white; + } + .upgrade-modal-content { + background-color: #0a2232; + .ui.header { + color: $text-white; + } + } +} diff --git a/app/components/rightPanel/rightPanel.html b/app/components/rightPanel/rightPanel.html index 7fcf222..369c83d 100644 --- a/app/components/rightPanel/rightPanel.html +++ b/app/components/rightPanel/rightPanel.html @@ -12,29 +12,29 @@
SHOP
-
-
+
-
+
{{animal.name}}
-

{{animal.cost}}

+ + {{animal.cost}}
- +