diff options
author | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-04-17 16:18:12 +0530 |
---|---|---|
committer | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-04-17 16:18:12 +0530 |
commit | 444a8147f59df78ebf14222edcebf944226b533e (patch) | |
tree | 88f72d041c3b75b5c3d7d6f48fffc2b943379809 /src/components/Display/Display.scss | |
parent | 2efc453d20aca682ac3f34af8687d4bb28642195 (diff) |
designed DisplayItem and ItemsDisplay so it now renders a pretty table
Diffstat (limited to 'src/components/Display/Display.scss')
-rw-r--r-- | src/components/Display/Display.scss | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/src/components/Display/Display.scss b/src/components/Display/Display.scss index e3d8b7c..25bb331 100644 --- a/src/components/Display/Display.scss +++ b/src/components/Display/Display.scss @@ -1,6 +1,27 @@ +@import "../../styles/theme"; + +.ItemsDisplay, +.ItemsDisplay table { + width: 100%; +} + .ItemsDisplay { - margin-top: 3rem; - margin-bottom: 3rem; + $sideBorder: 1px dashed $tableBorderColor; + border-right: $sideBorder; + border-left: $sideBorder; + + padding: 1rem 0.5rem; +} + +.ItemsDisplay td { + text-align: center; + border-bottom: 1px solid $labelUnderlineColor; +} + +.ItemsDisplay .leftAlign { + text-align: left; +} - +.ItemsDisplay .legend { + background-color: $altBG; } |