diff --git a/history.php b/history.php index 4bf945c..bac6893 100644 --- a/history.php +++ b/history.php @@ -158,11 +158,9 @@ try { $page->set_info($page->type_info($type)); - $style = 'style="font-size: 13px;"'; - $label_type = $page->type; $label_name = Info::create($row, $page, $label_type)->name(); //ucfirst($label_type); - $label = "$label_name"; + $label = "$label_name"; $page->print_table_rows($row, array( $page->t("generic.type") => $label, diff --git a/inc/css/custom.css b/inc/css/custom.css index 9017dd6..a86bd7c 100644 --- a/inc/css/custom.css +++ b/inc/css/custom.css @@ -1,28 +1,50 @@ -.noselect { - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - .avatar { margin-bottom: 5px; margin-right: 5px; border-radius: 2px; } +/* header */ + +.col-lg-12 { + text-align: center; +} + +/* tables */ + +th { + text-align: center; +} + table tr td { padding-left: 0; padding-right: 0; vertical-align: middle !important; } +/* table links */ +a, +a:hover, +a:focus { + text-decoration: none !important; +} + +tr.hover { + cursor: pointer; +} + +/* pager */ + .litebans-pager { font-size: 30px; } +.litebans-pager-number { + margin-top: 32px; + text-align: center; + font-size: 15px; +} + .litebans-pager-left { float: left; } @@ -39,29 +61,44 @@ table tr td { color: transparent; } -/* table links */ -a, -a:hover, -a:focus { - text-decoration: none !important; +/* index.php */ +.litebans-index { + text-align: center; } -tr.hover { - cursor: pointer; +/* info.php */ +.litebans-label-info { + margin-left: 13px; + font-size: 17px; } -.label-ban { +/* history.php */ +.litebans-label-history { + font-size: 13px; +} + +.litebans-label-ban { background-color: darkred; } -.label-mute { +.litebans-label-mute { background-color: dimgrey; } -.label-warn { +.litebans-label-warn { background-color: darkorange; } -.label-kick { +.litebans-label-kick { background-color: tomato; } + +/* prevent mouse selection */ +.noselect { + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} diff --git a/inc/page.php b/inc/page.php index 9824b58..eee5a1f 100644 --- a/inc/page.php +++ b/inc/page.php @@ -404,20 +404,13 @@ class Page { $type = $this->type; echo "
t("index.welcome.sub"); ?>
t("index.welcome.sub"); ?>