From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=1yKDiu1ykwdAB0LOCn+aBMDfksu+R5rnJOGzgyDKH/g=; b=AEiVF6GwVBZvRVB5tMrJTtTzj1BOH7gW+766NWkEkW61OZo3PsgDB2j63PhYJ3JRzd fHufTjYbQHWio9NneqyyOtUts/9ynnc4yv6n6749X66Pq+vEIxg+rbFoyIRUOkp6AMDi DjVtnR/onor01spa+2geG+yqDJJT4ACx89A22l993aXczxa8jlLMrxZX21TDKdUUyaNp SRkAOe6aatGmXT1dqxgptexSF2xbeNCLIrdGbAvLn/qFgw55wSQmLRo/3GMI+VDxzjP9 Qhf0Xwh9FqpL4M2uSXNcgIs/a1sJE3IR25yJLZhps0aEiG3kDrK+wgJfcekeVyfcaq0C gffw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=1yKDiu1ykwdAB0LOCn+aBMDfksu+R5rnJOGzgyDKH/g=; b=gMPG/FjMKMYumwM8hlMBRp2TuTgqDYyIssKaA0PknfDSnLp+hVB5G1qSy4ELNsL9C0 Qua819LrQ7yjDdyWTL61uOAD/NE05MZf4hzjB4zfVwvQE/UIv/nc9Go64R8+ZkNlA9yG XAFAI1x9uuZYzkmgJgyz+s3CEhgApcAwLOgtu4zFWNt+Xez1ZmsbkkeeyFig92pR2cCs Bw97VkJ9uLwumA5yLdLn+D4FeLUr/kQEv05bdIeqVVzN1bSIzSH1mQjunaLXIHmf3ZRY DSG5bwf3S7Dl3L0DAQBBbIx3vGTa2U2Lr+YAmrsRfjits/cFaqYWhNSzBAhgbumCYHQ7 Pfbw== X-Gm-Message-State: AMke39lWLFKUNO52RNFeoZwzv6Ifrbf0uEdzaba4326U24D6P3nuLmrr+nUyGaP6Jd+fGw/2 X-Received: by 10.223.131.99 with SMTP id 90mr17537114wrd.146.1487626007120; 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) From: Thomas Monjalon To: dev@dpdk.org Date: Mon, 20 Feb 2017 22:26:38 +0100 Message-Id: <1487625998-8040-4-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1487625998-8040-1-git-send-email-thomas.monjalon@6wind.com> References: <1487625998-8040-1-git-send-email-thomas.monjalon@6wind.com> Subject: [dpdk-dev] [PATCH 3/3] doc: highlight pointed column in NIC overview table X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2017 21:26:47 -0000 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