Look and feel v22

This commit is contained in:
ldestailleur
2025-03-21 00:32:03 +01:00
parent 65496604b4
commit dbd080d82f
7 changed files with 12 additions and 11 deletions

View File

@@ -1217,7 +1217,7 @@ if ($action == 'edit') {
// References // References
if (!empty($user->admin)) { if (!empty($user->admin)) {
print '<br><br>'; print '<br><br>';
print '<span class="opacitymedium">'.$langs->trans("EMailsWillHaveMessageID").': '; print '<span class="opacitymedium wordwrap">'.$langs->trans("EMailsWillHaveMessageID").': ';
print dol_escape_htmltag('<timestamp.*@'.dol_getprefix('email').'>'); print dol_escape_htmltag('<timestamp.*@'.dol_getprefix('email').'>');
print '</span>'; print '</span>';
} }

View File

@@ -65,7 +65,7 @@ if (!isset($out)) { // Init to empty string if not defined
if ($showlinktolayout) { // May be set only if MAIN_EMAIL_USE_LAYOUT is set if ($showlinktolayout) { // May be set only if MAIN_EMAIL_USE_LAYOUT is set
$out .= '<a href="#" id="linkforlayouttemplates" class="notasortlink inline-block alink marginrightonly">'; $out .= '<a href="#" id="linkforlayouttemplates" class="notasortlink inline-block alink marginrightonly">';
$out .= img_picto($showlinktolayoutlabel, 'layout', 'class="paddingrightonly"'); $out .= img_picto($showlinktolayoutlabel, 'layout', 'class="paddingrightonly"');
$out .= $showlinktolayoutlabel.'...'; $out .= '<span class="hideobject hideonsmartphone">'.$showlinktolayoutlabel.'...</span>';
$out .= '</a> &nbsp; &nbsp; '; $out .= '</a> &nbsp; &nbsp; ';
$out .= '<script> $out .= '<script>
@@ -85,7 +85,7 @@ if ($showlinktolayout) { // May be set only if MAIN_EMAIL_USE_LAYOUT is set
if ($showlinktoai) { if ($showlinktoai) {
$out .= '<a href="#" id="linkforaiprompt'.$showlinktoai.'" class="notasortlink inline-block alink marginrightonly">'; $out .= '<a href="#" id="linkforaiprompt'.$showlinktoai.'" class="notasortlink inline-block alink marginrightonly">';
$out .= img_picto($showlinktoailabel, 'ai', 'class="paddingrightonly"'); $out .= img_picto($showlinktoailabel, 'ai', 'class="paddingrightonly"');
$out .= $showlinktoailabel.'...'; $out .= '<span class="hideobject hideonsmartphone">'.$showlinktoailabel.'...</span>';
$out .= '</a>'; $out .= '</a>';
$out .= '<script> $out .= '<script>

View File

@@ -134,7 +134,7 @@ button.dropdown-item.global-search-item {
background-color: #fff; background-color: #fff;
-webkit-background-clip: padding-box; -webkit-background-clip: padding-box;
background-clip: padding-box; background-clip: padding-box;
border: 1px solid rgba(0,0,0,.15); border: 1px solid rgba(128, 128, 128, .15);
border-radius: 4px; border-radius: 4px;
-webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175); -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
box-shadow: 0 6px 12px rgba(0,0,0,.175); box-shadow: 0 6px 12px rgba(0,0,0,.175);
@@ -700,7 +700,7 @@ div.quickaddblock:focus {
.side-nav-vert .user-menu .dropdown-menu, .topnav .user-menu .dropdown-menu { .side-nav-vert .user-menu .dropdown-menu, .topnav .user-menu .dropdown-menu {
width: 300px; width: 300px;
} }
.dropdown-menu { .dropdown-menu:not(#ai_dropdownmessage) {
border: none; border: none;
-webkit-box-shadow: none; -webkit-box-shadow: none;
box-shadow: none; box-shadow: none;

View File

@@ -19,8 +19,7 @@ if (!defined('ISLOADEDBYSTEELSHEET')) {
text-align: center; text-align: center;
padding: 10px; padding: 10px;
margin: 0 5px; margin: 0 5px;
background: #e9e9e9; background: var(--colorbackgrey);
border: 1px solid #ccc;
border-radius: 5px; border-radius: 5px;
cursor: pointer; cursor: pointer;
height: 60px; height: 60px;

View File

@@ -8615,13 +8615,14 @@ table.jPicker {
padding: 12px; padding: 12px;
left: inherit !important; left: inherit !important;
top: inherit !important; top: inherit !important;
border-radius: 5px !important;
} }
.ai_feature { .ai_feature {
background-color: var(--colorbackgrey); background-color: var(--colorbackgrey);
padding: 10px; padding: 10px;
padding-bottom: 6px; padding-bottom: 6px;
padding-top: 6px; padding-top: 6px;
border-radius: 4px; border-radius: 5px;
} }

View File

@@ -150,7 +150,7 @@ button.dropdown-item.global-search-item {
-webkit-background-clip: padding-box; -webkit-background-clip: padding-box;
background-clip: padding-box; background-clip: padding-box;
border: 1px solid #ccc; border: 1px solid #ccc;
border: 1px solid rgba(0,0,0,.15); border: 1px solid rgba(128, 128, 128, .15);
border-radius: 4px; border-radius: 4px;
-webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175); -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
box-shadow: 0 6px 12px rgba(0,0,0,.175); box-shadow: 0 6px 12px rgba(0,0,0,.175);

View File

@@ -8449,17 +8449,18 @@ table.jPicker {
/* ============================================================================== */ /* ============================================================================== */
.ai_dropdown { .ai_dropdown {
min-width: 400px; min-width: 400px !important;
padding: 12px; padding: 12px;
left: inherit !important; left: inherit !important;
top: inherit !important; top: inherit !important;
border-radius: 5px !important;
} }
.ai_feature { .ai_feature {
background-color: var(--colorbackgrey); background-color: var(--colorbackgrey);
padding: 10px; padding: 10px;
padding-bottom: 6px; padding-bottom: 6px;
padding-top: 6px; padding-top: 6px;
border-radius: 4px; border-radius: 5px;
} }