Skip to content

Commit 9e8a043

Browse files
authored
Merge pull request #11952 from nextcloud/enh/properly-document-css-vars
developer: Document CSS variables and classes for public use
2 parents 3e6661f + 8904ccd commit 9e8a043

4 files changed

Lines changed: 248 additions & 89 deletions

File tree

_shared_assets/static/custom.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,8 @@ div#list-of-available-icons > blockquote > div > div > p {
9292
font-size: 90%;
9393
font-style: normal;
9494
text-align: center;
95+
}
96+
97+
.wy-nav-content {
98+
max-width: max(800px, calc(100vw - 600px)) !important;
9599
}

developer_manual/basics/front-end/theming.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,10 @@ Theming support
66

77
The Nextcloud theming app offers some tools for app developers to ensure that apps also match the themed look.
88

9-
CSS classes
10-
-----------
11-
12-
* **.nc-theming-main-background** Background in theming color
13-
* **.nc-theming-main-text** Text in theming color
14-
* **.nc-theming-contrast** Text in white/black color to be shown in front of the theming color
9+
CSS variables
10+
-------------
1511

12+
There are a lot of CSS variables available, see :ref:`cssvars`.
1613

1714
JavaScript
1815
----------

0 commit comments

Comments
 (0)