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{ &.hero-middle,&.hero-last,&.hero-announcement{
button,.button { :not(.search-form),:not(.search){
font-size: $global-font-size; button,.button {
border-color: $white; font-size: $global-font-size;
padding: $global-padding $global-padding*2; border-color: $white;
min-width: unset; padding: $global-padding $global-padding*2;
margin:auto; min-width: unset;
&: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%);
}
} }
} }
} }

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,15 +64,16 @@ button,.button {
} }
} }
&.hero-middle,&.hero-last,&.hero-announcement{ &.hero-middle,&.hero-last,&.hero-announcement{
button,.button { :not(.search-form),:not(.search){
font-size: $global-font-size; button,.button {
border-color: $white; font-size: $global-font-size;
padding: $global-padding $global-padding*2; border-color: $white;
min-width: unset; padding: $global-padding $global-padding*2;
margin:auto; min-width: unset;
&: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%);
}
} }
} }
} }

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 {