diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index b0c10fba2d5..7ab1e207bce 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -1157,7 +1157,8 @@ span.fa.fa-plus-circle.paddingleft { .asetresetmodule .fa-toggle-on, .asetresetmodule .fa-toggle-off, .tdwebsitesearchresult .fa-toggle-on, .tdwebsitesearchresult .fa-toggle-off { - font-size: 1.5em; vertical-align: text-bottom; + font-size: 1.5em; + vertical-align: text-bottom; } .divoverflow { @@ -2082,6 +2083,14 @@ select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-select min-width: 300px; } } + +/* Force values for small screen 320 */ +@media only screen and (max-width: 320px) +{ + .maxwidth300 { max-width: 260px; } +} + + .linkobject { cursor: pointer; } table.tableforfield tr:not(.liste_titre)>td:first-of-type, tr.trforfield:not(.liste_titre)>td:first-of-type, div.tableforfield div.tagtr:not(.liste_titre)>div.tagtd:first-of-type { @@ -8179,7 +8188,7 @@ table.jPicker { } .badge { min-width: auto; - font-size: 12px; + font-size: 0.94em; } table.table-fiche-title .col-title div.titre{ @@ -8249,6 +8258,7 @@ table.jPicker { margin-top: 30px; } } + @media only screen and (max-width: 320px) { .dropdown dd ul { diff --git a/htdocs/theme/eldy/info-box.inc.php b/htdocs/theme/eldy/info-box.inc.php index a59ea3bf140..6c047a009ef 100644 --- a/htdocs/theme/eldy/info-box.inc.php +++ b/htdocs/theme/eldy/info-box.inc.php @@ -288,6 +288,16 @@ a.info-box-text-a i.fa.fa-exclamation-triangle { .info-box-text{ font-size: 0.92em; } +/* Force values for small screen 480 */ +@media only screen and (max-width: 480px) +{ + .info-box-text { + font-size: 0.82em; + } + .info-box-line { + line-height: 1.25em; + } +} .info-box-text:first-letter{text-transform: uppercase} a.info-box-text{ text-decoration: none;} @@ -570,7 +580,7 @@ if (GETPOSTISSET('THEME_SATURATE_RATIO')) { } */ -@media only screen and (max-width: 767px) +@media only screen and (max-width: 768px) { .box-flex-container { margin: 0 0 0 0px !important; @@ -602,7 +612,7 @@ if (GETPOSTISSET('THEME_SATURATE_RATIO')) { padding-right: 2px; } .info-box-line-text { - width: calc(100% - 92px); - max-width: calc(100% - 82px); + width: calc(100% - 98px); + max-width: calc(100% - 88px); } } diff --git a/htdocs/theme/md/info-box.inc.php b/htdocs/theme/md/info-box.inc.php index ec8ced18142..7c4774788d8 100644 --- a/htdocs/theme/md/info-box.inc.php +++ b/htdocs/theme/md/info-box.inc.php @@ -391,6 +391,13 @@ a.info-box-text-a i.fa.fa-exclamation-triangle { .info-box-text{ font-size: 0.90em; } +/* Force values for small screen 480 */ +@media only screen and (max-width: 480px) +{ + .info-box-text { + font-size: 0.85em; + } +} .info-box-text:first-letter{text-transform: uppercase} a.info-box-text{ text-decoration: none;} diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index cd76a3b0c4e..888d3282eb8 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -2049,8 +2049,8 @@ select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-select display: inline-block; } -/* Force values for small screen 767 */ -@media only screen and (max-width: 767px) +/* Force values for small screen 768 */ +@media only screen and (max-width: 768px) { body { font-size: ; @@ -2240,6 +2240,13 @@ select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-select min-width: 300px; } } + +/* Force values for small screen 320 */ +@media only screen and (max-width: 320px) +{ + .maxwidth300 { max-width: 260px; } +} + .linkobject { cursor: pointer; } table.tableforfield tr:not(.liste_titre)>td:first-of-type, tr.trforfield:not(.liste_titre)>td:first-of-type, div.tableforfield div.tagtr:not(.liste_titre)>div.tagtd:first-of-type {