mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-12-18 02:15:56 +01:00
Added background on hover for table rows
This commit is contained in:
parent
74c473e2d7
commit
2b2d908d6e
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/application.982221ab.css
Normal file
1
material/assets/stylesheets/application.982221ab.css
Normal file
File diff suppressed because one or more lines are too long
@ -53,7 +53,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/application.18bd1ba2.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/application.982221ab.css' | url }}">
|
||||
{% if palette.primary or palette.accent %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/application-palette.224b79ff.css' | url }}">
|
||||
{% endif %}
|
||||
@ -190,7 +190,7 @@
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% block scripts %}
|
||||
<script src="{{ 'assets/javascripts/application.ad41a940.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/application.a8c1b0c3.js' | url }}"></script>
|
||||
{% if lang.t("search.language") != "en" %}
|
||||
{% set languages = lang.t("search.language").split(",") %}
|
||||
{% if languages | length and languages[0] != "" %}
|
||||
|
@ -457,11 +457,23 @@ kbd {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
// Remove top border on first row
|
||||
tr:first-child td {
|
||||
border-top: 0;
|
||||
// Table rows
|
||||
tr {
|
||||
transition: background-color 0.125s;
|
||||
|
||||
// Add background on hover
|
||||
&:hover {
|
||||
background-color: rgba(0, 0, 0, 0.035);
|
||||
box-shadow: 0 px2rem(1px) 0 $md-color-white inset;
|
||||
}
|
||||
|
||||
// Remove top border on first row
|
||||
&:first-child td {
|
||||
border-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Do not wrap links in tables
|
||||
a {
|
||||
word-break: normal;
|
||||
|
Loading…
Reference in New Issue
Block a user