|
1 | | -@import "~@edx/brand/paragon/variables"; |
2 | | -@import "~@openedx/paragon/scss/core/core"; |
3 | | -@import "~@edx/brand/paragon/overrides"; |
4 | | - |
5 | 1 | .popover.overlay-help-popover { |
6 | 2 | z-index: 4000; |
7 | | - margin-right: map-get($spacers, 1) !important; |
| 3 | + margin-right: var(--pgn-spacing-spacer-1) !important; |
8 | 4 | .help-popover-option { |
9 | | - margin-bottom: map-get($spacers, 1); |
| 5 | + margin-bottom: var(--pgn-spacing-spacer-1); |
10 | 6 | } |
11 | 7 | } |
12 | 8 |
|
|
15 | 11 | width: 320px !important; |
16 | 12 | height: fit-content; |
17 | 13 | max-height: 100%; |
18 | | - margin-left: map-get($spacers, 3); |
| 14 | + margin-left: var(--pgn-spacing-spacer-3); |
19 | 15 | position: sticky !important; |
20 | | - top: map-get($spacers, 1) * -1; |
| 16 | + top: calc(var(--pgn-spacing-spacer-1) * -1); |
21 | 17 |
|
22 | 18 | .rubric-header { |
23 | 19 | box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.3) !important; |
24 | 20 | display: flex; |
25 | 21 | justify-content: center; |
26 | | - padding: map-get($spacers, 3); |
| 22 | + padding: var(--pgn-spacing-spacer-3); |
27 | 23 | } |
28 | 24 |
|
29 | 25 | .rubric-body { |
30 | 26 | overflow-y: hide; |
31 | | - padding: map-get($spacers, 3); |
| 27 | + padding: var(--pgn-spacing-spacer-3); |
32 | 28 | } |
33 | 29 |
|
34 | 30 | .rubric-footer { |
35 | 31 | box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.3) !important; |
36 | 32 | display: flex; |
37 | 33 | justify-content: center; |
38 | | - padding: map-get($spacers, 3); |
| 34 | + padding: var(--pgn-spacing-spacer-3); |
39 | 35 | } |
40 | 36 |
|
41 | 37 | button.pgn__stateful-btn.pgn__stateful-btn-state-pending { |
42 | 38 | opacity: .4 !important; |
43 | 39 | } |
44 | 40 | } |
45 | 41 |
|
46 | | -@include media-breakpoint-down(sm) { |
| 42 | +@media (--pgn-size-breakpoint-max-width-sm) { |
47 | 43 | .rubric-card { |
48 | 44 | margin-left: 0 !important; |
49 | 45 | } |
|
0 commit comments