Browse Source

node layout

master
rdrew 2 years ago
parent
commit
cc6b71fd2c
  1. 39
      css/sass/_dataset-nodes.scss
  2. 24
      css/style.css
  3. 2
      css/style.css.map

39
css/sass/_dataset-nodes.scss

@ -24,7 +24,7 @@
.rdm_dataset_metadata {
h5 {
font-family: var(--body-font);
font-size:1rem;
font-size: 1rem;
font-weight: 600;
width: 15%;
text-align: center;
@ -53,11 +53,16 @@
margin-bottom: 2rem;
//@extend .feature;
box-shadow: 0 0 10px rgb(0 0 0 / 20%);
.data-citation {
width: 85%;
}
.icon {
font-size: 6rem;
font-size: 6rem;
padding-right: 0.5rem;
border-right: 1px solid #ddd;
width: 15%;
text-align: center;
}
display: flex;
align-items: center;
@ -121,3 +126,35 @@ details#group-dataset-identification .field {
display: flex;
margin-bottom: 1rem;
}
// field display tweaks
.rdm_dataset_metadata {
.paragraph--type--typed-description {
.field--name-field-rdm-description-type {
&::before {
content: '(';
}
&::after {
content: ')';
}
}
& > div {
display: inline;
}
}
.paragraph--type--rdm-person {
& * {
display: inline;
}
}
.field--name-field-rdm-identifier-string {
&::before {
content: '; ';
}
}
.paragraph--type--rdm-organization {
&::before {
content: '; ';
}
}
}

24
css/style.css

@ -1303,11 +1303,16 @@ button,
align-items: center;
padding: 1rem;
}
.citation-block .data-citation {
width: 85%;
}
.citation-block .icon {
font-size: 6rem;
font-size: 6rem;
padding-right: 0.5rem;
border-right: 1px solid #ddd;
width: 15%;
text-align: center;
}
.citation-block .data-citation {
padding-left: 1rem;
@ -1354,6 +1359,25 @@ details#group-dataset-identification .field .field__label:after {
content: ":";
}
.rdm_dataset_metadata .paragraph--type--typed-description .field--name-field-rdm-description-type::before {
content: "(";
}
.rdm_dataset_metadata .paragraph--type--typed-description .field--name-field-rdm-description-type::after {
content: ")";
}
.rdm_dataset_metadata .paragraph--type--typed-description > div {
display: inline;
}
.rdm_dataset_metadata .paragraph--type--rdm-person * {
display: inline;
}
.rdm_dataset_metadata .field--name-field-rdm-identifier-string::before {
content: "; ";
}
.rdm_dataset_metadata .paragraph--type--rdm-organization::before {
content: "; ";
}
.search-results ul {
list-style: none;
padding: 0;

2
css/style.css.map

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save