From 39d3bf2e7e4b9ed4d0cb0e9f090fef4a35f30d6d Mon Sep 17 00:00:00 2001 From: Renard Date: Sun, 22 Sep 2019 12:38:15 -0300 Subject: Ajustes nightmode --- src/App.css | 4 ++-- src/Home.js | 23 ++++++++++++++--------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/src/App.css b/src/App.css index 9486e24..e2d217a 100644 --- a/src/App.css +++ b/src/App.css @@ -78,12 +78,12 @@ padding-bottom: 0.75em; } -.ui.attached:not(.top).header { +.ui.attached:not(.top).header.inverted { border-top: 1px solid !important; border-radius: 0.28571429rem 0.28571429rem 0 0; } -.ui.inverted.attached.header { +.ui.inverted.attached.header.inverted { border-color: #555555 !important; } diff --git a/src/Home.js b/src/Home.js index 5832ce4..5dd8006 100644 --- a/src/Home.js +++ b/src/Home.js @@ -104,6 +104,7 @@ class Home extends Component { } const { newThreadsList, lastAgeThreads, latestNews } = this.state; + const { nightMode } = this.props; document.title = "B.a.I Home"; return ( -
Hilos activos
- +
+ Hilos activos +
+ {lastAgeThreads.map(thread => (
-
Nuevos hilos
- +
+ Nuevos hilos +
+ {newThreadsList.map(thread => ( -
Blotter
- +
+ Blotter +
+ {latestNews.map(n => ( -- cgit v1.2.1-18-gbd029