From 6c54c9d57d5fa4c52aa454ed3ca09060b0674ad3 Mon Sep 17 00:00:00 2001 From: piotrruss Date: Sat, 4 Sep 2021 11:20:34 +0200 Subject: split scss into partials --- apps/Notes/styles/_notesList.scss | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 apps/Notes/styles/_notesList.scss (limited to 'apps/Notes/styles/_notesList.scss') diff --git a/apps/Notes/styles/_notesList.scss b/apps/Notes/styles/_notesList.scss new file mode 100644 index 0000000..f55757f --- /dev/null +++ b/apps/Notes/styles/_notesList.scss @@ -0,0 +1,43 @@ +.notesList { + @keyframes fade-in { + from {opacity: 0;} + to {opacity: 1;} + } + + display: block; + overflow: auto; + width: 100%; + table-layout: fixed; + word-wrap: break-word; + height: 100%; + margin-top: -1em; + padding-top: 1em; + + & > tbody, + & > thead { + display: block; + } + + & tr { + display: flex; + padding: .5em; + } + + & th { + font-weight: 600; + text-align: left; + min-width: 10em; + white-space: nowrap; + padding-bottom: .5em; + // cursor: pointer; + line-height: 1.1em; + + &:first-of-type { + width: 99%; + } + + svg { + animation: fade-in .3s; + } + } +} -- cgit v1.2.3