diff options
author | lonkaars <loek@pipeframe.xyz> | 2021-06-25 09:28:28 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2021-06-25 09:28:28 +0200 |
commit | 279c165e2d9f633052f53a609bb721ba0c9710a1 (patch) | |
tree | cf28d5ac14a27a3ce76ea72790d6d41c77283610 /styles | |
parent | bb112d5e3c94d20cb6b3ef7d71934b9d6727c4a4 (diff) |
ready state / disabled tools
Diffstat (limited to 'styles')
-rw-r--r-- | styles/editor.css | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/styles/editor.css b/styles/editor.css index a14adb3..95cff49 100644 --- a/styles/editor.css +++ b/styles/editor.css @@ -167,6 +167,18 @@ color: var(--gruble); } +.tools .time .framerate, +.tools .time .timecode { + transition-property: opacity, color; + transition-duration: 150ms; +} + +.tools .time.disabled .framerate, +.tools .time.disabled .timecode { + opacity: .6; + color: var(--c700); +} + .appGrid .tools .MuiToggleButtonGroup-root, .appGrid .tools .zoom { margin-top: 8px; @@ -185,12 +197,39 @@ color: var(--gruble); } +.zoom .MuiSlider-root, +.zoom .MuiSvgIcon-root { + transition-property: opactity, color; + transition-duration: 150ms; +} + +.zoom.disabled .MuiSlider-root, +.zoom.disabled .MuiSvgIcon-root { + pointer-events: none; + color: var(--c800) !important; + opacity: .6; +} + .appGrid .tools .MuiToggleButtonGroup-root .MuiToggleButton-root { border-width: 2px; padding: 8px; color: var(--c800); border-color: var(--c400); margin-right: -1px; + transition-property: opacity, background-color, color, border-color; + transition-duration: 150ms; +} + +.MuiToggleButtonGroup-root.disabled .MuiToggleButton-root { + opacity: .6; + pointer-events: none; +} + +.MuiToggleButtonGroup-root.disabled .MuiToggleButton-root.Mui-selected { + color: var(--c800) !important; + background-color: var(--c400) !important; + border-top-color: var(--c600) !important; + border-bottom-color: var(--c600) !important; } .appGrid .tools .MuiToggleButtonGroup-root .MuiToggleButton-root.Mui-selected { |