-
Notifications
You must be signed in to change notification settings - Fork 103
Expand file tree
/
Copy pathpage.renderer.scss
More file actions
80 lines (65 loc) · 1.27 KB
/
page.renderer.scss
File metadata and controls
80 lines (65 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
@use '@carbon/colors';
@use '@carbon/type';
@use '@carbon/layout';
.pageContent:last-child>hr {
display: none;
}
.pageHeader {
cursor: pointer;
transition: background-color 0.1s;
border-radius: 1px;
padding: 0.5rem 1rem;
border-top: 1px solid colors.$gray-20;
border-bottom: 1px solid colors.$gray-20;
&:hover {
background-color: colors.$gray-20;
}
@media print {
page-break-after: avoid;
break-after: avoid;
}
}
.pageTitle {
font-size: 1.25rem;
font-weight: 600;
line-height: 1.4;
color: colors.$gray-100;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
margin: 0;
}
.collapseIcon {
fill: colors.$gray-70;
width: 1rem;
height: 1rem;
}
.sectionContainer>div {
background-color: colors.$gray-10;
}
.sectionContainer :global(.cds--accordion__content) {
padding-right: layout.$spacing-05;
}
.accordionContainer {
width: 95%;
}
.firstSection {
border-top: none;
}
.lastSection {
border-bottom: none !important;
}
.formSection {
flex: 1 1 65%;
}
.hiddenAccordion {
display: none;
}
.formSection>div>fieldset {
margin-bottom: 0 !important;
}
// TODO: try removing this when upgrading @carbon/react. Added at 1.37
:global(.cds--accordion__wrapper) {
max-block-size: unset !important;
}