From 302c6618e34d14eed349a7cba4ce720490eea588 Mon Sep 17 00:00:00 2001 From: Roger-Wu Date: Sun, 21 Aug 2016 07:23:25 +0800 Subject: [PATCH 1/2] change color, font-size --- app/components/home/home.html | 6 +-- app/components/home/home.scss | 1 + app/components/leftPanel/leftPanel.html | 35 +++++++++------ app/components/leftPanel/leftPanel.scss | 21 +++++---- app/components/rightPanel/rightPanel.html | 14 +++--- app/components/rightPanel/rightPanel.scss | 55 ++++++++++++++++++----- app/index.html | 2 +- app/index.scss | 6 ++- 8 files changed, 96 insertions(+), 44 deletions(-) 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.html b/app/components/leftPanel/leftPanel.html index 1ab5af1..108a83e 100644 --- a/app/components/leftPanel/leftPanel.html +++ b/app/components/leftPanel/leftPanel.html @@ -8,19 +8,28 @@ {{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..10222e4 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; @@ -41,7 +39,8 @@ } .leftPhotoWrap .header { - font-size: 20px; + font-size: 18px; + color: rgba(255, 255, 255, 0.875); } .leftPhotoWrap .attribute { @@ -73,3 +72,7 @@ .zooImg { width: 100px !important; } + +.left-attr-column { + margin-right: 8px; +} 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}}
- +