From 28a2f35f92d3a9ae46b8d4718b0d23dc8fdbd190 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 22 Nov 2015 13:39:12 -0800 Subject: [PATCH 1/2] Show full text of comment on hover in catalog. --- src/css/burichan.css | 6 ++++++ src/css/futaba.css | 6 ++++++ src/css/photon.css | 4 ++++ src/css/style.css | 5 +++++ src/css/tomorrow.css | 4 ++++ src/css/yotsuba-b.css | 6 ++++++ src/css/yotsuba.css | 6 ++++++ 7 files changed, 37 insertions(+) diff --git a/src/css/burichan.css b/src/css/burichan.css index 544be887c..17f30a1e1 100644 --- a/src/css/burichan.css +++ b/src/css/burichan.css @@ -30,6 +30,12 @@ background-color: #D6DAF0; } +/* Catalog */ +:root.burichan .catalog-thread:hover { + background-color: #D6DAF0; + outline: 1px solid #B7C5D9; +} + /* Quote */ :root.burichan .backlink.deadlink { color: #34345C !important; diff --git a/src/css/futaba.css b/src/css/futaba.css index 16bbbcdae..536561685 100644 --- a/src/css/futaba.css +++ b/src/css/futaba.css @@ -30,6 +30,12 @@ background-color: #F0E0D6; } +/* Catalog */ +:root.futaba .catalog-thread:hover { + background-color: #F0E0D6; + outline: 1px solid #D9BFB7; +} + /* Quote */ :root.futaba .backlink.deadlink { color: #00E !important; diff --git a/src/css/photon.css b/src/css/photon.css index 7b431af34..ab75ae00a 100644 --- a/src/css/photon.css +++ b/src/css/photon.css @@ -31,6 +31,10 @@ } /* Catalog */ +:root.photon .catalog-thread:hover { + background-color: #DDD; + outline: 1px solid #CCC; +} :root.photon .catalog-code { background-color: rgba(150, 150, 150, 0.2); } diff --git a/src/css/style.css b/src/css/style.css index d147f09f1..6771cdab0 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -742,6 +742,11 @@ div[data-checked="false"] > .suboption-list { overflow: hidden; text-align: center; } +.catalog-thread:hover > .comment { + overflow: visible; + z-index: 1; + background-color: inherit; +} /* /tg/ dice rolls */ .board_tg .catalog-thread > .comment > b { font-weight: normal; diff --git a/src/css/tomorrow.css b/src/css/tomorrow.css index 4fbdc7ae5..24e1f05b6 100644 --- a/src/css/tomorrow.css +++ b/src/css/tomorrow.css @@ -27,6 +27,10 @@ } /* Catalog */ +:root.tomorrow .catalog-thread:hover { + background-color: #282A2E; + outline: 1px solid #111; +} :root.tomorrow .catalog-code { background-color: rgba(255, 255, 255, 0.1); } diff --git a/src/css/yotsuba-b.css b/src/css/yotsuba-b.css index b7c806ebe..c43e9d956 100644 --- a/src/css/yotsuba-b.css +++ b/src/css/yotsuba-b.css @@ -30,6 +30,12 @@ background-color: #D6DAF0; } +/* Catalog */ +:root.yotsuba-b .catalog-thread:hover { + background-color: #D6DAF0; + outline: 1px solid #B7C5D9; +} + /* Quote */ :root.yotsuba-b .backlink.deadlink { color: #34345C !important; diff --git a/src/css/yotsuba.css b/src/css/yotsuba.css index 86bb8d9ae..b5c66daba 100644 --- a/src/css/yotsuba.css +++ b/src/css/yotsuba.css @@ -30,6 +30,12 @@ background-color: #F0E0D6; } +/* Catalog */ +:root.yotsuba .catalog-thread:hover { + background-color: #F0E0D6; + outline: 1px solid #D9BFB7; +} + /* Quote */ :root.yotsuba .backlink.deadlink { color: #00E !important; From 8c40db410ef17966475a09f9234d03cd6ca9223c Mon Sep 17 00:00:00 2001 From: ccd0 Date: Mon, 25 Jan 2016 22:00:24 -0800 Subject: [PATCH 2/2] Catalog hover should fall back to body bkgd color when no theme is selected. --- src/css/style.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/css/style.css b/src/css/style.css index d109b5863..b675a2770 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -769,10 +769,12 @@ div[data-checked="false"] > .suboption-list { overflow: hidden; text-align: center; } +[name="delform"], .board, .catalog-thread, .catalog-thread:hover > .comment { + background-color: inherit; +} .catalog-thread:hover > .comment { overflow: visible; z-index: 1; - background-color: inherit; } /* /tg/ dice rolls */ .board_tg .catalog-thread > .comment > b {