forked from go-gitea/gitea
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Project board improvements (go-gitea#15429)
* Project board improvements - Fix link colors - Extract CSS to own file - Various minor tweaks to make it look better Fixes: go-gitea#15424 Fixes: go-gitea#15506 Fixes: go-gitea#15511 * fix squashed cards on small view area * more css fixes, add second row from issue list Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
- Loading branch information
1 parent
b84b4e2
commit 99cb378
Showing
7 changed files
with
141 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
.board { | ||
display: flex; | ||
flex-direction: row; | ||
flex-wrap: nowrap; | ||
overflow-x: auto; | ||
margin: 0 .5em; | ||
} | ||
|
||
.board-column { | ||
background-color: var(--color-project-board-bg) !important; | ||
border: 1px solid var(--color-secondary) !important; | ||
margin: 0 .5rem !important; | ||
padding: .5rem !important; | ||
width: 320px; | ||
height: 60vh; | ||
overflow-y: scroll; | ||
flex: 0 0 auto; | ||
overflow: visible; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.board-column-header { | ||
display: flex; | ||
justify-content: space-between; | ||
} | ||
|
||
.board-label { | ||
background: none !important; | ||
line-height: 1.25 !important; | ||
} | ||
|
||
.board-column > .cards { | ||
flex: 1; | ||
display: flex; | ||
margin: 0 !important; | ||
padding: 0 !important; | ||
flex-wrap: nowrap !important; | ||
flex-direction: column; | ||
} | ||
|
||
.project-board-title { | ||
word-break: break-word; | ||
} | ||
|
||
.board-column > .divider { | ||
margin: 5px 0; | ||
} | ||
|
||
.board-column:first-child { | ||
margin-left: auto !important; | ||
} | ||
|
||
.board-column:last-child { | ||
margin-right: auto !important; | ||
} | ||
|
||
.board-card { | ||
margin: 4px 2px !important; | ||
border-radius: 5px !important; | ||
cursor: move; | ||
width: calc(100% - 4px) !important; | ||
padding: .5rem !important; | ||
min-height: auto !important; | ||
} | ||
|
||
.board-card .meta * { | ||
margin-right: 0 !important; | ||
} | ||
|
||
.board-card .header { | ||
margin-top: 0 !important; | ||
font-size: 16px !important; | ||
} | ||
|
||
.card-ghost { | ||
border-style: dashed !important; | ||
background: none !important; | ||
} | ||
|
||
.card-ghost * { | ||
opacity: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters