From d10127f09eaac90bc47db096c0b542b0bdbafe1b Mon Sep 17 00:00:00 2001 From: fechin Date: Tue, 3 Jan 2023 16:27:37 +0800 Subject: [PATCH] Added `style-list` variants for tables --- .../source/css/components/layout_table.css | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/themes/coo/source/css/components/layout_table.css b/themes/coo/source/css/components/layout_table.css index c3e7dcf..d6af529 100644 --- a/themes/coo/source/css/components/layout_table.css +++ b/themes/coo/source/css/components/layout_table.css @@ -111,3 +111,29 @@ opacity: 0.6; @apply dark:opacity-90; } + + +.mdLayout table.style-list td + td, +.mdLayout table.style-list-arrow td + td { + padding-top: 0 !important; +} + +.mdLayout table.style-list td, +.mdLayout table.style-list-arrow td { + display: block; + text-align: left !important; +} + + +.mdLayout table.style-list-arrow td:first-child::before, +ul.style-arrow li:before { + content: ''; + display: inline-block; + width: 0px; + height: 0px; + border-right: 6px solid transparent; + border-top: 5px solid transparent; + border-left: 6px solid #228e6c; + border-bottom: 5px solid transparent; +} +