Skip to content

Commit 2b34d41

Browse files
authored
Merge pull request #196 from couchbase/DOC-13935-capella-type-AI-and-app-services
DOC-13935 new page-capella-type for AI and app-services
2 parents 1d59688 + 19058a0 commit 2b34d41

4 files changed

Lines changed: 26 additions & 2 deletions

File tree

src/css/labels.css

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
opacity: 0.6;
127127
}
128128

129-
/* Capella types: columnar vs operational */
129+
/* Capella types: columnar, operational, ai, app-services */
130130
.doc .columnar {
131131
color: var(--color-brand-caution);
132132
border: 1px solid var(--color-brand-caution);
@@ -141,6 +141,20 @@
141141
opacity: 0.6;
142142
}
143143

144+
.doc .app-services {
145+
color: var(--color-brand-purple-secondary);
146+
border: 1px solid var(--color-brand-purple-secondary);
147+
border-radius: 3px;
148+
opacity: 0.6;
149+
}
150+
151+
.doc .ai {
152+
color: var(--color-brand-green-secondary);
153+
border: 1px solid var(--color-brand-green-secondary);
154+
border-radius: 3px;
155+
opacity: 0.6;
156+
}
157+
144158
.doc .edition.page-edition {
145159
color: #999;
146160
border: 1px solid #999;

src/css/vars.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
--color-link: var(--color-brand-blue-secondary);
2121
--color-link-active: var(--color-brand-blue-secondary-light);
2222
--color-link-hover: var(--color-brand-blue-secondary-extra-light);
23+
--color-brand-green-secondary: #366407;
24+
--color-brand-purple-secondary: #76309e;
2325

2426
/* legacy secondary */
2527
--color-blue-rgb: 87, 160, 255;

src/js/vendor/fontawesome-icon-defs.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/partials/labels.hbs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55
<li class="columnar">
66
<i class="fas fa-chart-line"></i>
77
Capella Analytics</li>
8+
{{else if (eq this "AI")}}
9+
<li class="ai">
10+
<i class="fas fa-sparkles"></i>
11+
Capella AI Services</li>
12+
{{else if (eq this "App Services")}}
13+
<li class="app-services">
14+
<i class="fas fa-mobile"></i>
15+
Capella App Services</li>
816
{{else}}
917
<li class="operational">
1018
<i class="fas fa-database"></i>

0 commit comments

Comments
 (0)