event-widget: use a 16px rounded rectangle for event colors

This looks better than the thin borders, helps a lot colorblind
people and makes the overall layout just as good.

Ship it!

[#211]
This commit is contained in:
Georges Basile Stavracas Neto
2017-11-30 14:45:47 -02:00
parent 3c6df94be9
commit e8468ec0df
3 changed files with 31 additions and 12 deletions
+6 -5
View File
@@ -23,13 +23,14 @@
".color-%1$d {"\
" background-color: %2$s"\
"}"\
".color-%1$d.horizontal.timed:dir(ltr) {"\
".color-%1$d.horizontal.timed {"\
" background-color: transparent;"\
" border-left: solid 4px %2$s;"\
"}"\
".color-%1$d.horizontal.timed:dir(rtl) {"\
" background-color: transparent;"\
" border-right: solid 4px %2$s;"\
".color-%1$d.horizontal.timed box.icon-box{"\
" background-color: %2$s;"\
" border-radius: 2px;"\
" min-height: 16px;"\
" min-width: 16px;"\
"}"\
".color-%1$d.slanted {"\
" background-color: transparent;"\