Skip to content

Commit

Permalink
[#474] Tweaks to pills and tags
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin committed Feb 28, 2013
1 parent 6514f8f commit d89d5ef
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
1 change: 0 additions & 1 deletion ckan/public/base/less/dataset.less
Expand Up @@ -79,7 +79,6 @@

.filter-list {
color: @layoutTextColor;
font-weight: bold;
}

.filter-list .extra {
Expand Down
5 changes: 3 additions & 2 deletions ckan/public/base/less/homepage.less
Expand Up @@ -32,15 +32,16 @@
padding: 5px 10px 10px 10px;
background-color: darken(@mastheadBackgroundColor, 10%);
.border-radius(0 0 3px 3px);
h3,
.tag {
display: block;
float: left;
margin: 5px 10px 0 0;
}
h3.tag {
h3 {
font-size: @baseFontSize;
line-height: @baseLineHeight;
margin-bottom: 0;
padding: 2px 8px;
}
}
}
Expand Down
6 changes: 4 additions & 2 deletions ckan/public/base/less/mixins.less
Expand Up @@ -57,11 +57,13 @@ a.tag:hover {
}

.pill {
display: inline-block;
background-color: @pillBackgroundColor;
color: @pillTextColor;
padding: 1px 5px 1px 8px;
padding: 2px 10px 1px 10px;
margin-right: 5px;
.border-radius(7px);
font-weight: normal;
.border-radius(100px);
a {
color: @pillTextColor;
&.remove {
Expand Down
2 changes: 1 addition & 1 deletion ckan/public/base/less/variables.less
Expand Up @@ -46,7 +46,7 @@
@navItemActiveBackgroundColor: #8CA0A6;

@pillTextColor: @navItemActiveTextColor;
@pillBackgroundColor: @navItemActiveBackgroundColor;
@pillBackgroundColor: darken(@navItemActiveBackgroundColor, 10%);

@bannerTextColor: @mastheadTextColor;
@bannerBackgroundColor: @mastheadBackgroundColor;
Expand Down

0 comments on commit d89d5ef

Please sign in to comment.