diff --git a/p/themes/Dark/freshrss.css b/p/themes/Dark/freshrss.css index 40634e398..abda226a3 100644 --- a/p/themes/Dark/freshrss.css +++ b/p/themes/Dark/freshrss.css @@ -875,3 +875,40 @@ input.extend { text-decoration: underline; } } + +.stat { + border:1px solid #aaa; + border-radius:10px; + box-shadow:2px 2px 5px #aaa; + margin:10px 0; + padding:0 5px; +} +.stat > h2 { + border-bottom:1px solid #aaa; + margin:0 -5px; + padding-left:5px; +} +.stat > div { + margin:5px 0; +} +.stat > table { + border-collapse:collapse; + margin:5px 0; + text-align:center; + width:100%; +} +.stat > table > thead > tr { + border-bottom:2px solid #aaa; +} +.stat > table > tbody > tr { + border-bottom:1px solid #aaa; +} +.stat > table > tbody > tr:last-child { + border-bottom:0; +} +.stat > table th, .stat > table td { + border-left:2px solid #aaa; +} +.stat > table th:first-child, .stat > table td:first-child { + border-left:0; +} diff --git a/p/themes/Flat/freshrss.css b/p/themes/Flat/freshrss.css index 04b3df842..640c963c2 100644 --- a/p/themes/Flat/freshrss.css +++ b/p/themes/Flat/freshrss.css @@ -842,3 +842,40 @@ input.extend { text-decoration: underline; } } + +.stat { + border:1px solid #aaa; + border-radius:10px; + box-shadow:2px 2px 5px #aaa; + margin:10px 0; + padding:0 5px; +} +.stat > h2 { + border-bottom:1px solid #aaa; + margin:0 -5px; + padding-left:5px; +} +.stat > div { + margin:5px 0; +} +.stat > table { + border-collapse:collapse; + margin:5px 0; + text-align:center; + width:100%; +} +.stat > table > thead > tr { + border-bottom:2px solid #aaa; +} +.stat > table > tbody > tr { + border-bottom:1px solid #aaa; +} +.stat > table > tbody > tr:last-child { + border-bottom:0; +} +.stat > table th, .stat > table td { + border-left:2px solid #aaa; +} +.stat > table th:first-child, .stat > table td:first-child { + border-left:0; +} diff --git a/p/themes/Origine/freshrss.css b/p/themes/Origine/freshrss.css index 78adbeff0..98f470536 100644 --- a/p/themes/Origine/freshrss.css +++ b/p/themes/Origine/freshrss.css @@ -899,45 +899,39 @@ input.extend { } } -.stat{ +.stat { border:1px solid #aaa; border-radius:10px; box-shadow:2px 2px 5px #aaa; - margin: 10px 0; + margin:10px 0; + padding:0 5px; } -.stat h2{ +.stat > h2 { border-bottom:1px solid #aaa; - margin:0; + margin:0 -5px; padding-left:5px; } -.stat h2 + *{ - margin:5px; +.stat > div { + margin:5px 0; } -.stat h2 + div + div{ - margin:0 5px 5px 5px; -} -.stat h2 + table{ +.stat > table { border-collapse:collapse; - width:calc(100% - 10px); -} -.stat h2 + table th{ - text-transform:capitalize; -} -.stat h2 + table td{ + margin:5px 0; text-align:center; + width:100%; } -.stat h2 + table thead th{ +.stat > table > thead > tr { border-bottom:2px solid #aaa; } -.stat h2 + table tbody tr *{ +.stat > table > tbody > tr { border-bottom:1px solid #aaa; } -.stat h2 + table tbody tr:last-child *{ +.stat > table > tbody > tr:last-child { border-bottom:0; } -.stat h2 + table tr *{ +.stat > table th, .stat > table td { border-left:2px solid #aaa; } -.stat h2 + table tr *:first-child{ +.stat > table th:first-child, .stat > table td:first-child { border-left:0; -} \ No newline at end of file +}