X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/cff3808d3a8c3ba3330bba7ba0ed300a3cd0a8fd..334d0b5148de69b0509e001631154aa3ec788d36:/catalogue/static/catalogue/css/exercise.scss diff --git a/catalogue/static/catalogue/css/exercise.scss b/catalogue/static/catalogue/css/exercise.scss index 039b088..a9fc200 100755 --- a/catalogue/static/catalogue/css/exercise.scss +++ b/catalogue/static/catalogue/css/exercise.scss @@ -1,4 +1,7 @@ $px: 0.0625em; +$oranji: #ed7831; +$ciemny: #363a3e; +$zielony: #16a487; @mixin bubble { @@ -42,6 +45,10 @@ $px: 0.0625em; .exercise { + img { + vertical-align: top; + } + .question-piece { @include bubble; } @@ -96,7 +103,11 @@ $px: 0.0625em; } .message { float: right; - margin-right: 20*$px; + padding: 0 20*$px; + background: red; + } + .maxscore { + background: #16a487; } input.check { @@ -104,7 +115,19 @@ $px: 0.0625em; } } +} + +.exercise, .exercise-wtem { + .instruction { + display: block; + margin: .3em; + color: green; + font-size: .9em; + } + .instruction:before { + content: "☞ "; + } } @@ -112,6 +135,7 @@ $px: 0.0625em; .question-piece { @include bubble-drag; @include bubble-inline; + max-width: 608*$px; } .question-piece.disabled { @include bubble-drag-disabled; @@ -183,6 +207,11 @@ $px: 0.0625em; @include bubble-drag; width: 618*$px; } + .question-piece.short { + display: inline-block; + margin: .2em .1em; + width: auto; + } span.question-piece { display: inline-block; margin: .1em;