Skip to content

Commit

Permalink
Fix money fields and fields with textareas in sidebar. Fixes CMB2#234
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed Mar 6, 2015
1 parent cba632f commit 78d8eb0
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 23 deletions.
63 changes: 42 additions & 21 deletions css/cmb2.css
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,21 @@ Sidebar Placement Adjustments
display: block;
}

/* line 27, sass/partials/_sidebar_placements.scss */
/* line 26, sass/partials/_sidebar_placements.scss */

.inner-sidebar .cmb2-wrap input.cmb2-text-money,
#side-sortables .cmb2-wrap input.cmb2-text-money {
max-width: 70%;
}

/* line 28, sass/partials/_sidebar_placements.scss */

.inner-sidebar .cmb2-wrap input.cmb2-text-money + .cmb2-metabox-description,
#side-sortables .cmb2-wrap input.cmb2-text-money + .cmb2-metabox-description {
display: block;
}

/* line 34, sass/partials/_sidebar_placements.scss */

.inner-sidebar .cmb2-wrap label,
#side-sortables .cmb2-wrap label {
Expand All @@ -794,22 +808,29 @@ Sidebar Placement Adjustments
padding: 0 0 5px;
}

/* line 35, sass/partials/_sidebar_placements.scss */
/* line 42, sass/partials/_sidebar_placements.scss */

.inner-sidebar textarea,
#side-sortables textarea {
max-width: 99%;
}

/* line 46, sass/partials/_sidebar_placements.scss */

.inner-sidebar .cmb-repeatable-group,
#side-sortables .cmb-repeatable-group {
border-bottom: 1px solid #e9e9e9;
}

/* line 39, sass/partials/_sidebar_placements.scss */
/* line 50, sass/partials/_sidebar_placements.scss */

.inner-sidebar .cmb-repeat-group-wrap > .cmb-td > .cmb-repeatable-group,
#side-sortables .cmb-repeat-group-wrap > .cmb-td > .cmb-repeatable-group {
border-bottom: 0;
margin-bottom: -1.4em;
}

/* line 44, sass/partials/_sidebar_placements.scss */
/* line 55, sass/partials/_sidebar_placements.scss */

.inner-sidebar .cmb-th,
.inner-sidebar .cmb-td,
Expand All @@ -822,21 +843,21 @@ Sidebar Placement Adjustments
float: none;
}

/* line 52, sass/partials/_sidebar_placements.scss */
/* line 63, sass/partials/_sidebar_placements.scss */

.inner-sidebar .closed .inside,
#side-sortables .closed .inside {
display: none;
}

/* line 56, sass/partials/_sidebar_placements.scss */
/* line 67, sass/partials/_sidebar_placements.scss */

.inner-sidebar .cmb-td .cmb-td,
#side-sortables .cmb-td .cmb-td {
padding-bottom: 1em;
}

/* line 60, sass/partials/_sidebar_placements.scss */
/* line 71, sass/partials/_sidebar_placements.scss */

.inner-sidebar .cmb-th,
#side-sortables .cmb-th {
Expand Down Expand Up @@ -877,35 +898,35 @@ Sidebar Placement Adjustments
line-height: 1.4em;
}

/* line 67, sass/partials/_sidebar_placements.scss */
/* line 78, sass/partials/_sidebar_placements.scss */

.inner-sidebar .cmb-group-description .cmb-th,
#side-sortables .cmb-group-description .cmb-th {
padding-top: 0;
}

/* line 70, sass/partials/_sidebar_placements.scss */
/* line 81, sass/partials/_sidebar_placements.scss */

.inner-sidebar .cmb-group-description .cmb2-metabox-description,
#side-sortables .cmb-group-description .cmb2-metabox-description {
padding: 0;
}

/* line 77, sass/partials/_sidebar_placements.scss */
/* line 88, sass/partials/_sidebar_placements.scss */

.inner-sidebar .cmb-group-title .cmb-th,
#side-sortables .cmb-group-title .cmb-th {
padding: 0;
}

/* line 83, sass/partials/_sidebar_placements.scss */
/* line 94, sass/partials/_sidebar_placements.scss */

.inner-sidebar .cmb-repeatable-grouping + .cmb-repeatable-grouping,
#side-sortables .cmb-repeatable-grouping + .cmb-repeatable-grouping {
margin-top: 1em;
}

/* line 92, sass/partials/_sidebar_placements.scss */
/* line 103, sass/partials/_sidebar_placements.scss */

.inner-sidebar .cmb2-media-status .img-status img,
.inner-sidebar .cmb2-media-status .embed-status img,
Expand All @@ -915,23 +936,23 @@ Sidebar Placement Adjustments
height: auto;
}

/* line 100, sass/partials/_sidebar_placements.scss */
/* line 111, sass/partials/_sidebar_placements.scss */

.inner-sidebar .cmb2-list label,
#side-sortables .cmb2-list label {
display: inline;
font-weight: normal;
}

/* line 105, sass/partials/_sidebar_placements.scss */
/* line 116, sass/partials/_sidebar_placements.scss */

.inner-sidebar .cmb2-metabox-description,
#side-sortables .cmb2-metabox-description {
display: block;
padding: 7px 0 0;
}

/* line 112, sass/partials/_sidebar_placements.scss */
/* line 123, sass/partials/_sidebar_placements.scss */

.inner-sidebar .cmb-type-checkbox .cmb-td label,
.inner-sidebar .cmb-type-checkbox .cmb2-metabox-description,
Expand All @@ -941,22 +962,22 @@ Sidebar Placement Adjustments
display: inline;
}

/* line 119, sass/partials/_sidebar_placements.scss */
/* line 130, sass/partials/_sidebar_placements.scss */

.inner-sidebar .cmb-row .cmb2-metabox-description,
#side-sortables .cmb-row .cmb2-metabox-description {
padding-bottom: 1.8em;
}

/* line 123, sass/partials/_sidebar_placements.scss */
/* line 134, sass/partials/_sidebar_placements.scss */

.inner-sidebar .cmb2-metabox-title,
#side-sortables .cmb2-metabox-title {
font-size: 1.2em;
font-style: italic;
}

/* line 128, sass/partials/_sidebar_placements.scss */
/* line 139, sass/partials/_sidebar_placements.scss */

.inner-sidebar .cmb-remove-row,
#side-sortables .cmb-remove-row {
Expand All @@ -965,7 +986,7 @@ Sidebar Placement Adjustments
padding-bottom: 0;
}

/* line 135, sass/partials/_sidebar_placements.scss */
/* line 146, sass/partials/_sidebar_placements.scss */

.inner-sidebar .cmb-type-colorpicker .cmb-repeat-row .cmb-td,
#side-sortables .cmb-type-colorpicker .cmb-repeat-row .cmb-td {
Expand All @@ -975,15 +996,15 @@ Sidebar Placement Adjustments
padding-top: 0;
}

/* line 140, sass/partials/_sidebar_placements.scss */
/* line 151, sass/partials/_sidebar_placements.scss */

.inner-sidebar .cmb-type-colorpicker .cmb-repeat-row .cmb-td.cmb-remove-row,
#side-sortables .cmb-type-colorpicker .cmb-repeat-row .cmb-td.cmb-remove-row {
float: right;
margin: 0;
}

/* line 147, sass/partials/_sidebar_placements.scss */
/* line 158, sass/partials/_sidebar_placements.scss */

.inner-sidebar .cmb2-upload-button,
#side-sortables .cmb2-upload-button {
Expand Down
Loading

0 comments on commit 78d8eb0

Please sign in to comment.