rustdoc: merge identical CSS rules
This commit is contained in:
parent
8b4b20836b
commit
5570fdae88
@ -15,11 +15,6 @@
|
|||||||
.setting-radio input {
|
.setting-radio input {
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
.setting-check input:checked {
|
|
||||||
content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40">\
|
|
||||||
<path d="M7,25L17,32L33,12" fill="none" stroke="black" stroke-width="5"/>\
|
|
||||||
<path d="M7,23L17,30L33,10" fill="none" stroke="white" stroke-width="5"/></svg>');
|
|
||||||
}
|
|
||||||
|
|
||||||
.setting-radio span, .setting-check span {
|
.setting-radio span, .setting-check span {
|
||||||
padding-bottom: 1px;
|
padding-bottom: 1px;
|
||||||
@ -52,6 +47,9 @@
|
|||||||
.setting-check input:checked {
|
.setting-check input:checked {
|
||||||
background-color: var(--settings-input-color);
|
background-color: var(--settings-input-color);
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
|
content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40">\
|
||||||
|
<path d="M7,25L17,32L33,12" fill="none" stroke="black" stroke-width="5"/>\
|
||||||
|
<path d="M7,23L17,30L33,10" fill="none" stroke="white" stroke-width="5"/></svg>');
|
||||||
}
|
}
|
||||||
.setting-radio input:focus, .setting-check input:focus {
|
.setting-radio input:focus, .setting-check input:focus {
|
||||||
box-shadow: 0 0 1px 1px var(--settings-input-color);
|
box-shadow: 0 0 1px 1px var(--settings-input-color);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user