modified search buttons and forms

This commit is contained in:
jorge 2022-04-28 21:06:44 +02:00
parent 197da4a524
commit 6873b6806d
7 changed files with 35 additions and 23 deletions

File diff suppressed because one or more lines are too long

View File

@ -64,15 +64,16 @@ button,.button {
}
}
&.hero-middle,&.hero-last,&.hero-announcement{
button,.button {
font-size: $global-font-size;
border-color: $white;
padding: $global-padding $global-padding*2;
min-width: unset;
margin:auto;
&:hover{
color: scale-color($anchor-color, $lightness: 90%);
background-color: scale-color($white, $alpha: -60%);
:not(.search-form),:not(.search){
button,.button {
font-size: $global-font-size;
border-color: $white;
padding: $global-padding $global-padding*2;
min-width: unset;
&:hover{
color: scale-color($anchor-color, $lightness: 90%);
background-color: scale-color($white, $alpha: -60%);
}
}
}
}

View File

@ -95,8 +95,8 @@ article,aside,.omekas-entry-content {
padding: $global-padding/2 $global-padding;
}
.search-submit {
@extend button;
padding: $global-padding/2 $global-padding;
@extend .button;
padding: $global-padding*0.7 $global-padding !important;
display:none;
}
.search-field {

View File

@ -1,12 +1,14 @@
.widget_nav_menu {
.menu-resources-menu-container {
position: relative;
margin-right: $global-margin;
}
ul.menu {
list-style: none;
text-align: left;
li {
position: relative;
margin-right: $global-margin/2;
}
a {
display:block;
@ -31,6 +33,9 @@
border-color: $anchor-color-alt transparent transparent transparent;
margin-top: 0px;
margin-left: 5px;
position: absolute;
right: 0;
top: 42%;
}
}
ul.sub-menu {

View File

@ -64,15 +64,16 @@ button,.button {
}
}
&.hero-middle,&.hero-last,&.hero-announcement{
button,.button {
font-size: $global-font-size;
border-color: $white;
padding: $global-padding $global-padding*2;
min-width: unset;
margin:auto;
&:hover{
color: scale-color($anchor-color, $lightness: 90%);
background-color: scale-color($white, $alpha: -60%);
:not(.search-form),:not(.search){
button,.button {
font-size: $global-font-size;
border-color: $white;
padding: $global-padding $global-padding*2;
min-width: unset;
&:hover{
color: scale-color($anchor-color, $lightness: 90%);
background-color: scale-color($white, $alpha: -60%);
}
}
}
}

View File

@ -95,8 +95,8 @@ article,aside,.omekas-entry-content {
padding: $global-padding/2 $global-padding;
}
.search-submit {
@extend button;
padding: $global-padding/2 $global-padding;
@extend .button;
padding: $global-padding*0.7 $global-padding !important;
display:none;
}
.search-field {

View File

@ -1,12 +1,14 @@
.widget_nav_menu {
.menu-resources-menu-container {
position: relative;
margin-right: $global-margin;
}
ul.menu {
list-style: none;
text-align: left;
li {
position: relative;
margin-right: $global-margin/2;
}
a {
display:block;
@ -31,6 +33,9 @@
border-color: $anchor-color-alt transparent transparent transparent;
margin-top: 0px;
margin-left: 5px;
position: absolute;
right: 0;
top: 42%;
}
}
ul.sub-menu {