- md5
- c181353999333ca502bb8af1c7cc9ad1
- sha1
- ce7aa9bb439a1f6de60cbf8b18ea329d5fd39d9e
- sha256
- f2b7a3ee7aa37a140342de84ffce36e58303891590cd0d122bc343c0bebb5b96
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
// Media Tree
ul.media-tree {
padding: 0 0 5px;
margin: 0;
overflow-x: visible;
list-style: none;
ul {
margin-left: 2px;
}
&:empty {
display: none;
}
}
.media-disk {
position: sticky;
top: 75px;
left: 0;
display: block;
margin-bottom: 10px;
}
.media-drive {
overflow-x: auto;
background-color: $sidebar-drive-bg;
border: 1px solid $border-color;
+ .media-drive {
border-top: 0;
}
}
.media-disk-name {
padding: 4px 1px;
font-size: 1rem;
color: var(--template-bg-dark);
&:empty {
display: none;
}
}
.media-tree-item {
position: relative;
display: block;
&::before {
position: absolute;
top: $sidebar-tree-line-height * .5;
left: 0;
width: 10px;
height: 1px;
margin: auto;
content: "";
background-color: $sidebar-tree-line-color;
}
&::after {
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 1px;
height: 100%;
content: "";
background-color: $sidebar-tree-line-color;
}
&:last-child {
&::after {
height: $sidebar-tree-line-height * .5;
}
}
li {
padding-left: 10px;
&::before, &::after {
left: 5px;
}
}
}
.media-drive-name {
padding: 4px 10px;
&::before {
content: none;
}
&::after {
content: none;
}
&:hover {
cursor: pointer;
}
}
.media-tree-item a {
display: block;
padding: 0 7px;
line-height: $sidebar-tree-line-height;
text-decoration: none;
white-space: nowrap;
cursor: pointer;
}
.media-tree-item.active > a {
&:hover {
text-decoration: none;
background-color: $sidebar-tree-item-hover-bg;
}
}
.media-tree-item .item-icon {
display: inline-block;
padding-right: 2px;
font-size: 15px;
line-height: normal;
color: var(--template-bg-dark-60);
vertical-align: middle;
}
.media-tree-item.active > a .item-icon {
color: $sidebar-active-icon-color;
}
.item-name {
display: inline-block;
overflow: hidden;
font-size: .9em;
text-overflow: ellipsis;
white-space: nowrap;
vertical-align: middle;
}
.media-tree-item.active > a .item-name {
font-weight: bold;
}
// RTL override
html[dir=rtl] {
.media-browser-table .dimension, .media-browser-table .size {
direction: ltr;
}
.media-browser-table .created, .media-browser-table .modified {
direction: ltr;
}
.media-drive-name {
padding-right: 2px;
}
.media-tree-item li::before, .media-tree-item li::after {
right: 5px;
left: 0;
margin: 0;
}
.media-tree-item .item-icon {
padding-right: 10px;
padding-left: 2px;
}
ul.media-tree ul {
margin-right: 15px;
}
}
The same content is in 91 releases, Joomla 4.1.3-rc1 to 5.0.0-beta1. See them all, or every version of this file.