Commit 9d0daba6 authored by Sven Franck's avatar Sven Franck

erp5_officejs_afs_directory: fixed display of success cases with placeholder image

parent c5f8e57a
......@@ -108,7 +108,9 @@
---------------------------- SPECIFIC --------------------------------
-------------------------------------------------------------------------
*/
.custom-link-table td {
padding: .25em;
}
.custom-software-list > li {
border: 1px solid #a1a1a1;
padding: 1em;
......@@ -178,9 +180,13 @@
.custom-success-story-list > li:nth-child(even) {
padding-right: 0;
}
.custom-success-story-list > li div {
text-align: center;
}
.custom-success-story-list > li {
display: inline-block;
max-width: 49%;
min-width: 49%;
vertical-align: top;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
......@@ -191,13 +197,13 @@
@media (max-width: 40em) {
.custom-success-story-list > li {
display: block;
max-width: initial;
max-width: none;
padding: 0;
}
}
.custom-success-story-image-wrapper {
height: 20em;
height: 22em;
overflow: hidden;
margin: .25em 0 .25em;
-moz-box-sizing: border-box;
......@@ -205,9 +211,18 @@
box-sizing: border-box;
border: 1px solid #a1a1a1;
padding: .25em;
width: 100%;
}
.custom-success-story-image-wrapper a {
vertical-align: middle;
display: table-cell;
height: inherit;
width: 1%; /* don't ask, this centers the link */
}
.custom-success-story-image-wrapper img {
width: 100%;
width: auto;
display: block;
margin: 0 auto;
}
@media (max-width: 40em) {
.custom-success-story-image-wrapper {
......@@ -221,6 +236,7 @@
font-weight: bold;
padding: .5em 0;
text-align: center;
margin: 0;
}
.custom-success-story-description {
text-align: justify;
......
......@@ -234,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>953.59499.61756.53282</string> </value>
<value> <string>954.54858.27951.59136</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1477298801.91</float>
<float>1477413830.84</float>
<string>UTC</string>
</tuple>
</state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment