summaryrefslogtreecommitdiffstats
path: root/client/components/boards/boardList.styl
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-05-27 17:17:00 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-05-27 17:23:25 +0200
commitdcc64f44f9f81d32c8071c6bdac86546eaeb57a0 (patch)
treeb8977727227a3ddbb2874ea3f86f1e26e03c8835 /client/components/boards/boardList.styl
parent42f6dc686f313ba294e3cbcfb0ebde50678580fe (diff)
downloadwekan-dcc64f44f9f81d32c8071c6bdac86546eaeb57a0.tar.gz
wekan-dcc64f44f9f81d32c8071c6bdac86546eaeb57a0.tar.bz2
wekan-dcc64f44f9f81d32c8071c6bdac86546eaeb57a0.zip
UI improvements
* Implement visibility choice on board creation; * Rework the board header bar. Remove links to un-implemented features; * Implement a board star counter (visible if the board have >2 stars); * Define a new icon (a thin cross) to close elements; * Remove $(document).on('mouseover') event handlers that were basically fired hundreds of times for nothing, we now define a proper Tracker dependency to execute jquery-ui plugin initialization only when something has changed; * Bug fixes related to list scrolling.
Diffstat (limited to 'client/components/boards/boardList.styl')
-rw-r--r--client/components/boards/boardList.styl85
1 files changed, 85 insertions, 0 deletions
diff --git a/client/components/boards/boardList.styl b/client/components/boards/boardList.styl
new file mode 100644
index 00000000..c068dbb0
--- /dev/null
+++ b/client/components/boards/boardList.styl
@@ -0,0 +1,85 @@
+.board-list
+ margin: 25px auto
+ width: 1200px
+
+ li
+ float: left
+ width: 25%
+ box-sizing: border-box
+ position: relative
+
+ &.starred .fa-star-o
+ opacity: 1
+
+ a
+ background-color: #999
+ color: #f6f6f6
+ height: 90px
+ font-size: 16px
+ line-height: 22px
+ border-radius: 3px
+ display: block
+ font-weight: 700
+ min-height: 18px
+ padding: 8px 12px 8px 12px
+ margin: 0 16px 16px 0
+ position: relative
+ text-decoration: none
+
+ &.tile
+ background-size: auto
+ background-repeat: repeat
+
+ .details
+ height: 84px
+ padding-right: 36px
+ bottom: 0
+ left: 0
+ overflow: hidden
+ padding: 9px 12px
+ position: absolute
+ right: 0
+ top: 0
+
+ .board-list-item-sub-name
+ color: rgba(255, 255, 255, .5)
+ display: block
+ font-size: 14px
+ font-weight: 400
+ line-height: 22px
+
+ .fa-star-o
+ bottom: 0
+ font-size: 14px
+ height: 18px
+ line-height: 18px
+ opacity: 0
+ padding: 9px 9px
+ position: absolute
+ right: 0
+ top: 0
+ transition-duration: .15s
+ transition-property: color, font-size, background
+
+ .is-star-active
+ color: #e6bf00
+
+ li:hover a
+ color: #f6f6f6
+
+ .fa-star-o
+ color: #fff
+ opacity: .75
+
+ &:hover
+ font-size: 18px
+ opacity: 1
+
+ &.is-star-active
+ color: #e6bf00
+ opacity: 1
+
+ &:hover
+ color: #ffd91a
+ font-size: 16px
+ opacity: 1