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
......@@ -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;
}
}
}
}
Markdown is supported
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