]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - html/html/themes/ipfire/include/css/style.css
theme: Move table styles to bottom of the CSS file.
[people/teissler/ipfire-2.x.git] / html / html / themes / ipfire / include / css / style.css
index 93832e83decb5184331ab1889088684535b76a3f..e33c6e15c4760c194f57cb3b246eefe6f4271ace 100644 (file)
@@ -16,64 +16,6 @@ html {
        height: 100%;
 }
 
-/* This decorates all tables with class="tbl" */
-
-table {
-       *border-collapse: collapse; /* IE7 and lower */
-       border-spacing: 0;
-}
-
-.tbl th {
-       color: #000000;
-       border-top: 1px solid lightgrey;
-       border-bottom: 1px solid lightgrey;
-       background: #cccccc;
-}
-
-.tbl th:first-child {
-       border-left: 1px solid lightgrey;
-       border-top: 1px solid lightgrey;
-       border-bottom: 1px solid lightgrey;
-}
-
-.tbl th:last-child {
-       border-right: 1px solid lightgrey;
-       border-top: 1px solid lightgrey;
-       border-bottom: 1px solid lightgrey;
-}
-
-.tbl th:only-child {
-       border: 1px solid lightgrey;
-}
-
-.tbl tr td:first-child {
-       border-left: 1px solid lightgrey;
-}
-
-.tbl tr td:last-child {
-       border-right: 1px solid lightgrey;
-}
-
-.tbl tr:first-child td:only-child {
-       border-top: 1px solid lightgrey;
-}
-
-.tbl tr:last-child td:only-child {
-       border-bottom: 1px solid lightgrey;
-}
-
-.tbl tr:last-child td:first-child {
-       border-bottom: 1px solid lightgrey;
-}
-
-.tbl tr:last-child td:last-child {
-       border-bottom: 1px solid lightgrey;
-}
-
-.tbl tr:last-child td {
-       border-bottom: 1px solid lightgrey;
-}
-
 body {
        /* SVG as background image (IE9/Chrome/Safari/Opera) */
        background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPgo8bGluZWFyR3JhZGllbnQgaWQ9Imc2ODQiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iMTAwJSIgeTE9IjEwMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgo8c3RvcCBzdG9wLWNvbG9yPSIjMDAwMDAwIiBvZmZzZXQ9IjAiLz48c3RvcCBzdG9wLWNvbG9yPSIjODgwNDAwIiBvZmZzZXQ9IjU3JSIvPgo8L2xpbmVhckdyYWRpZW50Pgo8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2c2ODQpIiAvPgo8L3N2Zz4=);
@@ -319,3 +261,61 @@ input.text {
 #cssmenu .has-sub ul li:hover a {
        background: #dddddd;
 }
+
+/* This decorates all tables with class="tbl" */
+
+table {
+       *border-collapse: collapse; /* IE7 and lower */
+       border-spacing: 0;
+}
+
+.tbl th {
+       color: #000000;
+       border-top: 1px solid lightgrey;
+       border-bottom: 1px solid lightgrey;
+       background: #cccccc;
+}
+
+.tbl th:first-child {
+       border-left: 1px solid lightgrey;
+       border-top: 1px solid lightgrey;
+       border-bottom: 1px solid lightgrey;
+}
+
+.tbl th:last-child {
+       border-right: 1px solid lightgrey;
+       border-top: 1px solid lightgrey;
+       border-bottom: 1px solid lightgrey;
+}
+
+.tbl th:only-child {
+       border: 1px solid lightgrey;
+}
+
+.tbl tr td:first-child {
+       border-left: 1px solid lightgrey;
+}
+
+.tbl tr td:last-child {
+       border-right: 1px solid lightgrey;
+}
+
+.tbl tr:first-child td:only-child {
+       border-top: 1px solid lightgrey;
+}
+
+.tbl tr:last-child td:only-child {
+       border-bottom: 1px solid lightgrey;
+}
+
+.tbl tr:last-child td:first-child {
+       border-bottom: 1px solid lightgrey;
+}
+
+.tbl tr:last-child td:last-child {
+       border-bottom: 1px solid lightgrey;
+}
+
+.tbl tr:last-child td {
+       border-bottom: 1px solid lightgrey;
+}