modified search buttons and forms
This commit is contained in:
parent
197da4a524
commit
6873b6806d
File diff suppressed because one or more lines are too long
|
@ -64,12 +64,12 @@ button,.button {
|
|||
}
|
||||
}
|
||||
&.hero-middle,&.hero-last,&.hero-announcement{
|
||||
:not(.search-form),:not(.search){
|
||||
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%);
|
||||
|
@ -77,6 +77,7 @@ button,.button {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.search {
|
||||
.button {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -64,12 +64,12 @@ button,.button {
|
|||
}
|
||||
}
|
||||
&.hero-middle,&.hero-last,&.hero-announcement{
|
||||
:not(.search-form),:not(.search){
|
||||
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%);
|
||||
|
@ -77,6 +77,7 @@ button,.button {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.search {
|
||||
.button {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue