Skip to content

Commit

Permalink
Re-aligns labels for normal and large inputs site wide
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin authored and tobes committed Mar 14, 2013
1 parent 80d36de commit 05291cd
Showing 1 changed file with 3 additions and 24 deletions.
27 changes: 3 additions & 24 deletions ckan/public/base/less/forms.less
Expand Up @@ -20,7 +20,6 @@ label {
label {
cursor: pointer;
font-size: 14px;
line-height: 2;
}

label:after {
Expand All @@ -32,14 +31,6 @@ label.checkbox:after {
content: "";
}

input,
textarea,
select,
.uneditable-input {
font-size: 14px;
padding: 8px 10px;
}

input[type=radio],
input[type=checkbox] {
position: relative;
Expand All @@ -52,7 +43,6 @@ input[type=checkbox] {
}

select {
margin-top: 6px;
padding: 4px;
}

Expand Down Expand Up @@ -81,7 +71,8 @@ textarea {

.control-large input,
.control-large .control-label {
font-size: 18px;
font-size: @baseFontSize * 1.25;
line-height: @baseLineHeight * 1.5;
}

.form-actions {
Expand Down Expand Up @@ -110,18 +101,6 @@ textarea {
// Override the default form widths.
.form-horizontal .control-label {
width: 120px;
line-height: 1.3;
padding-top: 9px;
}

.form-horizontal .control-large input,
.form-horizontal .control-large .control-label {
font-size: 18px;
line-height: 2;
}

.form-horizontal .control-large .control-label {
padding-top: 10px;
}

.form-horizontal .controls {
Expand Down Expand Up @@ -618,7 +597,7 @@ textarea {
}

.select2-container {
margin-top: 5px;
margin-top: 1px;
}

.select2-container-multi {
Expand Down

0 comments on commit 05291cd

Please sign in to comment.