diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-02-02 15:19:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-02-02 15:56:52 +0000 |
commit | d77b7d0d97a4d698f801b92ce3b7ae5135908fdf (patch) | |
tree | e732e690b836a2d69290e83ac1e3d1823e72171c /sortable.scss | |
parent | Initial commit. (diff) | |
download | sortable-upstream.tar.xz sortable-upstream.zip |
Adding upstream version 1.6.0+20221231.upstream/1.6.0+20221231upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'sortable.scss')
-rwxr-xr-x | sortable.scss | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/sortable.scss b/sortable.scss new file mode 100755 index 0000000..6996535 --- /dev/null +++ b/sortable.scss @@ -0,0 +1,44 @@ +@import 'sortable-base.scss'; + +.sortable { + --stripe-color: #e4e4e4; + --th-color: #fff; + --th-bg: #808080; + --td-color: #000; + --td-on-stripe-color: #000; + + border-spacing: 0; + + tbody { + tr { + &:nth-child(odd) { + background-color: var(--stripe-color); + color: var(--td-on-stripe-color); + } + } + } + th { + background: var(--th-bg); + color: var(--th-color); + font-weight: normal; + text-align: left; + text-transform: capitalize; + vertical-align: baseline; + white-space: nowrap; + } + td { + color: var(--td-color); + } + td, + th { + padding: 10px; + + &:first-child { + border-top-left-radius: 4px; + } + + &:last-child { + border-top-right-radius: 4px; + } + } +} |