Fix somethings about styles

This commit is contained in:
jose.gonzalez@pandorafms.com 2022-10-27 17:31:48 +02:00
parent e6af39a3d7
commit 809fbb4dc0
4 changed files with 29 additions and 27 deletions

View File

@ -932,12 +932,12 @@ function html_print_select(
}
$select2 = 'select2.min';
if ($config['style'] === 'pandora_black' && !is_metaconsole()) {
if ($config['style'] === 'pandora_black' && is_metaconsole() === false) {
$select2 = 'select2_dark.min';
}
if (($multiple === false || $select2_multiple_enable === true) && $select2_enable === true) {
if (is_ajax()) {
if (is_ajax() === true) {
$output .= '<script src="';
$output .= ui_get_full_url(
'include/javascript/select2.min.js',
@ -1814,7 +1814,9 @@ function html_print_select_from_sql(
false,
// Required.
$required,
$truncate_size
$truncate_size,
true,
true
);
}

View File

@ -387,23 +387,6 @@ label {
width: 100%;
}
li > input[type="text"],
li > input[type="email"],
li > input[type="password"],
li > input[type="email"],
.discovery_text_input > input[type="password"],
.discovery_text_input > input[type="text"],
#interval_manual > input[type="text"] {
background-color: transparent;
border: none;
border-radius: 0;
border-bottom: 1px solid #ccc;
font-weight: lighter;
padding: 0px 0px 2px 0px;
box-sizing: border-box;
margin-bottom: 4px;
}
#interval_manual > input[type="text"] {
width: 50px;
margin-left: 10px;

View File

@ -232,9 +232,7 @@ a:hover {
text-decoration: underline;
font-weight: bold;
}
:focus {
outline-color: #82b92e;
}
a:focus,
input:focus,
button:focus {
@ -8987,15 +8985,29 @@ select:focus {
border: 1px solid #8a96a6;
}
:focus {
outline: #8a96a6;
}
#autorefresh_list_out::-webkit-scrollbar {
/*color: test;*/
}
textarea,
select {
padding: 10px;
}
select {
select[multiple] {
min-height: 10em;
}
select:focus {
border-color: #8a96a6;
}
.dataTables_length > label > select {
min-height: 3em;
}
input[type="button"],
input[type="submit"] {
width: 175px;
@ -9351,7 +9363,12 @@ button.ui-button.ui-widget.submit-cancel:active {
width: 17px !important;
background: url(../../images/svg/down.svg) no-repeat content-box !important;
}
.select2-container--default
.select2-selection--single
.select2-selection__placeholder {
color: #999;
line-height: 30px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
display: block;
padding-left: 8px;

View File

@ -165,12 +165,12 @@
float: right;
font-weight: bold;
}
.select2-container--default
/*.select2-container--default
.select2-selection--single
.select2-selection__placeholder {
color: #999;
}
/*.select2-container--default
.select2-container--default
.select2-selection--single
.select2-selection__arrow {
height: 26px;