mirror of https://github.com/BOINC/boinc.git
admin web: appearance tweaks
This commit is contained in:
parent
918dcd9179
commit
80d792265b
|
@ -8,7 +8,7 @@ Use classes, not IDs.
|
|||
|
||||
We use the following classes:
|
||||
|
||||
table.bordered
|
||||
.table-bordered
|
||||
a table with a border around it
|
||||
td.bordered
|
||||
bordered table cell (admin pages only)
|
||||
|
@ -92,7 +92,7 @@ th {
|
|||
|
||||
td {
|
||||
vertical-align: top;
|
||||
padding: 4px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
td.bordered {
|
||||
|
@ -106,10 +106,17 @@ th, td.heading {
|
|||
padding: 8px;
|
||||
}
|
||||
|
||||
th.subheading {
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
font-size: small;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
td.fieldname {
|
||||
text-align: right;
|
||||
padding-right: 10px;
|
||||
font-size: 14px;
|
||||
/* font-size: 14px; */
|
||||
margin: 2px 0;
|
||||
}
|
||||
|
||||
|
@ -155,7 +162,7 @@ input[type="submit"],
|
|||
border-radius: 5px;
|
||||
}
|
||||
|
||||
/* IE6 doesn't understand [type=XXXX] so we use class "button" */
|
||||
/* IE6 doesn't understand [type=XXXX] so we use class "btn" */
|
||||
|
||||
a.btn {
|
||||
line-height: 2.4em;
|
||||
|
@ -371,11 +378,10 @@ blockquote.postbody {
|
|||
}
|
||||
|
||||
p.text-muted, span.note {
|
||||
margin-top: .1em;
|
||||
margin-bottom: .1em;
|
||||
font-weight: normal;
|
||||
margin-top: 0.1em;
|
||||
margin-bottom: 0.1em;
|
||||
font-style: italic;
|
||||
font-size: 0.9em;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
span.news_date {
|
||||
|
@ -394,7 +400,7 @@ span.inboxunread {
|
|||
.pre {
|
||||
font-family: "Courier New", courier, monospace;
|
||||
display: block;
|
||||
white-space: pre;
|
||||
#white-space: pre;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
|
@ -405,10 +411,14 @@ span.inboxunread {
|
|||
border-left-width: 3px;
|
||||
border-left-style: solid;
|
||||
padding-left: 1em;
|
||||
white-space: nowrap;
|
||||
#white-space: pre;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.donationtext {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
@ -436,3 +446,8 @@ div.pm_preview {
|
|||
* html body .code {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
// this ignores additional bootstrap classes
|
||||
div.input-group, div.btn-group, ul.pager, div.pagination {
|
||||
display: inline;
|
||||
}
|
||||
|
|
|
@ -70,9 +70,11 @@ while ($profile = _mysql_fetch_object($result)) {
|
|||
<br>RAC: $profile->expavg_credit
|
||||
<br>
|
||||
";
|
||||
echo "</td><td><table border=2> ";
|
||||
echo "</td><td>";
|
||||
start_table();
|
||||
show_profile($profile, $g_logged_in_user, true);
|
||||
echo "</table></td></tr>\n";
|
||||
end_table();
|
||||
echo "</td></tr><tr><td colspan=2><hr/></td></tr>\n";
|
||||
echo "<input type=\"hidden\" name=\"userid$n\" value=\"$profile->userid\">\n";
|
||||
$n++;
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ hr.news_line {
|
|||
border-bottom: 1px solid rgb(200, 200, 200);
|
||||
}
|
||||
|
||||
.table-bordered {
|
||||
.table-bordered, .bordered {
|
||||
border-color: #e8e8e8;
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
|
@ -44,9 +44,12 @@ th, td.heading {
|
|||
background-color: #d8d8d8;
|
||||
}
|
||||
|
||||
th.subheading {
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
td.fieldname {
|
||||
background-color: #eee;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
td.fieldname_error,
|
||||
|
@ -89,8 +92,9 @@ tr.message {
|
|||
input[type="button"],
|
||||
input[type="submit"],
|
||||
.btn,
|
||||
a.btn{
|
||||
background: #EDEDED url(img/white_grad.png) repeat-x scroll left top;
|
||||
a.btn {
|
||||
#background: #d0f8d0;
|
||||
background: #EDEDED url(img/white_grad.png) repeat-x scroll left top;
|
||||
color: black;
|
||||
border-color: #ccc;
|
||||
}
|
||||
|
@ -104,6 +108,14 @@ input.btn:hover,
|
|||
color: #0069A1;
|
||||
}
|
||||
|
||||
a.btn-green {
|
||||
border: 1px solid #555;
|
||||
color: black;
|
||||
background: #a0f0a0;
|
||||
font-size: 1.2em;
|
||||
border-color: #60a060;
|
||||
}
|
||||
|
||||
input[type="text"], input[type="password"], select, textarea {
|
||||
border-color: #bbb;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue