From 399281e45be74c117acf9f3e6f15b1c5c27b1102 Mon Sep 17 00:00:00 2001 From: Stefan Spieker Date: Wed, 10 Feb 2021 22:26:28 +0100 Subject: [PATCH 1/2] removed duplicate display definition for IE<11 --- war/src/main/less/base/layout-commons.less | 1 - war/src/main/less/modules/buttons.less | 1 - war/src/main/less/modules/page-header.less | 3 --- war/src/main/less/ui-refresh-overrides.less | 1 - 4 files changed, 6 deletions(-) diff --git a/war/src/main/less/base/layout-commons.less b/war/src/main/less/base/layout-commons.less index f7a76b72c240..8d4b55896244 100644 --- a/war/src/main/less/base/layout-commons.less +++ b/war/src/main/less/base/layout-commons.less @@ -25,7 +25,6 @@ body { #header .logo { margin-left: 16px; - display: inline-block; display: inline-flex; align-items: center; position: relative; diff --git a/war/src/main/less/modules/buttons.less b/war/src/main/less/modules/buttons.less index 46426df491d6..e9c701eeaba0 100644 --- a/war/src/main/less/modules/buttons.less +++ b/war/src/main/less/modules/buttons.less @@ -98,7 +98,6 @@ input[type="submit"], a.yui-button:link, a.yui-button:visited { box-sizing: border-box; - display: inline-block; // vertical padding: // 0.375rem == 6px == 32px (target height) - 4px (borders) - 16 (line) / 2 padding: 0.375rem 1rem; diff --git a/war/src/main/less/modules/page-header.less b/war/src/main/less/modules/page-header.less index c8249b83027c..4daaaeeff10e 100644 --- a/war/src/main/less/modules/page-header.less +++ b/war/src/main/less/modules/page-header.less @@ -51,7 +51,6 @@ a.page-header__brand-link { } .page-header__hyperlinks a { - display: inline-block; display: inline-flex; align-items: center; @@ -98,7 +97,6 @@ a.page-header__brand-link { #searchform { position: relative; font-family: var(--font-family-sans); - display: inline-block; display: inline-flex; height: 2.5rem; } @@ -129,7 +127,6 @@ a.page-header__brand-link { .main-search__icon-leading, .main-search__icon-trailing { position: absolute; - display: inline-block; display: inline-flex; height: 2.5rem; width: 2.5rem; diff --git a/war/src/main/less/ui-refresh-overrides.less b/war/src/main/less/ui-refresh-overrides.less index 31edd05cdfae..9000f256b46c 100644 --- a/war/src/main/less/ui-refresh-overrides.less +++ b/war/src/main/less/ui-refresh-overrides.less @@ -12,7 +12,6 @@ // Need to use the element selector to increase weight otherwise it will be overriden by the // a:visited selector if it is declared later a.page-header__brand-link { - display: inline-block; display: inline-flex; align-items: center; height: 100%; From 0f046d2feb436898f1c16c37d299d2fec4a094a5 Mon Sep 17 00:00:00 2001 From: Stefan Spieker Date: Wed, 10 Feb 2021 22:36:17 +0100 Subject: [PATCH 2/2] removed -ms- prefixed css properties which were just here to support IE < 11 --- war/src/main/less/pluginSetupWizard.less | 5 ----- 1 file changed, 5 deletions(-) diff --git a/war/src/main/less/pluginSetupWizard.less b/war/src/main/less/pluginSetupWizard.less index f15e7b0e6a55..16bfdfae0dc5 100644 --- a/war/src/main/less/pluginSetupWizard.less +++ b/war/src/main/less/pluginSetupWizard.less @@ -41,10 +41,6 @@ password { // get rid of the ms X (it doesn't fire a change event!), we provide -moz-animation-duration: @duration; -moz-animation-iteration-count: infinite; -moz-animation-timing-function: linear; - -ms-animation-name: spin; - -ms-animation-duration: @duration; - -ms-animation-iteration-count: infinite; - -ms-animation-timing-function: linear; animation-name: spin; animation-duration: @duration; animation-iteration-count: infinite; @@ -54,7 +50,6 @@ password { // get rid of the ms X (it doesn't fire a change event!), we provide .no-spin() { -webkit-animation-name: none; -moz-animation-name: none; - -ms-animation-name: none; animation-name: none; }