diff --git a/core/themes/seven/reset.css b/core/themes/seven/reset.css index de53f28..0e3358d 100644 --- a/core/themes/seven/reset.css +++ b/core/themes/seven/reset.css @@ -6,125 +6,17 @@ * http://meyerweb.com/eric/tools/css/reset */ -html, body, -div, -span, -applet, -object, -iframe, -h1, -h2, -h3, -h4, -h5, -h6, -p, -blockquote, -pre, -a, -abbr, -acronym, -address, -big, -cite, -code, -del, -dfn, -em, -font, -img, -ins, -kbd, -q, -s, -samp, -small, -strike, -strong, -sub, -sup, -tt, -var, -b, -u, -i, -center, -dl, -dt, -dd, -ol, -ul, -li, -fieldset, -form, -input, -select, -textarea, -label, -legend, -table, -caption, -tbody, -tfoot, -thead, -tr, -th, -td, -/* Drupal: system-menus.css */ -td.menu-disabled, -ul.links, -ul.links.inline, -ul.links li, -.block ul, -/* Drupal: admin.css */ -div.admin, -/* Drupal: system.css */ -tr.even, -tr.odd, -tr.drag, -tbody, -tbody th, -thead th, .breadcrumb, -.item-list .icon, -.item-list .title, -.item-list ul, .item-list ul li, -ol.task-list li.active, .form-item, -tr.odd .form-item, -tr.even .form-item, -.form-item .description, -.form-item label, -.form-item label.option, -.form-checkboxes, -.form-radios, -.form-checkboxes .form-item, -.form-radios .form-item, -.marker, -.form-required, -.more-link, -.more-help-link, -.item-list .pager, -.item-list .pager li, -.pager-current, -.tips, -ul.primary, -ul.primary li, -ul.primary li a, -ul.primary li.active a, -ul.primary li a:hover, -ul.secondary, -ul.secondary li, -ul.secondary a, -ul.secondary a.active, -.resizable-textarea { +.form-actions { margin: 0; padding: 0; border: 0; vertical-align: baseline; } + /* Drupal: system-menus.css */ ul.links, ul.links.inline, @@ -135,25 +27,7 @@ ul, .item-list ul, .item-list ul li { list-style: none; -} -blockquote, -q { - quotes: none; -} -blockquote:before, -blockquote:after, -q:before, -q:after { - content: ''; - content: none; -} - -/* Remember to highlight inserts somehow! */ -ins { - text-decoration: none; -} -del { - text-decoration: line-through; + padding: 0; } /* Tables still need 'cellspacing="0"' in the markup. */ @@ -177,26 +51,3 @@ textarea { font-size: 1em; line-height: 1.538em; } -/** - * Markup free clearing. - * - * Consider adding your own selectors to this instead of finding ways - * to sneak the clearfix class into Drupal's markup. - * From http://perishablepress.com/press/2009/12/06/new-clearfix-hack - */ -ul.links:after, -div.admin-panel .body:after, -.clearfix:after { - content: "."; - display: block; - height: 0; - clear: both; - visibility: hidden; -} - -/* Exclude inline links from clearfix behavior */ -ul.inline:after { - content: ""; - display: none; - clear: none; -} diff --git a/core/themes/seven/style.css b/core/themes/seven/style.css index 301659c..091c7ca 100644 --- a/core/themes/seven/style.css +++ b/core/themes/seven/style.css @@ -23,6 +23,7 @@ hr { } legend { font-weight: bold; + padding: 0; } h1, h2, @@ -285,6 +286,7 @@ ul.primary li.active a { border-color: #a6a7a2; -moz-border-radius: 8px 8px 0 0; border-radius: 8px 8px 0 0; + margin: 0; } ul.primary li.active a, ul.primary li.active a.active, @@ -309,9 +311,12 @@ ul.secondary { line-height: 1.385em; overflow: hidden; background-color: #fff; + border: 0; } ul.secondary li { margin: 0 5px; + border: 0; + padding: 0 10px 0 0; /* LTR */ float: none; /* LTR */ } ul.secondary li a { @@ -323,6 +328,7 @@ ul.secondary li a, ul.secondary li a:hover, ul.secondary li.active a, ul.secondary li.active a.active { + border: 0; padding: 2px 10px; -moz-border-radius: 7px; border-radius: 7px;