Fix css for kanban view
This commit is contained in:
parent
18bb535787
commit
bb406f66be
@ -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)
|
* @param string $option Where point the link (0=> main card, 1,2 => shipment, 'nolink'=>No link)
|
||||||
* @return string HTML Code for Kanban thumb.
|
* @return string HTML Code for Kanban thumb.
|
||||||
|
|||||||
@ -2428,6 +2428,9 @@ img.photoref, div.photoref {
|
|||||||
}
|
}
|
||||||
img.photokanban, div.photokanban {
|
img.photokanban, div.photokanban {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
border: none;
|
||||||
|
box-shadow: none;
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
div.photoref .fa, div.photoref .fas, div.photoref .far {
|
div.photoref .fa, div.photoref .fas, div.photoref .far {
|
||||||
font-size: 2.5em;
|
font-size: 2.5em;
|
||||||
|
|||||||
@ -96,7 +96,7 @@ if (!defined('ISLOADEDBYSTEELSHEET')) {
|
|||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
}
|
}
|
||||||
.info-box-sm .info-box-icon {
|
.info-box-sm .info-box-icon {
|
||||||
height: 80px;
|
height: 96px; /* must match height of info-box-sm .info-box-content */
|
||||||
width: 78px;
|
width: 78px;
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
line-height: 92px;
|
line-height: 92px;
|
||||||
@ -112,7 +112,7 @@ if (!defined('ISLOADEDBYSTEELSHEET')) {
|
|||||||
height: 98px;
|
height: 98px;
|
||||||
}
|
}
|
||||||
.info-box-icon > img {
|
.info-box-icon > img {
|
||||||
max-width: 100%;
|
max-width: 85%;
|
||||||
}
|
}
|
||||||
.info-box-module .info-box-icon > img {
|
.info-box-module .info-box-icon > img {
|
||||||
max-width: 60%;
|
max-width: 60%;
|
||||||
@ -179,11 +179,11 @@ a.info-box-text-a i.fa.fa-exclamation-triangle {
|
|||||||
}
|
}
|
||||||
<?php } ?>
|
<?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;
|
overflow: hidden;
|
||||||
width: 80px;
|
width: 80px;
|
||||||
}
|
}
|
||||||
.info-box:hover .info-box-icon-text{
|
.info-box:hover .info-box-icon-text {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -191,8 +191,9 @@ a.info-box-text-a i.fa.fa-exclamation-triangle {
|
|||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
margin-left: 84px;
|
margin-left: 84px;
|
||||||
}
|
}
|
||||||
.info-box-sm .info-box-content{
|
.info-box-sm .info-box-content {
|
||||||
margin-left: 80px;
|
margin-left: 80px;
|
||||||
|
height: 86px; /* 96 - margins of .info-box-sm .info-box-content */
|
||||||
}
|
}
|
||||||
.info-box-sm .info-box-module-enabled {
|
.info-box-sm .info-box-module-enabled {
|
||||||
/* background: linear-gradient(0.35turn, #fff, #fff, #f6faf8, #e4efe8) */
|
/* background: linear-gradient(0.35turn, #fff, #fff, #f6faf8, #e4efe8) */
|
||||||
|
|||||||
@ -208,7 +208,7 @@ a.info-box-text-a i.fa.fa-exclamation-triangle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.info-box-sm .info-box-icon {
|
.info-box-sm .info-box-icon {
|
||||||
height: 80px;
|
height: 96px;
|
||||||
width: 80px;
|
width: 80px;
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
line-height: 92px;
|
line-height: 92px;
|
||||||
@ -223,7 +223,7 @@ a.info-box-text-a i.fa.fa-exclamation-triangle {
|
|||||||
height: 98px;
|
height: 98px;
|
||||||
}
|
}
|
||||||
.info-box-icon > img {
|
.info-box-icon > img {
|
||||||
max-width: 100%;
|
max-width: 85%;
|
||||||
}
|
}
|
||||||
.info-box-module .info-box-icon > img {
|
.info-box-module .info-box-icon > img {
|
||||||
max-width: 55%;
|
max-width: 55%;
|
||||||
|
|||||||
@ -2459,6 +2459,8 @@ img.photoref, div.photoref {
|
|||||||
img.photokanban, div.photokanban {
|
img.photokanban, div.photokanban {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: none;
|
border: none;
|
||||||
|
box-shadow: none;
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.photoref .fa, div.photoref .fas, div.photoref .far {
|
div.photoref .fa, div.photoref .fas, div.photoref .far {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user