diff options
| author | Arne Rief <riearn@proton.me> | 2025-12-19 20:03:03 +0100 |
|---|---|---|
| committer | Arne Rief <riearn@proton.me> | 2025-12-19 20:03:03 +0100 |
| commit | 655ec610fcce8dd7748f10772d520bdff4f7c78e (patch) | |
| tree | 35b79f30d2cb5aea88cf76ce27f480da93cefd32 /frontend/src/styles/button.css | |
Basic setup & login
Diffstat (limited to 'frontend/src/styles/button.css')
| -rw-r--r-- | frontend/src/styles/button.css | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/frontend/src/styles/button.css b/frontend/src/styles/button.css new file mode 100644 index 0000000..8942654 --- /dev/null +++ b/frontend/src/styles/button.css @@ -0,0 +1,77 @@ +.btn { + border: none; + border-radius: var(--border-radius-small); + color: #fff; + cursor: pointer; + font-size: 1rem; + font-weight: bold; + margin-top: 10px; + padding: 15px; + transition: background-color 0.3s, transform 0.1s; + width: 100%; + + &:active { + transform: translateY(2px); + } + + &:disabled { + background-color: #dcdfdf; + cursor: not-allowed; + } +} + +.btn-add-robot { + background-color: var(--color-robot); + margin-top: 0; + padding: var(--gap-small); + width: fit-content; + + &:hover { + background-color: var(--color-robot-dark); + } +} + +.btn-robot-history-toggle { + background-color: var(--color-robot); + font-size: var(--text-small); + margin-top: var(--gap-small); + padding: 6px 8px; + width: fit-content; + + display: flex; + align-items: center; + justify-content: space-between; + gap: var(--gap-small); + + &:hover { + background-color: var(--color-robot-dark); + } +} + +.btn-start { + background-color: var(--color-start); + + &:hover { + background-color: var(--color-start-dark); + } +} + +.btn-stop { + background-color: var(--color-stop); + + &:hover { + background-color: var(--color-stop-dark); + } +} + +.btn-single-robot { + font-size: var(--text-small); + margin: 0; + padding: 6px 8px; + width: fit-content; +} + +.btn-logout { + margin-top: 0; + padding: var(--gap-normal); +} |
