summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2018-02-27 15:57:30 -0800
committerFrédéric Guillot <fred@kanboard.net>2018-02-27 15:57:30 -0800
commitf1996001486d98f7160b1db380e02b664d9c030b (patch)
tree7c8e5484a8361b5f79beab979444e85ea3110480 /doc
parentdd424e5a99c920434a8ea4402d764b46e69cd932 (diff)
Improve documentation about custom CSS
Diffstat (limited to 'doc')
-rw-r--r--doc/de_DE/custom-css.markdown (renamed from doc/de_DE/individuel-category.markdown)17
-rw-r--r--doc/de_DE/screenshots/kanboard_patch_category.PNGbin754 -> 0 bytes
-rw-r--r--doc/en_US/custom-css.markdown (renamed from doc/en_US/individuel-category.markdown)15
-rw-r--r--doc/en_US/index.markdown1
4 files changed, 16 insertions, 17 deletions
diff --git a/doc/de_DE/individuel-category.markdown b/doc/de_DE/custom-css.markdown
index 95d6600b..b58a073f 100644
--- a/doc/de_DE/individuel-category.markdown
+++ b/doc/de_DE/custom-css.markdown
@@ -1,14 +1,13 @@
-Inviduelle Kategorien Darstellung
-=================================
-
+Custom CSS
+==========
+Einstellung > Anwendungskonfiguration > benutzerdefiniertes Stylesheet
-Setup
------
+Inviduelle Kategorien Darstellung
+---------------------------------
-1: Einstellung > Anwendungskonfiguration > benutzerdefiniertes Stylesheet
+Für den Kategorien-Container allgemeine Darstellung:
-Für den Kategorien-Container allgemeine Darstellung
```css
.task-board-category-container-color span {
border: solid 0.5px grey;
@@ -16,7 +15,8 @@ Für den Kategorien-Container allgemeine Darstellung
}
```
-Für den Text-Inhalt
+Für den Text-Inhalt:
+
```css
[class*="category-Patchkanditat"] {
background-color: rgba(255, 0, 0, 0.50);
@@ -28,4 +28,3 @@ Für den Text-Inhalt
font-size:11px;
}
```
-![CAT](./screenshots/kanboard_patch_category.PNG)
diff --git a/doc/de_DE/screenshots/kanboard_patch_category.PNG b/doc/de_DE/screenshots/kanboard_patch_category.PNG
deleted file mode 100644
index 975f66f7..00000000
--- a/doc/de_DE/screenshots/kanboard_patch_category.PNG
+++ /dev/null
Binary files differ
diff --git a/doc/en_US/individuel-category.markdown b/doc/en_US/custom-css.markdown
index fe029e6c..32f64105 100644
--- a/doc/en_US/individuel-category.markdown
+++ b/doc/en_US/custom-css.markdown
@@ -1,21 +1,21 @@
-Individual category markup
-===========================
+Custom CSS
+==========
+Go to Settings > Application settings > Custom Stylesheet
-Setup
------
-
-1: Settings > Application settings > Custom Stylesheet
+Example to change color of category labels
+------------------------------------------
For the category container:
+
```css
.task-board-category-container-color span {
border: solid 0.5px grey;
color: black;
}
-
```
Custom css values for one category - this is an example for displaying the text:
+
```css
[class*="category-Patchkanditat"] {
background-color: rgba(255, 0, 0, 0.50);
@@ -27,4 +27,3 @@ Custom css values for one category - this is an example for displaying the text:
font-size:11px;
}
```
-![CAT](../de_DE/screenshots/kanboard_patch_category.PNG)
diff --git a/doc/en_US/index.markdown b/doc/en_US/index.markdown
index 09b39d9f..e4375e85 100644
--- a/doc/en_US/index.markdown
+++ b/doc/en_US/index.markdown
@@ -83,6 +83,7 @@ Using Kanboard
- [Command line interface](cli.markdown)
- [Syntax guide](syntax-guide.markdown)
- [Brute force protection](bruteforce-protection.markdown)
+- [Custom CSS](custom-css.markdown)
- [Frequently asked questions](faq.markdown)
### Troubleshooting