mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Adjustments for right-to-left languages
This commit is contained in:
parent
6bf47b537f
commit
1b07bef1c5
File diff suppressed because one or more lines are too long
1
material/assets/javascripts/bundle.0a1c0470.min.js.map
Normal file
1
material/assets/javascripts/bundle.0a1c0470.min.js.map
Normal file
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.7a912663.min.js",
|
||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.7a912663.min.js.map",
|
||||
"assets/javascripts/bundle.js": "assets/javascripts/bundle.0a1c0470.min.js",
|
||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.0a1c0470.min.js.map",
|
||||
"assets/javascripts/vendor.js": "assets/javascripts/vendor.daf35bb7.min.js",
|
||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.daf35bb7.min.js.map",
|
||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.784c5235.min.js",
|
||||
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.784c5235.min.js.map",
|
||||
"assets/stylesheets/main.css": "assets/stylesheets/main.4b1ae2ca.min.css",
|
||||
"assets/stylesheets/main.css": "assets/stylesheets/main.8ba7492e.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.8ba7492e.min.css
vendored
Normal file
1
material/assets/stylesheets/main.8ba7492e.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -41,7 +41,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.4b1ae2ca.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.8ba7492e.min.css' | url }}">
|
||||
{% if palette.primary or palette.accent %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.31180ff2.min.css' | url }}">
|
||||
{% endif %}
|
||||
@ -178,7 +178,7 @@
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script src="{{ 'assets/javascripts/vendor.daf35bb7.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.7a912663.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.0a1c0470.min.js' | url }}"></script>
|
||||
{%- set translations = {} -%}
|
||||
{%- for key in [
|
||||
"clipboard.copy",
|
||||
|
@ -147,7 +147,7 @@
|
||||
|
||||
// Define base class
|
||||
.md-typeset .admonition.#{$type} {
|
||||
border-left-color: $tint;
|
||||
border-color: $tint;
|
||||
}
|
||||
|
||||
// Define base class
|
||||
|
@ -43,7 +43,7 @@
|
||||
|
||||
// Rotate title icon
|
||||
&[open] > summary::after {
|
||||
transform: rotate(0deg);
|
||||
transform: rotateZ(0deg);
|
||||
}
|
||||
|
||||
// Remove bottom spacing
|
||||
@ -77,7 +77,7 @@
|
||||
height: px2rem(20px);
|
||||
margin-left: auto;
|
||||
background-image: var(--md-details-icon);
|
||||
transform: rotate(-90deg);
|
||||
transform: rotateZ(-90deg);
|
||||
transition: transform 250ms;
|
||||
content: "";
|
||||
|
||||
@ -85,6 +85,7 @@
|
||||
[dir="rtl"] & {
|
||||
margin-right: auto;
|
||||
margin-left: initial;
|
||||
transform: rotateZ(90deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -502,6 +502,12 @@
|
||||
height: px2rem(18px);
|
||||
transition: transform 250ms;
|
||||
|
||||
// Adjust for right-to-left languages
|
||||
[dir="rtl"] & {
|
||||
float: left;
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
// Inline icon and adjust to match font size
|
||||
svg {
|
||||
display: inline-block;
|
||||
|
@ -66,12 +66,6 @@
|
||||
backface-visibility: hidden;
|
||||
transition: opacity 250ms;
|
||||
|
||||
// Adjust for right-to-left languages
|
||||
[dir="rtl"] & {
|
||||
padding-right: initial;
|
||||
padding-left: px2rem(12px);
|
||||
}
|
||||
|
||||
// Hovered source container
|
||||
&:hover {
|
||||
opacity: 0.7;
|
||||
|
Loading…
Reference in New Issue
Block a user