Browse Source

fieldsets

master
rdrew 1 week ago
parent
commit
caf9fb1616
  1. 20
      css/components/fieldset.css
  2. 25
      css/components/islandora_mods.css

20
css/components/fieldset.css

@ -19,9 +19,11 @@
padding-inline-start: 0; padding-inline-start: 0;
padding-inline-end: 0; padding-inline-end: 0;
color: inherit; color: inherit;
border: solid 2px var(--color--gray-45); border: solid 1px var(--color--gray-45);
border-radius: var(--border-radius); /* border-radius: var(--border-radius); */
background-color: var(--color--white); background-color: var(--color--white);
border: solid 1px #ccc;
box-shadow: 0px 5px 11px -2px rgb(0 0 0 / 39%);
} }
.fieldset--group { .fieldset--group {
@ -37,12 +39,14 @@
float: left; /* Prevent sticking out of top of fieldset. */ float: left; /* Prevent sticking out of top of fieldset. */
width: 100%; width: 100%;
color: inherit; color: inherit;
border-top-left-radius: var(--border-radius); /* border-top-left-radius: var(--border-radius); */
border-top-right-radius: var(--border-radius); /* border-top-right-radius: var(--border-radius); */
background-color: var(--color--gray-45); background-color: var(--color--lmmi-tan);
font-size: var(--font-size-l); font-size: var(
font-weight: 700; --font-size-l);
line-height: var(--line-height-base); font-weight: 500;
line-height: var(
--line-height-base);
} }
.fieldset__legend + * { .fieldset__legend + * {

25
css/components/islandora_mods.css

@ -109,6 +109,13 @@ div#site-header__inner {
margin-right: 1em; /* gap before the content */ margin-right: 1em; /* gap before the content */
box-sizing: border-box; box-sizing: border-box;
} }
fieldset .field__label {
--label-width: 9em;
flex: 0 0 var(--label-width);
min-width: var(--label-width);
margin-right: 1em; /* gap before the content */
box-sizing: border-box;
}
.field__item { .field__item {
flex: 1; flex: 1;
@ -318,8 +325,6 @@ span.mirador-third-party-html p {
hyphens: auto; hyphens: auto;
} }
.blog-page .node--view-mode-teaser { .blog-page .node--view-mode-teaser {
border: 1px solid #ccc; border: 1px solid #ccc;
padding: 1em; padding: 1em;
@ -327,24 +332,24 @@ span.mirador-third-party-html p {
box-shadow: 0px 5px 11px -2px rgb(0 0 0 / 39%); box-shadow: 0px 5px 11px -2px rgb(0 0 0 / 39%);
.node__meta { .node__meta {
border-bottom: 1px dotted #bbb; border-bottom: 1px dotted #bbb;
margin-bottom:.8em; margin-bottom: 0.8em;
color: var(--color--lmmi-teal); color: var(--color--lmmi-teal);
padding-bottom:1em; padding-bottom: 1em;
} }
.node__title { .node__title {
line-height:1.2; line-height: 1.2;
border-bottom:1px dotted #bbb; border-bottom: 1px dotted #bbb;
padding-bottom: .4em; padding-bottom: 0.4em;
a { a {
color: var(--color--lmmi-tan); color: var(--color--lmmi-tan);
} }
} }
.node__content { .node__content {
padding-bottom:1em; padding-bottom: 1em;
p { p {
line-height:1.6; line-height: 1.6;
} }
} }
} }

Loading…
Cancel
Save