diff --git a/app/views/index/logs.phtml b/app/views/index/logs.phtml index a96ff66b5..f6a76b922 100644 --- a/app/views/index/logs.phtml +++ b/app/views/index/logs.phtml @@ -24,8 +24,8 @@ - - + + level()) ?> diff --git a/p/themes/Alternative-Dark/adark.css b/p/themes/Alternative-Dark/adark.css index 58f712403..6ebfc02fe 100644 --- a/p/themes/Alternative-Dark/adark.css +++ b/p/themes/Alternative-Dark/adark.css @@ -944,50 +944,6 @@ a.btn { border-bottom: 1px solid #ddd; } -/*=== LOGS */ -/*=========*/ -.loglist { - border: 1px solid #aaa; - border-radius: 5px; - overflow: hidden; -} - -.log { - padding: 5px 10px; - background: #fafafa; - color: #333; - font-size: 0.8rem; -} - -.log+.log { - border-top: 1px solid #aaa; -} - -.log .date { - display: block; - font-weight: bold; -} - -.log.error { - background: #fdd; - color: #844; -} - -.log.warning { - background: #ffe; - color: #c95; -} - -.log.notice { - background: #f4f4f4; - color: #aaa; -} - -.log.debug { - background: #333; - color: #eee; -} - /*=== MOBILE */ /*===========*/ diff --git a/p/themes/Alternative-Dark/adark.rtl.css b/p/themes/Alternative-Dark/adark.rtl.css index 31dbebff9..9bc3d0ebc 100644 --- a/p/themes/Alternative-Dark/adark.rtl.css +++ b/p/themes/Alternative-Dark/adark.rtl.css @@ -944,50 +944,6 @@ a.btn { border-bottom: 1px solid #ddd; } -/*=== LOGS */ -/*=========*/ -.loglist { - border: 1px solid #aaa; - border-radius: 5px; - overflow: hidden; -} - -.log { - padding: 5px 10px; - background: #fafafa; - color: #333; - font-size: 0.8rem; -} - -.log+.log { - border-top: 1px solid #aaa; -} - -.log .date { - display: block; - font-weight: bold; -} - -.log.error { - background: #fdd; - color: #844; -} - -.log.warning { - background: #ffe; - color: #c95; -} - -.log.notice { - background: #f4f4f4; - color: #aaa; -} - -.log.debug { - background: #333; - color: #eee; -} - /*=== MOBILE */ /*===========*/ diff --git a/p/themes/Ansum/_logs.scss b/p/themes/Ansum/_logs.scss index 2ea26e68b..69d0153d1 100644 --- a/p/themes/Ansum/_logs.scss +++ b/p/themes/Ansum/_logs.scss @@ -2,40 +2,6 @@ /*=== LOGS */ /*=========*/ -.loglist { - overflow: hidden; - border: 1px solid variables.$grey-medium-dark; -} - -.log { - margin: 10px 0; - padding: 5px 2%; - background: variables.$grey-lighter; - color: variables.$grey-dark; - font-size: 0.8rem; - overflow: auto; -} - -.log > .date { - margin: 0 10px 0 0; - padding: 5px 10px; - border-radius: 20px; -} - -.log.error > .date { - background: variables.$alert-bg; - color: #fff; -} - -.log.warning > .date { - background: variables.$warning-bg; -} - -.log.notice > .date { - background: variables.$grey-light; -} - -.log.debug > .date { - background: variables.$main-first-darker; - color: variables.$white; +.log-item.log-error { + background-color: rgba(variables.$main-first, 0.2); } diff --git a/p/themes/Ansum/ansum.css b/p/themes/Ansum/ansum.css index a2c139656..63a014db0 100644 --- a/p/themes/Ansum/ansum.css +++ b/p/themes/Ansum/ansum.css @@ -1181,42 +1181,8 @@ main.prompt { /*=== LOGS */ /*=========*/ -.loglist { - overflow: hidden; - border: 1px solid #ba9; -} - -.log { - margin: 10px 0; - padding: 5px 2%; - background: #fcfaf8; - color: #766556; - font-size: 0.8rem; - overflow: auto; -} - -.log > .date { - margin: 0 10px 0 0; - padding: 5px 10px; - border-radius: 20px; -} - -.log.error > .date { - background: #f5633e; - color: #fff; -} - -.log.warning > .date { - background: #f4f762; -} - -.log.notice > .date { - background: #f5f0ec; -} - -.log.debug > .date { - background: #221f1d; - color: #fff; +.log-item.log-error { + background-color: rgba(202, 114, 39, 0.2); } /*=== STATISTICS */ diff --git a/p/themes/Ansum/ansum.rtl.css b/p/themes/Ansum/ansum.rtl.css index 2642a31e6..d1dcd97d0 100644 --- a/p/themes/Ansum/ansum.rtl.css +++ b/p/themes/Ansum/ansum.rtl.css @@ -1181,42 +1181,8 @@ main.prompt { /*=== LOGS */ /*=========*/ -.loglist { - overflow: hidden; - border: 1px solid #ba9; -} - -.log { - margin: 10px 0; - padding: 5px 2%; - background: #fcfaf8; - color: #766556; - font-size: 0.8rem; - overflow: auto; -} - -.log > .date { - margin: 0 0 0 10px; - padding: 5px 10px; - border-radius: 20px; -} - -.log.error > .date { - background: #f5633e; - color: #fff; -} - -.log.warning > .date { - background: #f4f762; -} - -.log.notice > .date { - background: #f5f0ec; -} - -.log.debug > .date { - background: #221f1d; - color: #fff; +.log-item.log-error { + background-color: rgba(202, 114, 39, 0.2); } /*=== STATISTICS */ diff --git a/p/themes/BlueLagoon/BlueLagoon.css b/p/themes/BlueLagoon/BlueLagoon.css index 02ada4708..e12964a4f 100644 --- a/p/themes/BlueLagoon/BlueLagoon.css +++ b/p/themes/BlueLagoon/BlueLagoon.css @@ -1124,50 +1124,6 @@ a.btn { box-shadow: 0 1px #fff; } -/*=== LOGS */ -/*=========*/ -.loglist { - border: 1px solid #aaa; - border-radius: 5px; - overflow: hidden; -} - -.log { - padding: 5px 10px; - background: #fafafa; - color: #333; - font-size: 0.8rem; -} - -.log+.log { - border-top: 1px solid #aaa; -} - -.log .date { - display: block; - font-weight: bold; -} - -.log.error { - background: #fdd; - color: #844; -} - -.log.warning { - background: #ffe; - color: #c95; -} - -.log.notice { - background: #f4f4f4; - color: #aaa; -} - -.log.debug { - background: #333; - color: #eee; -} - #slider.active { background: #f8f8f8; box-shadow: -4px 0 4px rgba(15, 15, 15, 0.55); diff --git a/p/themes/BlueLagoon/BlueLagoon.rtl.css b/p/themes/BlueLagoon/BlueLagoon.rtl.css index e895681ce..370fc4c24 100644 --- a/p/themes/BlueLagoon/BlueLagoon.rtl.css +++ b/p/themes/BlueLagoon/BlueLagoon.rtl.css @@ -1124,50 +1124,6 @@ a.btn { box-shadow: 0 1px #fff; } -/*=== LOGS */ -/*=========*/ -.loglist { - border: 1px solid #aaa; - border-radius: 5px; - overflow: hidden; -} - -.log { - padding: 5px 10px; - background: #fafafa; - color: #333; - font-size: 0.8rem; -} - -.log+.log { - border-top: 1px solid #aaa; -} - -.log .date { - display: block; - font-weight: bold; -} - -.log.error { - background: #fdd; - color: #844; -} - -.log.warning { - background: #ffe; - color: #c95; -} - -.log.notice { - background: #f4f4f4; - color: #aaa; -} - -.log.debug { - background: #333; - color: #eee; -} - #slider.active { background: #f8f8f8; box-shadow: 4px 0 4px rgba(15, 15, 15, 0.55); diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css index 685134604..38fc0bce4 100644 --- a/p/themes/Dark/dark.css +++ b/p/themes/Dark/dark.css @@ -1002,49 +1002,6 @@ a.btn { border-bottom: 1px solid #333; } -/*=== LOGS */ -/*=========*/ -.loglist { - overflow: hidden; - border: 1px solid #333; -} - -.log { - padding: 5px 10px; - background: #111; - color: #888; - font-size: 0.8rem; -} - -.log+.log { - border-top: 1px solid #333; -} - -.log .date { - display: block; - font-weight: bold; -} - -.log.error { - background: #a44; - color: #fff; -} - -.log.warning { - background: #c95; - color: #fff; -} - -.log.notice { - background: #ec9; - color: #000; -} - -.log.debug { - background: #111; - color: #eee; -} - /*=== MOBILE */ /*===========*/ diff --git a/p/themes/Dark/dark.rtl.css b/p/themes/Dark/dark.rtl.css index 6616048f6..8c5b30fed 100644 --- a/p/themes/Dark/dark.rtl.css +++ b/p/themes/Dark/dark.rtl.css @@ -1002,49 +1002,6 @@ a.btn { border-bottom: 1px solid #333; } -/*=== LOGS */ -/*=========*/ -.loglist { - overflow: hidden; - border: 1px solid #333; -} - -.log { - padding: 5px 10px; - background: #111; - color: #888; - font-size: 0.8rem; -} - -.log+.log { - border-top: 1px solid #333; -} - -.log .date { - display: block; - font-weight: bold; -} - -.log.error { - background: #a44; - color: #fff; -} - -.log.warning { - background: #c95; - color: #fff; -} - -.log.notice { - background: #ec9; - color: #000; -} - -.log.debug { - background: #111; - color: #eee; -} - /*=== MOBILE */ /*===========*/ diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index b359f09ab..66b489c31 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -1009,46 +1009,6 @@ a.btn { border-bottom: 1px solid #ddd; } -/*=== LOGS */ -/*=========*/ -.loglist { - overflow: hidden; - border: 1px solid #aaa; -} - -.log { - margin: 10px 0; - padding: 5px 2%; - background: #fafafa; - color: #666; - font-size: 0.8rem; - overflow: auto; -} - -.log > .date { - margin: 0 10px 0 0; - padding: 5px 10px; - border-radius: 20px; -} - -.log.error > .date { - background: #e74c3c; - color: #fff; -} - -.log.warning > .date { - background: #f39c12; -} - -.log.notice > .date { - background: #ecf0f1; -} - -.log.debug > .date { - background: #111; - color: #eee; -} - /*=== MOBILE */ /*===========*/ diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css index 4b22fd3b3..c98abd496 100644 --- a/p/themes/Flat/flat.rtl.css +++ b/p/themes/Flat/flat.rtl.css @@ -1009,46 +1009,6 @@ a.btn { border-bottom: 1px solid #ddd; } -/*=== LOGS */ -/*=========*/ -.loglist { - overflow: hidden; - border: 1px solid #aaa; -} - -.log { - margin: 10px 0; - padding: 5px 2%; - background: #fafafa; - color: #666; - font-size: 0.8rem; - overflow: auto; -} - -.log > .date { - margin: 0 0 0 10px; - padding: 5px 10px; - border-radius: 20px; -} - -.log.error > .date { - background: #e74c3c; - color: #fff; -} - -.log.warning > .date { - background: #f39c12; -} - -.log.notice > .date { - background: #ecf0f1; -} - -.log.debug > .date { - background: #111; - color: #eee; -} - /*=== MOBILE */ /*===========*/ diff --git a/p/themes/Mapco/_logs.scss b/p/themes/Mapco/_logs.scss index 2ea26e68b..69d0153d1 100644 --- a/p/themes/Mapco/_logs.scss +++ b/p/themes/Mapco/_logs.scss @@ -2,40 +2,6 @@ /*=== LOGS */ /*=========*/ -.loglist { - overflow: hidden; - border: 1px solid variables.$grey-medium-dark; -} - -.log { - margin: 10px 0; - padding: 5px 2%; - background: variables.$grey-lighter; - color: variables.$grey-dark; - font-size: 0.8rem; - overflow: auto; -} - -.log > .date { - margin: 0 10px 0 0; - padding: 5px 10px; - border-radius: 20px; -} - -.log.error > .date { - background: variables.$alert-bg; - color: #fff; -} - -.log.warning > .date { - background: variables.$warning-bg; -} - -.log.notice > .date { - background: variables.$grey-light; -} - -.log.debug > .date { - background: variables.$main-first-darker; - color: variables.$white; +.log-item.log-error { + background-color: rgba(variables.$main-first, 0.2); } diff --git a/p/themes/Mapco/mapco.css b/p/themes/Mapco/mapco.css index 2289ec5a1..d4dd32e17 100644 --- a/p/themes/Mapco/mapco.css +++ b/p/themes/Mapco/mapco.css @@ -1210,42 +1210,8 @@ main.prompt { /*=== LOGS */ /*=========*/ -.loglist { - overflow: hidden; - border: 1px solid #a6a7ae; -} - -.log { - margin: 10px 0; - padding: 5px 2%; - background: #f9fafb; - color: #5b6871; - font-size: 0.8rem; - overflow: auto; -} - -.log > .date { - margin: 0 10px 0 0; - padding: 5px 10px; - border-radius: 20px; -} - -.log.error > .date { - background: #f5633e; - color: #fff; -} - -.log.warning > .date { - background: #f4f762; -} - -.log.notice > .date { - background: #eff0f2; -} - -.log.debug > .date { - background: #1d1e22; - color: #fff; +.log-item.log-error { + background-color: rgba(51, 102, 204, 0.2); } /*=== STATISTICS */ diff --git a/p/themes/Mapco/mapco.rtl.css b/p/themes/Mapco/mapco.rtl.css index d06f9fe92..a53dd3c0d 100644 --- a/p/themes/Mapco/mapco.rtl.css +++ b/p/themes/Mapco/mapco.rtl.css @@ -1210,42 +1210,8 @@ main.prompt { /*=== LOGS */ /*=========*/ -.loglist { - overflow: hidden; - border: 1px solid #a6a7ae; -} - -.log { - margin: 10px 0; - padding: 5px 2%; - background: #f9fafb; - color: #5b6871; - font-size: 0.8rem; - overflow: auto; -} - -.log > .date { - margin: 0 0 0 10px; - padding: 5px 10px; - border-radius: 20px; -} - -.log.error > .date { - background: #f5633e; - color: #fff; -} - -.log.warning > .date { - background: #f4f762; -} - -.log.notice > .date { - background: #eff0f2; -} - -.log.debug > .date { - background: #1d1e22; - color: #fff; +.log-item.log-error { + background-color: rgba(51, 102, 204, 0.2); } /*=== STATISTICS */ diff --git a/p/themes/Nord/nord.css b/p/themes/Nord/nord.css index 9456da5f4..ac4c4104a 100644 --- a/p/themes/Nord/nord.css +++ b/p/themes/Nord/nord.css @@ -1100,22 +1100,6 @@ input.extend { background-color: var(--bg); } -/*=== LOGS */ -/*=========*/ -.loglist { - overflow: hidden; -} - -.log { - padding: 5px 10px; - font-size: 0.8rem; -} - -.log .date { - display: block; - font-weight: bold; -} - /*=== MOBILE */ /*===========*/ diff --git a/p/themes/Nord/nord.rtl.css b/p/themes/Nord/nord.rtl.css index 502e11acc..18a0ef7a0 100644 --- a/p/themes/Nord/nord.rtl.css +++ b/p/themes/Nord/nord.rtl.css @@ -1100,22 +1100,6 @@ input.extend { background-color: var(--bg); } -/*=== LOGS */ -/*=========*/ -.loglist { - overflow: hidden; -} - -.log { - padding: 5px 10px; - font-size: 0.8rem; -} - -.log .date { - display: block; - font-weight: bold; -} - /*=== MOBILE */ /*===========*/ diff --git a/p/themes/Origine-compact/origine-compact.css b/p/themes/Origine-compact/origine-compact.css index aa003c81f..17959e910 100644 --- a/p/themes/Origine-compact/origine-compact.css +++ b/p/themes/Origine-compact/origine-compact.css @@ -1072,50 +1072,6 @@ a.btn, border-bottom: 1px solid #ddd; } -/*=== LOGS */ -/*=========*/ -.loglist { - border: 1px solid #aaa; - border-radius: 5px; - overflow: hidden; -} - -.log { - padding: 5px 10px; - background: #fafafa; - color: #333; - font-size: 0.8rem; -} - -.log+.log { - border-top: 1px solid #aaa; -} - -.log .date { - display: block; - font-weight: bold; -} - -.log.error { - background: #fdd; - color: #844; -} - -.log.warning { - background: #ffe; - color: #c95; -} - -.log.notice { - background: #f4f4f4; - color: #aaa; -} - -.log.debug { - background: #333; - color: #eee; -} - /*=== MOBILE */ /*===========*/ diff --git a/p/themes/Origine-compact/origine-compact.rtl.css b/p/themes/Origine-compact/origine-compact.rtl.css index d01ed8097..62c82bc6f 100644 --- a/p/themes/Origine-compact/origine-compact.rtl.css +++ b/p/themes/Origine-compact/origine-compact.rtl.css @@ -1072,50 +1072,6 @@ a.btn, border-bottom: 1px solid #ddd; } -/*=== LOGS */ -/*=========*/ -.loglist { - border: 1px solid #aaa; - border-radius: 5px; - overflow: hidden; -} - -.log { - padding: 5px 10px; - background: #fafafa; - color: #333; - font-size: 0.8rem; -} - -.log+.log { - border-top: 1px solid #aaa; -} - -.log .date { - display: block; - font-weight: bold; -} - -.log.error { - background: #fdd; - color: #844; -} - -.log.warning { - background: #ffe; - color: #c95; -} - -.log.notice { - background: #f4f4f4; - color: #aaa; -} - -.log.debug { - background: #333; - color: #eee; -} - /*=== MOBILE */ /*===========*/ diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css index 213b3c716..4fd62134a 100644 --- a/p/themes/Origine/origine.css +++ b/p/themes/Origine/origine.css @@ -998,49 +998,6 @@ a.btn { font-family: monospace; } -/****old******/ -.loglist { - border: 1px solid #aaa; - border-radius: 5px; - overflow: hidden; -} - -.log { - padding: 5px 10px; - background: #fafafa; - color: #333; - font-size: 0.8rem; -} - -.log+.log { - border-top: 1px solid #aaa; -} - -.log .date { - display: block; - font-weight: bold; -} - -.log.error { - background: #fdd; - color: #844; -} - -.log.warning { - background: #ffe; - color: #c95; -} - -.log.notice { - background: #f4f4f4; - color: #aaa; -} - -.log.debug { - background: #333; - color: #eee; -} - /*=== MOBILE */ /*===========*/ diff --git a/p/themes/Origine/origine.rtl.css b/p/themes/Origine/origine.rtl.css index 8c5e11ebe..a284e5464 100644 --- a/p/themes/Origine/origine.rtl.css +++ b/p/themes/Origine/origine.rtl.css @@ -998,49 +998,6 @@ a.btn { font-family: monospace; } -/****old******/ -.loglist { - border: 1px solid #aaa; - border-radius: 5px; - overflow: hidden; -} - -.log { - padding: 5px 10px; - background: #fafafa; - color: #333; - font-size: 0.8rem; -} - -.log+.log { - border-top: 1px solid #aaa; -} - -.log .date { - display: block; - font-weight: bold; -} - -.log.error { - background: #fdd; - color: #844; -} - -.log.warning { - background: #ffe; - color: #c95; -} - -.log.notice { - background: #f4f4f4; - color: #aaa; -} - -.log.debug { - background: #333; - color: #eee; -} - /*=== MOBILE */ /*===========*/ diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index 28fa03c86..6dc1c8990 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -986,50 +986,6 @@ a.signin { text-align: center; } -/*=== LOGS */ -/*=========*/ -.loglist { - border: 1px solid #aaa; - border-radius: 5px; - overflow: hidden; -} - -.log { - padding: 5px 10px; - background: #fafafa; - color: #41444f; - font-size: 0.8rem; -} - -.log+.log { - border-top: 1px solid #aaa; -} - -.log .date { - display: block; - font-weight: bold; -} - -.log.error { - background: #fdd; - color: #844; -} - -.log.warning { - background: #ffe; - color: #c95; -} - -.log.notice { - background: #f4f4f4; - color: #aaa; -} - -.log.debug { - background: #41444f; - color: #eee; -} - /*=== MOBILE */ /*===========*/ diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css index 457676340..8f5ecb5c3 100644 --- a/p/themes/Pafat/pafat.rtl.css +++ b/p/themes/Pafat/pafat.rtl.css @@ -986,50 +986,6 @@ a.signin { text-align: center; } -/*=== LOGS */ -/*=========*/ -.loglist { - border: 1px solid #aaa; - border-radius: 5px; - overflow: hidden; -} - -.log { - padding: 5px 10px; - background: #fafafa; - color: #41444f; - font-size: 0.8rem; -} - -.log+.log { - border-top: 1px solid #aaa; -} - -.log .date { - display: block; - font-weight: bold; -} - -.log.error { - background: #fdd; - color: #844; -} - -.log.warning { - background: #ffe; - color: #c95; -} - -.log.notice { - background: #f4f4f4; - color: #aaa; -} - -.log.debug { - background: #41444f; - color: #eee; -} - /*=== MOBILE */ /*===========*/ diff --git a/p/themes/Screwdriver/screwdriver.css b/p/themes/Screwdriver/screwdriver.css index fc451d2d4..3da848232 100644 --- a/p/themes/Screwdriver/screwdriver.css +++ b/p/themes/Screwdriver/screwdriver.css @@ -1101,50 +1101,6 @@ a.btn { box-shadow: 0 1px #fff; } -/*=== LOGS */ -/*=========*/ -.loglist { - border: 1px solid #aaa; - border-radius: 5px; - overflow: hidden; -} - -.log { - padding: 5px 10px; - background: #fafafa; - color: #333; - font-size: 0.8rem; -} - -.log+.log { - border-top: 1px solid #aaa; -} - -.log .date { - display: block; - font-weight: bold; -} - -.log.error { - background: #fdd; - color: #844; -} - -.log.warning { - background: #ffe; - color: #c95; -} - -.log.notice { - background: #f4f4f4; - color: #aaa; -} - -.log.debug { - background: #333; - color: #eee; -} - #slider.active { background: #f8f8f8; box-shadow: -4px 0 4px rgba(15, 15, 15, 0.55); diff --git a/p/themes/Screwdriver/screwdriver.rtl.css b/p/themes/Screwdriver/screwdriver.rtl.css index fdbc0729b..dcc54d9a3 100644 --- a/p/themes/Screwdriver/screwdriver.rtl.css +++ b/p/themes/Screwdriver/screwdriver.rtl.css @@ -1101,50 +1101,6 @@ a.btn { box-shadow: 0 1px #fff; } -/*=== LOGS */ -/*=========*/ -.loglist { - border: 1px solid #aaa; - border-radius: 5px; - overflow: hidden; -} - -.log { - padding: 5px 10px; - background: #fafafa; - color: #333; - font-size: 0.8rem; -} - -.log+.log { - border-top: 1px solid #aaa; -} - -.log .date { - display: block; - font-weight: bold; -} - -.log.error { - background: #fdd; - color: #844; -} - -.log.warning { - background: #ffe; - color: #c95; -} - -.log.notice { - background: #f4f4f4; - color: #aaa; -} - -.log.debug { - background: #333; - color: #eee; -} - #slider.active { background: #f8f8f8; box-shadow: 4px 0 4px rgba(15, 15, 15, 0.55); diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css index 67a4d3f0d..a39922a6c 100644 --- a/p/themes/Swage/swage.css +++ b/p/themes/Swage/swage.css @@ -967,36 +967,16 @@ a.signin { font-size: 70%; } -.loglist { - overflow: hidden; - border: 1px solid #969696; -} - -.log { - padding: 5px 2%; - background: #fcfcfc; - font-size: 0.8rem; - overflow: auto; -} -.log > .date { - margin: 0 10px 0 0; - padding: 5px 10px; -} -.log.error > .date { +.log-item.log-error { background: #c46178; color: #fcfcfc; } -.log.warning > .date { +.log-item.log-warning { background: #fa8052; color: #fcfcfc; } -.log.notice > .date { - background: #e3e3e3; - color: #fcfcfc; -} -.log.debug > .date { +.log-item.log-debug { background: #181621; - color: #fcfcfc; } @media (max-width: 840px) { diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css index ed9d6ac07..535f47fdb 100644 --- a/p/themes/Swage/swage.rtl.css +++ b/p/themes/Swage/swage.rtl.css @@ -967,36 +967,16 @@ a.signin { font-size: 70%; } -.loglist { - overflow: hidden; - border: 1px solid #969696; -} - -.log { - padding: 5px 2%; - background: #fcfcfc; - font-size: 0.8rem; - overflow: auto; -} -.log > .date { - margin: 0 0 0 10px; - padding: 5px 10px; -} -.log.error > .date { +.log-item.log-error { background: #c46178; color: #fcfcfc; } -.log.warning > .date { +.log-item.log-warning { background: #fa8052; color: #fcfcfc; } -.log.notice > .date { - background: #e3e3e3; - color: #fcfcfc; -} -.log.debug > .date { +.log-item.log-debug { background: #181621; - color: #fcfcfc; } @media (max-width: 840px) { diff --git a/p/themes/Swage/swage.scss b/p/themes/Swage/swage.scss index 81dedaafb..ce59f47ea 100644 --- a/p/themes/Swage/swage.scss +++ b/p/themes/Swage/swage.scss @@ -1225,40 +1225,19 @@ a.signin { font-size: 70%; } -.loglist { - overflow: hidden; - border: 1px solid color.adjust( $color_light, $lightness: -40% ); -} - -.log { - padding: 5px 2%; - background: $color_light; - font-size: 0.8rem; - overflow: auto; - - > .date { - margin: 0 10px 0 0; - padding: 5px 10px; - } - - &.error > .date { +.log-item { + &.log-error { background: color.adjust( $color_bad, $lightness: 10%); color: $color_light; } - &.warning > .date { + &.log-warning { background: $color_alert; color: $color_light; } - &.notice > .date { - background: color.adjust( $color_light, $lightness: -10%); - color: $color_light; - } - - &.debug > .date { + &.log-debug { background: $color_text; - color: $color_light; } } diff --git a/p/themes/base-theme/base.css b/p/themes/base-theme/base.css index 2c40e28d8..8fa2a33b6 100644 --- a/p/themes/base-theme/base.css +++ b/p/themes/base-theme/base.css @@ -800,37 +800,6 @@ a.btn { text-align: center; } -/*=== LOGS */ -/*=========*/ -.loglist { - overflow: hidden; -} - -.log { - padding: 5px 10px; - font-size: 0.8rem; -} - -.log+.log { -} - -.log .date { - display: block; - font-weight: bold; -} - -.log.error { -} - -.log.warning { -} - -.log.notice { -} - -.log.debug { -} - /*=== MOBILE */ /*===========*/ diff --git a/p/themes/base-theme/base.rtl.css b/p/themes/base-theme/base.rtl.css index 190fe0b89..dc10f3c53 100644 --- a/p/themes/base-theme/base.rtl.css +++ b/p/themes/base-theme/base.rtl.css @@ -800,37 +800,6 @@ a.btn { text-align: center; } -/*=== LOGS */ -/*=========*/ -.loglist { - overflow: hidden; -} - -.log { - padding: 5px 10px; - font-size: 0.8rem; -} - -.log+.log { -} - -.log .date { - display: block; - font-weight: bold; -} - -.log.error { -} - -.log.warning { -} - -.log.notice { -} - -.log.debug { -} - /*=== MOBILE */ /*===========*/ diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css index cab0719f0..b2ed62445 100644 --- a/p/themes/base-theme/template.css +++ b/p/themes/base-theme/template.css @@ -710,7 +710,7 @@ input[type="checkbox"]:focus-visible { } .pagination { - margin: 0; + margin: 0 auto; padding: 0; display: table; table-layout: fixed; @@ -1698,13 +1698,14 @@ input:checked + .slide-container .properties { /*=== DIVERS */ /*===========*/ -.log-error, -.log-warning, -.log-notice, -.log-debug { +.log-level { text-align: center; } +.log-item.log-error { + background-color: #bd362f44; +} + .item.share.error a::after, .category .title.error::before, .item.feed.error .item-title::before { diff --git a/p/themes/base-theme/template.rtl.css b/p/themes/base-theme/template.rtl.css index 2dfe58afe..e6d02e2bc 100644 --- a/p/themes/base-theme/template.rtl.css +++ b/p/themes/base-theme/template.rtl.css @@ -710,7 +710,7 @@ input[type="checkbox"]:focus-visible { } .pagination { - margin: 0; + margin: 0 auto; padding: 0; display: table; table-layout: fixed; @@ -1698,13 +1698,14 @@ input:checked + .slide-container .properties { /*=== DIVERS */ /*===========*/ -.log-error, -.log-warning, -.log-notice, -.log-debug { +.log-level { text-align: center; } +.log-item.log-error { + background-color: #bd362f44; +} + .item.share.error a::after, .category .title.error::before, .item.feed.error .item-title::before {