X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/39844fcccd43fc77f6beb350f5792bb0859135df..ea300f6c03d47f6c17dd7721b8d6690489af79da:/catalogue/static/catalogue/css/lesson.scss diff --git a/catalogue/static/catalogue/css/lesson.scss b/catalogue/static/catalogue/css/lesson.scss index 95e8be4..d98f1a3 100755 --- a/catalogue/static/catalogue/css/lesson.scss +++ b/catalogue/static/catalogue/css/lesson.scss @@ -1,3 +1,5 @@ +$px: .0625em; + /* =================================================== */ /* = Common elements: headings, paragraphs and lines = */ /* =================================================== */ @@ -225,141 +227,86 @@ em.person { #menu {display: none;} } -.activity .text { - max-width:350px; - margin-right:20px; - float: left; -} - -.activity .description p:first-child { - margin-top: 0; -} - -.activity .info { - margin: 1.5em 0 0; - max-width: 130px; - float:right; -} - -.activity .info p { - margin-bottom: 1em; -} .activity { clear:both; } -.activity .info { - font-size: 10pt; -} - -.clearboth { - clear: both; -} - - -.excercise .buttons { - text-align: right; -} - -.teacher { - display: none; -} - -.teacher.show { - display: inherit; -} - -.question-piece.correct { - background-color: darkgreen; -} - -.question-piece.incorrect { - background-color: orange; -} - -.buttons .chosen { - background-color: lightblue; -} - - - -.excercise .lista.predicate { - list-style: none; - position: relative; - clear: both; - padding-left: 0; -} - - -.excercise .subjects { - padding-left: 0; -} - - -.excercise .lista.predicate > li { - list-style: none; - display: block; +.activity .text { + width: 440*$px; + margin-right: 20px; float: left; - width: 208px; - margin: 2px; -} - -.excercise.wide .lista.predicate > li { - width: 100%; - margin: 2px; -} - -.excercise .lista.predicate .droppable { - min-height: 50px; - border: 1px dotted black; } - -.excercise .draggable { - padding: 3px; - border: 1px dotted black; - display: inline-block; -} - -.excercise .draggable.disabled { - background-color: grey; -} - -.excercise .placeholder { - padding: 3px; - border: 1px dotted black; - display: inline-block; - min-width: 200px; - min-height: 1em; +.activity .description p:first-child { + margin-top: 0; } -.excercise .placeholder.accepting.dragover { - background-color: #ffff99; -} -.excercise.zastap .paragraph .placeholder { - display: inline; - min-width: none; - min-height: none; - border: inherit; - padding: inherit; +.activity { + margin-top: 2em; + + .act_counter { + float: left; + margin-right: .5em; + font-size: 2em; + } + + .info { + float: right; + width: 135*$px; + + .infobox { + padding: 1em 0; + border-top: 1px solid #c9ccce; + h1 { + text-transform: uppercase; + font-weight: bold; + margin: 0 0 .5em -35*$px; + padding-left: 35*$px; + line-height: 24px; + font-size: 1em; + } + p { + margin: 0; + } + + } + .time h1 { + background: url(/static/img/icons/activity-time.png) 0 0 no-repeat; + } + .kind h1 { + background: url(/static/img/icons/activity-kind.png) 0 0 no-repeat; + } + .materials h1 { + background: url(/static/img/icons/activity-tools.png) 0 0 no-repeat; + } + } +} + +.lista { + .paragraph { + margin: .3em 0; + } + li { + margin: .75em 0; + } } - -.excercise .lista.subjects { - padding-left: 0px; +.clearboth { + clear: both; } - -.draggable .remove { - font-family: sans-serif; - padding: 2px 4px; - background-color: #ee6666; - margin-left: 5px; +#book-text { + .caption { + margin: 1.5em; + p { + margin: 0; + } + } } /* utils */ @@ -368,3 +315,13 @@ em.person { clear: both; } +#book-text .top-link { + margin-top: 1em; +} + +.help { + font-size: .7em; + padding: 0 .5em; + color: #888; + vertical-align: super; +}