Skip to content

Commit

Permalink
[2474] Style the custom key/value pairs on group edit form
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed Jun 5, 2012
1 parent c1246e0 commit 9951717
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions ckan/public/base/less/forms.less
Expand Up @@ -26,6 +26,12 @@ select,
padding: 8px 10px;
}

input[type=radio],
input[type=checkbox] {
position: relative;
top: 6px;
}

select {
margin-top: 6px;
padding: 4px;
Expand Down Expand Up @@ -130,6 +136,32 @@ textarea {
content: none;
}

// Controls

// Custom Key/Value input

.control-custom {
font-size: 0; // Remove whitespace between fields.
}

.control-custom label {
margin-bottom: 0;
}

.control-custom input {
.border-radius(0);
width: 150px;
}

.control-custom .checkbox {
display: inline-block;
margin-left: 5px;
}

.control-custom .checkbox input {
width: auto;
}

// Stages
// Builds form stages out of an ordered list. The following CSS uses tag
// selectors on the .active class to prevent the styles bleeding into the
Expand Down

0 comments on commit 9951717

Please sign in to comment.