diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-06-03 19:27:29 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-06-03 19:27:29 +0200 |
| commit | e52dcc61ed433980d760a050ff14852a05676b96 (patch) | |
| tree | 8af65e8261971bfba5130aae20df557b7bb1c54e /frontend/views/graph | |
| parent | 3e9de575501fd1945b8341f7a4e3a89b73e3cb03 (diff) | |
image/text form
Diffstat (limited to 'frontend/views/graph')
| -rw-r--r-- | frontend/views/graph/graph.css | 62 |
1 files changed, 58 insertions, 4 deletions
diff --git a/frontend/views/graph/graph.css b/frontend/views/graph/graph.css index 73ac103..6facb9b 100644 --- a/frontend/views/graph/graph.css +++ b/frontend/views/graph/graph.css @@ -15,11 +15,14 @@ /* Sidebar boxes */ -.box { - width: 15rem; +.sidebar { position: absolute; top: 1rem; right: 1rem; + z-index: 2000; +} +.box { + width: 15rem; padding: 0.5rem; background: rgba(64,12,64,0.9); border: 2px solid #000; @@ -36,6 +39,30 @@ align-items: flex-start; margin-bottom: 0.25rem; } +.box form label.checkbox { + flex-direction: row; + justify-content: flex-start; + align-items: center; +} +.box form input[type="checkbox"] { + margin-left: 0rem; +} +.box form input[type=checkbox] + span { + color: #ddd; +} +.box form input[type=checkbox]:hover + span { + color: #fff; +} +.box form input[type="checkbox"]:after { + border-color: #84f; +} +.box form input[type="checkbox"]:checked:after { + border-color: #84f; + background-color: #84f; +} +.box form input[type=checkbox]:hover + span { + color: #84f; +} .box input[type=text], .box input[type=number], .box input[type=password] { @@ -48,10 +75,37 @@ height: 5rem; border-color: #888; } -.box .text.description span:first-child { - display: none; +.box .select { + padding: 0.25rem; + margin-right: 0; +} +.box .selects label { + flex-direction: row; + width: 6.5rem; + margin-right: 0.5rem; + min-width: auto; +} +.box form textarea { + padding: 0.25rem; } +.box form .pair label span { + min-width: 3rem; + padding: 0.25rem 0; +} +.box .pair label { + flex-direction: row; + width: 6rem; + margin-right: 1rem; + min-width: auto; +} +.box .pair input[type=text] { + width: 3rem; +} +.box .position { + font-size: smaller; + margin-bottom: 0.25rem; +} /* Graph handles */ .handle { |
