This repository was archived by the owner on Jul 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +30
-5
lines changed
plugins/plugin-client-common/web/scss/components/Accordion Expand file tree Collapse file tree 1 file changed +30
-5
lines changed Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- @import ' ~carbon-components/scss/components/accordion/_accordion .scss' ;
18
- @import ' ~carbon-components/scss/components/accordion/_keyframes .scss' ;
17
+ @import ' ~carbon-components/scss/components/accordion/accordion .scss' ;
18
+ @import ' ~carbon-components/scss/components/accordion/keyframes .scss' ;
19
19
20
- @import ' _mixins ' ;
20
+ @import ' mixins ' ;
21
21
22
22
@include Accordion {
23
- margin : 0.5 rem 0 0 ;
23
+ margin : 0.5 em 0 0 ;
24
24
width : unset ;
25
25
}
26
26
27
27
@include AccordionItem {
28
+ color : var (--color-text-01 );
29
+ border-color : var (--color-base02 );
28
30
background-color : var (--color-base00 );
31
+
32
+ & :last-child {
33
+ border-color : var (--color-base02 );
34
+ }
35
+
36
+ .bx--accordion__heading {
37
+ color : inherit ;
38
+ min-height : 2em ;
39
+ padding : 0.625em 0 ;
40
+
41
+ & :hover ::before {
42
+ background-color : var (--color-base03 );
43
+ }
44
+ }
45
+
46
+ .bx--accordion__title {
47
+ color : inherit ;
48
+ margin : 0 1em ;
49
+ }
50
+
51
+ .bx--accordion__arrow {
52
+ fill : currentColor ;
53
+ }
29
54
}
30
55
31
56
@include AccordionToggle {
32
- font-size : 0.825 rem ;
57
+ font-size : 0.825 em ;
33
58
font-family : var (--font-sans-serif );
34
59
}
35
60
You can’t perform that action at this time.
0 commit comments