Skip to content

Commit

Permalink
[2375] Update the dataset and module styles
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed May 14, 2012
1 parent 9a73a01 commit 8a34888
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 10 deletions.
28 changes: 27 additions & 1 deletion ckan/public/base/less/dataset.less
Expand Up @@ -51,11 +51,37 @@
color: #000;
}

.search-giant {
position: relative;
}

.search-giant input {
.box-sizing(border-box);
font-size: 16px;
padding: 22px 10px;
width: 100%;
}

.search-giant button {
position: absolute;
right: 10px;
top: 50%;
display: block;
border: none;
padding: 0;
margin-top: -15px;
width: 30px;
height: 30px;
background: transparent url("@{image-path}/icon-search-27x26.png") no-repeat center center;
text-indent: -900em;
}

.pill {
.border-radius(7px);
background-color: #ccc;
color: #fff;
padding: 1px 8px;
padding: 1px 5px 1px 8px;
margin-right: 5px;
}

.pill .remove {
Expand Down
22 changes: 16 additions & 6 deletions ckan/public/base/less/module.less
Expand Up @@ -7,7 +7,7 @@
.box-shadow(0 0 3px rgba(0, 0, 0, 0.3));

background-color: @module-background-color;
margin-bottom: 10px;
margin-bottom: 20px;
}

.module > .heading {
Expand All @@ -30,6 +30,11 @@
margin: -17px 0 0;
}

.module .read-more {
font-weight: bold;
color: #000;
}

.module > .pagination {
height: 34px;
border-top: 1px solid @module-heading-border-color;
Expand Down Expand Up @@ -58,8 +63,13 @@
border-right: 0;
}

//.module > .content .heading {
// .module .heading;
// margin: 20px -@module-margin-x 20px;
// border-top: 1px solid lighten(@module-heading-border-color, 5%);
//}
// Module Info

.module.info > .content {
padding: 10px;
}

.module.info small {
font-size: 11px;
display: block;
}
6 changes: 3 additions & 3 deletions ckan/public/base/less/variables.less
@@ -1,5 +1,5 @@
// Base variables
@image-path: "../../../images";
@image-path: "../images";

// Layout Variables
@layout-font-family: Arial, sans-serif;
Expand All @@ -25,5 +25,5 @@
@baseFontFamily: @layout-font-family;
@textColor: @layout-text-color;
@linkColor: @layout-link-color;
@iconSpritePath: "@{image-path}/bootstrap-glyphicons-halflings.png";
@iconWhiteSpritePath: "@{image-path}/bootstrap-glyphicons-halflings-white.png";
@iconSpritePath: "../../@{image-path}/bootstrap-glyphicons-halflings.png";
@iconWhiteSpritePath: "../../@{image-path}/bootstrap-glyphicons-halflings-white.png";

0 comments on commit 8a34888

Please sign in to comment.