Skip to content

Commit

Permalink
[2375] Add a mixins file containing sharable modules
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed May 16, 2012
1 parent 9f362df commit cc23313
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions ckan/public/base/less/ckan.less
@@ -1,4 +1,5 @@
@import "variables.less";
@import "mixins.less";
@import "module.less";
@import "nav.less";
@import "dataset.less";
Expand Down
39 changes: 39 additions & 0 deletions ckan/public/base/less/mixins.less
@@ -0,0 +1,39 @@
.pill {
background-color: #ccc;
color: #fff;
padding: 1px 5px 1px 8px;
margin-right: 5px;
.border-radius(7px);
.remove {
.hide-text;
position: relative;
top: 1px;
}
}

.tag {
background: url("@{image-path}/background-tag.png") no-repeat -13px center;
position: relative;
display: block;
line-height: 27px;
color: @layout-link-color;
padding-left: 10px;
padding-right: 5px;
margin-right: 11px;
}

.tag:after {
content: "";
background: url("@{image-path}/background-tag.png") no-repeat center left;
position: absolute;
display: block;
top: 0;
bottom: 0;
right: -11px;
width: 11px;
}

.unstyled {
margin: 0;
list-style: none;
}

0 comments on commit cc23313

Please sign in to comment.