mirror of https://github.com/vtrois/kratos
feat: add search widget (#159)
parent
c49b3885e0
commit
e1e7efbdc0
|
@ -1722,10 +1722,43 @@ button:focus {
|
|||
cursor: default;
|
||||
}
|
||||
|
||||
.k-main .sidebar .widget_search .screen-reader-text {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.searchform input[type=text] {
|
||||
width: 205px;
|
||||
}
|
||||
|
||||
.searchform input[type=submit] {
|
||||
padding: .375rem .75rem;
|
||||
width: 80px;
|
||||
border: none;
|
||||
border-radius: 3px;
|
||||
background-color: #00a2ff;
|
||||
color: #fff;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 1.7;
|
||||
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
@media screen and (max-width:1200px) {
|
||||
.k-main .sidebar .w-tags .item a,.k-main .sidebar .widget_links ul li {
|
||||
width: 110px;
|
||||
}
|
||||
|
||||
.searchform input[type=text] {
|
||||
width: 160px;
|
||||
}
|
||||
|
||||
.searchform input[type=submit] {
|
||||
width: 65px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -22,7 +22,6 @@ function widgets_init()
|
|||
'WP_Widget_Pages',
|
||||
'WP_Widget_Archives',
|
||||
'WP_Widget_Meta',
|
||||
'WP_Widget_Search',
|
||||
'WP_Widget_Categories',
|
||||
'WP_Widget_Recent_Posts',
|
||||
'WP_Widget_Recent_Comments',
|
||||
|
|
Loading…
Reference in New Issue