Skip to content

Commit a08a604

Browse files
new and updated
1 parent c18c975 commit a08a604

File tree

8 files changed

+68
-0
lines changed

8 files changed

+68
-0
lines changed

src/css/custom.css

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,3 +211,64 @@ h1 {
211211
grid-template-columns: repeat(3, 1fr); /* Creates three columns */
212212
gap: 20px; /* Space between the cards */
213213
}
214+
215+
.menu__list-item.sidebar-item--new > .menu__link,
216+
.menu__list-item.sidebar-item--new > .menu__list-item-collapsible > .menu__link,
217+
.menu__list-item.sidebar-item--updated > .menu__link,
218+
.menu__list-item.sidebar-item--updated > .menu__list-item-collapsible > .menu__link {
219+
display: flex;
220+
align-items: center;
221+
gap: 0.35rem;
222+
}
223+
224+
.menu__list-item.sidebar-item--new > .menu__link::before,
225+
.menu__list-item.sidebar-item--new > .menu__list-item-collapsible > .menu__link::before {
226+
order: 1;
227+
content: "New";
228+
padding: 2px 6px;
229+
background-color: rgba(83, 49, 202, 0.06);
230+
color: #4a3c82;
231+
border: 1px solid rgba(83, 49, 202, 0.16);
232+
border-radius: 999px;
233+
font-size: 0.72em;
234+
font-weight: 600;
235+
line-height: 1.2;
236+
}
237+
238+
html[data-theme='dark'] .menu__list-item.sidebar-item--new > .menu__link::before,
239+
html[data-theme='dark'] .menu__list-item.sidebar-item--new > .menu__list-item-collapsible > .menu__link::before {
240+
background-color: rgba(183, 166, 255, 0.12);
241+
color: #dcd5ff;
242+
border-color: rgba(183, 166, 255, 0.35);
243+
}
244+
245+
.menu__list-item.sidebar-item--new > .menu__list-item-collapsible > .menu__link.menu__link--sublist-caret::after {
246+
order: 3;
247+
margin-left: auto;
248+
}
249+
250+
.menu__list-item.sidebar-item--updated > .menu__link::before,
251+
.menu__list-item.sidebar-item--updated > .menu__list-item-collapsible > .menu__link::before {
252+
order: 1;
253+
content: "Updated";
254+
padding: 2px 6px;
255+
background-color: rgba(247, 173, 65, 0.1);
256+
color: #8a5800;
257+
border: 1px solid rgba(247, 173, 65, 0.4);
258+
border-radius: 999px;
259+
font-size: 0.72em;
260+
font-weight: 600;
261+
line-height: 1.2;
262+
}
263+
264+
html[data-theme='dark'] .menu__list-item.sidebar-item--updated > .menu__link::before,
265+
html[data-theme='dark'] .menu__list-item.sidebar-item--updated > .menu__list-item-collapsible > .menu__link::before {
266+
background-color: rgba(247, 199, 120, 0.18);
267+
color: #ffdca6;
268+
border-color: rgba(247, 199, 120, 0.5);
269+
}
270+
271+
.menu__list-item.sidebar-item--updated > .menu__list-item-collapsible > .menu__link.menu__link--sublist-caret::after {
272+
order: 3;
273+
margin-left: auto;
274+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
collapsed: true
22
collapsible: true
33
label: "Pioreactor 40ml v1.5"
4+
className: sidebar-item--new
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
collapsed: true
22
collapsible: true
33
label: "Pioreactor 20ml v1.5"
4+
className: sidebar-item--new

user-guide/01-getting-started/02-software-set-up.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ id: software-set-up
33
description: Install the Pioreactor software onto the Raspberry Pi
44
title: Software installation
55
slug: /software-set-up
6+
sidebar_class_name: sidebar-item--updated
67
---
78

89
import TOCInline from '@theme/TOCInline';

user-guide/03-Extending your Pioreactor/04-Experiment Profiles/02-create-edit-experiment-profiles.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Creating and editing experiment profiles
33
slug: /create-edit-experiment-profiles
44
hide_table_of_contents: true
5+
sidebar_class_name: sidebar-item--updated
56
---
67

78
Experiment profiles choreograph everything that happens across your cluster: which jobs start, when they update, and when they stop. This page walks through creating your first "hello world" profile in the UI, explains how to edit it, and points you to the raw files if you prefer the command line.

user-guide/03-Extending your Pioreactor/04-Experiment Profiles/10-experiment-profiles-schema.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Experiment profile schema and syntax
33
slug: /experiment-profiles-schema
44
hide_table_of_contents: true
5+
sidebar_class_name: sidebar-item--updated
56
---
67

78
Experiment profiles are YAML files that choreograph jobs across your Pioreactor cluster. This page documents the syntax the UI validates against and the constructs available when you are editing a profile directly.

user-guide/03-Extending your Pioreactor/08-hardware-calibrations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Hardware calibrations
33
slug: /hardware-calibrations
44
hide_table_of_contents: true
5+
sidebar_class_name: sidebar-item--updated
56
---
67

78
import AssemblyInstructionBlock from '@site/src/components/AssemblyInstructionBlock';

user-guide/29-Automations/00-intro-to-automations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Introduction to automations
33
slug: /intro-to-automations
44
description: Automations let Pioreactor run dosing, temperature, LED, and growth workflows for you.
55
hide_table_of_contents: true
6+
sidebar_class_name: sidebar-item--updated
67
---
78

89
Automations are Pioreactor’s presets for running repeatable tasks without babysitting every step. Instead of manually toggling stirring, repeatedly starting a pump, or scheduling LED cycles, you can hand those decisions to an automation and focus on interpreting the experiment.

0 commit comments

Comments
 (0)