|
7 | 7 | }
|
8 | 8 |
|
9 | 9 | .outline-sidebar {
|
10 |
| - @media (min-width: map-get($grid-breakpoints, "xl")) { |
| 10 | + @media (--pgn-size-breakpoint-min-width-xl) { |
11 | 11 | position: absolute;
|
12 | 12 | left: 0;
|
13 | 13 | top: 0;
|
|
25 | 25 | }
|
26 | 26 |
|
27 | 27 | .outline-sidebar-heading {
|
28 |
| - font-weight: $font-weight-bold; |
| 28 | + font-weight: var(--pgn-typography-font-weight-bold); |
29 | 29 | }
|
30 | 30 | }
|
31 | 31 |
|
32 | 32 | .course-sidebar-section {
|
33 |
| - background: $white; |
| 33 | + background: var(--pgn-color-white); |
34 | 34 | border: 1px solid #d7d3d1;
|
35 | 35 |
|
36 | 36 | button {
|
|
54 | 54 | #outline-sidebar-outline {
|
55 | 55 | margin-top: -1px;
|
56 | 56 |
|
57 |
| - @media (min-width: map-get($grid-breakpoints, "xl")) { |
| 57 | + @media (--pgn-size-breakpoint-min-width-xl) { |
58 | 58 | margin-bottom: 0;
|
59 | 59 | }
|
60 | 60 |
|
|
64 | 64 |
|
65 | 65 | .collapsible-trigger {
|
66 | 66 | border-radius: 0;
|
67 |
| - padding: map-get($spacers, 3\.5) map-get($spacers, 4) map-get($spacers, 3\.5) map-get($spacers, 5); |
| 67 | + padding: var(--pgn-spacing-spacer-3-5) var(--pgn-spacing-spacer-4) var(--pgn-spacing-spacer-3-5) var(--pgn-spacing-spacer-5); |
68 | 68 |
|
69 |
| - @media (max-width: -1 + map-get($grid-breakpoints, "sm")) { |
70 |
| - padding-left: map-get($spacers, 4); |
| 69 | + @media (--pgn-size-breakpoint-max-width-sm) { |
| 70 | + padding-left: var(--pgn-spacing-spacer-4); |
71 | 71 | }
|
72 | 72 |
|
73 | 73 | &:hover {
|
74 |
| - background-color: $light-500; |
| 74 | + background-color: var(--pgn-color-light-500); |
75 | 75 | }
|
76 | 76 |
|
77 | 77 | .collapsible-icon {
|
78 | 78 | margin-inline-start: initial;
|
79 | 79 | }
|
80 | 80 | }
|
81 |
| - |
82 |
| - &:last-child .pgn_collapsible { |
83 |
| - @extend .mb-0; |
84 |
| - } |
85 | 81 | }
|
86 | 82 |
|
87 | 83 | .collapsible-body {
|
88 | 84 | padding: 0;
|
89 | 85 |
|
90 | 86 | ol li > a {
|
91 |
| - padding: map-get($spacers, 3\.5) map-get($spacers, 4) map-get($spacers, 3\.5) map-get($spacers, 5\.5); |
| 87 | + padding: var(--pgn-spacing-spacer-3-5) var(--pgn-spacing-spacer-4) var(--pgn-spacing-spacer-3-5) var(--pgn-spacing-spacer-5-5); |
92 | 88 |
|
93 |
| - @media (max-width: -1 + map-get($grid-breakpoints, "sm")) { |
94 |
| - padding-left: map-get($spacers, 4\.5); |
| 89 | + @media (--pgn-size-breakpoint-max-width-sm) { |
| 90 | + padding-left: var(--pgn-spacing-spacer-4-5); |
95 | 91 | }
|
96 | 92 |
|
97 | 93 | &:hover {
|
98 | 94 | text-decoration: none;
|
99 |
| - background-color: $light-500; |
| 95 | + background-color: var(--pgn-color-light-500); |
100 | 96 | }
|
101 | 97 | }
|
102 | 98 | }
|
|
0 commit comments