Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 1 addition & 29 deletions app/assets/stylesheets/spot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,7 @@
@import "spot/navbar";
@import "spot/homepage";
@import "spot/multi-auth-controlled-vocab";

.rights-statement-icon {
max-width: 120px;
}

.panel-heading-slim {
padding: 4px 15px;
padding-left: 8px; // TODO: this is a magic number; what's the value in bootstrap?

h5,
h6 {
margin-bottom: 0;
margin-top: 0;
}
}
@import "spot/work-views";

[role="main"] {
margin-top: 1rem;
Expand All @@ -27,24 +13,10 @@
margin-top: 0;
}

.thumbnail.file-set {
margin: auto;
max-width: 250px;
}

.ldr-logo img {
height: 50px;
}

// bootstrap is very specific in targeting table cells,
// so we also need to be that specific to override
.metadata-table > tbody > tr {
> td,
> th {
vertical-align: middle;
}
}

// collection overrides
.hyc-banner {
min-height: 200px;
Expand Down
42 changes: 42 additions & 0 deletions app/assets/stylesheets/spot/_work-views.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
.rights-statement-icon {
max-width: 120px;
}

// if including the work-show page header in the panel coloring,
// change `.work-metadata` to `.work-type`
//
// .work-metadata {
// .panel {
// border-color: $red-dark;
// }

// .panel-heading {
// background-color: $red-dark;
// color: $white;
// }
// }

.panel-heading-slim {
padding: 4px 15px;
padding-left: 8px; // TODO: this is a magic number; what's the value in bootstrap?

h5,
h6 {
margin-bottom: 0;
margin-top: 0;
}
}

// bootstrap is very specific in targeting table cells,
// so we also need to be that specific to override
.metadata-table > tbody > tr {
> td,
> th {
vertical-align: middle;
}
}

.thumbnail.file-set {
margin: auto;
max-width: 250px;
}