Fix css for kanban view

This commit is contained in:
Laurent Destailleur 2022-12-08 11:43:35 +01:00
parent 18bb535787
commit bb406f66be
5 changed files with 14 additions and 8 deletions

View File

@ -770,7 +770,7 @@ abstract class CommonObject
}
/**
* Return a thumb for kanban views
* Return clicable link of object (with eventually picto)
*
* @param string $option Where point the link (0=> main card, 1,2 => shipment, 'nolink'=>No link)
* @return string HTML Code for Kanban thumb.

View File

@ -2428,6 +2428,9 @@ img.photoref, div.photoref {
}
img.photokanban, div.photokanban {
padding: 0;
border: none;
box-shadow: none;
vertical-align: middle;
}
div.photoref .fa, div.photoref .fas, div.photoref .far {
font-size: 2.5em;

View File

@ -96,7 +96,7 @@ if (!defined('ISLOADEDBYSTEELSHEET')) {
padding-bottom: 5px;
}
.info-box-sm .info-box-icon {
height: 80px;
height: 96px; /* must match height of info-box-sm .info-box-content */
width: 78px;
font-size: 25px;
line-height: 92px;
@ -112,7 +112,7 @@ if (!defined('ISLOADEDBYSTEELSHEET')) {
height: 98px;
}
.info-box-icon > img {
max-width: 100%;
max-width: 85%;
}
.info-box-module .info-box-icon > img {
max-width: 60%;
@ -179,11 +179,11 @@ a.info-box-text-a i.fa.fa-exclamation-triangle {
}
<?php } ?>
.info-box-sm .info-box-icon-text, .info-box-sm .info-box-icon-version{
.info-box-sm .info-box-icon-text, .info-box-sm .info-box-icon-version {
overflow: hidden;
width: 80px;
}
.info-box:hover .info-box-icon-text{
.info-box:hover .info-box-icon-text {
opacity: 1;
}
@ -191,8 +191,9 @@ a.info-box-text-a i.fa.fa-exclamation-triangle {
padding: 5px 10px;
margin-left: 84px;
}
.info-box-sm .info-box-content{
.info-box-sm .info-box-content {
margin-left: 80px;
height: 86px; /* 96 - margins of .info-box-sm .info-box-content */
}
.info-box-sm .info-box-module-enabled {
/* background: linear-gradient(0.35turn, #fff, #fff, #f6faf8, #e4efe8) */

View File

@ -208,7 +208,7 @@ a.info-box-text-a i.fa.fa-exclamation-triangle {
}
.info-box-sm .info-box-icon {
height: 80px;
height: 96px;
width: 80px;
font-size: 25px;
line-height: 92px;
@ -223,7 +223,7 @@ a.info-box-text-a i.fa.fa-exclamation-triangle {
height: 98px;
}
.info-box-icon > img {
max-width: 100%;
max-width: 85%;
}
.info-box-module .info-box-icon > img {
max-width: 55%;

View File

@ -2459,6 +2459,8 @@ img.photoref, div.photoref {
img.photokanban, div.photokanban {
padding: 0;
border: none;
box-shadow: none;
vertical-align: middle;
}
div.photoref .fa, div.photoref .fas, div.photoref .far {