18if (!defined(
'ISLOADEDBYSTEELSHEET')) {
19 die(
'Must be call by steelsheet');
36@phan-var-force string $butactionbg
37@phan-var-force string $colortextlink
38@phan-var-force int<0,1> $dol_optimize_smallscreen
39@phan-var-force string $fontlist
40@phan-var-force string $left
41@phan-var-force int<0,max> $nbtopmenuentries
42@phan-var-force string $right
43@phan-var-force string $textbutaction
50 --btncolortext: rgb(<?php print $colortextlink; ?>);
51 --btncolorbg: #fbfbfb;
52 --btncolorborderhover: none;
53 --btncolorborder: #FFF;
54 --butactiondeletebg: rgb(234,228,225);
55 --butactioncancelbg: #e3e3e3;
56 --butactionbg: rgb(<?php print $butactionbg; ?>);
57 --textbutaction: rgb(<?php print $textbutaction; ?>);
62 print
"/* For dark mode */\n";
64 print
"@media (prefers-color-scheme: dark) {";
66 print
"@media not print {";
72 --btncolorbg: rgb(26,27,27);
73 --btncolorborderhover: #ffffff;
74 --btncolorborder: #2b2c2e;
75 --butactiondeletebg: rgb(252,84,91);
76 --butactionbg: rgb(173,140,79);
77 --textbutaction: rgb(255,255,255);
90div.tabsAction > a.butAction, div.tabsAction > a.butActionRefused, div.tabsAction > a.butActionDelete,
91div.tabsAction > span.butAction, div.tabsAction > span.butActionRefused, div.tabsAction > span.butActionDelete,
92div.tabsAction > div.divButAction > span.butAction,
93div.tabsAction > div.divButAction > span.butActionDelete,
94div.tabsAction > div.divButAction > span.butActionRefused,
95div.tabsAction > div.divButAction > a.butAction,
96div.tabsAction > div.divButAction > a.butActionDelete,
97div.tabsAction > div.divButAction > a.butActionRefused,
98div.tabsAction > .dropdown > .dropdown-toggle {
99 margin-bottom: 1.4em !important;
100 margin-right: 0px !important;
105 padding: 0 !important;
106 margin: 0 !important;
108div.tabsActionNoBottom > a.butAction, div.tabsActionNoBottom > a.butActionRefused {
109 margin-bottom: 0 !important;
112span.butAction, span.butActionDelete {
115.paginationafterarrows .butAction {
119 background: var(--butactionbg);
120 color: var(--textbutaction) !important;
123.butAction, .butActionRefused, .butActionDelete {
126:not(.center) > .butActionRefused:last-child, :not(.center) > .butAction:last-child, :not(.center) > .butActionDelete:last-child {
127 margin-<?php echo $right; ?>: 0px !important;
129.butAction, .butAction:link, .butAction:visited, .butAction:hover, .butAction:
active,
131.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;
155.butActionNew, .butActionNewRefused, .butActionNew:link, .butActionNew:visited, .butActionNew:hover, .butActionNew:
active {
156 text-decoration: none;
157 text-transform: uppercase;
160 margin: 0em 0.3em 0 0.3em !important;
161 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em 0.3em;
163 display:
inline-block;
168.tableforfieldcreate a.butActionNew>span.fa-plus-circle, .tableforfieldcreate a.butActionNew>span.fa-plus-circle:hover,
169.tableforfieldedit a.butActionNew>span.fa-plus-circle, .tableforfieldedit a.butActionNew>span.fa-plus-circle:hover,
170span.butActionNew>span.fa-plus-circle, span.butActionNew>span.fa-plus-circle:hover,
171a.butActionNewRefused>span.fa-plus-circle, a.butActionNewRefused>span.fa-plus-circle:hover,
172span.butActionNewRefused>span.fa-plus-circle, span.butActionNewRefused>span.fa-plus-circle:hover,
173a.butActionNew>span.fa-list-alt, a.butActionNew>span.fa-list-alt:hover,
174span.butActionNew>span.fa-list-alt, span.butActionNew>span.fa-list-alt:hover,
175a.butActionNewRefused>span.fa-list-alt, a.butActionNewRefused>span.fa-list-alt:hover,
176span.butActionNewRefused>span.fa-list-alt, span.butActionNewRefused>span.fa-list-alt:hover
182a.butActionNew>span.fa, a.butActionNew>span.fa:hover,
183span.butActionNew>span.fa, span.butActionNew>span.fa:hover,
184a.butActionNewRefused>span.fa, a.butActionNewRefused>span.fa:hover,
185span.butActionNewRefused>span.fa, span.butActionNewRefused>span.fa:hover
187 padding-<?php echo $left; ?>: 6px;
191 webkit-box-shadow: none;
194.butAction:hover, .dropdown-holder.open > .butAction {
196 box-shadow: 0px 0px 6px rgba(50,50,50,0.4), inset 0px 0px 200px rgba(0,0,0,0.3);
199 text-decoration: underline;
200 box-shadow: unset !important;
203.butActionDanger, .butActionDanger:link, .butActionDanger:visited, .butActionDanger:hover, .butActionDanger:
active, .buttonDanger {
204 background: var(--butactiondeletebg) !important;
206 color: #633 !important;
209.butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:
active, .buttonDelete {
210 background: var(--butactiondeletebg) !important;
212 color: #633 !important;
214.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) {
215 background: var(--butactioncancelbg) !important;
217 color: #333 !important;
220.butActionDelete:hover {
221 box-shadow: 0px 0px 4px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
223.button.button-cancel:hover:not(.buttongen) {
224 box-shadow: 0px 0px 4px 1px rgba(50, 50, 50, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
228#action-clone .textbutton, .butAction.butActionClone .textbutton {
230 display:
inline-block;
232#action-clone .textbutton::before, .butAction.butActionClone .textbutton::before {
234 font-family:
"Font Awesome 5 Free";
242#action-delete .textbutton, .butAction.butActionDelete .textbutton {
244 display:
inline-block;
246#action-delete .textbutton::before, .butAction.butActionDelete .textbutton::before {
248 font-family:
"Font Awesome 5 Free";
259 text-decoration: none !important;
260 text-transform: uppercase;
261 font-weight: bold !important;
263 white-space: nowrap !important;
264 cursor: not-allowed !important;
265 font-family: <?php print
$fontlist ?> !important;
266 display:
inline-block;
269 box-sizing: border-box;
270 -moz-box-sizing: border-box;
271 -webkit-box-sizing: border-box;
272 color: #999 !important;
274 border: 1px solid #ccc;
276.butActionNewRefused, .butActionNewRefused:link, .butActionNewRefused:visited, .butActionNewRefused:hover, .butActionNewRefused:
active {
277 text-decoration: none !important;
278 text-transform: uppercase;
279 font-weight: normal !important;
281 white-space: nowrap !important;
282 cursor: not-allowed !important;
283 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.7' :
'0.9'); ?>em;
284 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em;
285 font-family: <?php print
$fontlist ?> !important;
286 display:
inline-block;
289 color: #999 !important;
291 box-shadow: none !important;
294.butActionTransparent {
295 color: #222 ! important;
296 background-color: transparent ! important;
299.butActionLogin, .butActionLogin:link, .butActionLogin:visited, .butActionLogin:hover, .butActionLogin:
active {
300 background-color: var(--butactionbg);
309.btnTitle, a.btnTitle {
310 display:
inline-block;
316 vertical-align: middle;
317 -ms-touch-action: manipulation;
318 touch-action: manipulation;
320 -webkit-
user-select: none;
321 -moz-
user-select: none;
322 -ms-
user-select: none;
324 box-shadow: var(--btncolorbg);
325 text-decoration: none;
330 color: var(--btncolortext);
334 border: 1px solid transparent;
337a.btnTitle.btnTitleSelected {
338 border: 1px solid #ccc;
342.btnTitle > .btnTitle-icon{
346.btnTitle > .btnTitle-label{
350.btnTitle:hover, a.btnTitle:hover {
351 border: 1px solid #bbb;
356 text-decoration: none;
365.btnTitle.refused, a.btnTitle.refused, .btnTitle.refused:hover, a.btnTitle.refused:hover {
368 background-color: #fbfbfb;
369 background: repeating-linear-gradient( 45deg, #ffffff, #f1f1f1 4px, #f1f1f1 4px, #f1f1f1 4px );
372.btnTitle:hover .btnTitle-label {
373 color: var(--btncolorborderhover);
375.btnTitle.reposition:not(.btnTitleSelected) {
376 background-color: unset;
377 border: 1px solid transparent;
380.btnTitle.refused .btnTitle-label, .btnTitle.refused:hover .btnTitle-label {
389div.pagination li:first-child a.btnTitle, div.pagination li.paginationafterarrows a.btnTitle,
390table.table-fiche-title tr.toptitle td.col-center div.nowraponall a.btnTitle,
391table.table-fiche-title tr.titre td.col-center div.nowraponall a.btnTitle,
392table.table-fiche-title tr.toptitle td.col-right a.btnTitle,
393table.table-fiche-title tr.titre td.col-right a.btnTitle {
394 margin-<?php echo $left; ?>: 10px;
397.button-title-separator{
398 display:
inline-block;
409@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)
411 .butAction, .butActionRefused, .butActionDelete {
417@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)
419 .butAction, .butActionRefused, .butActionDelete {
426@media only screen and (max-width: 767px)
428 .butAction, .butActionRefused, .butActionDelete {
433 .btnTitle, a.btnTitle {
434 display:
inline-block;
435 padding: 4px 4px 4px 4px;
438 .paginationafterarrows a.btnTitlePlus:hover span:before, .titre_right a.btnTitlePlus:hover span:before {
439 font-size: unset !important;
445.butActionRefused, .butActionNewRefused, .btnTitle.refused {
446 display: none !important;
457 border: 1px solid #ddd;
461 text-decoration: none !important;
465 background-color: #ddd;
466 border: 1px solid #ddd;
476 display:
inline-block;
488 background: transparent;
491 color: var(--colortextlink, inherit);
496 -webkit-font-smoothing: inherit;
497 -moz-osx-font-smoothing: inherit;
500 -webkit-appearance: none;
503 transition: background 0.8s;
504 background: transparent radial-gradient(circle, transparent 1%, hsla(var(--colortextlink-h),var(--colortextlink-s) ,var(--colortextlink-l) , 0.1) 1%, transparent 10%) center/15000%;
507button.btn-low-emphasis.--btn-icon{
511button.btn-low-emphasis :is(.fa, .fas){
512 color: var(--colortextlink, inherit);
516button.btn-low-emphasis:is(:focus,:hover) :is(.fa, .fas){
521 background-color: hsla(var(--colortextlink-h),var(--colortextlink-s) ,var(--colortextlink-l) , 0.1);
522 background-size: 100%;
523 transition: background 0s;
527input.button-save, input.button-cancel {
529 margin-left: 8px !important;
530 margin-right: 8px !important;
535@media only screen and (max-width: 767px)
537 input.button-save, input.button-cancel {
539 margin-left: 4px !important;
540 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.