From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [PATCH 3/3] doc: highlight pointed column in NIC overview table Date: Mon, 20 Feb 2017 22:26:38 +0100 Message-ID: <1487625998-8040-4-git-send-email-thomas.monjalon@6wind.com> References: <1487625998-8040-1-git-send-email-thomas.monjalon@6wind.com> To: dev@dpdk.org Return-path: Received: from mail-wr0-f169.google.com (mail-wr0-f169.google.com [209.85.128.169]) by dpdk.org (Postfix) with ESMTP id 873EC374E for ; Mon, 20 Feb 2017 22:26:47 +0100 (CET) Received: by mail-wr0-f169.google.com with SMTP id 35so31166799wrw.0 for ; Mon, 20 Feb 2017 13:26:47 -0800 (PST) Received: from XPS13.localdomain (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id c202sm14936627wmd.10.2017.02.20.13.26.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 Feb 2017 13:26:46 -0800 (PST) In-Reply-To: <1487625998-8040-1-git-send-email-thomas.monjalon@6wind.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Every cells of a driver column are painted in yellow. The trick is to generate some empty content as a big column above and below the pointed cell. The position: relative attribute is used for the highlight position but it makes the border to disappear. The overflow: hidden attribute is used to mask the generated content outside of the table. The class .wy-nav-content has a background which masks the highlighting. Setting an opacity lower than 1, creates a new stack context and let the column highlight to be shown. The background of odd rows was grey and opaque. It is redefined with a transparent alpha ratio in order to see highlighting on such rows. Signed-off-by: Thomas Monjalon --- doc/guides/nics/overview.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc/guides/nics/overview.rst b/doc/guides/nics/overview.rst index a8a8f26..afb6503 100644 --- a/doc/guides/nics/overview.rst +++ b/doc/guides/nics/overview.rst @@ -53,8 +53,12 @@ Most of these differences are summarized below. .. raw:: html