mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 20:50:21 +01:00
MDL-83188 block_private_files: style expand/collapse icons correctly.
This commit is contained in:
parent
f6141a67d8
commit
2181edd1a7
@ -31,20 +31,24 @@
|
|||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.block_private_files [role="treeitem"][aria-expanded="false"] > p::before {
|
.block_private_files [role="treeitem"][aria-expanded="false"] > p {
|
||||||
/*rtl:remove*/
|
/*rtl:remove*/
|
||||||
content: url('[[pix:t/collapsed]]');
|
background-image: url('[[pix:t/collapsed]]');
|
||||||
/*rtl:raw:
|
/*rtl:raw:
|
||||||
content: url('[[pix:t/collapsed_rtl]]');
|
background-image: url('[[pix:t/collapsed_rtl]]');
|
||||||
*/
|
*/
|
||||||
vertical-align: sub;
|
background-size: 16px 16px;
|
||||||
margin-right: 5px;
|
background-position: 1px 1px;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
padding-left: 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.block_private_files [role="treeitem"][aria-expanded="true"] > p::before {
|
.block_private_files [role="treeitem"][aria-expanded="true"] > p {
|
||||||
content: url('[[pix:t/expanded]]');
|
background-image: url('[[pix:t/expanded]]');
|
||||||
vertical-align: sub;
|
background-size: 16px 16px;
|
||||||
margin-right: 5px;
|
background-position: 1px 1px;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
padding-left: 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.block_private_files [role="treeitem"]:not([aria-expanded]) {
|
.block_private_files [role="treeitem"]:not([aria-expanded]) {
|
||||||
@ -88,6 +92,7 @@
|
|||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: left 8px top 100%;
|
background-position: left 8px top 100%;
|
||||||
background-size: 1px 100%;
|
background-size: 1px 100%;
|
||||||
|
padding-left: 22px;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user