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 --butactioncancelbg: #bbb;
59 --butactionbg: rgb(<?php print $butactionbg; ?>);
60 --textbutaction: rgb(<?php print $textbutaction; ?>);
65 print
"/* For dark mode */\n";
67 print
"@media (prefers-color-scheme: dark) {";
69 print
"@media not print {";
75 --btncolorbg: rgb(26,27,27);
76 --btncolorborderhover: #ffffff;
77 --btncolorborder: #2b2c2e;
78 --butactiondeletebg: rgb(252,84,91);
79 --butactioncancelbg: #888;
80 --butactionbg: rgb(173,140,79);
81 --textbutaction: rgb(255,255,255);
93div.tabsAction > a.butAction, div.tabsAction > a.butActionRefused, div.tabsAction > a.butActionDelete,
94div.tabsAction > span.butAction, div.tabsAction > span.butActionRefused, div.tabsAction > span.butActionDelete,
95div.tabsAction > div.divButAction > span.butAction,
96div.tabsAction > div.divButAction > span.butActionDelete,
97div.tabsAction > div.divButAction > span.butActionRefused,
98div.tabsAction > div.divButAction > a.butAction,
99div.tabsAction > div.divButAction > a.butActionDelete,
100div.tabsAction > div.divButAction > a.butActionRefused {
101 margin-bottom: 1.4em !important;
102 margin-right: 0px !important;
104div.tabsActionNoBottom > a.butAction, div.tabsActionNoBottom > a.butActionRefused {
105 margin-bottom: 0 !important;
108span.butAction, span.butActionDelete {
111.paginationafterarrows .butAction {
116 background: var(--butactionbg);
117 color: var(--textbutaction) !important;
120.butActionRefused, .butAction, .butActionDelete {
123:not(.center) > .butActionRefused:last-child, :not(.center) > .butAction:last-child, :not(.center) > .butActionDelete:last-child {
124 margin-<?php echo $right; ?>: 0px !important;
126.butActionRefused, .butAction, .butAction:link, .butAction:visited, .butAction:hover, .butAction:
active, .butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:
active {
127 text-decoration: none;
128 text-transform: uppercase;
132 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.9'); ?>em;
133 padding: 0.6em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.7'); ?>em;
134 display:
inline-block;
139.butActionNew, .butActionNewRefused, .butActionNew:link, .butActionNew:visited, .butActionNew:hover, .butActionNew:
active {
140 text-decoration: none;
141 text-transform: uppercase;
144 margin: 0em 0.3em 0 0.3em !important;
145 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em 0.3em;
147 display:
inline-block;
153 border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
154 display: inline-block;
155 padding: 0.4em <?php echo($dol_optimize_smallscreen ? '0.4' : '0.7'); ?>em;
156 margin: 0em <?php echo($dol_optimize_smallscreen ? '0.7' : '0.9'); ?>em;
159 vertical-align: middle;
161 color:
#333333 !important;
162 text-decoration: none !important;
163 text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
164 background-color: #f5f5f5;
165 background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
166 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
167 background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
168 background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
169 background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
170 background-repeat: repeat-x;
171 border-color: #e6e6e6 #e6e6e6 #bfbfbf;
172 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
173 border: 1px solid
#bbbbbb;
174 border-bottom-color: #a2a2a2;
176 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
178.butActionNew, .butActionNewRefused, .butActionNew:link, .butActionNew:visited, .butActionNew:hover, .butActionNew:
active {
179 text-decoration: none;
181 display:
inline-block;
182 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em;
183 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.7' :
'0.9'); ?>em;
186 vertical-align: middle;
190a.butActionNew>span.fa-plus-circle { padding-left: 6px; font-size: 1.5em; }
191a.butActionNewRefused>span.fa-plus-circle { padding-left: 6px; font-size: 1.5em; }
193.tableforfieldcreate a.butActionNew>span.fa-plus-circle, .tableforfieldcreate a.butActionNew>span.fa-plus-circle:hover,
194.tableforfieldedit a.butActionNew>span.fa-plus-circle, .tableforfieldedit a.butActionNew>span.fa-plus-circle:hover,
195span.butActionNew>span.fa-plus-circle, span.butActionNew>span.fa-plus-circle:hover,
196a.butActionNewRefused>span.fa-plus-circle, a.butActionNewRefused>span.fa-plus-circle:hover,
197span.butActionNewRefused>span.fa-plus-circle, span.butActionNewRefused>span.fa-plus-circle:hover,
198a.butActionNew>span.fa-list-alt, a.butActionNew>span.fa-list-alt:hover,
199span.butActionNew>span.fa-list-alt, span.butActionNew>span.fa-list-alt:hover,
200a.butActionNewRefused>span.fa-list-alt, a.butActionNewRefused>span.fa-list-alt:hover,
201span.butActionNewRefused>span.fa-list-alt, span.butActionNewRefused>span.fa-list-alt:hover
208 color: #ffffff !important;
209 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
210 background-color: #006dcc;
211 background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
212 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
213 background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
214 background-image: -o-linear-gradient(top, #0088cc, #0044cc);
215 background-image: linear-gradient(to bottom, #0088cc, #0044cc);
216 background-repeat: repeat-x;
217 border-color: #0044cc #0044cc #002a80;
218 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
221 color: #666 !important;
226 background-color: #f5f5f5;
227 background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
228 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
229 background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
230 background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
231 background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
232 background-repeat: repeat-x
239a.butActionNew>span.fa, a.butActionNew>span.fa:hover,
240span.butActionNew>span.fa, span.butActionNew>span.fa:hover,
241a.butActionNewRefused>span.fa, a.butActionNewRefused>span.fa:hover,
242span.butActionNewRefused>span.fa, span.butActionNewRefused>span.fa:hover
244 padding-<?php echo $left; ?>: 6px;
251 box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), inset 0px 0px 200px rgba(60,60,60,0.1);
254 text-decoration: underline;
255 box-shadow: unset !important;
258.butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:
active, .buttonDelete {
259 background: var(--butactiondeletebg);
260 color: #633 !important;
262.button.button-cancel, .button.button-cancel:link, .button.button-cancel:visited, .button.button-cancel:hover, .button.button-cancel:
active, .button.button-cancel {
263 background: var(--butactioncancelbg) !important;
264 color: #888 !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);
270.button.button-cancel:hover {
271 box-shadow: 0px 0px 4px 1px rgba(50, 50, 50, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
275 text-decoration: none !important;
276 text-transform: uppercase;
277 font-weight: bold !important;
279 white-space: nowrap !important;
280 cursor: not-allowed !important;
281 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.9'); ?>em;
282 padding: 0.6em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.7'); ?>em;
283 font-family: <?php print
$fontlist ?> !important;
284 display:
inline-block;
287 color: #999 !important;
289 border: 1px solid #ccc;
290 box-sizing: border-box;
291 -moz-box-sizing: border-box;
292 -webkit-box-sizing: border-box;
294.butActionNewRefused, .butActionNewRefused:link, .butActionNewRefused:visited, .butActionNewRefused:hover, .butActionNewRefused:
active {
295 text-decoration: none !important;
296 text-transform: uppercase;
297 font-weight: normal !important;
299 white-space: nowrap !important;
300 cursor: not-allowed !important;
301 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.7' :
'0.9'); ?>em;
302 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em;
303 font-family: <?php print
$fontlist ?> !important;
304 display:
inline-block;
307 color: #999 !important;
309 box-shadow: none !important;
312.butActionTransparent {
313 color: #222 ! important;
314 background-color: transparent ! important;
318 background-color: rgb(<?php echo $colorbackhmenu1; ?>);
326div.pagination li:first-child a.btnTitle, div.pagination li.paginationafterarrows a.btnTitle,
327table.table-fiche-title tr.titre td.col-center div.nowraponall a.btnTitle,
328table.table-fiche-title tr.titre td.col-right a.btnTitle {
329 margin-<?php echo $left; ?>: 10px;
332.btnTitle, a.btnTitle {
333 display:
inline-block;
340 vertical-align: middle;
341 -ms-touch-action: manipulation;
342 touch-action: manipulation;
344 -webkit-
user-select: none;
345 -moz-
user-select: none;
346 -ms-
user-select: none;
349 text-decoration: none;
353 color: var(--btncolortext);
357 border: 1px solid transparent;
360.btnTitle, a.btnTitle {
364a.btnTitle.btnTitleSelected {
365 border: 1px solid #ccc;
369.btnTitle > .btnTitle-icon{
373.btnTitle > .btnTitle-label{
377.btnTitle:hover, a.btnTitle:hover {
383 background-color: #eee;
385 text-decoration: none;
389.btnTitle.refused, a.btnTitle.refused, .btnTitle.refused:hover, a.btnTitle.refused:hover {
392 background-color: #fbfbfb;
393 background: repeating-linear-gradient( 45deg, #ffffff, #f1f1f1 4px, #f1f1f1 4px, #f1f1f1 4px );
396.btnTitle:hover .btnTitle-label{
397 color:var(--btncolorborderhover);
399div.pagination .btnTitle:hover .btnTitle-label{
400 color: rgb(<?php print $colortextlink; ?>);
403.btnTitle.refused .btnTitle-label, .btnTitle.refused:hover .btnTitle-label{
412.paginationafterarrows a.btnTitlePlus, .titre_right a.btnTitlePlus {
415 background-color: unset;
417.paginationafterarrows a.btnTitlePlus:hover, .titre_right a.btnTitlePlus:hover {
429@media only screen and (max-width: <?php echo
getDolGlobalString(
'THEME_ELDY_WITDHOFFSET_FOR_REDUC1', round($nbtopmenuentries * 90, 0) + 340); ?>px)
431 .btnTitle, a.btnTitle {
437@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)
439 .butAction, .butActionRefused, .butActionDelete {
445@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)
447 .butAction, .butActionRefused, .butActionDelete {
453@media only screen and (max-width: 767px)
455 .butAction, .butActionRefused, .butActionDelete {
460 .btnTitle, a.btnTitle {
461 display:
inline-block;
462 padding: 4px 4px 4px 4px;
465 .paginationafterarrows a.btnTitlePlus:hover span:before, .titre_right a.btnTitlePlus:hover span:before {
466 font-size: unset !important;
472.butActionRefused, .butActionNewRefused, .btnTitle.refused {
473 display: none !important;
484 border: 1px solid #ddd;
488 text-decoration: none !important;
492 background-color: #ddd;
493 border: 1px solid #ddd;
504 display:
inline-block;
516 background: transparent;
519 color: var(--colortextlink, inherit);
524 -webkit-font-smoothing: inherit;
525 -moz-osx-font-smoothing: inherit;
528 -webkit-appearance: none;
531 transition: background 0.8s;
532 background: transparent radial-gradient(circle, transparent 1%, hsla(var(--colortextlink-h),var(--colortextlink-s) ,var(--colortextlink-l) , 0.1) 1%, transparent 10%) center/15000%;
535button.btn-low-emphasis.--btn-icon{
539button.btn-low-emphasis :is(.fa, .fas){
540 color: var(--colortextlink, inherit);
544button.btn-low-emphasis:is(:focus,:hover) :is(.fa, .fas){
549 background-color: hsla(var(--colortextlink-h),var(--colortextlink-s) ,var(--colortextlink-l) , 0.1);
550 background-size: 100%;
551 transition: background 0s;
555input.button-save, input.button-cancel {
557 margin-left: 8px !important;
558 margin-right: 8px !important;
563@media only screen and (max-width: 767px)
565 input.button-save, input.button-cancel {
567 margin-left: 4px !important;
568 margin-right: 4px !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.