|
1 | | -@import "~@edx/brand/paragon/variables"; |
2 | | -@import "~@openedx/paragon/scss/core/core"; |
3 | | -@import "~@edx/brand/paragon/overrides"; |
4 | | - |
5 | 1 | .criteria-label { |
6 | 2 | width: 100%; |
7 | 3 | .criteria-title { |
8 | 4 | display: inline-block; |
9 | 5 | max-width: calc(100% - 44px); |
10 | | - color: $primary-500; |
| 6 | + color: var(--pgn-color-primary-500); |
11 | 7 | font-weight: bold; |
12 | 8 | vertical-align: top; |
13 | 9 | } |
14 | 10 | .esg-help-icon { |
15 | 11 | float: right; |
16 | | - margin-top: (map-get($spacers, 2) * -1); |
17 | | - margin-right: (map-get($spacers, 2\.5) * -1); |
| 12 | + margin-top: calc(var(--pgn-spacing-spacer-2) * -1); |
| 13 | + margin-right: calc(var(--pgn-spacing-spacer-2-5) * -1); |
18 | 14 | vertical-align: top; |
19 | 15 | } |
20 | 16 | } |
|
42 | 38 |
|
43 | 39 | .popover.overlay-help-popover { |
44 | 40 | z-index: 4000; |
45 | | - margin-right: map-get($spacers, 1) !important; |
| 41 | + margin-right: var(--pgn-spacing-spacer-1) !important; |
46 | 42 | .help-popover-option { |
47 | | - margin-bottom: map-get($spacers, 1); |
| 43 | + margin-bottom: var(--pgn-spacing-spacer-1); |
48 | 44 | } |
49 | 45 | .popover-body { |
50 | 46 | max-height: 100vh; |
|
57 | 53 | width: 320px !important; |
58 | 54 | height: fit-content; |
59 | 55 | max-height: 100%; |
60 | | - margin-left: map-get($spacers, 3); |
| 56 | + margin-left: var(--pgn-spacing-spacer-3); |
61 | 57 | position: sticky !important; |
62 | | - top: map-get($spacers, 1) * -1; |
| 58 | + top: calc(var(--pgn-spacing-spacer-1) * -1); |
63 | 59 |
|
64 | 60 | .grading-rubric-header { |
65 | 61 | box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.3) !important; |
66 | 62 | display: flex; |
67 | 63 | justify-content: center; |
68 | | - padding: map-get($spacers, 3); |
| 64 | + padding: var(--pgn-spacing-spacer-3); |
69 | 65 | } |
70 | 66 |
|
71 | 67 | .grading-rubric-body { |
|
76 | 72 | box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.3) !important; |
77 | 73 | display: flex; |
78 | 74 | justify-content: center; |
79 | | - padding: map-get($spacers, 3); |
| 75 | + padding: var(--pgn-spacing-spacer-3); |
80 | 76 | } |
81 | 77 |
|
82 | 78 | button.pgn__stateful-btn.pgn__stateful-btn-state-pending { |
83 | 79 | opacity: .4 !important; |
84 | 80 | } |
85 | 81 | } |
86 | 82 |
|
87 | | -@include media-breakpoint-down(sm) { |
| 83 | +@media (--pgn-size-breakpoint-max-width-sm) { |
88 | 84 | .grading-rubric-card { |
89 | 85 | margin-left: 0 !important; |
90 | 86 | } |
|
0 commit comments