Skip to content

Commit e459050

Browse files
committed
css-tidyup minor components
1 parent 11ae225 commit e459050

16 files changed

+94
-11
lines changed

src/css/clipboard.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/** clipboard.css
2+
*
3+
* Styles for View Source code button
4+
* and other listing block formatting
5+
*/
6+
17
.view-source-button,
28
.copy-code-button {
39
color: var(--color-brand-gray4);

src/css/component-frame.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/** component-frame.css
2+
*
3+
* .component-frame and .frame-body
4+
* NB: may be unused, deleted in 4d2db54746392090df7084978770f58f4709e56c ?
5+
*/
6+
17
.component-frame {
28
background: var(--color-brand-gray6);
39
padding: 0 15px 0 15px;

src/css/crumbs.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/** crumbs.css
2+
*
3+
* Format the breadcrumbs
4+
*/
5+
16
.crumbs {
27
color: var(--color-muted);
38
font-weight: var(--weight-light);

src/css/external-link-icon.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/** external-link-icon.css
2+
*
3+
* Add external link icon to links that aren't to couchbase.com
4+
*/
5+
16
.doc a[href^="https://"]:not([href*=".couchbase.com"]):not([href*="localhost"]):not([href*="127.0.0.1"]):not(.remove-ext-icon)::after,
27
.doc a[href^="http://"]:not([href*=".couchbase.com"]):not([href*="localhost"]):not([href*="127.0.0.1"]):not(.remove-ext-icon)::after,
38
a.add-ext-icon::after {

src/css/feedback.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
/* these elements are created by Jira Issue Collector script */
1+
/** feedback.css
2+
*
3+
* I believe these elements are created by
4+
* Jira Issue Collector script.
5+
* e.g. we don't output these in docs-ui
6+
*/
27

38
#atlwdg-trigger.atlwdg-trigger {
49
display: none;

src/css/highlight.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
/**
1+
/** highlight.css
2+
23
Steps to change the highlight.js theme:
34
45
1. View available themes on https://highlightjs.org/static/demo/

src/css/home.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
/** home.css
2+
*
3+
* Styles for .home
4+
* NB: not sure where this is? Landing pages?
5+
* We can have body, div, main with class of .home
6+
* via layout: home
7+
* But grep suggests this may no longer be used.
8+
*
9+
* Also for .tutorials and .searchbar
10+
*/
11+
112
.home .paragraph {
213
margin-top: 1.25rem;
314
}

src/css/info-banner.css

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
1-
/* styles include::home::partial$info-banner.adoc[]
2-
which includes an `[.info-banner]` section */
1+
/** info-banner.css
2+
*
3+
* Home pages all have
4+
*
5+
* include::home::partial$info-banner.adoc[]
6+
*
7+
* The partial itself may be switched off
8+
* (e.g. commented out)
9+
* to remove the element from all pages.
10+
*
11+
*/
312

413
.info-banner {
514
display: block;

src/css/is-this-helpful.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/** is-this-helpful.css
2+
*
3+
* Style the Is this helpful? thumbs up/down feature
4+
* in the table of contents
5+
*/
16

27
.is-this-helpful-box * {
38
font-family: "Source Sans Pro", sans-serif;

src/css/labels.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/** labels.css
2+
*
3+
* doc .labels, .edition, .status
4+
*/
5+
16
.doc .labels ul,
27
.doc .labels p {
38
display: flex;

0 commit comments

Comments
 (0)