mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-24 15:40:15 +01:00
Fixed hover states of search input for black and white palette
This commit is contained in:
parent
08d89aeca2
commit
0b622b3333
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,10 +1,10 @@
|
||||
{
|
||||
"assets/javascripts/bundle.js": "assets/javascripts/bundle.94a3fc3f.min.js",
|
||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.94a3fc3f.min.js.map",
|
||||
"assets/javascripts/bundle.js": "assets/javascripts/bundle.59c8d50f.min.js",
|
||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.59c8d50f.min.js.map",
|
||||
"assets/javascripts/vendor.js": "assets/javascripts/vendor.0c35f0aa.min.js",
|
||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.0c35f0aa.min.js.map",
|
||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.2613054f.min.js",
|
||||
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.2613054f.min.js.map",
|
||||
"assets/stylesheets/main.css": "assets/stylesheets/main.b9803391.min.css",
|
||||
"assets/stylesheets/palette.css": "assets/stylesheets/palette.31180ff2.min.css"
|
||||
"assets/stylesheets/palette.css": "assets/stylesheets/palette.4444686e.min.css"
|
||||
}
|
File diff suppressed because one or more lines are too long
@ -43,7 +43,7 @@
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.b9803391.min.css' | url }}">
|
||||
{% if palette.primary or palette.accent %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.31180ff2.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.4444686e.min.css' | url }}">
|
||||
{% endif %}
|
||||
{% if palette.primary %}
|
||||
{% import "partials/palette.html" as map %}
|
||||
@ -178,7 +178,7 @@
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script src="{{ 'assets/javascripts/vendor.0c35f0aa.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.94a3fc3f.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.59c8d50f.min.js' | url }}"></script>
|
||||
{%- set translations = {} -%}
|
||||
{%- for key in [
|
||||
"clipboard.copy",
|
||||
|
@ -134,6 +134,11 @@
|
||||
&::placeholder {
|
||||
color: var(--md-default-fg-color--light);
|
||||
}
|
||||
|
||||
// Hovered search field
|
||||
&:hover {
|
||||
background-color: var(--md-default-fg-color--lighter);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -200,9 +205,14 @@
|
||||
|
||||
// Search input
|
||||
.md-search__input {
|
||||
background-color: var(--md-default-bg-color--lighter);
|
||||
|
||||
// Hovered search field
|
||||
&:hover {
|
||||
background-color: var(--md-default-bg-color--lightest);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// [tablet -]: Layered navigation
|
||||
@include break-to-device(tablet) {
|
||||
|
Loading…
Reference in New Issue
Block a user