diff options
author | Aleksander Machniak <alec@alec.pl> | 2016-08-15 19:24:09 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2016-08-15 19:24:09 +0300 |
commit | d7c4c3fb62282ecc781ec16e2033476c3462ae16 (patch) | |
tree | 3b64c3ea5a8db0bdfddd30c5dc061883c48d16f5 /skins | |
parent | 6ef3a08592e799ef130ff4bd0b0bf2a6dfed6ec3 (diff) |
Drop IE9 support
Diffstat (limited to 'skins')
-rw-r--r-- | skins/larry/includes/links.html | 1 | ||||
-rw-r--r-- | skins/larry/svggradient.php | 43 | ||||
-rw-r--r-- | skins/larry/svggradients.css | 185 |
3 files changed, 0 insertions, 229 deletions
diff --git a/skins/larry/includes/links.html b/skins/larry/includes/links.html index a49e58826..99bd03f71 100644 --- a/skins/larry/includes/links.html +++ b/skins/larry/includes/links.html @@ -4,5 +4,4 @@ <roundcube:if condition="in_array(env:task, array('mail','addressbook','settings'))" /> <link rel="stylesheet" type="text/css" href="/<roundcube:var name="env:task" />.css" /> <roundcube:endif /> -<!--[if IE 9]><link rel="stylesheet" type="text/css" href="/svggradients.css" /><![endif]--> <script type="text/javascript" src="/ui.js"></script>
\ No newline at end of file diff --git a/skins/larry/svggradient.php b/skins/larry/svggradient.php deleted file mode 100644 index 8db2c5f63..000000000 --- a/skins/larry/svggradient.php +++ /dev/null @@ -1,43 +0,0 @@ -<?php - -/** - * Render SVG gradients for IE 9 - * - * Copyright (c) 2012, The Roundcube Dev Team - * - * The contents are subject to the Creative Commons Attribution-ShareAlike - * License. It is allowed to copy, distribute, transmit and to adapt the work - * by keeping credits to the original autors in the README file. - * See http://creativecommons.org/licenses/by-sa/3.0/ for details. - */ - -ini_set('error_reporting', E_ALL &~ (E_NOTICE | E_STRICT)); - -header('Content-Type: image/svg+xml'); -header("Expires: ".gmdate("D, d M Y H:i:s", time()+864000)." GMT"); -header("Cache-Control: max-age=864000"); -header("Pragma: "); - -$svg_stops = ''; -$color_stops = explode(';', preg_replace('/[^a-f0-9,;%]/i', '', $_GET['c'])); -$gradient_coords = !empty($_GET['h']) ? 'x1="0%" y1="0%" x2="100%" y2="0%"' : 'x1="0%" y1="0%" x2="0%" y2="100%"'; -$last = count($color_stops) - 1; -foreach ($color_stops as $i => $stop) { - list($color, $offset) = explode(',', $stop); - if ($offset) - $offset = intval($offset); - else - $offset = $i == $last ? 100 : 0; - - $svg_stops .= '<stop offset="' . $offset . '%" stop-color="#' . $color . '" stop-opacity="1"/>'; -} - -?> -<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none" version="1.0" width="100%" height="100%"> -<defs> - <linearGradient id="LG1" <?php echo $gradient_coords; ?> spreadMethod="pad"> - <?php echo $svg_stops; ?> - </linearGradient> -</defs> -<rect width="100%" height="100%" style="fill:url(#LG1);"/> -</svg> diff --git a/skins/larry/svggradients.css b/skins/larry/svggradients.css deleted file mode 100644 index 2596f2bd2..000000000 --- a/skins/larry/svggradients.css +++ /dev/null @@ -1,185 +0,0 @@ -/** - * Roundcube webmail SVG-based gradients for IE 9 - * - * Copyright (c) 2012, The Roundcube Dev Team - * - * The contents are subject to the Creative Commons Attribution-ShareAlike - * License. It is allowed to copy, distribute, transmit and to adapt the work - * by keeping credits to the original autors in the README file. - * See http://creativecommons.org/licenses/by-sa/3.0/ for details. - */ - -input.button { - background-image: url(svggradient.php?c=f9f9f9;e6e6e6); -} - -.formbuttons input.button { - background-image: url(svggradient.php?c=7b7b7b;606060); -} - -.formbuttons input.button:active { - background-image: url(svggradient.php?c=5c5c5c;7b7b7b); -} - -input.button.mainaction { - background-image: url(svggradient.php?c=505050;2a2e31); -} - -input.button.mainaction:active { - background-image: url(svggradient.php?c=2a2e31;505050); -} - -a.button, -.buttongroup { - background-image: url(svggradient.php?c=f9f9f9;e6e6e6); -} - -a.button.pressed, -a.button:active, -input.button:active { - background-image: url(svggradient.php?c=e6e6e6;f9f9f9); -} - -.pagenav.dark a.button { - background-image: url(svggradient.php?c=d8d8d8;bababa); -} - -.pagenav.dark a.button.pressed { - background-image: url(svggradient.php?c=bababa;d8d8d8); -} - -.buttongroup a.button.selected { - background-image: url(svggradient.php?c=909090;858585); -} - -#message.statusbar { - background-image: url(svggradient.php?c=eaeaea;c8c8c8); -} - -#messagestack div { - background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzQwNDA0MCIgc3RvcC1vcGFjaXR5PSIwLjg4Ii8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzMDMwMzAiIHN0b3Atb3BhY2l0eT0iMC44OCIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); -} - -.ui-dialog.popupmessage .ui-dialog-titlebar { - background-image: url(svggradient.php?c=e3e3e3;cfcfcf); -} - -.ui-dialog.popupmessage .ui-widget-content { - background-image: url(svggradient.php?c=eeeeee;dcdcdc); -} - -#topnav { - background-image: url(svggradient.php?c=404040;060606); -} - -.records-table tr.selected td { - background-image: url(svggradient.php?c=019bc6;017cb4); -} - -.contentbox .boxtitle, -body.iframe .boxtitle { - background-image: url(svggradient.php?c=eeeeee;dfdfdf); -/* background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20preserveAspectRatio%3D%22none%22%20version%3D%221.0%22%20width%3D%22100%25%22%20height%3D%22100%25%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22mLG1%22%20x1%3D%220%25%22%20y1%3D%220%25%22%20x2%3D%220%25%22%20y2%3D%22100%25%22%20spreadMethod%3D%22pad%22%3E%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%23eeeeee%22%20stop-opacity%3D%221%22/%3E%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%23dfdfdf%22%20stop-opacity%3D%221%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20style%3D%22fill%3Aurl%28%23mLG1%29%3B%22/%3E%3C/svg%3E);*/ -} - -#login-form input.button { - background-image: url(svggradient.php?c=f9f9f9;e2e2e2); -} - -#login-form input.button:active { - background-image: url(svggradient.php?c=dcdcdc;f9f9f9); -} - -.toolbar a.button { - filter: none; -} - -a.menuselector { - background-image: url(svggradient.php?c=f8f8f8;dddddd); -} - -a.menuselector:active { - background-image: url(svggradient.php?c=dddddd;f8f8f8); -} - -.googie_list td.googie_list_onhover, -ul.toolbarmenu li a.active:hover, -#rcmKSearchpane ul li.selected { - background-image: url(svggradient.php?c=00aad6;008fc9); -} - -.tabsbar .tablink { - background-image: url(svggradient.php?c=f8f8f8;d3d3d3,50;f8f8f8); - outline: none; -} - -.tabsbar .tablink.selected a { - background-image: url(svggradient.php?c=ffffff;efefef); - outline: none; -} - - -/*** addressbook.css ***/ - -.contactfieldgroup { - background-image: url(svggradient.php?c=f7f7f7;eeeeee); -} - -.contactfieldgroup legend { - background-image: url(svggradient.php?c=f0f0f0;d6d6d6); -} - - -/*** mail.css ***/ - -#mailboxlist li.mailbox .unreadcount { - background-image: url(svggradient.php?c=82acb5;6a939f); -} - -#mailboxlist li.mailbox.selected .unreadcount { - background-image: url(svggradient.php?c=005d76;004558); -} - -#messageheader, #partheader, #composeheaders { - background-image: url(svggradient.php?c=ffffff;f0f0f0); -} - -.moreheaderstoggle { - background-image: url(svggradient.php?c=fbfbfb;e9e9e9&h=1); -} - -#messagelistfooter { - background-image: url(svggradient.php?c=ebebeb;c6c6c6); -} - -/*** jqueryui theme ***/ - -.ui-menu .ui-menu-item a.ui-state-hover, -.ui-menu .ui-menu-item a.ui-state-active { - background-image: url(svggradient.php?c=00aad6;008fc9) !important; -} - -.ui-button.ui-state-default { - background-image: url(svggradient.php?c=f9f9f9;e6e6e6) !important; -} - -.ui-button.ui-state-active { - background-image: url(svggradient.php?c=e6e6e6;f9f9f9) !important; -} - -.ui-tabs .ui-tabs-nav li { - background-image: url(svggradient.php?c=f8f8f8;d3d3d3,50;d3d3d3) !important; -} - -.ui-tabs .ui-tabs-nav li.ui-tabs-selected a { - background-image: url(svggradient.php?c=fafafa,40;e4e4e4) !important; -} - -.ui-datepicker td a.ui-state-default { - background-image: url(svggradient.php?c=e6e6e6;d6d6d6) !important; -} - -.ui-datepicker td a.ui-state-active { - background-image: url(svggradient.php?c=00acd4;008fc7) !important; -} - |