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; ?>);
18if (!empty($conf->global->THEME_DARKMODEENABLED)) {
19 print
"/* For dark mode */\n";
20 if ($conf->global->THEME_DARKMODEENABLED != 2) {
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;
257 text-decoration: none;
261.btnTitle.refused, a.btnTitle.refused, .btnTitle.refused:hover, a.btnTitle.refused:hover {
264 background-color: #fbfbfb;
265 background: repeating-linear-gradient( 45deg, #ffffff, #f1f1f1 4px, #f1f1f1 4px, #f1f1f1 4px );
268.btnTitle:hover .btnTitle-label{
269 color: var(--btncolorborderhover);
272.btnTitle.refused .btnTitle-label, .btnTitle.refused:hover .btnTitle-label{
281div.pagination li:first-child a.btnTitle, div.pagination li.paginationafterarrows a.btnTitle {
282 margin-<?php echo $left; ?>: 10px;
285.button-title-separator{
286 display:
inline-block;
296@media only screen and (max-width: <?php echo empty($conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC2) ? round($nbtopmenuentries * 69, 0) + 130 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC2; ?>px)
298 .butAction, .butActionRefused, .butActionDelete {
301 .btnTitle, a.btnTitle {
302 display:
inline-block;
303 padding: 4px 4px 4px 4px;
309@media only screen and (max-width: <?php echo empty($conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3) ? round($nbtopmenuentries * 47, 0) + 130 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3; ?>px)
311 .butAction, .butActionRefused, .butActionDelete {
317@media only screen and (max-width: 767px)
319 .butAction, .butActionRefused, .butActionDelete {
325<?php
if (!empty($conf->global->MAIN_BUTTON_HIDE_UNAUTHORIZED) && (!$user->admin)) { ?>
326.butActionRefused, .butActionNewRefused, .btnTitle.refused {
327 display: none !important;
338 border: 1px solid #ddd;
342 text-decoration: none !important;
346 background-color: #ddd;
347 border: 1px solid #ddd;