Skip to content

Commit 95b1961

Browse files
committed
css-tidyup minor components
1 parent 9ff11dd commit 95b1961

16 files changed

+94
-11
lines changed

src/css/clipboard.css

+6
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

+6
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

+5
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

+5
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

+6-1
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

+2-1
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

+11
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

+11-2
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

+5
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

+5
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;

src/css/landing-page.css

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
/* Landing Page CSS */
1+
/** landing-page.css
2+
*
3+
* Styles for Landing Pages
4+
*/
25

36
.doc.landing-page-doc h1 {
47
color: var(--color-brand-gray1);

src/css/optanon.css

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/** optanon.css
2+
*
3+
* Style vendor popup from optanon (OneTrust Cookie)
4+
*/
5+
16
.optanon-alert-box-wrapper,
27
#optanon-popup-wrapper {
38
position: fixed;

src/css/swagger-ui.css

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/** swagger-ui.css
2+
*
3+
* Style vendor css override for Swagger UI
4+
*/
5+
16
.doc .swagger-ui .topbar,
27
.doc .swagger-ui .wrapper.information-container {
38
display: none;

src/css/table.css

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/* =============================================================================
2-
Responsive Table CSS
3-
========================================================================== */
1+
/** table.css
2+
*
3+
* Responsive table CSS
4+
*/
45

56
table.tableblock,
67
table.tableblock thead,

src/css/tabs.css

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
/* Starting point:
2-
* Asciidoctor Tabs | Copyright (c) 2018-present Dan Allen | MIT License
3-
* Then hand-edited to match previous style as well as possible */
1+
/** tabs.css
2+
*
3+
* Style vendor css for @asciidoctor/tabs
4+
*
5+
* NB: we currently do NOT
6+
* @import "@asciidoctor/tabs"
7+
* so this defines the full CSS rather than overriding.
8+
*/
49

510
.tabs {
611
margin-top: 2em;

src/css/terminal.css

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/** terminal.css
2+
*
3+
* Style the Try It Now box
4+
* (source code to couchbase.live integration)
5+
*/
6+
17
.action-panel {
28
display: none;
39
position: absolute;

0 commit comments

Comments
 (0)