hide "Select one ..." from quick add and remove old jQuery Chosen stuff

This commit is contained in:
ralf 2022-09-25 09:42:20 +02:00
parent fe4d0dbbe3
commit 4d5f9f87f0
5 changed files with 235 additions and 476 deletions

View File

@ -5456,6 +5456,7 @@ span.overlayContainer img.overlay {
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add {
position: relative;
/* do NOT show empty label */
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add span#quick_add {
float: right;
@ -5474,54 +5475,6 @@ span.overlayContainer img.overlay {
line-height: 0.6em;
background-color: white;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container {
z-index: 1000;
position: absolute;
right: -54px !important;
top: 47px;
min-width: 160px !important;
width: 160px !important;
background: #FFFFFF;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container:before {
content: '';
position: absolute;
bottom: 51%;
left: 42%;
width: 0;
height: 0px;
border-left: 14px solid transparent;
border-right: 15px solid transparent;
border-bottom: 12px solid #aaa;
margin-bottom: 12px;
margin-left: 1px;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container:after {
content: '';
position: absolute;
bottom: 50%;
left: 42%;
width: 0;
height: 0;
border-left: 15px solid transparent;
border-right: 15px solid transparent;
border-bottom: 12px solid #ffffff;
margin-bottom: 11px;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container .chzn-single span {
display: none;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container a.chzn-single.chzn-default {
border: 1px solid #bfc0bf;
border-radius: 0px;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container .chzn-drop {
border-radius: 0px;
margin-top: -2px;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container .chzn-results {
max-height: none;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add #quick_add_selectbox {
height: 0px;
float: left;
@ -5536,6 +5489,9 @@ span.overlayContainer img.overlay {
#egw_fw_topmenu_info_items #topmenu_info_quick_add #quick_add_selectbox::part(menu) {
max-height: 60vh;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add et2-select#quick_add_selectbox sl-menu-item[value=""] {
display: none;
}
#egw_fw_topmenu_info_items img#topmenu_info_error {
width: 16px;
height: 16px;

View File

@ -55,7 +55,6 @@
background: #000;
filter: invert(1) hue-rotate(180deg) brightness(1);
}
html[data-darkmode='1'] sl-menu-item::part(prefix),
html[data-darkmode='1'] et2-select-country::part(prefix),
html[data-darkmode='1'] et2-email-tag::part(prefix),
@ -72,20 +71,16 @@
html[data-darkmode='1'] .et2_taglist_tags_icon {
filter: invert(1) hue-rotate(180deg) !important;
}
html[data-darkmode='1'] .dtree img {
filter: invert(0) hue-rotate(180deg) !important;
}
html[data-darkmode='1'] #blueimp-gallery video,
html[data-darkmode='1'] #blueimp-gallery .video-content {
filter: invert(0) hue-rotate(180deg) !important;
}
html[data-darkmode='1'] #loginMainDiv div#centerBox {
filter: invert(1) hue-rotate(180deg) !important;
}
html[data-darkmode='1'] div.dhtmlxMenu_egw_SubLevelArea_Polygon,
html[data-darkmode='1'] .egw_tooltip,
html[data-darkmode='1'] body .egw_message_wrapper,
@ -3150,29 +3145,23 @@ div.dhtmlxMenu_egw_SubLevelArea_Polygon {
border: 1px solid transparent;
border-radius: 2px;
}
div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub_item td.sub_item_hk div.sub_item_hk {
color: #373f3f;
}
div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub_item_selected {
background-color: hsl(200, 98%, 39%) !important;
background-image: none !important;
}
div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub_item_selected td.sub_item_icon img.sub_icon {
filter: invert(1) brightness(5);
}
div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub_item_selected div.sub_item_text,
div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub_item_selected td.sub_item_hk div.sub_item_hk {
color: hsl(0, 0%, 100%);
}
div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl div.sub_sep {
border-top: 1px solid #E6E6E6;
}
/**
* EGroupware: Stylite Pixelegg template
*
@ -4023,6 +4012,7 @@ div#egwpopup_message {
}
.egw_fw_ui_app_header_container {
height: auto;
display: none;
}
.egw_fw_ui_app_header_container .egw_fw_ui_app_header {
padding: 1px 0 0 0;
@ -4324,22 +4314,18 @@ span.overlayContainer img.overlay {
/*logout*/
/*print*/
}
#egw_fw_header #egw_fw_topmenu #egw_fw_topmenu_items ul li {
color: #FFFFFF;
padding: 8px 10px;
border-top: #E6E6E6;
}
#egw_fw_header #egw_fw_topmenu #egw_fw_topmenu_items ul li:hover {
background: hsl(200, 98%, 39%);
color: hsl(0, 0%, 100%);
}
#egw_fw_header #egw_fw_topmenu #egw_fw_topmenu_items ul li:hover a {
filter: invert(1) brightness(5);
}
#egw_fw_header #egw_fw_topmenu #egw_fw_topmenu_items ul li a {
color: #000000;
text-decoration: none;
@ -4348,19 +4334,15 @@ span.overlayContainer img.overlay {
display: inline-block;
width: 100%;
}
#egw_fw_header #egw_fw_topmenu #egw_fw_topmenu_items ul li a:hover {
text-decoration: none !important;
}
#egw_fw_header #egw_fw_topmenu #egw_fw_topmenu_items ul li:first-child :before {
border: none;
}
#egw_fw_header #egw_fw_topmenu #egw_fw_topmenu_items ul a {
background-size: 20px;
}
#egw_fw_header #egw_fw_topmenu #egw_fw_topmenu_items ul a#topmenu_home {
margin-left: 0px;
background-image: url(../../api/templates/default/images/topmenu_items/home.svg);
@ -5297,15 +5279,12 @@ span.overlayContainer img.overlay {
background-repeat: no-repeat;
cursor: pointer;
}
#egw_fw_topmenu_info_items .topmenu_info_item:hover {
background-color: rgba(153, 204, 255, 0.4);
}
#egw_fw_topmenu_info_items #topmenu_info_user_avatar span.fw_avatar_stat {
position: absolute;
}
#egw_fw_topmenu_info_items #topmenu_info_user_avatar span.stat1 {
width: 14px;
height: 14px;
@ -5323,31 +5302,24 @@ span.overlayContainer img.overlay {
line-height: 14px;
border: 2px solid #fbfbfb;
}
#egw_fw_topmenu_info_items #topmenu_info_user_avatar span.online {
background-color: #2de0a5;
}
#egw_fw_topmenu_info_items #topmenu_info_user_avatar span.offline {
background-color: #cbced1;
}
#egw_fw_topmenu_info_items #topmenu_info_user_avatar span.away {
background-color: #ffd21f;
}
#egw_fw_topmenu_info_items #topmenu_info_user_avatar span.busy {
background-color: #f5455c;
}
#egw_fw_topmenu_info_items #topmenu_info_user_avatar span.noconnection {
background-color: #E1E16D;
}
#egw_fw_topmenu_info_items #topmenu_info_user_avatar span.noconnection:before {
content: "!";
}
#egw_fw_topmenu_info_items #topmenu_info_logout {
background-image: url(../../api/templates/default/images/logout.svg);
}
@ -5464,6 +5436,7 @@ span.overlayContainer img.overlay {
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add {
position: relative;
/* do NOT show empty label */
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add span#quick_add {
float: right;
@ -5482,54 +5455,6 @@ span.overlayContainer img.overlay {
line-height: 0.6em;
background-color: white;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container {
z-index: 1000;
position: absolute;
right: -54px !important;
top: 47px;
min-width: 160px !important;
width: 160px !important;
background: #FFFFFF;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container:before {
content: '';
position: absolute;
bottom: 51%;
left: 42%;
width: 0;
height: 0px;
border-left: 14px solid transparent;
border-right: 15px solid transparent;
border-bottom: 12px solid #aaa;
margin-bottom: 12px;
margin-left: 1px;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container:after {
content: '';
position: absolute;
bottom: 50%;
left: 42%;
width: 0;
height: 0;
border-left: 15px solid transparent;
border-right: 15px solid transparent;
border-bottom: 12px solid #ffffff;
margin-bottom: 11px;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container .chzn-single span {
display: none;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container a.chzn-single.chzn-default {
border: 1px solid #bfc0bf;
border-radius: 0px;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container .chzn-drop {
border-radius: 0px;
margin-top: -2px;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container .chzn-results {
max-height: none;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add #quick_add_selectbox {
height: 0px;
float: left;
@ -5541,6 +5466,12 @@ span.overlayContainer img.overlay {
#egw_fw_topmenu_info_items #topmenu_info_quick_add #quick_add_selectbox::part(form-control) {
margin-left: -3em;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add #quick_add_selectbox::part(menu) {
max-height: 60vh;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add et2-select#quick_add_selectbox sl-menu-item[value=""] {
display: none;
}
#egw_fw_topmenu_info_items img#topmenu_info_error {
width: 16px;
height: 16px;

View File

@ -5446,6 +5446,7 @@ span.overlayContainer img.overlay {
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add {
position: relative;
/* do NOT show empty label */
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add span#quick_add {
float: right;
@ -5464,54 +5465,6 @@ span.overlayContainer img.overlay {
line-height: 0.6em;
background-color: white;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container {
z-index: 1000;
position: absolute;
right: -54px !important;
top: 47px;
min-width: 160px !important;
width: 160px !important;
background: #FFFFFF;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container:before {
content: '';
position: absolute;
bottom: 51%;
left: 42%;
width: 0;
height: 0px;
border-left: 14px solid transparent;
border-right: 15px solid transparent;
border-bottom: 12px solid #aaa;
margin-bottom: 12px;
margin-left: 1px;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container:after {
content: '';
position: absolute;
bottom: 50%;
left: 42%;
width: 0;
height: 0;
border-left: 15px solid transparent;
border-right: 15px solid transparent;
border-bottom: 12px solid #ffffff;
margin-bottom: 11px;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container .chzn-single span {
display: none;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container a.chzn-single.chzn-default {
border: 1px solid #bfc0bf;
border-radius: 0px;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container .chzn-drop {
border-radius: 0px;
margin-top: -2px;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container .chzn-results {
max-height: none;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add #quick_add_selectbox {
height: 0px;
float: left;
@ -5526,6 +5479,9 @@ span.overlayContainer img.overlay {
#egw_fw_topmenu_info_items #topmenu_info_quick_add #quick_add_selectbox::part(menu) {
max-height: 60vh;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add et2-select#quick_add_selectbox sl-menu-item[value=""] {
display: none;
}
#egw_fw_topmenu_info_items img#topmenu_info_error {
width: 16px;
height: 16px;

View File

@ -236,52 +236,6 @@
// quick_add selectbox
// ADD different APPs
.chzn-container {
z-index: 1000;
position: absolute;
right: -54px !important;
top: 47px;
min-width: 160px !important;
width: 160px !important;
background: @gray_0;
&:before {
content: '';
position: absolute;
bottom: 51%;
left: 42%;
width: 0;
height: 0px;
border-left: 14px solid transparent;
border-right: 15px solid transparent;
border-bottom: 12px solid #aaa;
margin-bottom: 12px;
margin-left: 1px;
}
&:after {
content: '';
position: absolute;
bottom: 50%;
left: 42%;
width: 0;
height: 0;
border-left: 15px solid transparent;
border-right: 15px solid transparent;
border-bottom: 12px solid #ffffff;
margin-bottom: 11px;
}
.chzn-single span {display: none;}
a.chzn-single.chzn-default {
border: 1px solid #bfc0bf;
border-radius: 0px;
}
.chzn-drop {
border-radius: 0px;
margin-top: -2px;
}
.chzn-results {
max-height: none;
}
}
#quick_add_selectbox {
height: 0px;
float: left;
@ -296,6 +250,12 @@
#quick_add_selectbox::part(menu) {
max-height: 60vh;
}
/* do NOT show empty label */
et2-select#quick_add_selectbox {
sl-menu-item[value=""] {
display: none;
}
}
}
// ##############################################################################

View File

@ -5467,6 +5467,7 @@ span.overlayContainer img.overlay {
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add {
position: relative;
/* do NOT show empty label */
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add span#quick_add {
float: right;
@ -5485,54 +5486,6 @@ span.overlayContainer img.overlay {
line-height: 0.6em;
background-color: white;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container {
z-index: 1000;
position: absolute;
right: -54px !important;
top: 47px;
min-width: 160px !important;
width: 160px !important;
background: #FFFFFF;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container:before {
content: '';
position: absolute;
bottom: 51%;
left: 42%;
width: 0;
height: 0px;
border-left: 14px solid transparent;
border-right: 15px solid transparent;
border-bottom: 12px solid #aaa;
margin-bottom: 12px;
margin-left: 1px;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container:after {
content: '';
position: absolute;
bottom: 50%;
left: 42%;
width: 0;
height: 0;
border-left: 15px solid transparent;
border-right: 15px solid transparent;
border-bottom: 12px solid #ffffff;
margin-bottom: 11px;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container .chzn-single span {
display: none;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container a.chzn-single.chzn-default {
border: 1px solid #bfc0bf;
border-radius: 0px;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container .chzn-drop {
border-radius: 0px;
margin-top: -2px;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container .chzn-results {
max-height: none;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add #quick_add_selectbox {
height: 0px;
float: left;
@ -5547,6 +5500,9 @@ span.overlayContainer img.overlay {
#egw_fw_topmenu_info_items #topmenu_info_quick_add #quick_add_selectbox::part(menu) {
max-height: 60vh;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add et2-select#quick_add_selectbox sl-menu-item[value=""] {
display: none;
}
#egw_fw_topmenu_info_items img#topmenu_info_error {
width: 16px;
height: 16px;