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,18 +64,19 @@ 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%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.search {
|
.search {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -64,18 +64,19 @@ 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%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.search {
|
.search {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue