Browse Source

node layout

master
rdrew 2 years ago
parent
commit
4ddc935497
  1. 34
      css/sass/_dataset-nodes.scss
  2. 4
      css/sass/_search.scss
  3. 40
      css/style.css
  4. 2
      css/style.css.map

34
css/sass/_dataset-nodes.scss

@ -1,4 +1,34 @@
.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 {
@ -7,7 +37,7 @@
padding: 8px 0;
.views-label {
width: 15%;
text-align: right;
text-align: center;
padding-right: 1rem;
}
.field-content {
@ -17,7 +47,7 @@
}
.rdm-citation,
.rdm-citation .field-content {
display: flex;
//display: flex;
}
.citation-block {
margin-bottom: 2rem;

4
css/sass/_search.scss

@ -18,9 +18,11 @@
font-weight: 600;
@extend dt;
width: 10rem;
width: 15%;
text-align: center;
}
.field-content {
width: 85%;
}
background-color: #ffffff;
-webkit-box-shadow: 0 0 8px 4px var(--light);

40
css/style.css

@ -1251,10 +1251,37 @@ button,
max-height: 90px;
}
}
.page-type-islandora-rdm-dataset #edit-group-islandora-rdm-files td.views-field-nothing,
.page-type-islandora-rdm-dataset #edit-group-islandora-rdm-files td.views-field-field-media-use {
display: none;
}
.page-type-islandora-rdm-dataset #edit-group-islandora-rdm-files td.views-field-field-media-file-1 {
padding: 0;
margin: 0;
border: 0;
}
.page-type-islandora-rdm-dataset #edit-group-islandora-rdm-files td.views-field-field-media-file-1 table {
margin: 1rem 0;
border: 0;
}
.page-type-islandora-rdm-dataset th {
background: #eeeeee;
color: #fff;
color: var(--upei-red);
border: 1px solid #ccc;
}
.rdm_dataset_metadata {
border: 1px solid #ccc;
padding: 1rem;
}
.rdm_dataset_metadata h5 {
font-family: var(--body-font);
font-size: 1rem;
font-weight: 600;
width: 15%;
text-align: center;
}
.rdm_dataset_metadata .views-field {
border-bottom: 1px dotted #ccc;
display: flex;
@ -1262,18 +1289,13 @@ button,
}
.rdm_dataset_metadata .views-field .views-label {
width: 15%;
text-align: right;
text-align: center;
padding-right: 1rem;
}
.rdm_dataset_metadata .views-field .field-content {
width: 85%;
}
.rdm-citation,
.rdm-citation .field-content {
display: flex;
}
.citation-block {
margin-bottom: 2rem;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
@ -1353,7 +1375,11 @@ details#group-dataset-identification .field .field__label:after {
}
.search-result .views-label {
font-weight: 600;
width: 10rem;
width: 15%;
text-align: center;
}
.search-result .field-content {
width: 85%;
}
.search-result dl {
margin: 0;

2
css/style.css.map

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