Browse Source

added screenshot

master
rdrew 2 years ago
parent
commit
b51ad3e708
  1. 20
      css/sass/_dataset-nodes.scss
  2. 12
      css/style.css
  3. 2
      css/style.css.map
  4. 6
      templates/content/node--islandora-rdm-dataset.html.twig

20
css/sass/_dataset-nodes.scss

@ -3,6 +3,7 @@
//@extend .feature; //@extend .feature;
box-shadow: 0 0 10px rgb(0 0 0 / 20%); box-shadow: 0 0 10px rgb(0 0 0 / 20%);
.icon { .icon {
font-size: 6rem;
font-size: 6rem; font-size: 6rem;
padding-right: 0.5rem; padding-right: 0.5rem;
border-right: 1px solid #ddd; border-right: 1px solid #ddd;
@ -26,9 +27,28 @@
} }
.value { .value {
} }
.field__label {
//display: none;
}
#organization {
.field__label {
display: none;
}
}
#subjects {
.field__label { .field__label {
display: none; display: none;
} }
.field__items {
//display: flex;
}
.field-item {
display:inline;
&:after {
content: ', ';
}
}
}
} }
//tabs //tabs
details#group-dataset-identification .field { details#group-dataset-identification .field {

12
css/style.css

@ -1259,6 +1259,7 @@ button,
padding: 1rem; padding: 1rem;
} }
.citation-block .icon { .citation-block .icon {
font-size: 6rem;
font-size: 6rem; font-size: 6rem;
padding-right: 0.5rem; padding-right: 0.5rem;
border-right: 1px solid #ddd; border-right: 1px solid #ddd;
@ -1276,9 +1277,18 @@ button,
width: auto; width: auto;
text-align: right; text-align: right;
} }
.rdm_metadata .field__label { .rdm_metadata #organization .field__label {
display: none;
}
.rdm_metadata #subjects .field__label {
display: none; display: none;
} }
.rdm_metadata #subjects .field-item {
display: inline;
}
.rdm_metadata #subjects .field-item:after {
content: ", ";
}
details#group-dataset-identification .field { details#group-dataset-identification .field {
display: flex; display: flex;

2
css/style.css.map

File diff suppressed because one or more lines are too long

6
templates/content/node--islandora-rdm-dataset.html.twig

@ -41,16 +41,12 @@ set node_classes = [
</header> </header>
{% endif %} {% endif %}
<div{{ content_attributes.addClass('node-content clear') }}> <div{{ content_attributes.addClass('node-content clear') }}>
{#=============#}
{#Dummy Content#}
{#=============#}
<hr>
{#<h3>Rob's dummy content</h3>#} {#<h3>Rob's dummy content</h3>#}
<section class="citation-block"> <section class="citation-block">
<div class="icon"><i class="ficon-file"></i></div> <div class="icon"><i class="ficon-file"></i></div>
<div class="data-citation"><h3>{{ label }}</h3> <div class="data-citation"><h3>{{ label }}</h3>
<span> <span>
Elit consequatur quasi expedita sint consectetur. Ipsa obcaecati sed dolores exercitationem iste Voluptate ipsam nihil aperiam numquam asperiores Sequi iste ad commodi eligendi sunt? Amet possimus ratione est exercitationem blanditiis? {{ content.field_rdm_description[0] }}
</span></div> </span></div>
</section> </section>
{#Table#} {#Table#}

Loading…
Cancel
Save