Permalink
Browse files

CSS Codestyle.

  • Loading branch information...
1 parent 64be81a commit fa57e588731b14f3eb38172b106fec4371d8c6ea @realityking realityking committed Aug 29, 2011
Showing with 87 additions and 77 deletions.
  1. +57 −70 media/system/css/adminlist.css
  2. +30 −7 media/system/css/system.css
@@ -5,29 +5,26 @@
/* Common CSS for adminlist grids */
-
html, body {
background-color: #F0F0F0;
color: ButtonText;
- font-family: Tahoma, Verdana, sans-serif !important;
- margin: 0px !important; padding: 0px !important;
-
-
+ font-family: Tahoma, Verdana, sans-serif !important;
+ margin: 0 !important;
+ padding: 0 !important;
}
-
table.adminlist {
width: 99%;
border-spacing: 1px;
background-color: #f3f3f3;
color: #666;
- font-size:11px
+ font-size: 11px
}
table.adminlist td,
table.adminlist th {
padding: 4px !important;
- font-size:11px
+ font-size: 11px
}
table.adminlist thead th {
@@ -56,7 +53,7 @@ table.adminlist tbody th {
}
table.adminlist th a img {
- border:0
+ border: 0;
}
table.adminlist tbody tr {
@@ -111,29 +108,28 @@ table.adminlist .pagination {
}
/* Tree indentation & nesting - Up to 10 levels deep so don't go crazy :) */
-table.adminlist td.indent-4 { padding-left: 4px; }
-table.adminlist td.indent-19 { padding-left: 19px; }
-table.adminlist td.indent-34 { padding-left: 34px; }
-table.adminlist td.indent-49 { padding-left: 49px; }
-table.adminlist td.indent-64 { padding-left: 64px; }
-table.adminlist td.indent-79 { padding-left: 79px; }
-table.adminlist td.indent-94 { padding-left: 94px; }
-table.adminlist td.indent-109 { padding-left: 109px; }
-table.adminlist td.indent-124 { padding-left: 124px; }
-table.adminlist td.indent-139 { padding-left: 139px; }
+table.adminlist td.indent-4 { padding-left: 4px; }
+table.adminlist td.indent-19 { padding-left: 19px; }
+table.adminlist td.indent-34 { padding-left: 34px; }
+table.adminlist td.indent-49 { padding-left: 49px; }
+table.adminlist td.indent-64 { padding-left: 64px; }
+table.adminlist td.indent-79 { padding-left: 79px; }
+table.adminlist td.indent-94 { padding-left: 94px; }
+table.adminlist td.indent-109 { padding-left: 109px; }
+table.adminlist td.indent-124 { padding-left: 124px; }
+table.adminlist td.indent-139 { padding-left: 139px; }
table.adminlist tr td.btns a {
text-decoration: underline;
}
-
/* added Angie */
/* Filter Form */
fieldset ol,
ol#property-values {
margin: 0;
- padding: 0
+ padding: 0;
}
fieldset li,
@@ -146,7 +142,7 @@ ol#property-values li {
fieldset.filter {
border: 0;
margin: 0;
- padding: 0 0 5px
+ padding: 0 0 5px;
}
fieldset.filter ol {
@@ -158,66 +154,63 @@ fieldset.filter ol {
fieldset.filter ol li {
float: left;
- padding: 0 5px 0 0
+ padding: 0 5px 0 0;
}
fieldset.filter ol li fieldset {
border: 0;
margin: 0;
- padding: 0
+ padding: 0;
}
fieldset.filter .left {
float: left;
+ width: auto;
+ margin: 0;
+ text-align: left
+}
- width:auto;
- margin:0;
- text-align:left
+fieldset.filter .left label {
+ float: left;
+ padding: 2px;
}
-fieldset.filter .left label
-{ float:left; padding:2px}
fieldset.filter .right {
float: right;
-
-
}
fieldset#buttonbar {
border: 0;
- text-align: right
+ text-align: right;
}
fieldset#buttonbar ul {
list-style: none;
margin: 0;
- padding: 0
+ padding: 0;
}
fieldset#buttonbar li {
margin: 0;
- padding: 5px
+ padding: 5px;
}
-
button {
margin-top: 4px;
background: #fff;
border: 1px solid #ccc;
text-decoration: none;
-
}
button:hover {
cursor: pointer;
background: #E8F6FE;
text-decoration: none;
border: 1px solid #aaa;
-
}
.clearfix {
- overflow:hidden;
+ overflow: hidden;
}
fieldset input,
@@ -227,12 +220,10 @@ fieldset img,
fieldset button {
float: left;
width: auto;
- margin: 5px 5px 5px 0px;
+ margin: 5px 5px 5px 0;
font-size:11px !important
}
-
-
.list-footer div.limit {
float: left;
line-height: 22px;
@@ -245,44 +236,40 @@ fieldset button {
/* ++++++++++++++ pagination ++++++++++++++ */
-.list-footer
-{
- margin:10px 0 ;
- padding:10px 0 10px 0px;
- text-align:center
-
+.list-footer {
+ margin: 10px 0 ;
+ padding: 10px 0 10px 0;
+ text-align: center
}
- table .list-footer ul
-{
- list-style-type:none;
- margin:0 !important;
- padding:0;
- text-align:left;
- border:solid 0px #ccc;
- float:left
+table .list-footer ul {
+ list-style-type: none;
+ margin: 0 !important;
+ padding: 0;
+ text-align: left;
+ border: solid 0 #ccc;
+ float: left
}
- .list-footer li
-{
- display:inline;
- padding:2px 5px !important;
- text-align:left;
- border:solid 0px #eee;
- margin:0 2px;
- font-size:11px
+.list-footer li {
+ display: inline;
+ padding: 2px 5px !important;
+ text-align: left;
+ border: solid 0 #eee;
+ margin: 0 2px;
+ font-size: 11px
}
-.list-footer li.pagination-start,
+.list-footer li.pagination-start,
.list-footer li.pagination-next,
-.list-footer li.pagination-end,
-.list-footer li.pagination-prev {
- border:0
+.list-footer li.pagination-end,
+.list-footer li.pagination-prev {
+ border: 0;
}
-.list-footer li.pagination-start ,
-.list-footer li.pagination-start span {
- padding:4px
+.list-footer li.pagination-start ,
+.list-footer li.pagination-start span {
+ padding: 4px;
}
p.counter {
@@ -4,11 +4,35 @@
*/
/* System Messages */
-#system-message { margin-bottom: 10px; padding: 0;}
-#system-message dt { font-weight: bold; display: none; }
-#system-message dd { margin: 0; font-weight: bold; text-indent: 30px; }
-#system-message dd ul { color: #0055BB; background-position: 4px top; background-repeat: no-repeat; margin-bottom: 10px; list-style: none; padding: 10px; border-top: 3px solid #84A7DB; border-bottom: 3px solid #84A7DB;}
-#system-message dd ul li{ line-height:1.5em }
+#system-message {
+ margin-bottom: 10px;
+ padding: 0;
+}
+
+#system-message dt {
+ font-weight: bold;
+ display: none;
+}
+
+#system-message dd {
+ margin: 0;
+ font-weight: bold;
+ text-indent: 30px;
+}
+
+#system-message dd ul {
+ color: #0055BB;
+ background-position: 4px top;
+ background-repeat: no-repeat;
+ margin-bottom: 10px;
+ list-style: none;
+ padding: 10px;
+ border-top: 3px solid #84A7DB;
+ border-bottom: 3px solid #84A7DB;}
+
+#system-message dd ul li {
+ line-height:1.5em
+}
/* System Standard Messages */
#system-message dd.message ul {
@@ -19,8 +43,7 @@
/* System Error Messages */
#system-message dd.error ul,
#system-message dd.warning ul,
-#system-message dd.notice ul
-{
+#system-message dd.notice ul {
color: #c00;
}

0 comments on commit fa57e58

Please sign in to comment.