Skip to content

Commit c10d282

Browse files
committed
Delete Pro badge
1 parent 32e6448 commit c10d282

File tree

3 files changed

+6
-38
lines changed

3 files changed

+6
-38
lines changed

sidebars.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,11 @@ const sidebars = {
119119
type: 'doc',
120120
label: 'Generate flow',
121121
id: 'generate-flow',
122-
className: 'pro-feature',
123122
},
124123
{
125124
type: 'doc',
126125
label: 'Colors',
127126
id: 'colors',
128-
className: 'pro-feature',
129127
},
130128
'annotations',
131129
'descriptions',
@@ -145,15 +143,13 @@ const sidebars = {
145143
type: 'doc',
146144
label: 'Live simulation',
147145
id: 'live-simulation',
148-
className: 'pro-feature',
149146
},
150147
],
151148
},
152149
'projects',
153150
{
154151
type: 'category',
155152
label: 'Stately Sky',
156-
className: 'pro-feature',
157153
link: {
158154
type: 'doc',
159155
id: 'stately-sky-getting-started',
@@ -169,7 +165,6 @@ const sidebars = {
169165
{
170166
type: 'doc',
171167
label: 'Teams',
172-
className: 'pro-feature',
173168
id: 'teams',
174169
},
175170
'discover',
@@ -224,7 +219,6 @@ const sidebars = {
224219
type: 'doc',
225220
label: 'Pro plan',
226221
id: 'studio-pro-plan',
227-
className: 'pro-feature',
228222
},
229223
{
230224
type: 'doc',
@@ -247,13 +241,11 @@ const sidebars = {
247241
type: 'doc',
248242
label: 'Version history',
249243
id: 'versions',
250-
className: 'pro-feature',
251244
},
252245
{
253246
type: 'doc',
254247
label: 'Lock machines',
255248
id: 'lock-machines',
256-
className: 'pro-feature',
257249
},
258250
'keyboard-shortcuts',
259251
'canvas-view-controls',

src/css/custom.css

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1229,23 +1229,6 @@ html [class*='toggleButton'] {
12291229
transform: rotateZ(90deg);
12301230
}
12311231

1232-
/* Add a pro badge to menu items with the pro-feature classname */
1233-
1234-
.menu__list-item.pro-feature > a:after,
1235-
.menu__list-item.pro-feature > div > a:after {
1236-
background-color: var(--st-orange-500);
1237-
border-radius: 0.3rem;
1238-
content: 'Pro';
1239-
color: white;
1240-
font-size: 0.85em;
1241-
font-weight: var(--ifm-font-weight-bold);
1242-
margin-top: 0.1rem;
1243-
margin-left: 0.45rem;
1244-
padding: 0 0.3rem;
1245-
text-transform: uppercase;
1246-
transform: rotateZ(0deg);
1247-
}
1248-
12491232
/* Add a free badge to menu items with the pro-feature classname */
12501233
.menu__list-item.community-feature > a:after,
12511234
.menu__list-item.community-feature > div > a:after {

versioned_sidebars/version-4-sidebars.json

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,7 @@
112112
{
113113
"type": "doc",
114114
"label": "Generate flow",
115-
"id": "generate-flow",
116-
"className": "pro-feature"
115+
"id": "generate-flow"
117116
},
118117
"import-from-code",
119118
"export-as-code",
@@ -124,8 +123,7 @@
124123
{
125124
"type": "doc",
126125
"label": "Colors",
127-
"id": "colors",
128-
"className": "pro-feature"
126+
"id": "colors"
129127
}
130128
]
131129
},
@@ -140,22 +138,19 @@
140138
{
141139
"type": "doc",
142140
"label": "Live simulation",
143-
"id": "live-simulation",
144-
"className": "pro-feature"
141+
"id": "live-simulation"
145142
}
146143
]
147144
},
148145
{
149146
"type": "doc",
150147
"label": "Version history",
151-
"id": "versions",
152-
"className": "pro-feature"
148+
"id": "versions"
153149
},
154150
{
155151
"type": "doc",
156152
"label": "Lock machines",
157-
"id": "lock-machines",
158-
"className": "pro-feature"
153+
"id": "lock-machines"
159154
},
160155
"keyboard-shortcuts",
161156
"canvas-view-controls",
@@ -166,7 +161,6 @@
166161
{
167162
"type": "doc",
168163
"label": "Teams",
169-
"className": "pro-feature",
170164
"id": "teams"
171165
},
172166
"discover",
@@ -218,8 +212,7 @@
218212
{
219213
"type": "doc",
220214
"label": "Pro plan",
221-
"id": "studio-pro-plan",
222-
"className": "pro-feature"
215+
"id": "studio-pro-plan"
223216
},
224217
{
225218
"type": "doc",

0 commit comments

Comments
 (0)