diff options
author | Romain <romdum@users.noreply.github.com> | 2021-09-29 22:53:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-29 22:53:12 +0200 |
commit | ecfac78f6ef2cc01e4397c1a92b9a59b7ff0b2ff (patch) | |
tree | 161b9c6fcae7bbda0a827f565fdcc07cadd756ee /web_src/less/features | |
parent | ba1fdbcfdb26ce7088a7eab0175e224e5325ef72 (diff) | |
download | gitea-ecfac78f6ef2cc01e4397c1a92b9a59b7ff0b2ff.tar.gz gitea-ecfac78f6ef2cc01e4397c1a92b9a59b7ff0b2ff.zip |
Kanban colored boards (#16647)
Add a column Color in ProjectBoard and color picker in new / edit project board form.
Diffstat (limited to 'web_src/less/features')
-rw-r--r-- | web_src/less/features/projects.less | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/web_src/less/features/projects.less b/web_src/less/features/projects.less index f9d97a2086..99722b6cc5 100644 --- a/web_src/less/features/projects.less +++ b/web_src/less/features/projects.less @@ -23,6 +23,21 @@ .board-column-header { display: flex; justify-content: space-between; + + &.dark-label { + color: var(--color-project-board-dark-label) !important; + + .board-label { + color: var(--color-project-board-dark-label) !important; + } + } + &.light-label { + color: var(--color-project-board-light-label) !important; + + .board-label { + color: var(--color-project-board-light-label) !important; + } + } } .board-label { @@ -81,3 +96,27 @@ .card-ghost * { opacity: 0; } + +.color-field .minicolors.minicolors-theme-default { + display: block; + + .minicolors-input { + height: 38px; + padding-left: 2rem; + } + + .minicolors-swatch { + top: 10px; + } +} + +.edit-project-board, +.new-board-modal { + .color.picker.column { + display: flex; + + .minicolors { + flex: 1; + } + } +} |