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 {
99 margin-bottom: 1.4em !important;
100 margin-right: 0px !important;
102div.tabsActionNoBottom > a.butAction, div.tabsActionNoBottom > a.butActionRefused {
103 margin-bottom: 0 !important;
106span.butAction, span.butActionDelete {
111 background: var(--butactionbg);
112 color: var(--textbutaction) !important;
115.butActionRefused, .butAction, .butActionDelete {
118:not(.center) > .butActionRefused:last-child, :not(.center) > .butAction:last-child, :not(.center) > .butActionDelete:last-child {
119 margin-<?php echo $right; ?>: 0px !important;
121.butActionRefused, .butAction, .butAction:link, .butAction:visited, .butAction:hover, .butAction:
active, .butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:
active {
122 text-decoration: none;
123 text-transform: uppercase;
127 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.9'); ?>em;
128 padding: 0.6em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.7'); ?>em;
130 display:
inline-block;
143.butActionNew, .butActionNewRefused, .butActionNew:link, .butActionNew:visited, .butActionNew:hover, .butActionNew:
active {
144 text-decoration: none;
145 text-transform: uppercase;
148 margin: 0em 0.3em 0 0.3em !important;
149 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em 0.3em;
151 display:
inline-block;
157 border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
158 display: inline-block;
159 padding: 0.4em <?php echo($dol_optimize_smallscreen ? '0.4' : '0.7'); ?>em;
160 margin: 0em <?php echo($dol_optimize_smallscreen ? '0.7' : '0.9'); ?>em;
163 vertical-align: middle;
165 color:
#333333 !important;
166 text-decoration: none !important;
167 text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
168 background-color: #f5f5f5;
169 background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
170 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
171 background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
172 background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
173 background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
174 background-repeat: repeat-x;
175 border-color: #e6e6e6 #e6e6e6 #bfbfbf;
176 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
177 border: 1px solid
#bbbbbb;
178 border-bottom-color: #a2a2a2;
180 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
182.butActionNew, .butActionNewRefused, .butActionNew:link, .butActionNew:visited, .butActionNew:hover, .butActionNew:
active {
183 text-decoration: none;
185 display:
inline-block;
186 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em;
187 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.7' :
'0.9'); ?>em;
190 vertical-align: middle;
194a.butActionNew>span.fa-plus-circle { padding-left: 6px; font-size: 1.5em; }
195a.butActionNewRefused>span.fa-plus-circle { padding-left: 6px; font-size: 1.5em; }
197.tableforfieldcreate a.butActionNew>span.fa-plus-circle, .tableforfieldcreate a.butActionNew>span.fa-plus-circle:hover,
198.tableforfieldedit a.butActionNew>span.fa-plus-circle, .tableforfieldedit a.butActionNew>span.fa-plus-circle:hover,
199span.butActionNew>span.fa-plus-circle, span.butActionNew>span.fa-plus-circle:hover,
200a.butActionNewRefused>span.fa-plus-circle, a.butActionNewRefused>span.fa-plus-circle:hover,
201span.butActionNewRefused>span.fa-plus-circle, span.butActionNewRefused>span.fa-plus-circle:hover,
202a.butActionNew>span.fa-list-alt, a.butActionNew>span.fa-list-alt:hover,
203span.butActionNew>span.fa-list-alt, span.butActionNew>span.fa-list-alt:hover,
204a.butActionNewRefused>span.fa-list-alt, a.butActionNewRefused>span.fa-list-alt:hover,
205span.butActionNewRefused>span.fa-list-alt, span.butActionNewRefused>span.fa-list-alt:hover
212 color: #ffffff !important;
213 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
214 background-color: #006dcc;
215 background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
216 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
217 background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
218 background-image: -o-linear-gradient(top, #0088cc, #0044cc);
219 background-image: linear-gradient(to bottom, #0088cc, #0044cc);
220 background-repeat: repeat-x;
221 border-color: #0044cc #0044cc #002a80;
222 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
225 color: #666 !important;
230 background-color: #f5f5f5;
231 background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
232 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
233 background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
234 background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
235 background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
236 background-repeat: repeat-x
243a.butActionNew>span.fa, a.butActionNew>span.fa:hover,
244span.butActionNew>span.fa, span.butActionNew>span.fa:hover,
245a.butActionNewRefused>span.fa, a.butActionNewRefused>span.fa:hover,
246span.butActionNewRefused>span.fa, span.butActionNewRefused>span.fa:hover
248 padding-<?php echo $left; ?>: 6px;
255 box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), inset 0px 0px 200px rgba(60,60,60,0.1);
258 text-decoration: underline;
259 box-shadow: unset !important;
262.butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:
active, .buttonDelete {
263 background: var(--butactiondeletebg);
264 color: #633 !important;
267.butActionDelete:hover {
268 box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
272 text-decoration: none !important;
273 text-transform: uppercase;
274 font-weight: bold !important;
276 white-space: nowrap !important;
277 cursor: not-allowed !important;
278 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.9'); ?>em;
279 padding: 0.6em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.7'); ?>em;
280 font-family: <?php print
$fontlist ?> !important;
281 display:
inline-block;
284 color: #999 !important;
286 border: 1px solid #ccc;
287 box-sizing: border-box;
288 -moz-box-sizing: border-box;
289 -webkit-box-sizing: border-box;
291.butActionNewRefused, .butActionNewRefused:link, .butActionNewRefused:visited, .butActionNewRefused:hover, .butActionNewRefused:
active {
292 text-decoration: none !important;
293 text-transform: uppercase;
294 font-weight: normal !important;
296 white-space: nowrap !important;
297 cursor: not-allowed !important;
298 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.7' :
'0.9'); ?>em;
299 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em;
300 font-family: <?php print
$fontlist ?> !important;
301 display:
inline-block;
304 color: #999 !important;
306 box-shadow: none !important;
309.butActionTransparent {
310 color: #222 ! important;
311 background-color: transparent ! important;
315 background-color: rgb(<?php echo $colorbackhmenu1; ?>);
323div.pagination li:first-child a.btnTitle, div.pagination li.paginationafterarrows a.btnTitle,
324table.table-fiche-title tr.titre td.col-center div.nowraponall a.btnTitle,
325table.table-fiche-title tr.titre td.col-right a.btnTitle {
326 margin-<?php echo $left; ?>: 10px;
329.btnTitle, a.btnTitle {
330 display:
inline-block;
337 vertical-align: middle;
338 -ms-touch-action: manipulation;
339 touch-action: manipulation;
341 -webkit-
user-select: none;
342 -moz-
user-select: none;
343 -ms-
user-select: none;
346 text-decoration: none;
350 color: var(--btncolortext);
357.btnTitle, a.btnTitle {
361a.btnTitle.btnTitleSelected {
362 border: 1px solid #ccc;
366.btnTitle > .btnTitle-icon{
370.btnTitle > .btnTitle-label{
374.btnTitle:hover, a.btnTitle:hover {
380 background-color: #eee;
382 text-decoration: none;
386.btnTitle.refused, a.btnTitle.refused, .btnTitle.refused:hover, a.btnTitle.refused:hover {
389 background-color: #fbfbfb;
390 background: repeating-linear-gradient( 45deg, #ffffff, #f1f1f1 4px, #f1f1f1 4px, #f1f1f1 4px );
393.btnTitle:hover .btnTitle-label{
394 color:var(--btncolorborderhover);
396div.pagination .btnTitle:hover .btnTitle-label{
397 color: rgb(<?php print $colortextlink; ?>);
400.btnTitle.refused .btnTitle-label, .btnTitle.refused:hover .btnTitle-label{
409.paginationafterarrows a.btnTitlePlus, .titre_right a.btnTitlePlus {
412 background-color: unset;
414.paginationafterarrows a.btnTitlePlus:hover, .titre_right a.btnTitlePlus:hover {
426@media only screen and (max-width: <?php echo
getDolGlobalString(
'THEME_ELDY_WITDHOFFSET_FOR_REDUC1', round($nbtopmenuentries * 90, 0) + 340); ?>px)
428 .btnTitle, a.btnTitle {
434@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)
436 .butAction, .butActionRefused, .butActionDelete {
442@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)
444 .butAction, .butActionRefused, .butActionDelete {
450@media only screen and (max-width: 767px)
452 .butAction, .butActionRefused, .butActionDelete {
457 .btnTitle, a.btnTitle {
458 display:
inline-block;
459 padding: 4px 4px 4px 4px;
462 .paginationafterarrows a.btnTitlePlus:hover span:before, .titre_right a.btnTitlePlus:hover span:before {
463 font-size: unset !important;
469.butActionRefused, .butActionNewRefused, .btnTitle.refused {
470 display: none !important;
481 border: 1px solid #ddd;
485 text-decoration: none !important;
489 background-color: #ddd;
490 border: 1px solid #ddd;
501 display:
inline-block;
513 background: transparent;
516 color: var(--colortextlink, inherit);
521 -webkit-font-smoothing: inherit;
522 -moz-osx-font-smoothing: inherit;
525 -webkit-appearance: none;
528 transition: background 0.8s;
529 background: transparent radial-gradient(circle, transparent 1%, hsla(var(--colortextlink-h),var(--colortextlink-s) ,var(--colortextlink-l) , 0.1) 1%, transparent 10%) center/15000%;
532button.btn-low-emphasis.--btn-icon{
536button.btn-low-emphasis :is(.fa, .fas){
537 color: var(--colortextlink, inherit);
541button.btn-low-emphasis:is(:focus,:hover) :is(.fa, .fas){
546 background-color: hsla(var(--colortextlink-h),var(--colortextlink-s) ,var(--colortextlink-l) , 0.1);
547 background-size: 100%;
548 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.