theme for RDM site
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

195 lines
3.3 KiB

.horizontal-tabs {
.field__label {
text-align: center;
color: var(--bold-color);
}
}
.islandora-rdm-files-list-tab {
.view {
margin: 1rem 0;
}
table {
margin: 0;
}
.view-rdm-media-evas > table > tbody > :not(tr:nth-of-type(1)) {
thead {
display: none;
}
}
.views-field-field-media-file-1 {
table > thead > tr > th {
//width: 33%;
//display: none;
}
table > tbody > tr > td:nth-of-type(1) {
width: 600px;
}
table tr th:nth-of-type(1) {
width: 400px;
}
}
}
.page-type-islandora-rdm-dataset {
#edit-group-islandora-rdm-files {
td.views-field-nothing,
td.views-field-field-media-use {
display: none;
}
td.views-field-field-media-file-1 {
padding: 0;
margin: 0;
border: 0;
table {
//margin: 1rem 0;
border: 0;
}
}
}
th {
background: #eeeeee;
color: #fff;
color: var(--upei-red);
border: 1px solid #ccc;
}
}
.rdm_dataset_metadata {
h5 {
font-family: var(--body-font);
font-size: 1rem;
font-weight: 600;
width: 15%;
text-align: center;
}
border: 1px solid #ccc;
padding: 1rem;
.views-field {
border-bottom: 1px dotted #ccc;
display: flex;
padding: 8px 0;
.views-label {
width: 20%;
text-align: center;
padding-right: 1rem;
}
.field-content {
width: 80%;
}
}
}
.rdm-citation,
.rdm-citation .field-content {
//display: flex;
}
.citation-block {
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;
padding: 1rem;
.data-citation {
padding-left: 1rem;
}
.field__label {
display: none;
}
.field--name-field-rdm-description-type {
display: none;
}
}
.rdm_metadata {
th {
background: #f1f1f1;
border: 1px solid #ccc;
}
.label {
width: 12rem;
width: auto;
text-align: right;
}
.value {
}
.field__label {
//display: none;
}
#organization {
.field__label {
display: none;
}
}
#subjects {
.field__label {
display: none;
}
.field__items {
//display: flex;
}
.field-item {
display: inline;
&:after {
content: ', ';
}
}
}
}
//tabs
details#group-dataset-identification .field {
//border-bottom: 1px solid #ccc;
.field__label {
width: 14rem;
text-align: center;
color: var(--bold-color);
//text-align: right;
padding-right: 1rem;
&:after {
content: ':';
}
}
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: '; ';
}
}
}