Style admin_table in standard skin, change id to class

hinted-selects
Vitaliy Filippov 2014-09-08 16:46:20 +04:00
parent f045334a60
commit 8bc7cbea86
5 changed files with 22 additions and 18 deletions

View File

@ -335,27 +335,18 @@ textarea, select, input[type="text"], input:not([type]), input[type="password"]
border-color: #747e93;
}
#admin_table {
.admin_table {
border-collapse: collapse;
}
#admin_table td {
border-width: 1px;
border-style: solid;
border-color: #747e93;
.admin_table td, .admin_table th {
border: 1px solid #747e93;
}
#admin_table tr.odd_row {
.admin_table tr.odd_row {
background-color: #e5e5e5;
}
#admin_table th {
background-color: #d8d8e6;
border-width: 1px;
border-style: solid;
border-color: #747e93;
}
.editemin th {
background-color: #d0d0d0;
padding: 3px;

View File

@ -842,6 +842,10 @@ table.tabs {
padding: 1em 2em;
}
.admin_table tr.even_row {
background: white;
}
/* search */
#summary_field.search_field_row input {
@ -892,8 +896,6 @@ table.tabs {
}
}
/* Mobile Landscape Size to Tablet Portrait */
@media only screen and (min-width: 480px) and (max-width: 767px) {
body {

View File

@ -375,7 +375,18 @@ dl dl > dt {
border-top: none;
}
#admin_table th {
.admin_table {
border-collapse: collapse;
}
.admin_table tr.odd_row {
background: #f0f0f0;
}
.admin_table th {
background: #e0e0e0;
}
.admin_table td, .admin_table th {
border: 1px solid gray;
padding: 4px;
white-space: normal !important;
}

View File

@ -12,7 +12,7 @@
<form action="editvisibility.cgi?field=[% field.name | html %]&visibility_value_id=[% visibility_value.id %]" method="POST">
<input type="hidden" name="token" value="[% token | html %]" />
<input type="hidden" name="action" value="save" />
<table id="admin_table" cellpadding="4">
<table id="admin_table" class="admin_table">
<tbody>
<tr>
<th align="left">Active</th>

View File

@ -83,7 +83,7 @@
[%################### TABLE HEADER ######################%]
<table id="admin_table" cellpadding="4" cellspacing="0">
<table id="admin_table" class="admin_table">
<tr>
[% FOREACH c = columns %]
[%# Default to align left for headers %]