This is an automated email from the ASF dual-hosted git repository. kentontaylor pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/allura.git
commit 77f760409023bdaa1b417c509cd8d448e689b1fa Author: Dave Brondsema <[email protected]> AuthorDate: Fri Sep 17 10:38:24 2021 -0400 Remove ancient IE css & html conditionals --- Allura/allura/nf/allura/css/site_style.css | 8 -------- Allura/allura/templates/jinja_master/master.html | 8 +------- Allura/allura/templates/login_fragment.html | 7 +------ Allura/allura/templates/phone_verification_fragment.html | 7 +------ 4 files changed, 3 insertions(+), 27 deletions(-) diff --git a/Allura/allura/nf/allura/css/site_style.css b/Allura/allura/nf/allura/css/site_style.css index c4755e2..087d7b1 100644 --- a/Allura/allura/nf/allura/css/site_style.css +++ b/Allura/allura/nf/allura/css/site_style.css @@ -212,10 +212,6 @@ input[type="checkbox"] { *vertical-align: baseline; } -.ie6 input { - vertical-align: text-bottom; -} - input[type=button], input[type=submit], button, .link { cursor: pointer; } @@ -761,10 +757,6 @@ input.validate_input:invalid[type='text'] { display: none; } -.ie7 .modal, .ie8 .modal { - border: 1px solid black; -} - .modal.markdown_help .codehilitetable { width: inherit; } diff --git a/Allura/allura/templates/jinja_master/master.html b/Allura/allura/templates/jinja_master/master.html index 58ce10b..9b6042e 100644 --- a/Allura/allura/templates/jinja_master/master.html +++ b/Allura/allura/templates/jinja_master/master.html @@ -43,13 +43,7 @@ {% do g.register_forge_js('js/memorable.js') %} {% do g.resource_manager.register_widgets(c) %} -{# paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ #} -<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]--> -<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]--> -<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]--> -<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]--> -<!--[if (gt IE 9)|!(IE)]>--> -<html lang="en" class="no-js"> <!--<![endif]--> +<html lang="en" class="no-js"> <head> <meta content="text/html; charset=UTF-8" http-equiv="content-type"/> <title>{% block title %}Your title goes here{% endblock %}</title> diff --git a/Allura/allura/templates/login_fragment.html b/Allura/allura/templates/login_fragment.html index 335019e..527f1dd 100644 --- a/Allura/allura/templates/login_fragment.html +++ b/Allura/allura/templates/login_fragment.html @@ -26,12 +26,7 @@ {% do g.register_forge_js('js/allura-base.js') %} {% do g.theme.require() %} {% do g.resource_manager.register_widgets(c) %} -{# paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ #} -<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]--> -<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]--> -<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]--> -<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]--> -<!--[if (gt IE 9)|!(IE)]>--> <html lang="en" class="no-js"> <!--<![endif]--> +<html lang="en" class="no-js"> <head> {{theme_macros.extra_header(g.theme_href(''))}} {% for blob in g.resource_manager.emit('head_css') %} diff --git a/Allura/allura/templates/phone_verification_fragment.html b/Allura/allura/templates/phone_verification_fragment.html index 9c508ed..28bf789 100644 --- a/Allura/allura/templates/phone_verification_fragment.html +++ b/Allura/allura/templates/phone_verification_fragment.html @@ -27,12 +27,7 @@ {% do g.register_forge_js('js/phone-verification.js', location='body_js_tail') %} {% do g.theme.require() %} {% do g.resource_manager.register_widgets(c) %} -{# paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ #} -<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]--> -<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]--> -<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]--> -<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]--> -<!--[if (gt IE 9)|!(IE)]>--> <html lang="en" class="no-js"> <!--<![endif]--> +<html lang="en" class="no-js"> <head> {{theme_macros.extra_header(g.theme_href(''))}} {% for blob in g.resource_manager.emit('head_css') %}
