tabs/discours title + route scss cleanup
authorChloe Laisne <chloe.laisne@gmail.com>
Fri, 24 Jun 2016 17:01:39 +0200
changeset 207 204f25632006
parent 206 e038d5782d06
child 208 59b63cdda9e8
tabs/discours title + route scss cleanup
cms/app-client/app/components/discourses-component.js
cms/app-client/app/styles/app.scss
cms/app-client/app/styles/components/filter-component.scss
cms/app-client/app/styles/components/playlist-component.scss
cms/app-client/app/styles/tabs/carto.scss
cms/app-client/app/styles/tabs/detail.scss
cms/app-client/app/styles/tabs/discours.scss
cms/app-client/app/styles/tabs/thematiques.scss
cms/app-client/app/templates/tabs/discours.hbs
--- a/cms/app-client/app/components/discourses-component.js	Fri Jun 24 15:26:26 2016 +0200
+++ b/cms/app-client/app/components/discourses-component.js	Fri Jun 24 17:01:39 2016 +0200
@@ -18,7 +18,7 @@
         d3.json(baseURL + "/discourses", function(discourses) {
 
             var width = self.$().parent().width();
-            var height = self.$().parent().height();
+            var height = self.$().parent().height() - self.$().siblings().height();
 
             var bubble = d3.layout.pack()
                 .sort(function comparator(a, b) { return a.value + b.value; })
--- a/cms/app-client/app/styles/app.scss	Fri Jun 24 15:26:26 2016 +0200
+++ b/cms/app-client/app/styles/app.scss	Fri Jun 24 17:01:39 2016 +0200
@@ -17,10 +17,7 @@
     margin-bottom: 10px;
 
     @import 'tabs/chrono';
-    @import 'tabs/carto';
     @import 'tabs/langues';
-    @import 'tabs/discours';
-    @import 'tabs/thematiques';
     @import 'tabs/detail';
 
     @import 'components/sorting-component';
@@ -44,11 +41,16 @@
     text-align: center;
 }
 
+body.tabs-discours h2 {
+    color: #13212d;
+}
+
 .corpus-app-container {
     color: #687a84;
     box-sizing: border-box;
 }
 
+body.tabs-discours .corpus-app-container,
 body.tabs-chrono .corpus-app-container {
     padding: 20px;
 }
@@ -90,10 +92,8 @@
     float: right;
 }
 
-.mapdiv{
-    width: 470px;
-    background-color: #FFFFFF;
-    height: 500px;
+#mapdiv{
+  width: 100%;
 }
 
 .corpus-app-content {
--- a/cms/app-client/app/styles/components/filter-component.scss	Fri Jun 24 15:26:26 2016 +0200
+++ b/cms/app-client/app/styles/components/filter-component.scss	Fri Jun 24 17:01:39 2016 +0200
@@ -4,7 +4,7 @@
 }
 
 .filter-component h2 {
-
+    color: #ffffff;
 }
 
 .filter-component ul {
--- a/cms/app-client/app/styles/components/playlist-component.scss	Fri Jun 24 15:26:26 2016 +0200
+++ b/cms/app-client/app/styles/components/playlist-component.scss	Fri Jun 24 17:01:39 2016 +0200
@@ -7,6 +7,7 @@
     text-transform: none;
     padding: 0px 20px;
     text-align: left;
+    color: #ffffff;
 }
 
 .playlist-component ul {
--- a/cms/app-client/app/styles/tabs/carto.scss	Fri Jun 24 15:26:26 2016 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-#mapdiv{
-  width: 100%;
-}
--- a/cms/app-client/app/styles/tabs/detail.scss	Fri Jun 24 15:26:26 2016 +0200
+++ b/cms/app-client/app/styles/tabs/detail.scss	Fri Jun 24 17:01:39 2016 +0200
@@ -1,18 +1,18 @@
 .notice{
-  // padding: 10px;
+	padding: 10px;
 }
 
 .notice-header,
 .notice-body,
 .notice-footer{
-  padding: 10px 10px 0;
+	padding: 10px 10px 0;
 }
 
 .notice-header h2{
-  margin: 0;
+	margin: 0;
 }
 
 .notice-body b{
-  display: inline-block;
-  min-width: 140px;
+	display: inline-block;
+	min-width: 140px;
 }
--- a/cms/app-client/app/styles/tabs/discours.scss	Fri Jun 24 15:26:26 2016 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-.visu-discours p{
-  cursor: pointer;
-}
-
-.left{
-  float: left;
-  margin-left: 50px;
-}
-
-.right{
-  float: right;
-  margin-right: 50px;
-}
--- a/cms/app-client/app/templates/tabs/discours.hbs	Fri Jun 24 15:26:26 2016 +0200
+++ b/cms/app-client/app/templates/tabs/discours.hbs	Fri Jun 24 17:01:39 2016 +0200
@@ -1,1 +1,2 @@
+<h2>Sélectionner un type de discours</h2>
 {{discourses-component}}
\ No newline at end of file