18if (!defined(
'ISLOADEDBYSTEELSHEET')) {
19 die(
'Must be call by steelsheet');
35@phan-var-force string $butactionbg
36@phan-var-force string $colortextlink
37@phan-var-force int<0,1> $dol_optimize_smallscreen
38@phan-var-force string $fontlist
39@phan-var-force string $left
40@phan-var-force int<0,max> $nbtopmenuentries
41@phan-var-force string $right
42@phan-var-force string $textbutaction
49 --btncolortext: rgb(<?php print $colortextlink; ?>);
50 --btncolorbg: #fbfbfb;
51 --btncolorborderhover: none;
52 --btncolorborder: #FFF;
53 --butactiondeletebg: rgb(234,228,225);
54 --butactionbg: rgb(<?php print $butactionbg; ?>);
55 --textbutaction: rgb(<?php print $textbutaction; ?>);
60 print
"/* For dark mode */\n";
62 print
"@media (prefers-color-scheme: dark) {";
64 print
"@media not print {";
70 --btncolorbg: rgb(26,27,27);
71 --btncolorborderhover: #ffffff;
72 --btncolorborder: #2b2c2e;
73 --butactiondeletebg: rgb(252,84,91);
74 --butactionbg: rgb(173,140,79);
75 --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 {
98 margin-bottom: 1.4em !important;
99 margin-right: 0px !important;
102 padding: 0 !important;
103 margin: 0 !important;
105div.tabsActionNoBottom > a.butAction, div.tabsActionNoBottom > a.butActionRefused {
106 margin-bottom: 0 !important;
109span.butAction, span.butActionDelete {
112.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,
129 text-decoration: none;
130 text-transform: uppercase;
133 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'1'); ?>em;
134 padding: 0.6em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.7'); ?>em;
135 display:
inline-block;
139 border: 1px solid transparent;
149.butActionNew, .butActionNewRefused, .butActionNew:link, .butActionNew:visited, .butActionNew:hover, .butActionNew:active {
150 text-decoration: none;
151 text-transform: uppercase;
154 margin: 0em 0.3em 0 0.3em !important;
155 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em 0.3em;
156 font-family: <?php print $fontlist ?>;
157 display:
inline-block;
162.tableforfieldcreate a.butActionNew>span.fa-plus-circle, .tableforfieldcreate a.butActionNew>span.fa-plus-circle:hover,
163.tableforfieldedit a.butActionNew>span.fa-plus-circle, .tableforfieldedit a.butActionNew>span.fa-plus-circle:hover,
164span.butActionNew>span.fa-plus-circle, span.butActionNew>span.fa-plus-circle:hover,
165a.butActionNewRefused>span.fa-plus-circle, a.butActionNewRefused>span.fa-plus-circle:hover,
166span.butActionNewRefused>span.fa-plus-circle, span.butActionNewRefused>span.fa-plus-circle:hover,
167a.butActionNew>span.fa-list-alt, a.butActionNew>span.fa-list-alt:hover,
168span.butActionNew>span.fa-list-alt, span.butActionNew>span.fa-list-alt:hover,
169a.butActionNewRefused>span.fa-list-alt, a.butActionNewRefused>span.fa-list-alt:hover,
170span.butActionNewRefused>span.fa-list-alt, span.butActionNewRefused>span.fa-list-alt:hover
176a.butActionNew>span.fa, a.butActionNew>span.fa:hover,
177span.butActionNew>span.fa, span.butActionNew>span.fa:hover,
178a.butActionNewRefused>span.fa, a.butActionNewRefused>span.fa:hover,
179span.butActionNewRefused>span.fa, span.butActionNewRefused>span.fa:hover
181 padding-<?php echo $left; ?>: 6px;
184 box-shadow: none; webkit-box-shadow: none;
187.butAction:hover, .dropdown-holder.open > .butAction {
189 box-shadow: 0px 0px 6px rgba(50,50,50,0.4), inset 0px 0px 200px rgba(0,0,0,0.3);
192 text-decoration: underline;
193 box-shadow: unset !important;
196.butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active, .buttonDelete {
197 background: var(--butactiondeletebg) !important;
199 color: #633 !important;
202.butActionDelete:hover {
203 box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
220 text-decoration: none !important;
221 text-transform: uppercase;
222 font-weight: bold !important;
224 white-space: nowrap !important;
225 cursor: not-allowed !important;
226 font-family: <?php print $fontlist ?> !important;
227 display:
inline-block;
230 box-sizing: border-box;
231 -moz-box-sizing: border-box;
232 -webkit-box-sizing: border-box;
233 color: #999 !important;
235 border: 1px solid #ccc;
237.butActionNewRefused, .butActionNewRefused:link, .butActionNewRefused:visited, .butActionNewRefused:hover, .butActionNewRefused:active {
238 text-decoration: none !important;
239 text-transform: uppercase;
240 font-weight: normal !important;
242 white-space: nowrap !important;
243 cursor: not-allowed !important;
244 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.7' :
'0.9'); ?>em;
245 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em;
246 font-family: <?php print $fontlist ?> !important;
247 display:
inline-block;
250 color: #999 !important;
252 box-shadow: none !important;
255.butActionTransparent {
256 color: #222 ! important;
257 background-color: transparent ! important;
265.btnTitle, a.btnTitle {
266 display:
inline-block;
272 vertical-align: middle;
273 -ms-touch-action: manipulation;
274 touch-action: manipulation;
276 -webkit-
user-select: none;
277 -moz-
user-select: none;
278 -ms-
user-select: none;
280 box-shadow: var(--btncolorbg);
281 text-decoration: none;
286 color: var(--btncolortext);
291 border: 1px solid var(--btncolorborder);
294a.btnTitle.btnTitleSelected {
295 border: 1px solid #ccc;
299.btnTitle > .btnTitle-icon{
303.btnTitle > .btnTitle-label{
307.btnTitle:hover, a.btnTitle:hover {
308 border: 1px solid #bbb;
313 text-decoration: none;
322.btnTitle.refused, a.btnTitle.refused, .btnTitle.refused:hover, a.btnTitle.refused:hover {
325 background-color: #fbfbfb;
326 background: repeating-linear-gradient( 45deg, #ffffff, #f1f1f1 4px, #f1f1f1 4px, #f1f1f1 4px );
329.btnTitle:hover .btnTitle-label {
330 color: var(--btncolorborderhover);
332.btnTitle.reposition:not(.btnTitleSelected) {
333 background-color: unset;
337.btnTitle.refused .btnTitle-label, .btnTitle.refused:hover .btnTitle-label {
346div.pagination li:first-child a.btnTitle, div.pagination li.paginationafterarrows a.btnTitle,
347table.table-fiche-title tr.toptitle td.col-center div.nowraponall a.btnTitle,
348table.table-fiche-title tr.titre td.col-center div.nowraponall a.btnTitle,
349table.table-fiche-title tr.toptitle td.col-right a.btnTitle,
350table.table-fiche-title tr.titre td.col-right a.btnTitle {
351 margin-<?php echo $left; ?>: 10px;
354.button-title-separator{
355 display:
inline-block;
366@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)
368 .butAction, .butActionRefused, .butActionDelete {
374@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)
376 .butAction, .butActionRefused, .butActionDelete {
383@media only screen and (max-width: 767px)
385 .butAction, .butActionRefused, .butActionDelete {
390 .btnTitle, a.btnTitle {
391 display:
inline-block;
392 padding: 4px 4px 4px 4px;
395 .paginationafterarrows a.btnTitlePlus:hover span:before, .titre_right a.btnTitlePlus:hover span:before {
396 font-size: unset !important;
402.butActionRefused, .butActionNewRefused, .btnTitle.refused {
403 display: none !important;
414 border: 1px solid #ddd;
418 text-decoration: none !important;
422 background-color: #ddd;
423 border: 1px solid #ddd;
433 display:
inline-block;
445 background: transparent;
448 color: var(--colortextlink, inherit);
453 -webkit-font-smoothing: inherit;
454 -moz-osx-font-smoothing: inherit;
457 -webkit-appearance: none;
460 transition: background 0.8s;
461 background: transparent radial-gradient(circle, transparent 1%, hsla(var(--colortextlink-h),var(--colortextlink-s) ,var(--colortextlink-l) , 0.1) 1%, transparent 10%) center/15000%;
464button.btn-low-emphasis.--btn-icon{
468button.btn-low-emphasis :is(.fa, .fas){
469 color: var(--colortextlink, inherit);
473button.btn-low-emphasis:is(:focus,:hover) :is(.fa, .fas){
477button.btn-low-emphasis.--btn-icon:active {
478 background-color: hsla(var(--colortextlink-h),var(--colortextlink-s) ,var(--colortextlink-l) , 0.1);
479 background-size: 100%;
480 transition: background 0s;
getDolGlobalInt($key, $default=0)
Return a Dolibarr global constant int value.
getDolGlobalString($key, $default='')
Return a Dolibarr global constant string value.
treeview li table
No Email.
ui state ui widget content ui state ui widget header ui state a ui button
0 = Do not include form tag and submit button -1 = Do not include form tag but include submit button
global $conf
The following vars must be defined: $type2label $form $conf, $lang, The following vars may also be de...
$conf db user
Active Directory does not allow anonymous connections.