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,
101div.tabsAction > .dropdown > .dropdown-toggle {
102 margin-bottom: 1.4em !important;
103 margin-right: 0px !important;
105div.tabsActionNoBottom > a.butAction, div.tabsActionNoBottom > a.butActionRefused {
106 margin-bottom: 0 !important;
109span.butAction, span.butActionDelete {
112.paginationafterarrows .butAction {
117 background: var(--butactionbg);
118 color: var(--textbutaction) !important;
121.butActionRefused, .butAction, .butActionDelete {
124:not(.center) > .butActionRefused:last-child, :not(.center) > .butAction:last-child, :not(.center) > .butActionDelete:last-child {
125 margin-<?php echo $right; ?>: 0px !important;
127.butActionRefused, .butAction, .butAction:link, .butAction:visited, .butAction:hover, .butAction:
active, .butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:
active {
128 text-decoration: none;
129 text-transform: uppercase;
133 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.9'); ?>em;
134 padding: 0.6em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.7'); ?>em;
135 display:
inline-block;
140.butActionNew, .butActionNewRefused, .butActionNew:link, .butActionNew:visited, .butActionNew:hover, .butActionNew:
active {
141 text-decoration: none;
142 text-transform: uppercase;
145 margin: 0em 0.3em 0 0.3em !important;
146 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em 0.3em;
148 display:
inline-block;
154 border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
155 display: inline-block;
156 padding: 0.4em <?php echo($dol_optimize_smallscreen ? '0.4' : '0.7'); ?>em;
157 margin: 0em <?php echo($dol_optimize_smallscreen ? '0.7' : '0.9'); ?>em;
160 vertical-align: middle;
162 color:
#333333 !important;
163 text-decoration: none !important;
164 text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
165 background-color: #f5f5f5;
166 background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
167 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
168 background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
169 background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
170 background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
171 background-repeat: repeat-x;
172 border-color: #e6e6e6 #e6e6e6 #bfbfbf;
173 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
174 border: 1px solid
#bbbbbb;
175 border-bottom-color: #a2a2a2;
177 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
179.butActionNew, .butActionNewRefused, .butActionNew:link, .butActionNew:visited, .butActionNew:hover, .butActionNew:
active {
180 text-decoration: none;
182 display:
inline-block;
183 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em;
184 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.7' :
'0.9'); ?>em;
187 vertical-align: middle;
191a.butActionNew>span.fa-plus-circle { padding-left: 6px; font-size: 1.5em; }
192a.butActionNewRefused>span.fa-plus-circle { padding-left: 6px; font-size: 1.5em; }
194.tableforfieldcreate a.butActionNew>span.fa-plus-circle, .tableforfieldcreate a.butActionNew>span.fa-plus-circle:hover,
195.tableforfieldedit a.butActionNew>span.fa-plus-circle, .tableforfieldedit a.butActionNew>span.fa-plus-circle:hover,
196span.butActionNew>span.fa-plus-circle, span.butActionNew>span.fa-plus-circle:hover,
197a.butActionNewRefused>span.fa-plus-circle, a.butActionNewRefused>span.fa-plus-circle:hover,
198span.butActionNewRefused>span.fa-plus-circle, span.butActionNewRefused>span.fa-plus-circle:hover,
199a.butActionNew>span.fa-list-alt, a.butActionNew>span.fa-list-alt:hover,
200span.butActionNew>span.fa-list-alt, span.butActionNew>span.fa-list-alt:hover,
201a.butActionNewRefused>span.fa-list-alt, a.butActionNewRefused>span.fa-list-alt:hover,
202span.butActionNewRefused>span.fa-list-alt, span.butActionNewRefused>span.fa-list-alt:hover
209 color: #ffffff !important;
210 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
211 background-color: #006dcc;
212 background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
213 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
214 background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
215 background-image: -o-linear-gradient(top, #0088cc, #0044cc);
216 background-image: linear-gradient(to bottom, #0088cc, #0044cc);
217 background-repeat: repeat-x;
218 border-color: #0044cc #0044cc #002a80;
219 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
222 color: #666 !important;
227 background-color: #f5f5f5;
228 background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
229 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
230 background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
231 background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
232 background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
233 background-repeat: repeat-x
240a.butActionNew>span.fa, a.butActionNew>span.fa:hover,
241span.butActionNew>span.fa, span.butActionNew>span.fa:hover,
242a.butActionNewRefused>span.fa, a.butActionNewRefused>span.fa:hover,
243span.butActionNewRefused>span.fa, span.butActionNewRefused>span.fa:hover
245 padding-<?php echo $left; ?>: 6px;
252 box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), inset 0px 0px 200px rgba(60,60,60,0.1);
255 text-decoration: underline;
256 box-shadow: unset !important;
259.butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:
active, .buttonDelete {
260 background: var(--butactiondeletebg);
261 color: #633 !important;
263.button.button-cancel:not(.buttongen), .button.button-cancel:link:not(.buttongen), .button.button-cancel:visited:not(.buttongen), .button.button-cancel:hover:not(.buttongen), .button.button-cancel:
active:not(.buttongen), .button.button-cancel:not(.buttongen) {
264 background: var(--butactioncancelbg) !important;
265 color: #888 !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);
271.button.button-cancel:hover:not(.buttongen) {
272 box-shadow: 0px 0px 4px 1px rgba(50, 50, 50, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
276 text-decoration: none !important;
277 text-transform: uppercase;
278 font-weight: bold !important;
280 white-space: nowrap !important;
281 cursor: not-allowed !important;
282 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.9'); ?>em;
283 padding: 0.6em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.7'); ?>em;
284 font-family: <?php print
$fontlist ?> !important;
285 display:
inline-block;
288 color: #999 !important;
290 border: 1px solid #ccc;
291 box-sizing: border-box;
292 -moz-box-sizing: border-box;
293 -webkit-box-sizing: border-box;
295.butActionNewRefused, .butActionNewRefused:link, .butActionNewRefused:visited, .butActionNewRefused:hover, .butActionNewRefused:
active {
296 text-decoration: none !important;
297 text-transform: uppercase;
298 font-weight: normal !important;
300 white-space: nowrap !important;
301 cursor: not-allowed !important;
302 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.7' :
'0.9'); ?>em;
303 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em;
304 font-family: <?php print
$fontlist ?> !important;
305 display:
inline-block;
308 color: #999 !important;
310 box-shadow: none !important;
313.butActionTransparent {
314 color: #222 ! important;
315 background-color: transparent ! important;
319 background-color: rgb(<?php echo $colorbackhmenu1; ?>);
327div.pagination li:first-child a.btnTitle, div.pagination li.paginationafterarrows a.btnTitle,
328table.table-fiche-title tr.titre td.col-center div.nowraponall a.btnTitle,
329table.table-fiche-title tr.titre td.col-right a.btnTitle {
330 margin-<?php echo $left; ?>: 10px;
333.btnTitle, a.btnTitle {
334 display:
inline-block;
341 vertical-align: middle;
342 -ms-touch-action: manipulation;
343 touch-action: manipulation;
345 -webkit-
user-select: none;
346 -moz-
user-select: none;
347 -ms-
user-select: none;
350 text-decoration: none;
354 color: var(--btncolortext);
358 border: 1px solid transparent;
361.btnTitle, a.btnTitle {
365a.btnTitle.btnTitleSelected {
366 border: 1px solid #ccc;
370.btnTitle > .btnTitle-icon{
374.btnTitle > .btnTitle-label{
378.btnTitle:hover, a.btnTitle:hover {
384 background-color: #eee;
386 text-decoration: none;
390.btnTitle.refused, a.btnTitle.refused, .btnTitle.refused:hover, a.btnTitle.refused:hover {
393 background-color: #fbfbfb;
394 background: repeating-linear-gradient( 45deg, #ffffff, #f1f1f1 4px, #f1f1f1 4px, #f1f1f1 4px );
397.btnTitle:hover .btnTitle-label{
398 color:var(--btncolorborderhover);
400div.pagination .btnTitle:hover .btnTitle-label{
401 color: rgb(<?php print $colortextlink; ?>);
404.btnTitle.refused .btnTitle-label, .btnTitle.refused:hover .btnTitle-label{
413.paginationafterarrows a.btnTitlePlus, .titre_right a.btnTitlePlus {
416 background-color: unset;
418.paginationafterarrows a.btnTitlePlus:hover, .titre_right a.btnTitlePlus:hover {
430@media only screen and (max-width: <?php echo
getDolGlobalString(
'THEME_ELDY_WITDHOFFSET_FOR_REDUC1', round($nbtopmenuentries * 90, 0) + 340); ?>px)
432 .btnTitle, a.btnTitle {
438@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)
440 .butAction, .butActionRefused, .butActionDelete {
446@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)
448 .butAction, .butActionRefused, .butActionDelete {
454@media only screen and (max-width: 767px)
456 .butAction, .butActionRefused, .butActionDelete {
461 .btnTitle, a.btnTitle {
462 display:
inline-block;
463 padding: 4px 4px 4px 4px;
466 .paginationafterarrows a.btnTitlePlus:hover span:before, .titre_right a.btnTitlePlus:hover span:before {
467 font-size: unset !important;
473.butActionRefused, .butActionNewRefused, .btnTitle.refused {
474 display: none !important;
485 border: 1px solid #ddd;
489 text-decoration: none !important;
493 background-color: #ddd;
494 border: 1px solid #ddd;
505 display:
inline-block;
517 background: transparent;
520 color: var(--colortextlink, inherit);
525 -webkit-font-smoothing: inherit;
526 -moz-osx-font-smoothing: inherit;
529 -webkit-appearance: none;
532 transition: background 0.8s;
533 background: transparent radial-gradient(circle, transparent 1%, hsla(var(--colortextlink-h),var(--colortextlink-s) ,var(--colortextlink-l) , 0.1) 1%, transparent 10%) center/15000%;
536button.btn-low-emphasis.--btn-icon{
540button.btn-low-emphasis :is(.fa, .fas){
541 color: var(--colortextlink, inherit);
545button.btn-low-emphasis:is(:focus,:hover) :is(.fa, .fas){
550 background-color: hsla(var(--colortextlink-h),var(--colortextlink-s) ,var(--colortextlink-l) , 0.1);
551 background-size: 100%;
552 transition: background 0s;
556input.button-save, input.button-cancel {
558 margin-left: 8px !important;
559 margin-right: 8px !important;
564@media only screen and (max-width: 767px)
566 input.button-save, input.button-cancel {
568 margin-left: 4px !important;
569 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.