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
}
38
34
39
35
.popover.overlay-help-popover {
40
36
z-index : 4000 ;
41
- margin-right : map-get ( $spacers , 1 ) !important ;
37
+ margin-right : var ( --pgn-spacing-spacer- 1 ) !important ;
42
38
.help-popover-option {
43
- margin-bottom : map-get ( $spacers , 1 );
39
+ margin-bottom : var ( --pgn-spacing-spacer- 1 );
44
40
}
45
41
}
46
42
49
45
width : 320px !important ;
50
46
height : fit-content ;
51
47
max-height : 100% ;
52
- margin-left : map-get ( $spacers , 3 );
48
+ margin-left : var ( --pgn-spacing-spacer- 3 );
53
49
position : sticky !important ;
54
- top : map-get ( $spacers , 1 ) * -1 ;
50
+ top : calc ( var ( --pgn-spacing-spacer- 1 ) * -1 ) ;
55
51
56
52
.grading-rubric-header {
57
53
box-shadow : 0 0 0.25rem rgba (0 , 0 , 0 , 0.3 ) !important ;
58
54
display : flex ;
59
55
justify-content : center ;
60
- padding : map-get ( $spacers , 3 );
56
+ padding : var ( --pgn-spacing-spacer- 3 );
61
57
}
62
58
63
59
.grading-rubric-body {
68
64
box-shadow : 0 0 0.25rem rgba (0 , 0 , 0 , 0.3 ) !important ;
69
65
display : flex ;
70
66
justify-content : center ;
71
- padding : map-get ( $spacers , 3 );
67
+ padding : var ( --pgn-spacing-spacer- 3 );
72
68
}
73
69
74
70
button .pgn__stateful-btn.pgn__stateful-btn-state-pending {
75
71
opacity : .4 !important ;
76
72
}
77
73
}
78
74
79
- @include media- breakpoint-down ( sm) {
75
+ @media ( --pgn-size- breakpoint-max-width- sm ) {
80
76
.grading-rubric-card {
81
77
margin-left : 0 !important ;
82
78
}
83
- }
79
+ }
0 commit comments