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;
60div.tabsActionNoBottom > a.butAction, div.tabsActionNoBottom > a.butActionRefused {
61 margin-bottom: 0 !important;
64span.butAction, span.butActionDelete {
67.paginationafterarrows .butAction {
71 background: var(--butactionbg);
72 color: var(--textbutaction) !important;
75.butActionRefused, .butAction, .butActionDelete {
78:not(.center) > .butActionRefused:last-child, :not(.center) > .butAction:last-child, :not(.center) > .butActionDelete:last-child {
79 margin-<?php echo $right; ?>: 0px !important;
81.butActionRefused, .butAction, .butAction:link, .butAction:visited, .butAction:hover, .butAction:active, .butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active {
82 text-decoration: none;
83 text-transform: uppercase;
86 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'1'); ?>em;
87 padding: 0.6em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.7'); ?>em;
88 display:
inline-block;
92 border: 1px solid transparent;
102.butActionNew, .butActionNewRefused, .butActionNew:link, .butActionNew:visited, .butActionNew:hover, .butActionNew:active {
103 text-decoration: none;
104 text-transform: uppercase;
107 margin: 0em 0.3em 0 0.3em !important;
108 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em 0.3em;
109 font-family: <?php print $fontlist ?>;
110 display:
inline-block;
115.tableforfieldcreate a.butActionNew>span.fa-plus-circle, .tableforfieldcreate a.butActionNew>span.fa-plus-circle:hover,
116.tableforfieldedit a.butActionNew>span.fa-plus-circle, .tableforfieldedit a.butActionNew>span.fa-plus-circle:hover,
117span.butActionNew>span.fa-plus-circle, span.butActionNew>span.fa-plus-circle:hover,
118a.butActionNewRefused>span.fa-plus-circle, a.butActionNewRefused>span.fa-plus-circle:hover,
119span.butActionNewRefused>span.fa-plus-circle, span.butActionNewRefused>span.fa-plus-circle:hover,
120a.butActionNew>span.fa-list-alt, a.butActionNew>span.fa-list-alt:hover,
121span.butActionNew>span.fa-list-alt, span.butActionNew>span.fa-list-alt:hover,
122a.butActionNewRefused>span.fa-list-alt, a.butActionNewRefused>span.fa-list-alt:hover,
123span.butActionNewRefused>span.fa-list-alt, span.butActionNewRefused>span.fa-list-alt:hover
129a.butActionNew>span.fa, a.butActionNew>span.fa:hover,
130span.butActionNew>span.fa, span.butActionNew>span.fa:hover,
131a.butActionNewRefused>span.fa, a.butActionNewRefused>span.fa:hover,
132span.butActionNewRefused>span.fa, span.butActionNewRefused>span.fa:hover
134 padding-<?php echo $left; ?>: 6px;
137 box-shadow: none; webkit-box-shadow: none;
141 -webkit-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
142 box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
145 text-decoration: underline;
146 box-shadow: unset !important;
149.butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active, .buttonDelete {
150 background: var(--butactiondeletebg) !important;
152 color: #633 !important;
155.butActionDelete:hover {
156 -webkit-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
157 box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
161 text-decoration: none !important;
162 text-transform: uppercase;
163 font-weight: bold !important;
165 white-space: nowrap !important;
166 cursor: not-allowed !important;
167 font-family: <?php print $fontlist ?> !important;
168 display:
inline-block;
171 box-sizing: border-box;
172 -moz-box-sizing: border-box;
173 -webkit-box-sizing: border-box;
174 color: #999 !important;
176 border: 1px solid #ccc;
178.butActionNewRefused, .butActionNewRefused:link, .butActionNewRefused:visited, .butActionNewRefused:hover, .butActionNewRefused:active {
179 text-decoration: none !important;
180 text-transform: uppercase;
181 font-weight: normal !important;
183 white-space: nowrap !important;
184 cursor: not-allowed !important;
185 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.7' :
'0.9'); ?>em;
186 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em;
187 font-family: <?php print $fontlist ?> !important;
188 display:
inline-block;
191 color: #999 !important;
193 box-shadow: none !important;
194 -webkit-box-shadow: none !important;
197.butActionTransparent {
198 color: #222 ! important;
199 background-color: transparent ! important;
207.btnTitle, a.btnTitle {
208 display:
inline-block;
209 padding: 4px 4px 4px 4px;
214 vertical-align: middle;
215 -ms-touch-action: manipulation;
216 touch-action: manipulation;
218 -webkit-
user-select: none;
219 -moz-
user-select: none;
220 -ms-
user-select: none;
222 box-shadow: var(--btncolorbg);
223 text-decoration: none;
228 color: var(--btncolortext);
232 background-color: var(--btncolorbg);
233 border: 1px solid var(--btncolorborder);
236a.btnTitle.btnTitleSelected {
237 border: 1px solid #ccc;
241.btnTitle > .btnTitle-icon{
245.btnTitle > .btnTitle-label{
249.btnTitle:hover, a.btnTitle:hover {
250 border: 1px solid #bbb;
255 text-decoration: none;
264.btnTitle.refused, a.btnTitle.refused, .btnTitle.refused:hover, a.btnTitle.refused:hover {
267 background-color: #fbfbfb;
268 background: repeating-linear-gradient( 45deg, #ffffff, #f1f1f1 4px, #f1f1f1 4px, #f1f1f1 4px );
271.btnTitle:hover .btnTitle-label{
272 color: var(--btncolorborderhover);
275.btnTitle.refused .btnTitle-label, .btnTitle.refused:hover .btnTitle-label{
284div.pagination li:first-child a.btnTitle, div.pagination li.paginationafterarrows a.btnTitle {
285 margin-<?php echo $left; ?>: 10px;
288.button-title-separator{
289 display:
inline-block;
299@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)
301 .butAction, .butActionRefused, .butActionDelete {
304 .btnTitle, a.btnTitle {
305 display:
inline-block;
306 padding: 4px 4px 4px 4px;
312@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)
314 .butAction, .butActionRefused, .butActionDelete {
320@media only screen and (max-width: 767px)
322 .butAction, .butActionRefused, .butActionDelete {
329.butActionRefused, .butActionNewRefused, .btnTitle.refused {
330 display: none !important;
341 border: 1px solid #ddd;
345 text-decoration: none !important;
349 background-color: #ddd;
350 border: 1px solid #ddd;
getDolGlobalInt($key, $default=0)
Return a Dolibarr global constant int value.
getDolGlobalString($key, $default='')
Return dolibarr global constant string value.