Skip to content
Snippets Groups Projects
Commit 369fc2e5 authored by Martin Leblanc's avatar Martin Leblanc Committed by Kevin Paxman
Browse files

ISTWCMS-4809: hidding the non-active edit tabs in small views

parent ec5229e5
No related branches found
No related tags found
1 merge request!105ISTWCMS-4809 m26lebla hiding the non-active edit tabs in small views
......@@ -307,3 +307,32 @@
}
}
// Edit tabs for the main 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 &{
&::before{
display:none;
}
li{
&:not(.is-active){
display:none;
}
}
}
&.is-open{
li{
&:not(:first-child){
display:inherit;
}
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment