From a43c68b48f4828b8dcc3d2a4ce5a63c3706d027c Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 3 Oct 2024 22:49:18 +0000 Subject: [PATCH] Remove Internet Explorer-specific CSS rules and vendor prefixes (#41402). git-svn-id: https://svn.redmine.org/redmine/trunk@23103 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/assets/stylesheets/application.css | 11 ----------- app/assets/stylesheets/responsive.css | 10 ---------- 2 files changed, 21 deletions(-) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 297820de9..9b2cbb9d5 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -140,7 +140,6 @@ pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;} @media screen and (min-width: 2560px) {#sidebar{width: 380px;}} #sidebar h3{ font-size: 0.875rem; margin-top:14px; color: #666; } #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; } -* html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; } #sidebar .contextual { margin-right: 1em; } #sidebar ul, ul.flat {margin: 0; padding: 0;} #sidebar ul li, ul.flat li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;} @@ -551,7 +550,6 @@ input, select, textarea, button { color: #333; background-color: #fff; border:1p select { -webkit-appearance: none; -moz-appearance: none; - -ms-appearance: none; -o-appearance: none; appearance: none; background-color: #fff; @@ -2069,14 +2067,6 @@ img { box-shadow: 0 1px 2px rgba(0,0,0,0.05); } -/* Fixes for IE 11 */ -@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { - select::-ms-expand { - display: none; - } - select[multiple=multiple] {padding-right: 0;} -} - /* tablesort */ th[role=columnheader]:not(.no-sort) { cursor: pointer; @@ -2091,7 +2081,6 @@ th[role=columnheader]:not(.no-sort):after { border-color: #404040 transparent; display: none; opacity: 0; - -ms-user-select: none; -webkit-user-select: none; -moz-user-select: none; user-select: none; diff --git a/app/assets/stylesheets/responsive.css b/app/assets/stylesheets/responsive.css index 52107b709..b4ec6e607 100644 --- a/app/assets/stylesheets/responsive.css +++ b/app/assets/stylesheets/responsive.css @@ -164,7 +164,6 @@ /* achieve dropdwon arrow by scaling a caret character */ content: '^'; -webkit-transform: scale(1,-.8); - -ms-transform: scale(1,-.8); transform: scale(1,-.8); text-align: right; pointer-events: none; @@ -173,7 +172,6 @@ } #project-jump.expanded .drdn-trigger:before { -webkit-transform: scale(1,.8); - -ms-transform: scale(1,.8); transform: scale(1,.8); padding-top:8px; } @@ -398,13 +396,11 @@ .flyout-menu #watchers { display: -webkit-flex; - display: -ms-flexbox; display: -webkit-box; display: flex; flex-direction: column; -webkit-flex-direction: column; - -ms-flex-direction: column; -webkit-box-orient: vertical; -webkit-box-direction: normal; } @@ -412,7 +408,6 @@ .flyout-menu #watchers .contextual { -webkit-box-ordinal-group: 4; -webkit-order: 3; - -ms-flex-order: 3; order: 3; } @@ -422,17 +417,14 @@ .flyout-menu #watchers ul li { display: -webkit-flex; - display: -ms-flexbox; display: -webkit-box; display: flex; flex-direction: row; -webkit-flex-direction: row; - -ms-flex-direction: row; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-align-items: center; - -ms-flex-align: center; -webkit-box-align: center; align-items: center; } @@ -492,7 +484,6 @@ .flyout-menu__avatar { display: -webkit-box; display: -webkit-flex; - display: -ms-flexbox; display: flex; width: 100%; border-top: 1px solid rgba(255,255,255,.1); @@ -528,7 +519,6 @@ overflow: hidden; white-space: nowrap; -webkit-flex-grow: 1; - -ms-flex-grow: 1; flex-grow: 1; } -- 2.39.5