Browse Source

added screenshot

master
rdrew 2 years ago
parent
commit
b51ad3e708
  1. 22
      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

22
css/sass/_dataset-nodes.scss

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

12
css/style.css

@ -1259,6 +1259,7 @@ button,
padding: 1rem;
}
.citation-block .icon {
font-size: 6rem;
font-size: 6rem;
padding-right: 0.5rem;
border-right: 1px solid #ddd;
@ -1276,9 +1277,18 @@ button,
width: auto;
text-align: right;
}
.rdm_metadata .field__label {
.rdm_metadata #organization .field__label {
display: none;
}
.rdm_metadata #subjects .field__label {
display: none;
}
.rdm_metadata #subjects .field-item {
display: inline;
}
.rdm_metadata #subjects .field-item:after {
content: ", ";
}
details#group-dataset-identification .field {
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>
{% endif %}
<div{{ content_attributes.addClass('node-content clear') }}>
{#=============#}
{#Dummy Content#}
{#=============#}
<hr>
{#<h3>Rob's dummy content</h3>#}
<section class="citation-block">
<div class="icon"><i class="ficon-file"></i></div>
<div class="data-citation"><h3>{{ label }}</h3>
<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>
</section>
{#Table#}

Loading…
Cancel
Save