summaryrefslogtreecommitdiff
path: root/frontend/src/styles/button.css
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/styles/button.css')
-rw-r--r--frontend/src/styles/button.css77
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);
+}