Debug v22 CSS for RTL languages
This commit is contained in:
parent
e26744d625
commit
bb61fd0537
6 changed files with 38 additions and 23 deletions
|
|
@ -23,6 +23,9 @@ include_once DOL_DOCUMENT_ROOT."/core/lib/functions2.lib.php";
|
|||
@phan-var-force string $left
|
||||
@phan-var-force string $right
|
||||
';
|
||||
|
||||
$borderradius = getDolGlobalString('THEME_ELDY_USEBORDERONTABLE') ? getDolGlobalInt('THEME_ELDY_BORDER_RADIUS', 6) : 0;
|
||||
|
||||
?>
|
||||
|
||||
/* IDE Hack <style type="text/css"> */
|
||||
|
|
@ -252,7 +255,7 @@ a.top-menu-dropdown-link {
|
|||
}
|
||||
|
||||
.dropdown-menu .dropdown-header{
|
||||
padding: 8px 8px 8px 8px;
|
||||
padding: 8px 12px 8px 16px;
|
||||
}
|
||||
|
||||
.dropdown-menu > .user-footer {
|
||||
|
|
@ -356,12 +359,11 @@ a.dropdown-item {
|
|||
user-select: none;
|
||||
background-image: none;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 4px;
|
||||
border-radius: <?php echo $borderradius; ?>px;
|
||||
}
|
||||
|
||||
.user-footer .button-top-menu-dropdown {
|
||||
color: #666666;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
border-width: 1px;
|
||||
background-color: #f4f4f4;
|
||||
|
|
@ -612,6 +614,9 @@ div.quickaddblock:focus {
|
|||
left: 12px;
|
||||
}
|
||||
|
||||
.dropdown-search-input {
|
||||
border-radius: <?php print $borderradius; ?>px;
|
||||
}
|
||||
|
||||
/* smartphone */
|
||||
@media only screen and (max-width: 767px)
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ input.search-tool-input:focus:not(.button):not(.buttonwebsite):not(.buttonreset)
|
|||
background-size: 16px 16px;
|
||||
background-position: 95% center;
|
||||
background-position: calc(100% - 16px) center;
|
||||
border-radius: 50px !important;
|
||||
border: 1px solid #c4c4c2 !important;
|
||||
transition: all 250ms ease-in-out;
|
||||
backface-visibility: hidden;
|
||||
|
|
|
|||
|
|
@ -27,6 +27,8 @@ $atoploginusername = empty($user->photo) ? 52 : 0;
|
|||
@phan-var-force string $right
|
||||
';
|
||||
|
||||
$borderradius = getDolGlobalString('THEME_ELDY_USEBORDERONTABLE') ? getDolGlobalInt('THEME_ELDY_BORDER_RADIUS', 6) : 0;
|
||||
|
||||
?>
|
||||
|
||||
/* IDE Hack <style type="text/css"> */
|
||||
|
|
@ -271,6 +273,7 @@ a.top-menu-dropdown-link {
|
|||
|
||||
.dropdown-menu > .user-header{
|
||||
background: var(--colorbackhmenu1);
|
||||
color: var(--colortextbackhmenu);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -388,12 +391,11 @@ a.dropdown-item {
|
|||
user-select: none;
|
||||
background-image: none;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 4px;
|
||||
border-radius: <?php echo $borderradius; ?>px;
|
||||
}
|
||||
|
||||
.user-footer .button-top-menu-dropdown {
|
||||
color: #666666;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
border-width: 1px;
|
||||
background-color: #f4f4f4;
|
||||
|
|
@ -487,7 +489,8 @@ li.liinputsearch {
|
|||
background-repeat: no-repeat;
|
||||
background-size: 16px 16px;
|
||||
background-position: 95% center;
|
||||
border-radius: 50px;
|
||||
border-radius: <?php print $borderradius; ?>px;
|
||||
|
||||
border: 1px solid #c4c4c2 !important;
|
||||
transition: all 250ms ease-in-out;
|
||||
backface-visibility: hidden;
|
||||
|
|
|
|||
|
|
@ -15,6 +15,9 @@ if (!defined('ISLOADEDBYSTEELSHEET')) {
|
|||
@phan-var-force string $right
|
||||
@phan-var-force string $left
|
||||
';
|
||||
|
||||
$borderradius = getDolGlobalString('THEME_ELDY_USEBORDERONTABLE') ? getDolGlobalInt('THEME_ELDY_BORDER_RADIUS', 6) : 0;
|
||||
|
||||
?>
|
||||
|
||||
/* IDE Hack <style type="text/css"> */
|
||||
|
|
@ -194,6 +197,7 @@ a.info-box-text-a i.fa.fa-exclamation-triangle {
|
|||
border-radius: 2px;
|
||||
margin-bottom: 15px;
|
||||
border: 1px solid #e9e9e9;
|
||||
border-radius: <?php print $borderradius; ?>px;
|
||||
}
|
||||
.info-box.info-box-sm {
|
||||
min-height: 80px;
|
||||
|
|
@ -243,6 +247,8 @@ a.info-box-text-a i.fa.fa-exclamation-triangle {
|
|||
height: 94px; /* must be same height as min-height of .info-box */
|
||||
width: 86px;
|
||||
background: var(--colorbacktitle1) !important;
|
||||
border-top-left-radius: <?php print $borderradius; ?>px;
|
||||
border-bottom-left-radius: <?php print $borderradius; ?>px;
|
||||
<?php if (getDolGlobalString('THEME_SATURATE_RATIO')) { ?>
|
||||
filter: saturate(<?php echo getDolGlobalString('THEME_SATURATE_RATIO'); ?>);
|
||||
<?php } ?>
|
||||
|
|
@ -541,6 +547,9 @@ if (GETPOSTISSET('THEME_SATURATE_RATIO')) {
|
|||
.fa-dol-holiday:before {
|
||||
content: "\f5ca";
|
||||
}
|
||||
.fa-dol-cubes:before {
|
||||
content: "\f1b3";
|
||||
}
|
||||
|
||||
|
||||
/* USING FONTAWESOME FOR WEATHER */
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ input.search-tool-input:focus:not(.button):not(.buttonwebsite):not(.buttonreset)
|
|||
background-size: 16px 16px;
|
||||
background-position: 95% center;
|
||||
background-position: calc(100% - 16px) center;
|
||||
border-radius: 50px !important;
|
||||
border: 1px solid #c4c4c2 !important;
|
||||
transition: all 250ms ease-in-out;
|
||||
backface-visibility: hidden;
|
||||
|
|
|
|||
|
|
@ -2538,7 +2538,7 @@ td.showDragHandle {
|
|||
<?php } else { ?>
|
||||
background: var(--colorbackvmenu1);
|
||||
/* border-<?php echo $right; ?>: 1px solid rgba(0,0,0,0.2); */
|
||||
box-shadow: 3px 0 6px -2px #eee;
|
||||
box-shadow: 3px 0 6px <?php echo ($left == 'left' ? -2 : 2); ?>px #eee;
|
||||
bottom: 0;
|
||||
color: #333;
|
||||
display: block;
|
||||
|
|
@ -2589,16 +2589,18 @@ td.showDragHandle {
|
|||
* Slide animation
|
||||
*/
|
||||
.side-nav-vert, #id-right {
|
||||
transition: padding-left 0.5s ease, margin-left 0.5s ease;
|
||||
transition: padding-<?php echo $left; ?> 0.5s ease, margin-<?php echo $left; ?> 0.5s ease;
|
||||
}
|
||||
|
||||
.side-nav, .login_block {
|
||||
transition: left 0.5s ease;
|
||||
transition: <?php echo $left; ?> 0.5s ease;
|
||||
}
|
||||
|
||||
body.sidebar-collapse .side-nav-vert, body.sidebar-collapse #id-right {
|
||||
margin-left: 0;
|
||||
padding-left:0
|
||||
padding-left:0;
|
||||
margin-right: 0;
|
||||
padding-right:0;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -4859,7 +4861,7 @@ table.dataTable tr.oddeven {
|
|||
}
|
||||
|
||||
/* For no hover style */
|
||||
td.oddeven, table.nohover tr.impair, table.nohover tr.pair, table.nohover tr.impair td, table.nohover tr.pair td, tr.nohover td, form.nohover, form.nohover:hover {
|
||||
td.oddeven, table.nohover tr.impair, table.nohover tr.pair, table.nohover tr.impair td, table.nohover tr.pair td, tr.nohover td, tr.nohover td:hover, form.nohover, form.nohover:hover {
|
||||
background-color: var(--colorbacklineimpair2) !important;
|
||||
background: var(--colorbacklineimpair2) !important;
|
||||
}
|
||||
|
|
@ -5792,17 +5794,13 @@ div.ui-tooltip {
|
|||
}
|
||||
|
||||
div.ui-tooltip.mytooltip {
|
||||
border-top: solid 1px #BBBBBB;
|
||||
border-<?php print $left; ?>: solid 1px #BBBBBB;
|
||||
border-<?php print $right; ?>: solid 1px #444444;
|
||||
border-bottom: solid 1px #444444;
|
||||
padding: 10px 20px;
|
||||
border-radius: 0;
|
||||
box-shadow: 0 0 4px grey;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 0 4px #888;
|
||||
margin: 2px;
|
||||
font-stretch: condensed;
|
||||
/*background: var(--tooltipbgcolor) !important;
|
||||
color : var(--tooltipfontcolor);*/
|
||||
background: var(--colorbacklineimpair2) !important;
|
||||
/* color : var(--tooltipfontcolor);*/
|
||||
line-height: 1.6em;
|
||||
min-width: 550px;
|
||||
}
|
||||
|
|
@ -7031,7 +7029,7 @@ div.dataTables_length select {
|
|||
/* Select2 */
|
||||
/* ============================================================================== */
|
||||
|
||||
.heightofcombo {
|
||||
.heightofcombo:not(.pageplusone) {
|
||||
height: 28px;
|
||||
}
|
||||
.select2-container .select2-selection--single {
|
||||
|
|
@ -7297,7 +7295,9 @@ span#select2-taskid-container[title^='--'] {
|
|||
}
|
||||
span#select2-boxbookmark-container, span#select2-boxcombo-container {
|
||||
text-align: <?php echo $left; ?>;
|
||||
opacity: 0.5;
|
||||
}
|
||||
span#select2-boxcombo-container {
|
||||
/* opacity: 0.5; */
|
||||
}
|
||||
.select2-container .select2-selection--single .select2-selection__rendered {
|
||||
padding-left: 6px;
|
||||
|
|
|
|||
Loading…
Reference in a new issue