mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Improved copy-to-clipboard button sizing in Admonitions
This commit is contained in:
parent
d4051c9bb5
commit
08d89aeca2
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.cecacc24.min.js",
|
"assets/javascripts/bundle.js": "assets/javascripts/bundle.94a3fc3f.min.js",
|
||||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.cecacc24.min.js.map",
|
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.94a3fc3f.min.js.map",
|
||||||
"assets/javascripts/vendor.js": "assets/javascripts/vendor.0c35f0aa.min.js",
|
"assets/javascripts/vendor.js": "assets/javascripts/vendor.0c35f0aa.min.js",
|
||||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.0c35f0aa.min.js.map",
|
"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": "assets/javascripts/worker/search.2613054f.min.js",
|
||||||
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.2613054f.min.js.map",
|
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.2613054f.min.js.map",
|
||||||
"assets/stylesheets/main.css": "assets/stylesheets/main.497a61b7.min.css",
|
"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.31180ff2.min.css"
|
||||||
}
|
}
|
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.b9803391.min.css
vendored
Normal file
1
material/assets/stylesheets/main.b9803391.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -41,7 +41,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.497a61b7.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.b9803391.min.css' | url }}">
|
||||||
{% if palette.primary or palette.accent %}
|
{% if palette.primary or palette.accent %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.31180ff2.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.31180ff2.min.css' | url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -178,7 +178,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<script src="{{ 'assets/javascripts/vendor.0c35f0aa.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/vendor.0c35f0aa.min.js' | url }}"></script>
|
||||||
<script src="{{ 'assets/javascripts/bundle.cecacc24.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/bundle.94a3fc3f.min.js' | url }}"></script>
|
||||||
{%- set translations = {} -%}
|
{%- set translations = {} -%}
|
||||||
{%- for key in [
|
{%- for key in [
|
||||||
"clipboard.copy",
|
"clipboard.copy",
|
||||||
|
@ -28,10 +28,10 @@
|
|||||||
.md-clipboard {
|
.md-clipboard {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: px2rem(8px);
|
top: px2rem(8px);
|
||||||
right: px2rem(8px);
|
right: px2em(8px, 16px);
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
width: px2rem(24px);
|
width: px2em(24px, 16px);
|
||||||
height: px2rem(24px);
|
height: px2em(24px, 16px);
|
||||||
color: var(--md-default-fg-color--lightest);
|
color: var(--md-default-fg-color--lightest);
|
||||||
border-radius: px2rem(2px);
|
border-radius: px2rem(2px);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@ -44,8 +44,8 @@
|
|||||||
|
|
||||||
// Slightly smaller icon
|
// Slightly smaller icon
|
||||||
svg {
|
svg {
|
||||||
width: px2rem(18px);
|
width: px2em(18px, 16px);
|
||||||
height: px2rem(18px);
|
height: px2em(18px, 16px);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Show on container hover
|
// Show on container hover
|
||||||
|
Loading…
Reference in New Issue
Block a user