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 {
109.paginationafterarrows .butAction {
114 background: var(--butactionbg);
115 color: var(--textbutaction) !important;
118.butActionRefused, .butAction, .butActionDelete {
121:not(.center) > .butActionRefused:last-child, :not(.center) > .butAction:last-child, :not(.center) > .butActionDelete:last-child {
122 margin-<?php echo $right; ?>: 0px !important;
124.butActionRefused, .butAction, .butAction:link, .butAction:visited, .butAction:hover, .butAction:
active, .butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:
active {
125 text-decoration: none;
126 text-transform: uppercase;
130 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.9'); ?>em;
131 padding: 0.6em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.7'); ?>em;
132 display:
inline-block;
137.butActionNew, .butActionNewRefused, .butActionNew:link, .butActionNew:visited, .butActionNew:hover, .butActionNew:
active {
138 text-decoration: none;
139 text-transform: uppercase;
142 margin: 0em 0.3em 0 0.3em !important;
143 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em 0.3em;
145 display:
inline-block;
151 border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
152 display: inline-block;
153 padding: 0.4em <?php echo($dol_optimize_smallscreen ? '0.4' : '0.7'); ?>em;
154 margin: 0em <?php echo($dol_optimize_smallscreen ? '0.7' : '0.9'); ?>em;
157 vertical-align: middle;
159 color:
#333333 !important;
160 text-decoration: none !important;
161 text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
162 background-color: #f5f5f5;
163 background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
164 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
165 background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
166 background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
167 background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
168 background-repeat: repeat-x;
169 border-color: #e6e6e6 #e6e6e6 #bfbfbf;
170 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
171 border: 1px solid
#bbbbbb;
172 border-bottom-color: #a2a2a2;
174 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
176.butActionNew, .butActionNewRefused, .butActionNew:link, .butActionNew:visited, .butActionNew:hover, .butActionNew:
active {
177 text-decoration: none;
179 display:
inline-block;
180 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em;
181 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.7' :
'0.9'); ?>em;
184 vertical-align: middle;
188a.butActionNew>span.fa-plus-circle { padding-left: 6px; font-size: 1.5em; }
189a.butActionNewRefused>span.fa-plus-circle { padding-left: 6px; font-size: 1.5em; }
191.tableforfieldcreate a.butActionNew>span.fa-plus-circle, .tableforfieldcreate a.butActionNew>span.fa-plus-circle:hover,
192.tableforfieldedit a.butActionNew>span.fa-plus-circle, .tableforfieldedit a.butActionNew>span.fa-plus-circle:hover,
193span.butActionNew>span.fa-plus-circle, span.butActionNew>span.fa-plus-circle:hover,
194a.butActionNewRefused>span.fa-plus-circle, a.butActionNewRefused>span.fa-plus-circle:hover,
195span.butActionNewRefused>span.fa-plus-circle, span.butActionNewRefused>span.fa-plus-circle:hover,
196a.butActionNew>span.fa-list-alt, a.butActionNew>span.fa-list-alt:hover,
197span.butActionNew>span.fa-list-alt, span.butActionNew>span.fa-list-alt:hover,
198a.butActionNewRefused>span.fa-list-alt, a.butActionNewRefused>span.fa-list-alt:hover,
199span.butActionNewRefused>span.fa-list-alt, span.butActionNewRefused>span.fa-list-alt:hover
206 color: #ffffff !important;
207 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
208 background-color: #006dcc;
209 background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
210 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
211 background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
212 background-image: -o-linear-gradient(top, #0088cc, #0044cc);
213 background-image: linear-gradient(to bottom, #0088cc, #0044cc);
214 background-repeat: repeat-x;
215 border-color: #0044cc #0044cc #002a80;
216 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
219 color: #666 !important;
224 background-color: #f5f5f5;
225 background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
226 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
227 background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
228 background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
229 background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
230 background-repeat: repeat-x
237a.butActionNew>span.fa, a.butActionNew>span.fa:hover,
238span.butActionNew>span.fa, span.butActionNew>span.fa:hover,
239a.butActionNewRefused>span.fa, a.butActionNewRefused>span.fa:hover,
240span.butActionNewRefused>span.fa, span.butActionNewRefused>span.fa:hover
242 padding-<?php echo $left; ?>: 6px;
249 box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), inset 0px 0px 200px rgba(60,60,60,0.1);
252 text-decoration: underline;
253 box-shadow: unset !important;
256.butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:
active, .buttonDelete {
257 background: var(--butactiondeletebg);
258 color: #633 !important;
261.butActionDelete:hover {
262 box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
266 text-decoration: none !important;
267 text-transform: uppercase;
268 font-weight: bold !important;
270 white-space: nowrap !important;
271 cursor: not-allowed !important;
272 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.9'); ?>em;
273 padding: 0.6em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.7'); ?>em;
274 font-family: <?php print
$fontlist ?> !important;
275 display:
inline-block;
278 color: #999 !important;
280 border: 1px solid #ccc;
281 box-sizing: border-box;
282 -moz-box-sizing: border-box;
283 -webkit-box-sizing: border-box;
285.butActionNewRefused, .butActionNewRefused:link, .butActionNewRefused:visited, .butActionNewRefused:hover, .butActionNewRefused:
active {
286 text-decoration: none !important;
287 text-transform: uppercase;
288 font-weight: normal !important;
290 white-space: nowrap !important;
291 cursor: not-allowed !important;
292 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.7' :
'0.9'); ?>em;
293 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em;
294 font-family: <?php print
$fontlist ?> !important;
295 display:
inline-block;
298 color: #999 !important;
300 box-shadow: none !important;
303.butActionTransparent {
304 color: #222 ! important;
305 background-color: transparent ! important;
309 background-color: rgb(<?php echo $colorbackhmenu1; ?>);
317div.pagination li:first-child a.btnTitle, div.pagination li.paginationafterarrows a.btnTitle,
318table.table-fiche-title tr.titre td.col-center div.nowraponall a.btnTitle,
319table.table-fiche-title tr.titre td.col-right a.btnTitle {
320 margin-<?php echo $left; ?>: 10px;
323.btnTitle, a.btnTitle {
324 display:
inline-block;
331 vertical-align: middle;
332 -ms-touch-action: manipulation;
333 touch-action: manipulation;
335 -webkit-
user-select: none;
336 -moz-
user-select: none;
337 -ms-
user-select: none;
340 text-decoration: none;
344 color: var(--btncolortext);
348 border: 1px solid transparent;
351.btnTitle, a.btnTitle {
355a.btnTitle.btnTitleSelected {
356 border: 1px solid #ccc;
360.btnTitle > .btnTitle-icon{
364.btnTitle > .btnTitle-label{
368.btnTitle:hover, a.btnTitle:hover {
374 background-color: #eee;
376 text-decoration: none;
380.btnTitle.refused, a.btnTitle.refused, .btnTitle.refused:hover, a.btnTitle.refused:hover {
383 background-color: #fbfbfb;
384 background: repeating-linear-gradient( 45deg, #ffffff, #f1f1f1 4px, #f1f1f1 4px, #f1f1f1 4px );
387.btnTitle:hover .btnTitle-label{
388 color:var(--btncolorborderhover);
390div.pagination .btnTitle:hover .btnTitle-label{
391 color: rgb(<?php print $colortextlink; ?>);
394.btnTitle.refused .btnTitle-label, .btnTitle.refused:hover .btnTitle-label{
403.paginationafterarrows a.btnTitlePlus, .titre_right a.btnTitlePlus {
406 background-color: unset;
408.paginationafterarrows a.btnTitlePlus:hover, .titre_right a.btnTitlePlus:hover {
420@media only screen and (max-width: <?php echo
getDolGlobalString(
'THEME_ELDY_WITDHOFFSET_FOR_REDUC1', round($nbtopmenuentries * 90, 0) + 340); ?>px)
422 .btnTitle, a.btnTitle {
428@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)
430 .butAction, .butActionRefused, .butActionDelete {
436@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)
438 .butAction, .butActionRefused, .butActionDelete {
444@media only screen and (max-width: 767px)
446 .butAction, .butActionRefused, .butActionDelete {
451 .btnTitle, a.btnTitle {
452 display:
inline-block;
453 padding: 4px 4px 4px 4px;
456 .paginationafterarrows a.btnTitlePlus:hover span:before, .titre_right a.btnTitlePlus:hover span:before {
457 font-size: unset !important;
463.butActionRefused, .butActionNewRefused, .btnTitle.refused {
464 display: none !important;
475 border: 1px solid #ddd;
479 text-decoration: none !important;
483 background-color: #ddd;
484 border: 1px solid #ddd;
495 display:
inline-block;
507 background: transparent;
510 color: var(--colortextlink, inherit);
515 -webkit-font-smoothing: inherit;
516 -moz-osx-font-smoothing: inherit;
519 -webkit-appearance: none;
522 transition: background 0.8s;
523 background: transparent radial-gradient(circle, transparent 1%, hsla(var(--colortextlink-h),var(--colortextlink-s) ,var(--colortextlink-l) , 0.1) 1%, transparent 10%) center/15000%;
526button.btn-low-emphasis.--btn-icon{
530button.btn-low-emphasis :is(.fa, .fas){
531 color: var(--colortextlink, inherit);
535button.btn-low-emphasis:is(:focus,:hover) :is(.fa, .fas){
540 background-color: hsla(var(--colortextlink-h),var(--colortextlink-s) ,var(--colortextlink-l) , 0.1);
541 background-size: 100%;
542 transition: background 0s;
546input.button-save, input.button-cancel {
548 margin-left: 5px !important;
549 margin-right: 5px !important;
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.