diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-03-16 18:19:26 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-03-16 18:19:26 +0100 |
| commit | 15d9d864b539e221c6494b3535abef724517f207 (patch) | |
| tree | 1867734ad4740625848c69cd05f5497c21282b0c /frontend/app/views/graph/graph.css | |
| parent | 901beb4df2c074ba54fedc91dd6e780cebe093d1 (diff) | |
uploading audio files and displaying them in a list
Diffstat (limited to 'frontend/app/views/graph/graph.css')
| -rw-r--r-- | frontend/app/views/graph/graph.css | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/frontend/app/views/graph/graph.css b/frontend/app/views/graph/graph.css index 2805cb0..c6ef115 100644 --- a/frontend/app/views/graph/graph.css +++ b/frontend/app/views/graph/graph.css @@ -146,6 +146,59 @@ width: 5.5rem; } +/* Upload area */ + +.box .uploadButton { + position: relative; + display: flex; + justify-content: center; + align-items: center; + margin-top: 0.5rem; + margin-bottom: 0.5rem; +} +.uploadButton input[type=file] { + position: absolute; + top: 0; left: 0; + width: 100%; height: 100%; +} +.audioList .audioItem { + display: flex; + justify-content: flex-start; + align-items: center; + cursor: pointer; + padding: 0.125rem 0; +} +.audioList .playButton { + background: transparent; + border: 0; + width: 1.5rem; + height: 1.5rem; + margin-right: 0.5rem; + opacity: 0.8; +} +.audioList .title { + display: flex; + justify-content: flex-start; + align-items: center; + overflow: hidden; + flex: 1; +} +.audioList .title div { + overflow: hidden; + text-overflow: ellipsis; + white-space: pre; + width: 100%; +} +.audioList .audioItem:hover { + background: rgba(255,255,255,0.2); +} +.audioList .audioItem:hover .title { + color: #fff; +} +.audioList .audioItem:hover .playButton { + opacity: 1.0; +} + /* Graph handles */ .handle { |
