]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Some cleanup for admin css. Removing outlines is bad for accessibility.
authorEvan Winslow <evan@elgg.org>
Fri, 6 Jul 2012 20:33:13 +0000 (13:33 -0700)
committerEvan Winslow <evan@elgg.org>
Fri, 6 Jul 2012 20:37:11 +0000 (13:37 -0700)
views/default/css/admin.php

index 0f5c1f677e78132120fc7109872f1cf9a925437d..78ec95c267474c2c8e3406c97e1f9fcb1fef0ee0 100644 (file)
@@ -25,7 +25,6 @@ table, caption, tbody, tfoot, thead, tr, th, td {
        margin: 0;
        padding: 0;
        border: 0;
-       outline: 0;
        font-weight: inherit;
        font-style: inherit;
        font-size: 100%;
@@ -41,9 +40,6 @@ img {
        border-width: 0;
        border-color: transparent;
 }
-:focus {
-       outline: 0 none;
-}
 ol, ul {
        list-style: none;
 }
@@ -359,6 +355,8 @@ p {
 .elgg-table td, .elgg-table th {
        background: white;
        border: 1px solid #ccc;
+       padding: 4px 8px;
+       vertical-align: middle;
 }
 .elgg-table th {
        background-color: #ddd;
@@ -366,10 +364,10 @@ p {
 .elgg-table .alt td {
        background: #eee;
 }
-.elgg-table td {
-       padding: 4px 8px;
-       border-bottom: 1px solid #ccc;
+.elgg-table input[type=checkbox] {
+       margin-top: 3px;
 }
+
 .elgg-table-alt {
        width: 100%;
        border-top: 1px solid #ccc;
@@ -441,7 +439,9 @@ input {
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
+       margin: 0;
 }
+
 /* default elgg core input field classes */
 .elgg-input-text,
 .elgg-input-tags,
@@ -471,7 +471,6 @@ textarea {
        width: auto;
        padding: 2px 4px;
        cursor: pointer;
-       outline: none;
 }
 a.elgg-button {
        padding: 3px 6px;