cms/app-client/app/styles/results.scss
changeset 95 f7ab931581af
parent 87 24fef043ea0b
child 196 7550cb541901
--- a/cms/app-client/app/styles/results.scss	Thu Jan 21 21:07:02 2016 +0100
+++ b/cms/app-client/app/styles/results.scss	Fri Jan 22 10:35:52 2016 +0100
@@ -6,8 +6,7 @@
 .result-header{
   flex: 0 1 auto;
   float: left;
-  border-left: none;
-  border-top: none;
+  padding: 0 10px;
 }
 
 .result-header .filters{
@@ -44,14 +43,13 @@
   float: left;
   overflow: auto;
   border: none;
-  padding: 10px;
-  margin-bottom: 10px;
   background: #eeeeee;
+  padding: 5px 10px;
 }
 
 .result-item {
   margin-bottom: 1px;
-  height: 64px;
+  min-height: 64px;
   cursor: pointer;
   padding: 5px;
   overflow: hidden;
@@ -63,11 +61,19 @@
 .result-item:hover {
   // box-shadow: -1px -1px 5px 0px rgba(0,0,0,0.75);
 }
-.result-item.details {
+
+.result-item .hidden-elt {
+  display: none;
+}
+.result-item.show-more .hidden-elt{
+  display: block;
+}
+
+.result-item.show-more {
   box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
   margin: 1rem 0rem;
   z-index: 200;
-  height: inherit;
+  // height: inherit;
 }
 
 .result-item .description{
@@ -89,5 +95,5 @@
 }
 
 .result-item button{
-  margin-top: 5px;
+  margin-top: 10px;
 }