mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-82460 mod_quiz: Move theme icons to the module
The quiz icons from the theme/boost/pix folder have been relocated to mod/quiz/pix. The icons in the theme/boost/pix/mod/quiz folder will be deprecated and replaced by those in mod/quiz/pix.
This commit is contained in:
parent
99d36acade
commit
de71c9b306
37
mod/quiz/pix/flag-on.svg
Normal file
37
mod/quiz/pix/flag-on.svg
Normal file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
version="1.1"
|
||||
width="13"
|
||||
height="13"
|
||||
id="svg2996" preserveAspectRatio="xMinYMid meet">
|
||||
<defs
|
||||
id="defs2998" />
|
||||
<metadata
|
||||
id="metadata3001">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
transform="translate(0,-3)"
|
||||
id="layer1">
|
||||
<path
|
||||
d="M 0,0 13,13 13,0 z"
|
||||
transform="translate(0,3)"
|
||||
id="path3006"
|
||||
style="fill:#ea0000;fill-opacity:1;stroke:none" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 996 B |
60
mod/quiz/pix/warningtriangle.svg
Normal file
60
mod/quiz/pix/warningtriangle.svg
Normal file
@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
version="1.1"
|
||||
id="Layer_1"
|
||||
x="0px"
|
||||
y="0px"
|
||||
viewBox="0 0 32 32"
|
||||
style="enable-background:new 0 0 32 32;"
|
||||
xml:space="preserve"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
width="100%"
|
||||
height="100%"
|
||||
sodipodi:docname="warningtriangle.svg" preserveAspectRatio="xMinYMid meet"><metadata
|
||||
id="metadata3018"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
|
||||
id="defs3016" /><sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1221"
|
||||
inkscape:window-height="862"
|
||||
id="namedview3014"
|
||||
showgrid="true"
|
||||
inkscape:zoom="16.375799"
|
||||
inkscape:cx="15.041926"
|
||||
inkscape:cy="16"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="Layer_1"><inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid3796" /></sodipodi:namedview>
|
||||
<style
|
||||
type="text/css"
|
||||
id="style3010">
|
||||
.st0{fill:#FFFFFF;}
|
||||
</style>
|
||||
|
||||
<path
|
||||
style="color:#000000;fill:#800000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
|
||||
inkscape:transform-center-y="-4.4999999"
|
||||
d="M 16,0 32,32 0,32 z"
|
||||
id="path3800"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc" /></svg>
|
After Width: | Height: | Size: 2.0 KiB |
@ -150,6 +150,14 @@
|
||||
background: url([[pix:quiz|navflagged]]) no-repeat top right;
|
||||
}
|
||||
|
||||
.qnbutton.flagged .thispageholder {
|
||||
background: transparent url([[pix:quiz|flag-on]]) 15px 0 no-repeat;
|
||||
}
|
||||
|
||||
.qnbutton.invalidanswer .trafficlight {
|
||||
background-image: url([[pix:quiz|warningtriangle]]) !important; /* stylelint-disable-line declaration-no-important */
|
||||
}
|
||||
|
||||
.path-mod-quiz .qnbutton.blocked,
|
||||
.path-mod-quiz .qnbutton.notyetanswered,
|
||||
.path-mod-quiz .qnbutton.requiresgrading,
|
||||
|
@ -1240,10 +1240,6 @@ img.userpicture {
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
.qnbutton.flagged .thispageholder {
|
||||
background: transparent url([[pix:theme|mod/quiz/flag-on]]) 15px 0 no-repeat;
|
||||
}
|
||||
|
||||
.qnbutton .trafficlight {
|
||||
border: 0;
|
||||
background: $card-bg none center / 10px no-repeat scroll;
|
||||
@ -1295,10 +1291,6 @@ img.userpicture {
|
||||
background-color: $card-bg;
|
||||
}
|
||||
|
||||
.qnbutton.invalidanswer .trafficlight {
|
||||
background-image: url([[pix:theme|mod/quiz/warningtriangle]]);
|
||||
}
|
||||
|
||||
.qnbutton.correct .trafficlight {
|
||||
background-image: url([[pix:core|i/grade_correct]]);
|
||||
color: $success;
|
||||
|
@ -34295,9 +34295,6 @@ img.userpicture {
|
||||
.path-mod-quiz #mod_quiz_navblock .allquestionsononepage .qnbutton.thispage .thispageholder {
|
||||
border-width: 1px;
|
||||
}
|
||||
.path-mod-quiz #mod_quiz_navblock .qnbutton.flagged .thispageholder {
|
||||
background: transparent url([[pix:theme|mod/quiz/flag-on]]) 15px 0 no-repeat;
|
||||
}
|
||||
.path-mod-quiz #mod_quiz_navblock .qnbutton .trafficlight {
|
||||
border: 0;
|
||||
background: #fff none center/10px no-repeat scroll;
|
||||
@ -34340,9 +34337,6 @@ img.userpicture {
|
||||
.path-mod-quiz #mod_quiz_navblock .qnbutton.invalidanswer .trafficlight {
|
||||
background-color: #fff;
|
||||
}
|
||||
.path-mod-quiz #mod_quiz_navblock .qnbutton.invalidanswer .trafficlight {
|
||||
background-image: url([[pix:theme|mod/quiz/warningtriangle]]);
|
||||
}
|
||||
.path-mod-quiz #mod_quiz_navblock .qnbutton.correct .trafficlight {
|
||||
background-image: url([[pix:core|i/grade_correct]]);
|
||||
color: #357a32;
|
||||
|
@ -34295,9 +34295,6 @@ img.userpicture {
|
||||
.path-mod-quiz #mod_quiz_navblock .allquestionsononepage .qnbutton.thispage .thispageholder {
|
||||
border-width: 1px;
|
||||
}
|
||||
.path-mod-quiz #mod_quiz_navblock .qnbutton.flagged .thispageholder {
|
||||
background: transparent url([[pix:theme|mod/quiz/flag-on]]) 15px 0 no-repeat;
|
||||
}
|
||||
.path-mod-quiz #mod_quiz_navblock .qnbutton .trafficlight {
|
||||
border: 0;
|
||||
background: #fff none center/10px no-repeat scroll;
|
||||
@ -34340,9 +34337,6 @@ img.userpicture {
|
||||
.path-mod-quiz #mod_quiz_navblock .qnbutton.invalidanswer .trafficlight {
|
||||
background-color: #fff;
|
||||
}
|
||||
.path-mod-quiz #mod_quiz_navblock .qnbutton.invalidanswer .trafficlight {
|
||||
background-image: url([[pix:theme|mod/quiz/warningtriangle]]);
|
||||
}
|
||||
.path-mod-quiz #mod_quiz_navblock .qnbutton.correct .trafficlight {
|
||||
background-image: url([[pix:core|i/grade_correct]]);
|
||||
color: #357a32;
|
||||
|
Loading…
x
Reference in New Issue
Block a user