diff options
| author | rr- | 2016-05-22 18:50:27 +0200 |
|---|---|---|
| committer | rr- | 2016-05-22 22:17:11 +0200 |
| commit | 7aaa28f9de3aa6d5e94b7cbdd8ac689e2e639c7c (patch) | |
| tree | f7c5f55b0df7d25e2393645ac13b33f957b8c069 /client/css | |
| parent | 77998f1660e91350753bc4106559ea211a480c84 (diff) | |
client/tags: add setting default tag category
Diffstat (limited to 'client/css')
| -rw-r--r-- | client/css/colors.styl | 1 | ||||
| -rw-r--r-- | client/css/tags.styl | 17 |
2 files changed, 8 insertions, 10 deletions
diff --git a/client/css/colors.styl b/client/css/colors.styl index a7900fc..d49033a 100644 --- a/client/css/colors.styl +++ b/client/css/colors.styl @@ -29,5 +29,6 @@ $button-disabled-text-color = #666 $button-disabled-background-color = #CCC $new-tag-background-color = #DFC $new-tag-text-color = black +$default-tag-category-background-color = $active-tab-background-color $duplicate-tag-background-color = #FDC $duplicate-tag-text-color = black diff --git a/client/css/tags.styl b/client/css/tags.styl index 8dcc797..4cb10cc 100644 --- a/client/css/tags.styl +++ b/client/css/tags.styl @@ -57,23 +57,20 @@ .content-wrapper.tag-categories width: 100% - max-width: 35em + max-width: 40em table + border-spacing: 0 width: 100% + tr.default td + background: $default-tag-category-background-color td, th - padding: .2em - &:first-child - padding-left: 0 - &:last-child - padding-right: 0 - &.name - width: 35% + padding: .4em &.color text-align: center - width: 35% &.usages text-align: center - width: 10% + &.remove, &.set-default + white-space: pre tfoot display: none .messages, form |