diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-06-06 16:30:51 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-06-06 16:30:51 +0200 |
| commit | 434e53dea597f61ad59e14012f528ceac58ead85 (patch) | |
| tree | f4dc6bae69f4c46dad9cfce1f74684cccfc26388 /frontend/views/page/page.css | |
| parent | a42008b2d8c051ec2110d866c2da288a66a1d989 (diff) | |
tile list. drag items to sort them
Diffstat (limited to 'frontend/views/page/page.css')
| -rw-r--r-- | frontend/views/page/page.css | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/frontend/views/page/page.css b/frontend/views/page/page.css index 67e35df..d828b82 100644 --- a/frontend/views/page/page.css +++ b/frontend/views/page/page.css @@ -27,3 +27,32 @@ .tile.top_right { top: 0; right: 0; } .tile.center_right { top: 50%; right: 0; } .tile.bottom_right { bottom: 0; right: 0; } + +.tileList .row { + justify-content: flex-start; + align-items: center; + min-height: 2.5rem; + margin-bottom: 0.5rem; + box-shadow: 4px 4px 6px rgba(0,0,0,0.5); +} +.tileList .row:nth-child(odd) { + background: rgba(0,0,0,0.2); +} +.tileList .row:nth-child(even) { + background: rgba(255,255,255,0.2); +} +.tileList span { + display: block; + overflow: hidden; + text-overflow: ellipsis; + width: 100%; + white-space: nowrap; + padding: 0.25rem; +} +.tileList .thumb { + width: 100%; + height: 2.5rem; + background-position: center center; + background-size: cover; + background-repeat: no-repeat; +}
\ No newline at end of file |
