Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Legend.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export function Legend({
</label>
<button
disabled={!config?.monitorUISettings?.connected}
className="pause-button"
className={`pause-button ${pause ? "paused" : ""}`}
title={
config?.monitorUISettings?.connected
? undefined
Expand Down
65 changes: 56 additions & 9 deletions src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ body {
}

.message-to-board-send-button {
width: 45px;
margin-left: 6px;
}
}

Expand Down Expand Up @@ -224,10 +224,18 @@ body {
}

.pause-button {
width: 47px;
width: 75px;
text-align: center;
}

.pause-button:not(.paused) {
background-color: $notifyerror;

&:hover {
background-color: darken($notifyerror, 10);
}
}

.clear-button {
border: none;
background: none;
Expand Down Expand Up @@ -362,17 +370,56 @@ input[type="text"]{
color: #7F8C8D !important;
}

.dark {
button {
background-color: $teal1;
color: $onyx;

&:hover {
background-color: $teal0;
}

&:active {
box-shadow: 0 0 0 2px $fog;
}
}
}

button {
background: #B9C7C9;
border: 1px solid #E1E1E1;
box-sizing: border-box;
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25);
border-radius: 1px;
background-color: $teal3;
color: $white;
padding: 6px 5px;
align-items: center;
display: flex;
font-family: 'Open Sans',sans-serif;
font-style: normal;
font-weight: 700;
font-size: 14px;
justify-content: center;
cursor: pointer;
letter-spacing: .01em;
line-height: 23.8px;
outline: none;
padding: 0 16px;
position: relative;
text-align: center;
text-decoration: none;
border-width: 2px;
border-radius: 32px;
text-transform: uppercase;
transition: none;
box-shadow: none;
border-color: transparent;

&[disabled] {
opacity: 0.5;
pointer-events: none;
}
}

&:hover {
background-color: $teal5;
}

&:active {
box-shadow: 0 0 0 2px $teal0;
}
}