From 4c0447b2ae57f4e8c44bcb2f371d160cb8daa930 Mon Sep 17 00:00:00 2001 From: elky Date: Fri, 4 Sep 2015 01:02:44 +0500 Subject: [PATCH] Removed unused CSS in contrib.admin. The corresponding HTML was removed in 738d9af1e8e38b0289b7dfa7c8a5413f5d0e20d1. --- .../contrib/admin/static/admin/css/base.css | 16 -- .../admin/static/admin/css/widgets.css | 139 ------------------ 2 files changed, 155 deletions(-) diff --git a/django/contrib/admin/static/admin/css/base.css b/django/contrib/admin/static/admin/css/base.css index 1f1ef8bb19..ca2c892eea 100644 --- a/django/contrib/admin/static/admin/css/base.css +++ b/django/contrib/admin/static/admin/css/base.css @@ -414,22 +414,6 @@ table thead th.sorted .sortoptions a.descending:hover { background-position: 0 -70px; } -/* ORDERABLE TABLES */ - -table.orderable tbody tr td:hover { - cursor: move; -} - -table.orderable tbody tr td:first-child { - padding-left: 14px; - background-image: url(../img/nav-bg-grabber.gif); - background-repeat: repeat-y; -} - -table.orderable-initalized .order-cell, body>tr>td.order-cell { - display: none; -} - /* FORM DEFAULTS */ input, textarea, select, .form-row p, form .button { diff --git a/django/contrib/admin/static/admin/css/widgets.css b/django/contrib/admin/static/admin/css/widgets.css index e0665dcdad..600e7bfb76 100644 --- a/django/contrib/admin/static/admin/css/widgets.css +++ b/django/contrib/admin/static/admin/css/widgets.css @@ -517,71 +517,6 @@ ul.timelist, .timelist li { padding: 2px; } -/* INLINE ORDERER */ - -ul.orderer { - position: relative; - padding: 0 !important; - margin: 0 !important; - list-style-type: none; -} - -ul.orderer li { - list-style-type: none; - display: block; - padding: 0; - margin: 0; - border: 1px solid #bbb; - border-width: 0 1px 1px 0; - white-space: nowrap; - overflow: hidden; - background: #e2e2e2 url(../img/nav-bg-grabber.gif) repeat-y; -} - -ul.orderer li:hover { - cursor: move; - background-color: #ddd; -} - -ul.orderer li a.selector { - margin-left: 12px; - overflow: hidden; - width: 83%; - font-size: 10px !important; - padding: 0.6em 0; -} - -ul.orderer li a:link, ul.orderer li a:visited { - color: #333; -} - -ul.orderer li .inline-deletelink { - position: absolute; - right: 4px; - margin-top: 0.6em; -} - -ul.orderer li.selected { - background-color: #f8f8f8; - border-right-color: #f8f8f8; -} - -ul.orderer li.deleted { - background: #bbb url(../img/deleted-overlay.gif); -} - -ul.orderer li.deleted a:link, ul.orderer li.deleted a:visited { - color: #888; -} - -ul.orderer li.deleted .inline-deletelink { - background-image: url(../img/inline-restore.png); -} - -ul.orderer li.deleted:hover, ul.orderer li.deleted a.selector:hover { - cursor: default; -} - /* EDIT INLINE */ .inline-deletelink { @@ -598,80 +533,6 @@ ul.orderer li.deleted:hover, ul.orderer li.deleted a.selector:hover { cursor: pointer; } -.editinline button.addlink { - border: 0px none; - color: #5b80b2; - font-size: 100%; - cursor: pointer; -} - -.editinline button.addlink:hover { - color: #036; - cursor: pointer; -} - -.editinline table .help { - text-align: right; - float: right; - padding-left: 2em; -} - -.editinline tfoot .addlink { - white-space: nowrap; -} - -.editinline table thead th:last-child { - border-left: none; -} - -.editinline tr.deleted { - background: #ddd url(../img/deleted-overlay.gif); -} - -.editinline tr.deleted .inline-deletelink { - background-image: url(../img/inline-restore.png); -} - -.editinline tr.deleted td:hover { - cursor: default; -} - -.editinline tr.deleted td:first-child { - background-image: none !important; -} - -/* EDIT INLINE - STACKED */ - -.editinline-stacked { - min-width: 758px; -} - -.editinline-stacked .inline-object { - margin-left: 210px; - background: white; -} - -.editinline-stacked .inline-source { - float: left; - width: 200px; - background: #f8f8f8; -} - -.editinline-stacked .inline-splitter { - float: left; - width: 9px; - background: #f8f8f8 url(../img/inline-splitter-bg.gif) 50% 50% no-repeat; - border-right: 1px solid #ccc; -} - -.editinline-stacked .controls { - clear: both; - background: #e1e1e1 url(../img/nav-bg.gif) top left repeat-x; - padding: 3px 4px; - font-size: 11px; - border-top: 1px solid #ddd; -} - /* RELATED WIDGET WRAPPER */ .related-widget-wrapper { float: left; /* display properly in form rows with multiple fields */