From fadf5dad8b0828273ee0c12a344d553e450d0aec Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 25 Sep 2010 02:28:14 +0000 Subject: [PATCH] - Patch #921386 by Jacine, mverbaar: remove stale CSS from System module. --- modules/system/system.admin-rtl.css | 21 +++---------------- modules/system/system.admin.css | 31 ---------------------------- modules/system/system.base-rtl.css | 2 +- modules/system/system.base.css | 32 ++++++++++++++--------------- modules/system/system.menus-rtl.css | 4 ++-- modules/system/system.menus.css | 28 ++++++++++++------------- modules/system/system.theme-rtl.css | 11 +++------- modules/system/system.theme.css | 23 ++++++++------------- 8 files changed, 48 insertions(+), 104 deletions(-) diff --git a/modules/system/system.admin-rtl.css b/modules/system/system.admin-rtl.css index c19adcd6559..8d198cf9561 100644 --- a/modules/system/system.admin-rtl.css +++ b/modules/system/system.admin-rtl.css @@ -22,11 +22,11 @@ div.admin .right { margin-right: 0; } div.admin .expert-link { - text-align: left; margin-right: 0; margin-left: 1em; padding-right: 0; padding-left: 4px; + text-align: left; } /** @@ -56,33 +56,18 @@ table.screenshot { padding: 20px 0 20px 20px; } .theme-selector .operations li { - float: right; border-right: none; border-left: 1px solid #cdcdcd; + float: right; } .theme-selector .operations li.last { - padding: 0 0.7em 0 0; border-left: none; + padding: 0 0.7em 0 0; } .theme-selector .operations li.first { padding: 0 0 0 0.7em; } -/** - * Date and time settings page. - */ -.date-container { - clear: right; -} -.date-container .select-container, -.date-container .custom-container { - float: right; -} -.date-container .custom-container { - margin-left: 0; - margin-right: 15px; -} - /** * Exposed filters. */ diff --git a/modules/system/system.admin.css b/modules/system/system.admin.css index 2014b4a6489..7ee73910183 100644 --- a/modules/system/system.admin.css +++ b/modules/system/system.admin.css @@ -51,15 +51,6 @@ div.admin .expert-link { #system-modules div.incompatible { font-weight: bold; } -table.package { - width: 100%; -} -table.package .description { - width: 100%; -} -table.package .version { - direction: ltr; -} div.admin-requirements, div.admin-required { font-size: 0.9em; @@ -239,28 +230,6 @@ table.screenshot { clear: left; } -/** - * Date and time settings page. - */ -.date-container { - overflow: auto; - clear: left; /* LTR */ -} -.date-container .form-item { - margin-top: 0; -} -.date-container .select-container, -.date-container .custom-container { - float: left; /* LTR */ -} -.date-container .custom-container { - margin-left: 15px; /* LTR */ - width: 50%; -} -html.js .custom-container label { - visibility: hidden; -} - /** * Exposed filters. */ diff --git a/modules/system/system.base-rtl.css b/modules/system/system.base-rtl.css index ac5f49b7e06..5beac6d7445 100644 --- a/modules/system/system.base-rtl.css +++ b/modules/system/system.base-rtl.css @@ -41,9 +41,9 @@ html.js input.throbbing { padding: 0.42em 0.5em 0.42em 1.5em; } div.indentation { + float: right; margin: -0.4em -0.4em -0.4em 0.2em; padding: 0.42em 0.6em 0.42em 0; - float: right; } div.tree-child, div.tree-child-last { diff --git a/modules/system/system.base.css b/modules/system/system.base.css index a6daadd2ca6..29063cae185 100644 --- a/modules/system/system.base.css +++ b/modules/system/system.base.css @@ -12,28 +12,28 @@ */ /* Suggestion list */ #autocomplete { - position: absolute; border: 1px solid; overflow: hidden; + position: absolute; z-index: 100; } #autocomplete ul { - margin: 0; - padding: 0; list-style: none; list-style-image: none; + margin: 0; + padding: 0; } #autocomplete li { background: #fff; color: #000; - white-space: pre; cursor: default; + white-space: pre; } /* Animated throbber */ html.js input.form-autocomplete { background-image: url(../../misc/throbber.gif); - background-repeat: no-repeat; background-position: 100% 2px; /* LTR */ + background-repeat: no-repeat; } html.js input.throbbing { background-position: 100% -18px; /* LTR */ @@ -66,20 +66,20 @@ fieldset.collapsible .fieldset-legend { * @see textarea.js */ .form-textarea-wrapper textarea { + display: block; margin: 0; width: 100%; - display: block; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .resizable-textarea .grippie { - height: 9px; - overflow: hidden; background: #eee url(../../misc/grippie.png) no-repeat center 2px; border: 1px solid #ddd; border-top-width: 0; cursor: s-resize; + height: 9px; + overflow: hidden; } /** @@ -102,20 +102,20 @@ a.tabledrag-handle:hover { text-decoration: none; } a.tabledrag-handle .handle { - margin-top: 4px; - height: 13px; - width: 13px; background: url(../../misc/draggable.png) no-repeat 0 0; + height: 13px; + margin-top: 4px; + width: 13px; } a.tabledrag-handle-hover .handle { background-position: 0 -20px; } div.indentation { - width: 20px; + float: left; /* LTR */ height: 1.7em; margin: -0.4em 0.2em -0.4em -0.4em; /* LTR */ padding: 0.42em 0 0.42em 0.6em; /* LTR */ - float: left; /* LTR */ + width: 20px; } div.tree-child { background: url(../../misc/tree.png) no-repeat 11px center; /* LTR */ @@ -166,11 +166,11 @@ table.sticky-header { float: left; /* LTR */ } .ajax-progress .throbber { - width: 15px; - height: 15px; - margin: 2px; background: transparent url(../../misc/throbber.gif) no-repeat 0px -18px; float: left; /* LTR */ + height: 15px; + margin: 2px; + width: 15px; } tr .ajax-progress .throbber { margin: 0 2px; diff --git a/modules/system/system.menus-rtl.css b/modules/system/system.menus-rtl.css index 9241db7cd04..8c27ccb483c 100644 --- a/modules/system/system.menus-rtl.css +++ b/modules/system/system.menus-rtl.css @@ -31,8 +31,8 @@ ul.primary li a { margin-left: 0.5em; } ul.secondary li { + border-left: 1px solid #ccc; + border-right: none; display: inline; padding: 0 1em; - border-right: none; - border-left: 1px solid #ccc; } diff --git a/modules/system/system.menus.css b/modules/system/system.menus.css index 52e9dd35e9f..e5030befee9 100644 --- a/modules/system/system.menus.css +++ b/modules/system/system.menus.css @@ -9,24 +9,24 @@ * Markup generated by theme_menu_tree(). */ ul.menu { - list-style: none; border: none; - text-align:left; /* LTR */ + list-style: none; + text-align: left; /* LTR */ } ul.menu li { margin: 0 0 0 0.5em; /* LTR */ } ul li.expanded { - list-style-type: circle; list-style-image: url(../../misc/menu-expanded.png); + list-style-type: circle; } ul li.collapsed { - list-style-type: disc; list-style-image: url(../../misc/menu-collapsed.png); /* LTR */ + list-style-type: disc; } ul li.leaf { - list-style-type: square; list-style-image: url(../../misc/menu-leaf.png); + list-style-type: square; } li.expanded, li.collapsed, @@ -61,21 +61,21 @@ ul.links li { * Markup generated by theme_breadcrumb(). */ .breadcrumb { - padding-bottom: .5em; + padding-bottom: 0.5em; } /** * Markup generated by theme_menu_local_tasks(). */ ul.primary { + border-bottom: 1px solid #bbb; border-collapse: collapse; - padding: 0 0 0 1em; /* LTR */ - white-space: nowrap; - list-style: none; - margin: 5px; height: auto; line-height: normal; - border-bottom: 1px solid #bbb; + list-style: none; + margin: 5px; + padding: 0 0 0 1em; /* LTR */ + white-space: nowrap; } ul.primary li { display: inline; @@ -83,8 +83,8 @@ ul.primary li { ul.primary li a { background-color: #ddd; border-color: #bbb; - border-width: 1px; border-style: solid solid none solid; + border-width: 1px; height: auto; margin-right: 0.5em; /* LTR */ padding: 0 1em; @@ -93,7 +93,7 @@ ul.primary li a { ul.primary li.active a { background-color: #fff; border: 1px solid #bbb; - border-bottom: #fff 1px solid; + border-bottom: 1px solid #fff; } ul.primary li a:hover { background-color: #eee; @@ -106,9 +106,9 @@ ul.secondary { margin: 5px; } ul.secondary li { + border-right: 1px solid #ccc; /* LTR */ display: inline; padding: 0 1em; - border-right: 1px solid #ccc; /* LTR */ } ul.secondary a { padding: 0; diff --git a/modules/system/system.theme-rtl.css b/modules/system/system.theme-rtl.css index a4b7759282e..1dd7e6dd56c 100644 --- a/modules/system/system.theme-rtl.css +++ b/modules/system/system.theme-rtl.css @@ -10,13 +10,8 @@ */ th { text-align: right; + padding-left: 1em; padding-right: 0; - padding-left: 1em; -} -thead th { - text-align: right; - padding-left: 1em; - padding-right: 0.5em; } /** @@ -40,17 +35,17 @@ thead th { text-align: left; } .more-help-link a { - padding: 1px 20px 1px 0; background-position: 100% 50%; + padding: 1px 20px 1px 0; } /** * Collapsible fieldsets. */ html.js fieldset.collapsible .fieldset-legend { + background-position: 98% 75%; padding-left: 0; padding-right: 15px; - background-position: 98% 75%; } html.js fieldset.collapsed .fieldset-legend { background-image: url(../../misc/menu-collapsed-rtl.png); diff --git a/modules/system/system.theme.css b/modules/system/system.theme.css index 35609e48b3f..27be0528bfa 100644 --- a/modules/system/system.theme.css +++ b/modules/system/system.theme.css @@ -10,15 +10,15 @@ */ fieldset { margin-bottom: 1em; - padding: .5em; + padding: 0.5em; } form { margin: 0; padding: 0; } hr { - height: 1px; border: 1px solid gray; + height: 1px; } img { border: 0; @@ -27,14 +27,9 @@ table { border-collapse: collapse; } th { - text-align: left; /* LTR */ - padding-right: 1em; /* LTR */ border-bottom: 3px solid #ccc; -} -thead th { - text-align: left; /* LTR */ padding-right: 1em; /* LTR */ - border-bottom: 3px solid #ccc; + text-align: left; /* LTR */ } tbody { border-top: 1px solid #ccc; @@ -148,13 +143,13 @@ input.form-radio { text-align: center; } .item-list .pager li { - background-image:none; - display:inline; - list-style-type:none; + background-image: none; + display: inline; + list-style-type: none; padding: 0.5em; } .pager-current { - font-weight:bold; + font-weight: bold; } /** @@ -174,16 +169,16 @@ input.form-radio { * @see collapse.js */ html.js fieldset.collapsible .fieldset-legend { - padding-left: 15px; /* LTR */ background: url(../../misc/menu-expanded.png) 5px 65% no-repeat; /* LTR */ + padding-left: 15px; /* LTR */ } html.js fieldset.collapsed .fieldset-legend { background-image: url(../../misc/menu-collapsed.png); /* LTR */ background-position: 5px 50%; /* LTR */ } .fieldset-legend span.summary { - font-size: 0.9em; color: #999; + font-size: 0.9em; margin-left: 0.5em; }