Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core/css
diff options
context:
space:
mode:
authorChristian Paier <hallo+git@cpaier.com>2022-01-30 18:32:48 +0300
committerChristian Paier <hallo+git@cpaier.com>2022-02-02 23:19:23 +0300
commit0942aed8db353b29d39ed4f895111262af2e755a (patch)
treefa33936f0abe1ea427ae5e0e4c4c2f2299a45d42 /core/css
parent5e5c31ea845c9551e3846a193f9e00c212b9b4ce (diff)
Show the parent folders in the breadcrumb menu when on a child entry.
Previously, clicking on an menu item in the breadcrumb menu removed the parent entries of the path, i.e.: Clicking on the "to" entry in "/path/to/some/folder" changed the breadcrumb menu to show only the "/path/to" entries. With this change the breadcrumb menu changes this behaviour as the full path is still visible (and usable) but with the "to" entry beeing highlighted. Signed-off-by: Christian Paier <hallo+git@cpaier.com>
Diffstat (limited to 'core/css')
-rw-r--r--core/css/styles.scss15
1 files changed, 7 insertions, 8 deletions
diff --git a/core/css/styles.scss b/core/css/styles.scss
index 36da94a2e2b..3d21967a27e 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -1202,6 +1202,13 @@ div.crumb {
order: 3;
}
}
+ &.active {
+ font-weight: bold;
+ // Allow multiple span next to the main 'a'
+ a ~ span {
+ padding-left: 0;
+ }
+ }
> a,
> span {
position: relative;
@@ -1226,14 +1233,6 @@ div.crumb {
}
&:not(:first-child) a {
}
- &:last-child {
- font-weight: bold;
- margin-right: 10px;
- // Allow multiple span next to the main 'a'
- a ~ span {
- padding-left: 0;
- }
- }
&:hover, &:focus, a:focus, &:active {
opacity: 1;