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 $left
43@phan-var-force int<0,max> $nbtopmenuentries
44@phan-var-force string $right
45@phan-var-force string $textbutaction
52 --btncolortext: rgb(<?php print $colortextlink; ?>);
53 --btncolorbg: #fbfbfb;
54 --btncolorborderhover: none;
55 --btncolorborder: #FFF;
56 --butactiondeletebg: rgb(234,228,225);
57 --butactioncancelbg: #e3e3e3;
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);
92div.tabsAction > a.butAction, div.tabsAction > a.butActionRefused, div.tabsAction > a.butActionDelete,
93div.tabsAction > span.butAction, div.tabsAction > span.butActionRefused, div.tabsAction > span.butActionDelete,
94div.tabsAction > div.divButAction > span.butAction,
95div.tabsAction > div.divButAction > span.butActionDelete,
96div.tabsAction > div.divButAction > span.butActionRefused,
97div.tabsAction > div.divButAction > a.butAction,
98div.tabsAction > div.divButAction > a.butActionDelete,
99div.tabsAction > div.divButAction > a.butActionRefused,
100div.tabsAction > .dropdown > .dropdown-toggle {
101 margin-bottom: 1.4em !important;
102 margin-right: 0px !important;
107 padding: 0 !important;
108 margin: 0 !important;
110div.tabsActionNoBottom > a.butAction, div.tabsActionNoBottom > a.butActionRefused {
111 margin-bottom: 0 !important;
114span.butAction, span.butActionDelete {
117.paginationafterarrows .butAction {
121 background: var(--butactionbg);
122 color: var(--textbutaction) !important;
125.butActionRefused, .butAction, .butActionDelete {
128:not(.center) > .butActionRefused:last-child, :not(.center) > .butAction:last-child, :not(.center) > .butActionDelete:last-child {
129 margin-<?php echo $right; ?>: 0px !important;
131.butActionRefused, .butAction, .butAction:link, .butAction:visited, .butAction:hover, .butAction:
active, .butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:
active,
134 text-decoration: none;
135 text-transform: uppercase;
138 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'1'); ?>em;
139 padding: 0.6em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.7'); ?>em;
140 display:
inline-block;
144 border: 1px solid transparent;
154.butActionNew, .butActionNewRefused, .butActionNew:link, .butActionNew:visited, .butActionNew:hover, .butActionNew:
active {
155 text-decoration: none;
156 text-transform: uppercase;
159 margin: 0em 0.3em 0 0.3em !important;
160 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em 0.3em;
162 display:
inline-block;
167.tableforfieldcreate a.butActionNew>span.fa-plus-circle, .tableforfieldcreate a.butActionNew>span.fa-plus-circle:hover,
168.tableforfieldedit a.butActionNew>span.fa-plus-circle, .tableforfieldedit a.butActionNew>span.fa-plus-circle:hover,
169span.butActionNew>span.fa-plus-circle, span.butActionNew>span.fa-plus-circle:hover,
170a.butActionNewRefused>span.fa-plus-circle, a.butActionNewRefused>span.fa-plus-circle:hover,
171span.butActionNewRefused>span.fa-plus-circle, span.butActionNewRefused>span.fa-plus-circle:hover,
172a.butActionNew>span.fa-list-alt, a.butActionNew>span.fa-list-alt:hover,
173span.butActionNew>span.fa-list-alt, span.butActionNew>span.fa-list-alt:hover,
174a.butActionNewRefused>span.fa-list-alt, a.butActionNewRefused>span.fa-list-alt:hover,
175span.butActionNewRefused>span.fa-list-alt, span.butActionNewRefused>span.fa-list-alt:hover
181a.butActionNew>span.fa, a.butActionNew>span.fa:hover,
182span.butActionNew>span.fa, span.butActionNew>span.fa:hover,
183a.butActionNewRefused>span.fa, a.butActionNewRefused>span.fa:hover,
184span.butActionNewRefused>span.fa, span.butActionNewRefused>span.fa:hover
186 padding-<?php echo $left; ?>: 6px;
190 webkit-box-shadow: none;
193.butAction:hover, .dropdown-holder.open > .butAction {
195 box-shadow: 0px 0px 6px rgba(50,50,50,0.4), inset 0px 0px 200px rgba(0,0,0,0.3);
198 text-decoration: underline;
199 box-shadow: unset !important;
202.butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:
active, .buttonDelete {
203 background: var(--butactiondeletebg) !important;
205 color: #633 !important;
207.button.button-cancel, .button.button-cancel:link, .button.button-cancel:visited, .button.button-cancel:hover, .button.button-cancel:
active, .button.button-cancel {
208 background: var(--butactioncancelbg) !important;
210 color: #333 !important;
213.butActionDelete:hover {
214 box-shadow: 0px 0px 4px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
216.button.button-cancel:hover {
217 box-shadow: 0px 0px 4px 1px rgba(50, 50, 50, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
235 pointer-events: none;
240 text-decoration: none !important;
241 text-transform: uppercase;
242 font-weight: bold !important;
244 white-space: nowrap !important;
245 cursor: not-allowed !important;
246 font-family: <?php print
$fontlist ?> !important;
247 display:
inline-block;
250 box-sizing: border-box;
251 -moz-box-sizing: border-box;
252 -webkit-box-sizing: border-box;
253 color: #999 !important;
255 border: 1px solid #ccc;
257.butActionNewRefused, .butActionNewRefused:link, .butActionNewRefused:visited, .butActionNewRefused:hover, .butActionNewRefused:
active {
258 text-decoration: none !important;
259 text-transform: uppercase;
260 font-weight: normal !important;
262 white-space: nowrap !important;
263 cursor: not-allowed !important;
264 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.7' :
'0.9'); ?>em;
265 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em;
266 font-family: <?php print
$fontlist ?> !important;
267 display:
inline-block;
270 color: #999 !important;
272 box-shadow: none !important;
275.butActionTransparent {
276 color: #222 ! important;
277 background-color: transparent ! important;
280.butActionLogin, .butActionLogin:link, .butActionLogin:visited, .butActionLogin:hover, .butActionLogin:
active {
281 background-color: rgb(<?php echo $colorbackhmenu1; ?>);
290.btnTitle, a.btnTitle {
291 display:
inline-block;
297 vertical-align: middle;
298 -ms-touch-action: manipulation;
299 touch-action: manipulation;
301 -webkit-
user-select: none;
302 -moz-
user-select: none;
303 -ms-
user-select: none;
305 box-shadow: var(--btncolorbg);
306 text-decoration: none;
311 color: var(--btncolortext);
315 border: 1px solid transparent;
318a.btnTitle.btnTitleSelected {
319 border: 1px solid #ccc;
323.btnTitle > .btnTitle-icon{
327.btnTitle > .btnTitle-label{
331.btnTitle:hover, a.btnTitle:hover {
332 border: 1px solid #bbb;
337 text-decoration: none;
346.btnTitle.refused, a.btnTitle.refused, .btnTitle.refused:hover, a.btnTitle.refused:hover {
349 background-color: #fbfbfb;
350 background: repeating-linear-gradient( 45deg, #ffffff, #f1f1f1 4px, #f1f1f1 4px, #f1f1f1 4px );
353.btnTitle:hover .btnTitle-label {
354 color: var(--btncolorborderhover);
356.btnTitle.reposition:not(.btnTitleSelected) {
357 background-color: unset;
358 border: 1px solid transparent;
361.btnTitle.refused .btnTitle-label, .btnTitle.refused:hover .btnTitle-label {
370div.pagination li:first-child a.btnTitle, div.pagination li.paginationafterarrows a.btnTitle,
371table.table-fiche-title tr.toptitle td.col-center div.nowraponall a.btnTitle,
372table.table-fiche-title tr.titre td.col-center div.nowraponall a.btnTitle,
373table.table-fiche-title tr.toptitle td.col-right a.btnTitle,
374table.table-fiche-title tr.titre td.col-right a.btnTitle {
375 margin-<?php echo $left; ?>: 10px;
378.button-title-separator{
379 display:
inline-block;
390@media only screen and (max-width: <?php echo !
getDolGlobalString(
'THEME_ELDY_WITDHOFFSET_FOR_REDUC2') ? round($nbtopmenuentries * 69, 0) + 130 :
$conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC2; ?>px)
392 .butAction, .butActionRefused, .butActionDelete {
398@media only screen and (max-width: <?php echo !
getDolGlobalString(
'THEME_ELDY_WITDHOFFSET_FOR_REDUC3') ? round($nbtopmenuentries * 47, 0) + 130 :
$conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3; ?>px)
400 .butAction, .butActionRefused, .butActionDelete {
407@media only screen and (max-width: 767px)
409 .butAction, .butActionRefused, .butActionDelete {
414 .btnTitle, a.btnTitle {
415 display:
inline-block;
416 padding: 4px 4px 4px 4px;
419 .paginationafterarrows a.btnTitlePlus:hover span:before, .titre_right a.btnTitlePlus:hover span:before {
420 font-size: unset !important;
426.butActionRefused, .butActionNewRefused, .btnTitle.refused {
427 display: none !important;
438 border: 1px solid #ddd;
442 text-decoration: none !important;
446 background-color: #ddd;
447 border: 1px solid #ddd;
457 display:
inline-block;
469 background: transparent;
472 color: var(--colortextlink, inherit);
477 -webkit-font-smoothing: inherit;
478 -moz-osx-font-smoothing: inherit;
481 -webkit-appearance: none;
484 transition: background 0.8s;
485 background: transparent radial-gradient(circle, transparent 1%, hsla(var(--colortextlink-h),var(--colortextlink-s) ,var(--colortextlink-l) , 0.1) 1%, transparent 10%) center/15000%;
488button.btn-low-emphasis.--btn-icon{
492button.btn-low-emphasis :is(.fa, .fas){
493 color: var(--colortextlink, inherit);
497button.btn-low-emphasis:is(:focus,:hover) :is(.fa, .fas){
502 background-color: hsla(var(--colortextlink-h),var(--colortextlink-s) ,var(--colortextlink-l) , 0.1);
503 background-size: 100%;
504 transition: background 0s;
508input.button-save, input.button-cancel {
510 margin-left: 8px !important;
511 margin-right: 8px !important;
516@media only screen and (max-width: 767px)
518 input.button-save, input.button-cancel {
520 margin-left: 4px !important;
521 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.