From 622d5b264327f10c77e13576de83acd18392ea44 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sat, 23 May 2015 10:51:04 +0200 Subject: [PATCH] [ticket/12542] Do not use browser specific css for outline Also, the CSS selector for the drag'n'drop was simplified to only use the class. PHPBB3-12542 --- phpBB/styles/prosilver/theme/colours.css | 12 ++---------- phpBB/styles/prosilver/theme/forms.css | 8 -------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/phpBB/styles/prosilver/theme/colours.css b/phpBB/styles/prosilver/theme/colours.css index 8ea41ef95f..a5a52fbe97 100644 --- a/phpBB/styles/prosilver/theme/colours.css +++ b/phpBB/styles/prosilver/theme/colours.css @@ -977,19 +977,11 @@ fieldset.quick-login input.inputbox { color: #333333; } -#message-box textarea.drag-n-drop { - -webkit-outline-color: rgba(102, 102, 102, 0.5); - -moz-outline-color: rgba(102, 102, 102, 0.5); - -ms-outline-color: rgba(102, 102, 102, 0.5); - -o-outline-color: rgba(102, 102, 102, 0.5); +.drag-n-drop { outline-color: rgba(102, 102, 102, 0.5); } -#message-box textarea.drag-n-drop-highlight { - -webkit-outline-color: rgba(17, 163, 234, 0.5); - -moz-outline-color: rgba(17, 163, 234, 0.5); - -ms-outline-color: rgba(17, 163, 234, 0.5); - -o-outline-color: rgba(17, 163, 234, 0.5); +.drag-n-drop-highlight { outline-color: rgba(17, 163, 234, 0.5); } diff --git a/phpBB/styles/prosilver/theme/forms.css b/phpBB/styles/prosilver/theme/forms.css index ed2c253cf1..777f011c35 100644 --- a/phpBB/styles/prosilver/theme/forms.css +++ b/phpBB/styles/prosilver/theme/forms.css @@ -243,15 +243,7 @@ fieldset.submit-buttons input { max-width: 100%; font-size: 1.2em; resize: vertical; - -webkit-outline: 3px dashed transparent; - -moz-outline: 3px dashed transparent; - -ms-outline: 3px dashed transparent; - -o-outline: 3px dashed transparent; outline: 3px dashed transparent; - -webkit-outline-offset: -4px; - -moz-outline-offset: -4px; - -ms-outline-offset: -4px; - -o-outline-offset: -4px; outline-offset: -4px; -webkit-transition: all .5s ease; -moz-transition: all .5s ease;