Xxe/Css/publiquiz.css
changeset 161 1f9fa4e74cd0
parent 158 4421865b3f33
child 163 fcb72d5ea08a
equal deleted inserted replaced
160:e9d1bb4692b5 161:1f9fa4e74cd0
   259 }
   259 }
   260 
   260 
   261 /* composite ~~~~~~~~~~~~~~~~~~~~~~~ */
   261 /* composite ~~~~~~~~~~~~~~~~~~~~~~~ */
   262 
   262 
   263 composite:before {
   263 composite:before {
   264   content: insert-before-button() " Composite";
   264   content: insert-before-button()
       
   265            command-button(command, "putAttribute", parameter, "multipage true", icon, icon(plus-box))
       
   266            " Composite";
       
   267 }
       
   268 composite[multipage]:before {
       
   269   content: insert-before-button()
       
   270            " Composite – multipage = " label(attribute, multipage, color, black)
       
   271            set-attribute-button(attribute, multipage, unset-attribute, yes)
   265 }
   272 }
   266 
   273 
   267 subquiz {
   274 subquiz {
   268   display: block;
   275   display: block;
   269   border-style: none;
   276   border-style: none;
   313   display: none;   
   320   display: none;   
   314 }
   321 }
   315 
   322 
   316 
   323 
   317 /* Block level ============================================================= */
   324 /* Block level ============================================================= */
       
   325 
       
   326 /* image ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
       
   327 
       
   328 right image, wrong image, item image {
       
   329   content: concatenate("image('Images/", attr(id), ".png', -128, -96, smooth)");
       
   330   vertical-align: middle;
       
   331 }
   318 
   332 
   319 /* choices.right, choices.wrong ~~~~ */
   333 /* choices.right, choices.wrong ~~~~ */
   320 
   334 
   321 choices-radio right:before, choices-radio wrong:before,
   335 choices-radio right:before, choices-radio wrong:before,
   322 choices-check right:before, choices-check wrong:before {
   336 choices-check right:before, choices-check wrong:before {
   405 }
   419 }
   406 
   420 
   407 match {
   421 match {
   408   display: block;
   422   display: block;
   409   margin-left: 24px;
   423   margin-left: 24px;
   410 }
   424   margin-bottom: .8em;
   411 
   425 }
   412 match > section:before, match > p:before {
   426 
       
   427 match > item:before {
   413   display: none;
   428   display: none;
   414 }
   429 }
   415 
   430 
   416 match section, match p {
   431 match item {
   417   display: inline;
   432   display: inline;
   418 }
   433 }
   419 
   434 
   420 match > section:first-child:after, match > p:first-child:after {
   435 match > item:first-child:after {
   421   color: #7f7f7f;
   436   color: #7f7f7f;
   422   content: " —>  ";
   437   content: " —>  ";
   423 }
   438 }
   424 match > section:last-child:after, match > p:last-child:after {
   439 match > item:last-child:after {
   425   display: none;
   440   display: none;
   426 }
   441 }
   427 
   442 
   428 /* sort > comparison ~~~~~~~~~~~~~~~ */
   443 /* sort > comparison ~~~~~~~~~~~~~~~ */
   429 
   444 
   470   display: block;
   485   display: block;
   471 }
   486 }
   472 
   487 
   473 category > item {
   488 category > item {
   474   margin-left: 1em;
   489   margin-left: 1em;
       
   490   margin-bottom: 0.8em;
   475 }
   491 }
   476 
   492 
   477 category:after {
   493 category:after {
   478   color: #7f7f7f;
   494   color: #7f7f7f;
   479   content: "  " insert-same-after-button();
   495   content: "  " insert-same-after-button();