Skip to content

Commit efce83e

Browse files
authored
Update styles.module.css for execution flow buttons style
1 parent 1ae6faf commit efce83e

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

src/components/InteractivePython/styles.module.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,3 +246,25 @@
246246
border-left: 2px solid var(--ifm-color-primary-light) !important;
247247
}
248248

249+
/* Button block layout instead of flat, raw margins */
250+
.buttonGroup {
251+
display: flex;
252+
width: 100%;
253+
}
254+
255+
/* Stop button specifics (no neon/harsh inline styles) */
256+
.runButton.stopButton {
257+
border-left: 1px solid var(--ifm-toc-border-color);
258+
background-color: var(--ifm-color-danger, #e11d48); /* Soft rose/red state */
259+
}
260+
261+
.runButton.stopButton:hover:not(:disabled) {
262+
background-color: var(--ifm-color-danger-dark, #be123c);
263+
}
264+
265+
.runButton.stopButton:disabled {
266+
background-color: var(--ifm-background-color);
267+
color: var(--ifm-font-color-secondary);
268+
opacity: 0.6;
269+
}
270+

0 commit comments

Comments
 (0)