Arc-hive-omeka-theme/asset/scss/global/_omeka.scss

203 lines
3.2 KiB
SCSS
Raw Normal View History

2021-04-25 09:49:47 +02:00
// Omeka Styles
// -----------------------------
//
// Table of Contents:
// #. Global Styles
// #. Header
// #. Resource Browse
// #. Advanced Search
// #. Page
// #. Blocks
2021-04-25 09:49:47 +02:00
// #. Global Styles
// ------------------
#user-bar {
width: 100%;
}
// line breaks generated by omekas
2021-04-25 09:49:47 +02:00
.break {
width: 100%;
margin: (2 * $global-margin) 0;
clear: both;
2021-04-25 09:49:47 +02:00
}
.break.opaque {
border-top: 1px solid $body-background;
}
.break.transparent {
border-top: none;
2021-04-25 09:49:47 +02:00
}
// vertical spacing for bloc elements
//
.archive-item-block {
margin-bottom: $global-margin * 1;
}
2021-04-25 09:49:47 +02:00
/* Styles for vertical menu layout */
// #. Header
// ------------------
// #. Footer
// ------------------
2021-07-06 12:31:34 +02:00
2021-04-25 09:49:47 +02:00
// #. Resource Browse
// ------------------
.browse-control-mobile {
2021-07-27 15:52:40 +02:00
display: none;
2021-07-27 15:52:40 +02:00
@include breakpoint(small down) {
display: inline-block;
}
2021-04-25 09:49:47 +02:00
}
.browse-controls {
2021-07-27 15:52:40 +02:00
@include xy-grid;
justify-content: space-between;
align-items: center;
@include breakpoint(small down) {
display: none;
2021-07-27 15:52:40 +02:00
&.open {
display: flex;
align-items: stretch;
}
2021-07-27 15:52:40 +02:00
&.closed {
display: none;
}
}
.button-group {
margin-bottom: 0;
}
button,.button{
font-size: $global-font-size * 0.9;
padding: $global-padding*0.7 $global-padding*1.7;
}
2021-04-25 09:49:47 +02:00
}
.omeka-pagination {
2021-07-27 15:52:40 +02:00
@include breakpoint(medium) {
@include xy-cell();
}
2021-04-25 09:49:47 +02:00
}
.omeka-pagination,
2021-04-25 09:49:47 +02:00
.omeka-pagination form {
2021-07-27 15:52:40 +02:00
display: flex;
align-items: center;
2021-04-25 09:49:47 +02:00
}
.omeka-pagination .button-group {
2021-07-27 15:52:40 +02:00
flex-wrap: nowrap;
flex-grow: 0;
2021-04-25 09:49:47 +02:00
}
.sorting {
2021-07-27 15:52:40 +02:00
display: flex;
2021-04-25 09:49:47 +02:00
}
.sorting select {
2021-07-27 15:52:40 +02:00
width: 100%;
height: 100%;
margin-bottom: 0;
2021-04-25 09:49:47 +02:00
}
.sorting {
display: flex;
button,.button {
padding: 0 $global-padding*1.4;
font-size: $global-font-size * 0.85;
margin: 0 $global-margin;
}
select {
margin-bottom: 0;
}
2021-04-25 09:49:47 +02:00
}
// #. Resource Show
// ------------------
// #. Advanced search
// ------------------
// hide search form in results view on top of title
.sitewide-search-form {
display:none;
}
2021-04-25 09:49:47 +02:00
// #. Page
// ------------------
// -- submenus
.omekas-entry-content {
.sub-menu.wide {
//padding like .hero.collection-single aside nav
position: absolute;
left: 0;
width: 100vw;
@include breakpoint(small) {
padding-left: 0;
padding-right: 0;
}
@include breakpoint(medium) {
padding-left: $global-padding * 3;
padding-right: $global-padding * 3;
}
@include breakpoint(xxlarge) {
padding-left: $global-padding * 8;
padding-right: $global-padding * 8;
}
a {
&:hover {
text-decoration: underline;
}
}
.sticky {
&.is-stuck {
background-color: scale-color($white, $alpha: 90%);
}
&.is-at-top {
margin-top: 0 !important;
}
}
}
}
2021-04-25 09:49:47 +02:00
// -- Search
// -- Modules
.media-list {
@include breakpoint(small) {
display: flex;
flex-direction: column;
width: 100%;
.resource-link {
width: auto;
display:inline-block;
padding-right: $global-padding;
> * {
float: left;
clear: both;
}
}
.resource-name {
font-size: 0.8rem;
}
}
@include breakpoint(medium) {
flex-direction: row;
}
}
.blocks {
.pannemmul-wrap {
margin: $global-margin 0;
}
2021-04-25 09:49:47 +02:00
}