Compare commits

..

No commits in common. "abb51ac63a6ddd4e6595f5994ee2b0e1129fc3a6" and "3ac81dd2074058e9f991cffa92560acbc86da4d1" have entirely different histories.

3 changed files with 65 additions and 76 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,67 +1,66 @@
.hero{ .search{
.search{ .input-group * {
.input-group * { margin: 0;
margin: 0; }
.input-group {
position: relative;
border-radius: 4rem;
overflow: hidden;
padding: 0;
margin: 0;
}
.input-group .appear {
right: 0;
position: absolute;
height: 100%;
padding: 0.3rem 1rem;
}
.button{
border-color: $primary-color;
}
.appear{
display:none;
}
input{
&:active{
border-color: $primary-color;
background-color: $input-background-focus;
} }
.input-group { &:focus,&:focus-within{
border-color: $primary-color;
background-color: $input-background;
}
&:not(:placeholder-shown) {
border:none;
background-color: $input-background-focus;
position: relative; position: relative;
border-radius: 4rem; right: 2rem;
overflow: hidden; + .appear {
padding: 0; display: block;
margin: 0; color: $primary-color;
}
.input-group .appear {
right: 0;
position: absolute;
height: 100%;
padding: 0.3rem 1rem;
}
.button{
border-color: $primary-color;
}
.appear{
display:none;
}
input{
&:active{
border-color: $primary-color;
background-color: $input-background-focus; background-color: $input-background-focus;
} z-index: 2;
&:focus,&:focus-within{ &:hover {
border-color: $primary-color; color: $white;
background-color: $input-background; background-color: $primary-color;
}
&:not(:placeholder-shown) {
border:none;
background-color: $input-background-focus;
position: relative;
right: 2rem;
+ .appear {
display: block;
background-color: scale-color($input-background-focus, $lightness: -20%);
z-index: 2;
&:hover {
color: $white;
background-color: $primary-color;
}
} }
}
}
.hollow {
border-color: $primary-color;
color: $primary-color;
&::after {
}
&::placeholder {
color: scale-color($primary-color, $lightness: -20%);
}
&:hover {
background-color: scale-color($primary-color, $lightness: 95%);
}
&:active {
background-color: scale-color($primary-color, $lightness: 85%);
} }
} }
} }
.hollow {
border-color: $primary-color;
color: $primary-color;
&::after {
}
&::placeholder {
color: scale-color($primary-color, $lightness: -20%);
}
&:hover {
background-color: scale-color($primary-color, $lightness: 95%);
}
&:active {
background-color: scale-color($primary-color, $lightness: 85%);
}
}
} }

View File

@ -323,7 +323,7 @@ body.vertical-menu header .desktop {
.browse-control-mobile { .browse-control-mobile {
display: none; display: none;
@include breakpoint(small down) { @include breakpoint(small down) {
display: inline-block; display: inline-block;
// float: right; // float: right;
@ -376,16 +376,16 @@ body.vertical-menu header .desktop {
@include breakpoint(small down) { @include breakpoint(small down) {
// margin: 0; // margin: 0;
display: none; display: none;
&.open { &.open {
display: flex; display: flex;
align-items: stretch; align-items: stretch;
} }
&.closed { &.closed {
display: none; display: none;
} }
// .sorting, // .sorting,
// .omeka-pagination, // .omeka-pagination,
// .advanced-search { // .advanced-search {
@ -554,18 +554,8 @@ body.vertical-menu header .desktop {
margin-bottom: 0; margin-bottom: 0;
} }
.sorting { .sorting button {
display: flex; // margin-bottom: 0;
button,.button {
padding: 0 $global-padding*1.4;
font-size: $global-font-size * 0.85;
margin: 0 $global-margin;
}
select {
// width: 100%;
// height: 100%;
margin-bottom: 0;
}
} }
.layout-toggle button { .layout-toggle button {