Browse Source

dataset tab styles

master
rdrew 2 years ago
parent
commit
06b33aacd9
  1. 57
      css/sass/_dataset-nodes.scss
  2. 64
      css/style.css
  3. 2
      css/style.css.map

57
css/sass/_dataset-nodes.scss

@ -1,9 +1,51 @@
.dataset_tabs,
.horizontal-tabs { .horizontal-tabs {
.tablinks{
color: var(--bold-color);
font-family: var(--body-font);
font-size: 1rem;
font-weight: 600;
}
#Tab03,
#Tab02 {
.views-field {
display: table-row;
}
.field-content {
display: table-cell;
padding-left: 1rem;
p {
margin-bottom: 0;
}
}
.views-label {
text-align: center;
color: var(--bold-color);
display: table-cell;
font-family: var(--body-font);
font-size: 1rem;
font-weight: 600;
}
}
//.field-content {
//display: table-cell;
//padding-left: 1rem;
//p {
//margin-bottom: 0;
//}
//}
.field__label { .field__label {
text-align: center; text-align: center;
color: var(--bold-color); color: var(--bold-color);
} }
.tabcontent {
padding: 1rem;
}
margin-bottom: 2rem;
} }
#Tab01,
.islandora-rdm-files-list-tab { .islandora-rdm-files-list-tab {
.view { .view {
margin: 1rem 0; margin: 1rem 0;
@ -30,6 +72,21 @@
} }
} }
} }
.tabcontent .view-rdm-media-evas {
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;
}
}
}
.page-type-islandora-rdm-dataset { .page-type-islandora-rdm-dataset {
#edit-group-islandora-rdm-files { #edit-group-islandora-rdm-files {

64
css/style.css

@ -1251,27 +1251,91 @@ button,
max-height: 90px; max-height: 90px;
} }
} }
.dataset_tabs,
.horizontal-tabs {
margin-bottom: 2rem;
}
.dataset_tabs .tablinks,
.horizontal-tabs .tablinks {
color: var(--bold-color);
font-family: var(--body-font);
font-size: 1rem;
font-weight: 600;
}
.dataset_tabs #Tab03 .views-field,
.dataset_tabs #Tab02 .views-field,
.horizontal-tabs #Tab03 .views-field,
.horizontal-tabs #Tab02 .views-field {
display: table-row;
}
.dataset_tabs #Tab03 .field-content,
.dataset_tabs #Tab02 .field-content,
.horizontal-tabs #Tab03 .field-content,
.horizontal-tabs #Tab02 .field-content {
display: table-cell;
padding-left: 1rem;
}
.dataset_tabs #Tab03 .field-content p,
.dataset_tabs #Tab02 .field-content p,
.horizontal-tabs #Tab03 .field-content p,
.horizontal-tabs #Tab02 .field-content p {
margin-bottom: 0;
}
.dataset_tabs #Tab03 .views-label,
.dataset_tabs #Tab02 .views-label,
.horizontal-tabs #Tab03 .views-label,
.horizontal-tabs #Tab02 .views-label {
text-align: center;
color: var(--bold-color);
display: table-cell;
font-family: var(--body-font);
font-size: 1rem;
font-weight: 600;
}
.dataset_tabs .field__label,
.horizontal-tabs .field__label { .horizontal-tabs .field__label {
text-align: center; text-align: center;
color: var(--bold-color); color: var(--bold-color);
} }
.dataset_tabs .tabcontent,
.horizontal-tabs .tabcontent {
padding: 1rem;
}
#Tab01 .view,
.islandora-rdm-files-list-tab .view { .islandora-rdm-files-list-tab .view {
margin: 1rem 0; margin: 1rem 0;
} }
#Tab01 table,
.islandora-rdm-files-list-tab table { .islandora-rdm-files-list-tab table {
margin: 0; margin: 0;
} }
#Tab01 .view-rdm-media-evas > table > tbody > :not(tr:nth-of-type(1)) thead,
.islandora-rdm-files-list-tab .view-rdm-media-evas > table > tbody > :not(tr:nth-of-type(1)) thead { .islandora-rdm-files-list-tab .view-rdm-media-evas > table > tbody > :not(tr:nth-of-type(1)) thead {
display: none; display: none;
} }
#Tab01 .views-field-field-media-file-1 table > tbody > tr > td:nth-of-type(1),
.islandora-rdm-files-list-tab .views-field-field-media-file-1 table > tbody > tr > td:nth-of-type(1) { .islandora-rdm-files-list-tab .views-field-field-media-file-1 table > tbody > tr > td:nth-of-type(1) {
width: 600px; width: 600px;
} }
#Tab01 .views-field-field-media-file-1 table tr th:nth-of-type(1),
.islandora-rdm-files-list-tab .views-field-field-media-file-1 table tr th:nth-of-type(1) { .islandora-rdm-files-list-tab .views-field-field-media-file-1 table tr th:nth-of-type(1) {
width: 400px; width: 400px;
} }
.tabcontent .view-rdm-media-evas td.views-field-nothing,
.tabcontent .view-rdm-media-evas td.views-field-field-media-use {
display: none;
}
.tabcontent .view-rdm-media-evas td.views-field-field-media-file-1 {
padding: 0;
margin: 0;
border: 0;
}
.tabcontent .view-rdm-media-evas td.views-field-field-media-file-1 table {
border: 0;
}
.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-nothing,
.page-type-islandora-rdm-dataset #edit-group-islandora-rdm-files td.views-field-field-media-use { .page-type-islandora-rdm-dataset #edit-group-islandora-rdm-files td.views-field-field-media-use {
display: none; display: none;

2
css/style.css.map

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