From 25dad7eb9128a2ac52b25cc11599b8fa615baa4e Mon Sep 17 00:00:00 2001 From: Dennis Ploetner Date: Sun, 31 Dec 2023 15:32:17 +0100 Subject: [PATCH] CSS fix --- css/msls.css | 2 +- css/msls.less | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/css/msls.css b/css/msls.css index 2b437baf..90e89f8f 100644 --- a/css/msls.css +++ b/css/msls.css @@ -1 +1 @@ -div#msls.postbox label{margin-right:6px}div#msls.postbox select{width:100%}select.msls-translations{width:226px}#msls.postbox .inside li{display:flex;align-items:center}#msls.postbox .inside li label{display:flex}#msls.postbox .inside li input.msls_title,#msls.postbox .inside li select{flex-grow:1}#msls-content-import .button-primary{margin:1em auto}.flag-icon{width:1.3333em!important;height:1em!important;vertical-align:middle;overflow:hidden;line-height:1!important;color:transparent}.msls-icon-wrapper{display:inline-flex;justify-content:center;align-items:center;text-align:center}.msls-icon-wrapper.flag{min-width:36px}.msls-icon-wrapper.label{min-width:48px}label .msls-icon-wrapper{text-align:left}#wpadminbar * .language-badge,#wpadminbar .language-badge,.language-badge{display:inline-block;min-width:32px;height:auto;padding:4px 6px;white-space:nowrap;font-size:10px;line-height:1;text-align:center;background-color:currentColor;border-radius:9px;user-select:none}#wpadminbar * .language-badge>span,#wpadminbar .language-badge>span,.language-badge>span{display:inline-block;vertical-align:top;margin:0 1px;font-size:10px;font-weight:600;line-height:1;text-transform:uppercase;color:#fff;text-align:center}#wpadminbar * .language-badge>span:nth-child( 2 ),#wpadminbar .language-badge>span:nth-child( 2 ),.language-badge>span:nth-child( 2 ){opacity:.5}.column-mslscol .language-badge{margin:0 1px!important}#wpadminbar * .language-badge,#wpadminbar .language-badge{position:relative;top:-1px;padding-top:3px;padding-bottom:3px;background-color:transparent;border:1px solid currentColor}#wpadminbar * .language-badge>span,#wpadminbar .language-badge>span{color:currentColor} \ No newline at end of file +div#msls.postbox label{margin-right:6px}div#msls.postbox input.msls_title,div#msls.postbox select{width:100%}select.msls-translations{width:226px}#msls.postbox .inside li{display:flex;align-items:center}#msls.postbox .inside li label{display:flex}#msls.postbox .inside li input.msls_title,#msls.postbox .inside li select{flex-grow:1}#msls-content-import .button-primary{margin:1em auto}.flag-icon{width:1.3333em!important;height:1em!important;vertical-align:middle;overflow:hidden;line-height:1!important;color:transparent}.msls-icon-wrapper{display:inline-flex;justify-content:center;align-items:center;text-align:center}.msls-icon-wrapper.flag{min-width:36px}.msls-icon-wrapper.label{min-width:48px}label .msls-icon-wrapper{text-align:left}#wpadminbar * .language-badge,#wpadminbar .language-badge,.language-badge{display:inline-block;min-width:32px;height:auto;padding:4px 6px;white-space:nowrap;font-size:10px;line-height:1;text-align:center;background-color:currentColor;border-radius:9px;user-select:none}#wpadminbar * .language-badge>span,#wpadminbar .language-badge>span,.language-badge>span{display:inline-block;vertical-align:top;margin:0 1px;font-size:10px;font-weight:600;line-height:1;text-transform:uppercase;color:#fff;text-align:center}#wpadminbar * .language-badge>span:nth-child( 2 ),#wpadminbar .language-badge>span:nth-child( 2 ),.language-badge>span:nth-child( 2 ){opacity:.5}.column-mslscol .language-badge{margin:0 1px!important}#wpadminbar * .language-badge,#wpadminbar .language-badge{position:relative;top:-1px;padding-top:3px;padding-bottom:3px;background-color:transparent;border:1px solid currentColor}#wpadminbar * .language-badge>span,#wpadminbar .language-badge>span{color:currentColor} \ No newline at end of file diff --git a/css/msls.less b/css/msls.less index 101b2fa4..de18eec2 100644 --- a/css/msls.less +++ b/css/msls.less @@ -1,15 +1,18 @@ @select-width: 226px; + div#msls.postbox { label { margin-right: 6px; } - select { + input.msls_title, select { width: 100%; } } + select.msls-translations { width: @select-width; } + #msls.postbox { .inside { li { @@ -18,7 +21,7 @@ select.msls-translations { label { display: flex; } - input.msls_title, select{ + input.msls_title, select { flex-grow: 1; } } @@ -26,9 +29,9 @@ select.msls-translations { } #msls-content-import { - .button-primary { - margin: 1em auto; - } + .button-primary { + margin: 1em auto; + } } .flag-icon {