dolibarr/htdocs/theme/eldy/emaillayout.inc.php
Laurent Destailleur a1dd9b5f40 CSS
2026-04-24 14:15:34 +02:00

113 lines
2 KiB
PHP

<?php
if (!defined('ISLOADEDBYSTEELSHEET')) {
die('Must be call by steelsheet');
}
?>
/* IDE Hack <style type="text/css"> */
.template-container {
display: flex;
justify-content: space-between;
padding: 10px;
background: #f5f5f5;
border: 1px solid #d3d3d3;
border-radius: 5px;
margin-bottom: 15px;
}
.template-option {
text-align: center;
padding: 10px;
margin: 4px 5px;
background: var(--colorbackgrey);
border-radius: 5px;
cursor: pointer;
height: 60px;
width: 60px;
display: inline-block;
align-items: center;
justify-content: center;
}
.template-option:hover {
font-weight: bold;
background: var(--butactionbg);
color: var(--textbutaction);
border-radius: 8px;
border-collapse: collapse;
}
.template-option[data-template="ai"] {
background: #c5f7c5;
}
.template-option[data-template="ai"]:hover {
font-weight: bold;
background: var(--butactionbg);
color: var(--textbutaction);
border-radius: 8px;
border-collapse: collapse;
border: none;
}
.template-option.selected {
font-weight: bold;
background: var(--butactionbg);
color: var(--textbutaction);
border-radius: 8px;
border-collapse: collapse;
border: none;
}
#template-selector {
/* width: 100%;
max-width: 80%; */
height: auto;
padding: 10px;
border: 1px solid #d3d3d3;
border-radius: 5px;
margin-bottom: 10px;
margin-top: 10px;
margin-left: -2px;
width: fit-content;
box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
position: absolute;
z-index: 1000;
background-color: #fff;
margin-top: 14px;
}
.template-option[data-template="ai"] i {
font-size: 42px;
display: block;
width: 80%;
max-height: 80px;
margin: 0 5px;
padding-top: 5px;
border-radius: 5px;
}
.template-option[data-template="ai"] span {
padding-top: 30px;
font-size: 14px;
}
.template-option-text {
padding-top: 3px;
font-size: 14px;
}
#ai_input {
display: none;
}
.template-option img {
display: block;
width: 80%;
max-height: 80px;
margin: 0 5px;
border-radius: 7px;
}