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,12 +64,12 @@ button,.button {
} }
} }
&.hero-middle,&.hero-last,&.hero-announcement{ &.hero-middle,&.hero-last,&.hero-announcement{
:not(.search-form),:not(.search){
button,.button { button,.button {
font-size: $global-font-size; font-size: $global-font-size;
border-color: $white; border-color: $white;
padding: $global-padding $global-padding*2; padding: $global-padding $global-padding*2;
min-width: unset; min-width: unset;
margin:auto;
&:hover{ &:hover{
color: scale-color($anchor-color, $lightness: 90%); color: scale-color($anchor-color, $lightness: 90%);
background-color: scale-color($white, $alpha: -60%); background-color: scale-color($white, $alpha: -60%);
@ -77,6 +77,7 @@ button,.button {
} }
} }
} }
}
.search { .search {
.button { .button {

View File

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

View File

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

View File

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

View File

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

View File

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