Skip to content

Commit

Permalink
Updated styles in the admin panel.
Browse files Browse the repository at this point in the history
  • Loading branch information
parpalak committed Mar 28, 2024
1 parent 48bf96b commit 4ce3357
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 13 deletions.
2 changes: 1 addition & 1 deletion _admin/comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function s2_show_comments ($mode, $id = 0)
require S2_ROOT.'_include/comments.php';

($hook = s2_hook('fn_show_comments_pre_table_row_merge')) ? eval($hook) : null;
$comments_tables[$row['article_id']][] = '<tr'.$class.'><td>'.s2_htmlencode($row['nick']).'</td><td>'.s2_bbcode_to_html(s2_htmlencode($row['text'])).'</td><td>'.date("Y-m-d, H:i", $row['time']).'</td><td>'.$ip.'</td><td>'.$email.'</td><td>'.$buttons.'</td></tr>';
$comments_tables[$row['article_id']][] = '<tr'.$class.'><td>'.s2_htmlencode($row['nick']).'</td><td>'.s2_bbcode_to_html(s2_htmlencode($row['text'])).'</td><td><nobr>'.date("Y-m-d, H:i", $row['time']).'</nobr></td><td>'.$ip.'</td><td>'.$email.'</td><td>'.$buttons.'</td></tr>';
$article_titles[$row['article_id']] = $row['title'];
}

Expand Down
31 changes: 19 additions & 12 deletions _admin/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,7 @@ body {

a, a:visited {
color: #05c;
text-decoration: none;
background: -webkit-gradient(linear, 0 0, 100% 0, from(#bce), to(#bce));
background: -webkit-linear-gradient(left, #bce, #bce 100%);
background: -moz-linear-gradient(left, #bce, #bce 100%);
background: -ms-linear-gradient(left, #bce, #bce 100%);
background: -o-linear-gradient(left, #bce, #bce 100%);
background: linear-gradient(to right, #bce, #bce 100%);
background-position: 0 100%;
background-size: 10px 1px;
background-repeat: repeat-x;
text-decoration-color: #0055cc59;
}

a > img {
Expand Down Expand Up @@ -454,6 +445,12 @@ body > .tabsheets {

/*=======================[Table styles]=======================================*/

thead.sticky {
position: sticky;
top: 0;
z-index: 1; /* fix for opacity transferring to sticky header */
}

.sort {
background: #fff;
border-collapse: collapse;
Expand All @@ -462,9 +459,9 @@ body > .tabsheets {
}

.sort .hidden {
background: #f5f5f5;
background: #eee;
color: #666;
text-decoration: line-through;
opacity: 0.6;
}
.sort .good {
background: #e8ffe8;
Expand Down Expand Up @@ -712,6 +709,7 @@ textarea,
border-radius: 3px;
box-shadow: inset 0 3px 3px -1px rgba(255, 255, 255, 0.9), inset 0 -11px 4px -1px rgba(0, 0, 0, 0.07);
line-height: 18px;
white-space: nowrap;
}
.bitbtn {
padding: 1px 2px 2px 20px;
Expand Down Expand Up @@ -825,6 +823,15 @@ textarea,
color: #ccc;
}

.icon-button {
height: 16px;
width: 16px;
border: 0;
margin: 1px;
vertical-align: top;
padding: 0;
}

/*=======================[Options tab]========================================*/

fieldset {
Expand Down

0 comments on commit 4ce3357

Please sign in to comment.