Commit 504f1c1d authored by Martin Leblanc's avatar Martin Leblanc
Browse files

Merge branch 'feature/ISTWCMS-5645-kpaxman-admin_side_tabs_fix' into '3.1.x'

ISTWCMS-5645: make collapsed admin tabs not show additional menu items unless toggled on

See merge request !203
parents c2a3b61e 324d4988
......@@ -20,3 +20,35 @@
}
}
}
// Edit tabs for the admin pages in Drupal.
.tabs{
&__trigger{
padding-bottom:0;
&:hover,
&:focus{
background:gesso-grayscale(gray-2);
border:1px solid gesso-grayscale(gray-4);
}
.is-collapse-enabled &{
height:1.72rem;
}
}
.is-collapse-enabled &{
&::before{
display:none;
}
li{
&:not(.is-active){
display:none;
}
}
}
&.is-open{
li{
&:not(:first-child){
display:inherit;
}
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment