Browse Source

node layout

master
rdrew 2 years ago
parent
commit
b1249eaef1
  1. 29
      css/sass/_dataset-nodes.scss
  2. 29
      css/style.css
  3. 2
      css/style.css.map

29
css/sass/_dataset-nodes.scss

@ -1,3 +1,24 @@
.rdm_dataset_metadata {
border: 1px solid #ccc;
padding: 1rem;
.views-field {
border-bottom: 1px dotted #ccc;
display: flex;
padding: 8px 0;
.views-label {
width: 15%;
text-align: right;
padding-right: 1rem;
}
.field-content {
width: 85%;
}
}
}
.rdm-citation,
.rdm-citation .field-content {
display: flex;
}
.citation-block { .citation-block {
margin-bottom: 2rem; margin-bottom: 2rem;
//@extend .feature; //@extend .feature;
@ -14,6 +35,12 @@
.data-citation { .data-citation {
padding-left: 1rem; padding-left: 1rem;
} }
.field__label {
display: none;
}
.field--name-field-rdm-description-type {
display: none;
}
} }
.rdm_metadata { .rdm_metadata {
th { th {
@ -43,7 +70,7 @@
//display: flex; //display: flex;
} }
.field-item { .field-item {
display:inline; display: inline;
&:after { &:after {
content: ', '; content: ', ';
} }

29
css/style.css

@ -1251,6 +1251,29 @@ button,
max-height: 90px; max-height: 90px;
} }
} }
.rdm_dataset_metadata {
border: 1px solid #ccc;
padding: 1rem;
}
.rdm_dataset_metadata .views-field {
border-bottom: 1px dotted #ccc;
display: flex;
padding: 8px 0;
}
.rdm_dataset_metadata .views-field .views-label {
width: 15%;
text-align: right;
padding-right: 1rem;
}
.rdm_dataset_metadata .views-field .field-content {
width: 85%;
}
.rdm-citation,
.rdm-citation .field-content {
display: flex;
}
.citation-block { .citation-block {
margin-bottom: 2rem; margin-bottom: 2rem;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
@ -1267,6 +1290,12 @@ button,
.citation-block .data-citation { .citation-block .data-citation {
padding-left: 1rem; padding-left: 1rem;
} }
.citation-block .field__label {
display: none;
}
.citation-block .field--name-field-rdm-description-type {
display: none;
}
.rdm_metadata th { .rdm_metadata th {
background: #f1f1f1; background: #f1f1f1;

2
css/style.css.map

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