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 @@ ...@@ -108,7 +108,9 @@
---------------------------- SPECIFIC -------------------------------- ---------------------------- SPECIFIC --------------------------------
------------------------------------------------------------------------- -------------------------------------------------------------------------
*/ */
.custom-link-table td {
padding: .25em;
}
.custom-software-list > li { .custom-software-list > li {
border: 1px solid #a1a1a1; border: 1px solid #a1a1a1;
padding: 1em; padding: 1em;
...@@ -178,9 +180,13 @@ ...@@ -178,9 +180,13 @@
.custom-success-story-list > li:nth-child(even) { .custom-success-story-list > li:nth-child(even) {
padding-right: 0; padding-right: 0;
} }
.custom-success-story-list > li div {
text-align: center;
}
.custom-success-story-list > li { .custom-success-story-list > li {
display: inline-block; display: inline-block;
max-width: 49%; max-width: 49%;
min-width: 49%;
vertical-align: top; vertical-align: top;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
...@@ -191,13 +197,13 @@ ...@@ -191,13 +197,13 @@
@media (max-width: 40em) { @media (max-width: 40em) {
.custom-success-story-list > li { .custom-success-story-list > li {
display: block; display: block;
max-width: initial; max-width: none;
padding: 0; padding: 0;
} }
} }
.custom-success-story-image-wrapper { .custom-success-story-image-wrapper {
height: 20em; height: 22em;
overflow: hidden; overflow: hidden;
margin: .25em 0 .25em; margin: .25em 0 .25em;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
...@@ -205,9 +211,18 @@ ...@@ -205,9 +211,18 @@
box-sizing: border-box; box-sizing: border-box;
border: 1px solid #a1a1a1; border: 1px solid #a1a1a1;
padding: .25em; 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 { .custom-success-story-image-wrapper img {
width: 100%; width: auto;
display: block;
margin: 0 auto;
} }
@media (max-width: 40em) { @media (max-width: 40em) {
.custom-success-story-image-wrapper { .custom-success-story-image-wrapper {
...@@ -221,6 +236,7 @@ ...@@ -221,6 +236,7 @@
font-weight: bold; font-weight: bold;
padding: .5em 0; padding: .5em 0;
text-align: center; text-align: center;
margin: 0;
} }
.custom-success-story-description { .custom-success-story-description {
text-align: justify; text-align: justify;
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>953.59499.61756.53282</string> </value> <value> <string>954.54858.27951.59136</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1477298801.91</float> <float>1477413830.84</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </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