Commit 471436fb authored by m26lebla's avatar m26lebla
Browse files

RT#1059708: WCMS expandable content issue- additional css to update the org_default overrides

parent 760e8fd0
This diff is collapsed.
......@@ -164,42 +164,20 @@ body {
}
}
}
//.expandable h2:first-child div[role="button"],
//.expandable-controls button {
// color: nth($faculty, 8);
// background-color: nth($faculty, 2);
//
// &:hover,
// &:focus {
// background-color: nth($faculty, 8);
// color: nth($faculty, 2);
//
// a {
// color: nth($faculty, 2);
// }
//
// &:after {
// color: nth($faculty, 2);
// }
// }
//
// &:after {
// color: nth($faculty, 8);
// }
//}
.expandable h2:first-child div[role="button"] ,
.expandable-controls button {
color: nth($faculty, 8);
background-color: nth($faculty, 2);
border:2px solid nth($faculty, 2);
&:after {
color: nth($faculty, 8);
}
@include uw-transition($delay: 0s, $duration:200ms, $timing:'linear', $property: (color, background-color,border-color,opacity));
&:hover,&:focus{
background-color:#eee;
background-color:$white;
border:2px solid #fafafa;
color: nth($faculty, 2);
&:after {
color: nth($faculty, 2);
......@@ -212,6 +190,10 @@ body {
text-decoration:none!important;
}
}
&[aria-expanded="true"]
{
border-bottom:2px solid transparent;
}
}
a {
color: nth($faculty, 8);
......
......@@ -1687,10 +1687,10 @@
}
// expand collapse overwrite
body.org_cgc .expandable h2:first-child [role="button"], body.org_cgc .expandable-controls button,
body.org_ren .expandable h2:first-child [role="button"], body.org_ren .expandable-controls button,
body.org_stj .expandable h2:first-child [role="button"], body.org_stj .expandable-controls button,
body.org_stp .expandable h2:first-child [role="button"], body.org_stp .expandable-controls button {
body.org_cgc .expandable h2:first-child div[role="button"], body.org_cgc .expandable-controls button,
body.org_ren .expandable h2:first-child div[role="button"], body.org_ren .expandable-controls button,
body.org_stj .expandable h2:first-child div[role="button"], body.org_stj .expandable-controls button,
body.org_stp .expandable h2:first-child div[role="button"], body.org_stp .expandable-controls button {
&:hover,
&:focus {
color: $lighter-gray;
......@@ -1714,13 +1714,18 @@ body.org_stp .expandable h2:first-child [role="button"], body.org_stp .expandabl
}
}
body.org_default .expandable h2:first-child [role="button"], body.org_default .expandable-controls button {
body.org_default .expandable h2:first-child div[role="button"],
body.org_default .expandable-controls button {
background-color: $lighter-gray;
color: $dark-gray;
border:none !important;
&:hover, &:focus {
color: $lighter-gray;
background-color: $dark-gray;
border:none !important;
&:after {
color: $white;
}
}
&:after {
......@@ -1728,8 +1733,9 @@ body.org_default .expandable h2:first-child [role="button"], body.org_default .e
}
}
body.org_default .expandable h2:first-child [role="button"],
body.org_default .expandable h2:first-child div[role="button"],
body.org_default .expandable-controls button {
border:none !important;
a {
color: $dark-gray;
......
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