18if (!defined(
'ISLOADEDBYSTEELSHEET')) {
19 die(
'Must be call by steelsheet');
37@phan-var-force string $butactionbg
38@phan-var-force string $colorbackhmenu1
39@phan-var-force string $colortextlink
40@phan-var-force int<0,1> $dol_optimize_smallscreen
41@phan-var-force string $fontlist
42@phan-var-force string $fontsize
43@phan-var-force string $left
44@phan-var-force int<0,max> $nbtopmenuentries
45@phan-var-force string $right
46@phan-var-force string $textbutaction
53 --btncolortext:rgb(<?php print $colortextlink; ?>);
54 --btncolorbg: #fbfbfb;
55 --btncolorborderhover: none;
56 --btncolorborder: #FFF;
57 --butactiondeletebg: rgb(234,228,225);
58 --butactionbg: rgb(<?php print $butactionbg; ?>);
59 --textbutaction: rgb(<?php print $textbutaction; ?>);
64 print
"/* For dark mode */\n";
66 print
"@media (prefers-color-scheme: dark) {";
68 print
"@media not print {";
74 --btncolorbg: rgb(26,27,27);
75 --btncolorborderhover: #ffffff;
76 --btncolorborder: #2b2c2e;
77 --butactiondeletebg: rgb(252,84,91);
78 --butactionbg: rgb(173,140,79);
79 --textbutaction: rgb(255,255,255);
91div.tabsAction > a.butAction, div.tabsAction > a.butActionRefused, div.tabsAction > a.butActionDelete,
92div.tabsAction > span.butAction, div.tabsAction > span.butActionRefused, div.tabsAction > span.butActionDelete,
93div.tabsAction > div.divButAction > span.butAction,
94div.tabsAction > div.divButAction > span.butActionDelete,
95div.tabsAction > div.divButAction > span.butActionRefused,
96div.tabsAction > div.divButAction > a.butAction,
97div.tabsAction > div.divButAction > a.butActionDelete,
98div.tabsAction > div.divButAction > a.butActionRefused,
99div.tabsAction > .dropdown > .dropdown-toggle {
100 margin-bottom: 1.4em !important;
101 margin-right: 0px !important;
103div.tabsActionNoBottom > a.butAction, div.tabsActionNoBottom > a.butActionRefused {
104 margin-bottom: 0 !important;
107span.butAction, span.butActionDelete {
112 background: var(--butactionbg);
113 color: var(--textbutaction) !important;
116.butActionRefused, .butAction, .butActionDelete {
119:not(.center) > .butActionRefused:last-child, :not(.center) > .butAction:last-child, :not(.center) > .butActionDelete:last-child {
120 margin-<?php echo $right; ?>: 0px !important;
122.butActionRefused, .butAction, .butAction:link, .butAction:visited, .butAction:hover, .butAction:
active, .butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:
active {
123 text-decoration: none;
124 text-transform: uppercase;
128 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.9'); ?>em;
129 padding: 0.6em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.7'); ?>em;
131 display:
inline-block;
144.butActionNew, .butActionNewRefused, .butActionNew:link, .butActionNew:visited, .butActionNew:hover, .butActionNew:
active {
145 text-decoration: none;
146 text-transform: uppercase;
149 margin: 0em 0.3em 0 0.3em !important;
150 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em 0.3em;
152 display:
inline-block;
158 border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
159 display: inline-block;
160 padding: 0.4em <?php echo($dol_optimize_smallscreen ? '0.4' : '0.7'); ?>em;
161 margin: 0em <?php echo($dol_optimize_smallscreen ? '0.7' : '0.9'); ?>em;
164 vertical-align: middle;
166 color:
#333333 !important;
167 text-decoration: none !important;
168 text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
169 background-color: #f5f5f5;
170 background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
171 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
172 background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
173 background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
174 background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
175 background-repeat: repeat-x;
176 border-color: #e6e6e6 #e6e6e6 #bfbfbf;
177 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
178 border: 1px solid
#bbbbbb;
179 border-bottom-color: #a2a2a2;
181 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
183.butActionNew, .butActionNewRefused, .butActionNew:link, .butActionNew:visited, .butActionNew:hover, .butActionNew:
active {
184 text-decoration: none;
186 display:
inline-block;
187 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em;
188 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.7' :
'0.9'); ?>em;
191 vertical-align: middle;
195a.butActionNew>span.fa-plus-circle { padding-left: 6px; font-size: 1.5em; }
196a.butActionNewRefused>span.fa-plus-circle { padding-left: 6px; font-size: 1.5em; }
198.tableforfieldcreate a.butActionNew>span.fa-plus-circle, .tableforfieldcreate a.butActionNew>span.fa-plus-circle:hover,
199.tableforfieldedit a.butActionNew>span.fa-plus-circle, .tableforfieldedit a.butActionNew>span.fa-plus-circle:hover,
200span.butActionNew>span.fa-plus-circle, span.butActionNew>span.fa-plus-circle:hover,
201a.butActionNewRefused>span.fa-plus-circle, a.butActionNewRefused>span.fa-plus-circle:hover,
202span.butActionNewRefused>span.fa-plus-circle, span.butActionNewRefused>span.fa-plus-circle:hover,
203a.butActionNew>span.fa-list-alt, a.butActionNew>span.fa-list-alt:hover,
204span.butActionNew>span.fa-list-alt, span.butActionNew>span.fa-list-alt:hover,
205a.butActionNewRefused>span.fa-list-alt, a.butActionNewRefused>span.fa-list-alt:hover,
206span.butActionNewRefused>span.fa-list-alt, span.butActionNewRefused>span.fa-list-alt:hover
213 color: #ffffff !important;
214 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
215 background-color: #006dcc;
216 background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
217 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
218 background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
219 background-image: -o-linear-gradient(top, #0088cc, #0044cc);
220 background-image: linear-gradient(to bottom, #0088cc, #0044cc);
221 background-repeat: repeat-x;
222 border-color: #0044cc #0044cc #002a80;
223 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
226 color: #666 !important;
231 background-color: #f5f5f5;
232 background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
233 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
234 background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
235 background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
236 background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
237 background-repeat: repeat-x
244a.butActionNew>span.fa, a.butActionNew>span.fa:hover,
245span.butActionNew>span.fa, span.butActionNew>span.fa:hover,
246a.butActionNewRefused>span.fa, a.butActionNewRefused>span.fa:hover,
247span.butActionNewRefused>span.fa, span.butActionNewRefused>span.fa:hover
249 padding-<?php echo $left; ?>: 6px;
256 box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), inset 0px 0px 200px rgba(60,60,60,0.1);
259 text-decoration: underline;
260 box-shadow: unset !important;
263.butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:
active, .buttonDelete {
264 background: var(--butactiondeletebg);
265 color: #633 !important;
268.butActionDelete:hover {
269 box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
273 text-decoration: none !important;
274 text-transform: uppercase;
275 font-weight: bold !important;
277 white-space: nowrap !important;
278 cursor: not-allowed !important;
279 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.9'); ?>em;
280 padding: 0.6em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.7'); ?>em;
281 font-family: <?php print
$fontlist ?> !important;
282 display:
inline-block;
285 color: #999 !important;
287 border: 1px solid #ccc;
288 box-sizing: border-box;
289 -moz-box-sizing: border-box;
290 -webkit-box-sizing: border-box;
292.butActionNewRefused, .butActionNewRefused:link, .butActionNewRefused:visited, .butActionNewRefused:hover, .butActionNewRefused:
active {
293 text-decoration: none !important;
294 text-transform: uppercase;
295 font-weight: normal !important;
297 white-space: nowrap !important;
298 cursor: not-allowed !important;
299 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.7' :
'0.9'); ?>em;
300 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em;
301 font-family: <?php print
$fontlist ?> !important;
302 display:
inline-block;
305 color: #999 !important;
307 box-shadow: none !important;
310.butActionTransparent {
311 color: #222 ! important;
312 background-color: transparent ! important;
316 background-color: rgb(<?php echo $colorbackhmenu1; ?>);
324div.pagination li:first-child a.btnTitle, div.pagination li.paginationafterarrows a.btnTitle,
325table.table-fiche-title tr.titre td.col-center div.nowraponall a.btnTitle,
326table.table-fiche-title tr.titre td.col-right a.btnTitle {
327 margin-<?php echo $left; ?>: 10px;
330.btnTitle, a.btnTitle {
331 display:
inline-block;
338 vertical-align: middle;
339 -ms-touch-action: manipulation;
340 touch-action: manipulation;
342 -webkit-
user-select: none;
343 -moz-
user-select: none;
344 -ms-
user-select: none;
347 text-decoration: none;
351 color: var(--btncolortext);
358.btnTitle, a.btnTitle {
362a.btnTitle.btnTitleSelected {
363 border: 1px solid #ccc;
367.btnTitle > .btnTitle-icon{
371.btnTitle > .btnTitle-label{
375.btnTitle:hover, a.btnTitle:hover {
381 background-color: #eee;
383 text-decoration: none;
387.btnTitle.refused, a.btnTitle.refused, .btnTitle.refused:hover, a.btnTitle.refused:hover {
390 background-color: #fbfbfb;
391 background: repeating-linear-gradient( 45deg, #ffffff, #f1f1f1 4px, #f1f1f1 4px, #f1f1f1 4px );
394.btnTitle:hover .btnTitle-label{
395 color:var(--btncolorborderhover);
397div.pagination .btnTitle:hover .btnTitle-label{
398 color: rgb(<?php print $colortextlink; ?>);
401.btnTitle.refused .btnTitle-label, .btnTitle.refused:hover .btnTitle-label{
410.paginationafterarrows a.btnTitlePlus, .titre_right a.btnTitlePlus {
413 background-color: unset;
415.paginationafterarrows a.btnTitlePlus:hover, .titre_right a.btnTitlePlus:hover {
427@media only screen and (max-width: <?php echo
getDolGlobalString(
'THEME_ELDY_WITDHOFFSET_FOR_REDUC1', round($nbtopmenuentries * 90, 0) + 340); ?>px)
429 .btnTitle, a.btnTitle {
435@media only screen and (max-width: <?php echo !
getDolGlobalString(
'THEME_ELDY_WITDHOFFSET_FOR_REDUC2') ? round($nbtopmenuentries * 69, 0) + 130 :
getDolGlobalInt(
'THEME_ELDY_WITDHOFFSET_FOR_REDUC2'); ?>px)
437 .butAction, .butActionRefused, .butActionDelete {
443@media only screen and (max-width: <?php echo !
getDolGlobalString(
'THEME_ELDY_WITDHOFFSET_FOR_REDUC3') ? round($nbtopmenuentries * 47, 0) + 130 :
getDolGlobalInt(
'THEME_ELDY_WITDHOFFSET_FOR_REDUC3'); ?>px)
445 .butAction, .butActionRefused, .butActionDelete {
451@media only screen and (max-width: 767px)
453 .butAction, .butActionRefused, .butActionDelete {
458 .btnTitle, a.btnTitle {
459 display:
inline-block;
460 padding: 4px 4px 4px 4px;
463 .paginationafterarrows a.btnTitlePlus:hover span:before, .titre_right a.btnTitlePlus:hover span:before {
464 font-size: unset !important;
470.butActionRefused, .butActionNewRefused, .btnTitle.refused {
471 display: none !important;
482 border: 1px solid #ddd;
486 text-decoration: none !important;
490 background-color: #ddd;
491 border: 1px solid #ddd;
502 display:
inline-block;
514 background: transparent;
517 color: var(--colortextlink, inherit);
522 -webkit-font-smoothing: inherit;
523 -moz-osx-font-smoothing: inherit;
526 -webkit-appearance: none;
529 transition: background 0.8s;
530 background: transparent radial-gradient(circle, transparent 1%, hsla(var(--colortextlink-h),var(--colortextlink-s) ,var(--colortextlink-l) , 0.1) 1%, transparent 10%) center/15000%;
533button.btn-low-emphasis.--btn-icon{
537button.btn-low-emphasis :is(.fa, .fas){
538 color: var(--colortextlink, inherit);
542button.btn-low-emphasis:is(:focus,:hover) :is(.fa, .fas){
547 background-color: hsla(var(--colortextlink-h),var(--colortextlink-s) ,var(--colortextlink-l) , 0.1);
548 background-size: 100%;
549 transition: background 0s;
getDolGlobalInt($key, $default=0)
Return a Dolibarr global constant int value.
getDolGlobalString($key, $default='')
Return a Dolibarr global constant string value.
multi select button
0 = Do not include form tag and submit button -1 = Do not include form tag but include submit button
treeview li table
No Email.
$conf db user
Active Directory does not allow anonymous connections.