Skip to content

Commit

Permalink
Merge pull request #96 from isubit/INTERIM-9
Browse files Browse the repository at this point in the history
INTERIM-9 New styles for collapsible fieldsets
  • Loading branch information
angelamnr authored Mar 7, 2017
2 parents 44808aa + bdf5e95 commit 6eb1bbd
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions css/suitcase.css
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,42 @@ input[type="submit"] {
color: #000000;
}

/* --------------------- */
/* Fieldsets */

/* Collapsed */

html.js fieldset.collapsed { height: auto; }

fieldset.vertical-tabs-pane fieldset.collapsed legend {
width: 100%;
}

html.js fieldset.collapsed .fieldset-legend {
padding: 0.5rem;
padding-left: 20px;
border: 1px solid #dddddd;
}

fieldset.collapsible { border: 1px solid #dddddd; }

/* Open */

fieldset.collapsible:not(.collapsed) {
padding: 1rem;
}

fieldset.collapsible:not(.collapsed) legend {
width: auto;
}

/* Indicator */

html.js fieldset.collapsible .fieldset-legend {
padding-left: 20px;
background-size: 10px;
}

/* -------------------- */
/* ## FIGURES and IMAGES
/* -------------------- */
Expand Down

0 comments on commit 6eb1bbd

Please sign in to comment.