2if (!defined(
'ISLOADEDBYSTEELSHEET')) {
3 die(
'Must be call by steelsheet');
8 --btncolortext: rgb(<?php print $colortextlink; ?>);
10 --btncolorborderhover: none;
11 --btncolorborder: #FFF;
12 --butactiondeletebg: rgb(234,228,225);
13 --butactionbg: rgb(<?php print $butactionbg; ?>);
14 --textbutaction: rgb(<?php print $textbutaction; ?>);
19 print
"/* For dark mode */\n";
21 print
"@media (prefers-color-scheme: dark) {";
23 print
"@media not print {";
29 --btncolorbg: rgb(26,27,27);
30 --btncolorborderhover: #ffffff;
31 --btncolorborder: #2b2c2e;
32 --butactiondeletebg: rgb(252,84,91);
33 --butactionbg: rgb(173,140,79);
34 --textbutaction: rgb(255,255,255);
49div.tabsAction > a.butAction, div.tabsAction > a.butActionRefused, div.tabsAction > a.butActionDelete,
50div.tabsAction > span.butAction, div.tabsAction > span.butActionRefused, div.tabsAction > span.butActionDelete,
51div.tabsAction > div.divButAction > span.butAction,
52div.tabsAction > div.divButAction > span.butActionDelete,
53div.tabsAction > div.divButAction > span.butActionRefused,
54div.tabsAction > div.divButAction > a.butAction,
55div.tabsAction > div.divButAction > a.butActionDelete,
56div.tabsAction > div.divButAction > a.butActionRefused {
57 margin-bottom: 1.4em !important;
58 margin-right: 0px !important;
61 padding: 0 !important;
64div.tabsActionNoBottom > a.butAction, div.tabsActionNoBottom > a.butActionRefused {
65 margin-bottom: 0 !important;
68span.butAction, span.butActionDelete {
71.paginationafterarrows .butAction {
75 background: var(--butactionbg);
76 color: var(--textbutaction) !important;
79.butActionRefused, .butAction, .butActionDelete {
82:not(.center) > .butActionRefused:last-child, :not(.center) > .butAction:last-child, :not(.center) > .butActionDelete:last-child {
83 margin-<?php echo $right; ?>: 0px !important;
85.butActionRefused, .butAction, .butAction:link, .butAction:visited, .butAction:hover, .butAction:active, .butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active,
88 text-decoration: none;
89 text-transform: uppercase;
92 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'1'); ?>em;
93 padding: 0.6em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.7'); ?>em;
94 display:
inline-block;
98 border: 1px solid transparent;
108.butActionNew, .butActionNewRefused, .butActionNew:link, .butActionNew:visited, .butActionNew:hover, .butActionNew:active {
109 text-decoration: none;
110 text-transform: uppercase;
113 margin: 0em 0.3em 0 0.3em !important;
114 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em 0.3em;
115 font-family: <?php print $fontlist ?>;
116 display:
inline-block;
121.tableforfieldcreate a.butActionNew>span.fa-plus-circle, .tableforfieldcreate a.butActionNew>span.fa-plus-circle:hover,
122.tableforfieldedit a.butActionNew>span.fa-plus-circle, .tableforfieldedit a.butActionNew>span.fa-plus-circle:hover,
123span.butActionNew>span.fa-plus-circle, span.butActionNew>span.fa-plus-circle:hover,
124a.butActionNewRefused>span.fa-plus-circle, a.butActionNewRefused>span.fa-plus-circle:hover,
125span.butActionNewRefused>span.fa-plus-circle, span.butActionNewRefused>span.fa-plus-circle:hover,
126a.butActionNew>span.fa-list-alt, a.butActionNew>span.fa-list-alt:hover,
127span.butActionNew>span.fa-list-alt, span.butActionNew>span.fa-list-alt:hover,
128a.butActionNewRefused>span.fa-list-alt, a.butActionNewRefused>span.fa-list-alt:hover,
129span.butActionNewRefused>span.fa-list-alt, span.butActionNewRefused>span.fa-list-alt:hover
135a.butActionNew>span.fa, a.butActionNew>span.fa:hover,
136span.butActionNew>span.fa, span.butActionNew>span.fa:hover,
137a.butActionNewRefused>span.fa, a.butActionNewRefused>span.fa:hover,
138span.butActionNewRefused>span.fa, span.butActionNewRefused>span.fa:hover
140 padding-<?php echo $left; ?>: 6px;
143 box-shadow: none; webkit-box-shadow: none;
147 -webkit-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
148 box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
151 text-decoration: underline;
152 box-shadow: unset !important;
155.butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active, .buttonDelete {
156 background: var(--butactiondeletebg) !important;
158 color: #633 !important;
161.butActionDelete:hover {
162 -webkit-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
163 box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
167 text-decoration: none !important;
168 text-transform: uppercase;
169 font-weight: bold !important;
171 white-space: nowrap !important;
172 cursor: not-allowed !important;
173 font-family: <?php print $fontlist ?> !important;
174 display:
inline-block;
177 box-sizing: border-box;
178 -moz-box-sizing: border-box;
179 -webkit-box-sizing: border-box;
180 color: #999 !important;
182 border: 1px solid #ccc;
184.butActionNewRefused, .butActionNewRefused:link, .butActionNewRefused:visited, .butActionNewRefused:hover, .butActionNewRefused:active {
185 text-decoration: none !important;
186 text-transform: uppercase;
187 font-weight: normal !important;
189 white-space: nowrap !important;
190 cursor: not-allowed !important;
191 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.7' :
'0.9'); ?>em;
192 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em;
193 font-family: <?php print $fontlist ?> !important;
194 display:
inline-block;
197 color: #999 !important;
199 box-shadow: none !important;
200 -webkit-box-shadow: none !important;
203.butActionTransparent {
204 color: #222 ! important;
205 background-color: transparent ! important;
213.btnTitle, a.btnTitle {
214 display:
inline-block;
215 padding: 4px 4px 4px 4px;
220 vertical-align: middle;
221 -ms-touch-action: manipulation;
222 touch-action: manipulation;
224 -webkit-
user-select: none;
225 -moz-
user-select: none;
226 -ms-
user-select: none;
228 box-shadow: var(--btncolorbg);
229 text-decoration: none;
234 color: var(--btncolortext);
238 background-color: var(--btncolorbg);
239 border: 1px solid var(--btncolorborder);
242a.btnTitle.btnTitleSelected {
243 border: 1px solid #ccc;
247.btnTitle > .btnTitle-
icon{
251.btnTitle > .btnTitle-label{
255.btnTitle:hover, a.btnTitle:hover {
256 border: 1px solid #bbb;
261 text-decoration: none;
270.btnTitle.refused, a.btnTitle.refused, .btnTitle.refused:hover, a.btnTitle.refused:hover {
273 background-color: #fbfbfb;
274 background: repeating-linear-gradient( 45deg, #ffffff, #f1f1f1 4px, #f1f1f1 4px, #f1f1f1 4px );
277.btnTitle:hover .btnTitle-label {
278 color: var(--btncolorborderhover);
280.btnTitle.reposition:not(.btnTitleSelected) {
281 background-color: unset;
285.btnTitle.refused .btnTitle-label, .btnTitle.refused:hover .btnTitle-label {
294div.pagination li:first-child a.btnTitle, div.pagination li.paginationafterarrows a.btnTitle {
295 margin-<?php echo $left; ?>: 10px;
298.button-title-separator{
299 display:
inline-block;
309@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)
311 .butAction, .butActionRefused, .butActionDelete {
314 .btnTitle, a.btnTitle {
315 display:
inline-block;
316 padding: 4px 4px 4px 4px;
322@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)
324 .butAction, .butActionRefused, .butActionDelete {
330@media only screen and (max-width: 767px)
332 .butAction, .butActionRefused, .butActionDelete {
339.butActionRefused, .butActionNewRefused, .btnTitle.refused {
340 display: none !important;
351 border: 1px solid #ddd;
355 text-decoration: none !important;
359 background-color: #ddd;
360 border: 1px solid #ddd;
getDolGlobalInt($key, $default=0)
Return a Dolibarr global constant int value.
getDolGlobalString($key, $default='')
Return dolibarr global constant string value.
table table fiche title col title div col center btnTitle icon
Automatically calls the icon named with the corresponding "object_" prefix.
$conf db user
Active Directory does not allow anonymous connections.